IF it were cheap or easy to fix, then the original owner would have done so.
IF Applecare still applied, the original owner would have claimed free repair on it.
Assume that the warranty is void (due to abuse) and that it has more problems now, or will develop more problems, then you are currently aware of.