Doctor had told you it's too late for surgery because muscle has tendency to have scare tissues over ruptured area after that much time so it is unable to connect moreover it begins to shrink and has low muscle mass because of disuse it's muscle disuse atrophy
book : ''Interventional strategies to combat muscle disuse atrophy"
surgery can be done if scare tissues are not there and muscle has good mass.
scar tissues can be removed by cutting the edges of ruptured muscle wherever scar tissues are and by TGF-beta 1 inhibitors and then feeling the gap with artificial ligament with toughest suturing. and Decellularized Extra Matrix Scaffolds (dealers/manufacturer- on internet) which is too good for muscle loss which can be placed at conjunction of muscle rupture by wrapping and wherever muscle loss is. Stem cell is the best way for any tissue regeneration. muscle satellite stem cells are most effective in muscle regeneration. researchers have proved stem cells work best with steroids with expert's advised dosage for muscle regeneration.
you should have consulted neurologist who can test your muscle mass plus still there, nerves are active or not. muscle tissues can be transferred built by injecting PRP which delivers nutrition. plus simulating muscle by electrosimulation(EMS) which strengthens if nerves are working properly. nerve transfer can also be done if not.