first check out if the engine turns over and is not stuck. The rails don't look too bad, and the idlers are back from the front of the frame. Check the track bushings to see how worn they are and if they have been turned. Take a pry bar and see how much play is in the loader frame pins. If all that seems good then try to get it started and look for exhaust smoke and blowby. Then you can try and move it to see if the clutches are free and if the tracks are froze.
Then you can make an offer on the knowledge of what needs to be fixed.
cat 941B, Cat D2 4U7412, Cat D3B, D4 7U30755