Rancher 420 Dying Battery

Ok I have a 2007 Rancher 420 Fuel Injected and my battery died a couple of weeks ago and it kind of stayed dead for a couple of weeks with me charging it every once in a while. I charged it before a trip to a weekend mud ride and it would start fine but every time I would cut it off and start it back up I could tell the battery was getting weaker and weaker and then it wouldn’t start so I got jumped off and in the middle of riding it just started sputtering and died. so I got tugged back to camp and put it on charge to 100% and then I went riding again and rode for a few hours and then it started sputtering and died out again. I believe this is the same problem I had last year when my battery completely died and I replaced it and it worked up until now. I was just trying to get some input to see if it could possibly be the stator, regulator, or just needing to drop another new battery in it again, a good OEM battery this time and not an Amazon battery.