Have a mechanic do a compression check at least, or do one if you already bought it - all of the other systems are secondary to an engine that is not running well and you can spend a lot of time and money chasing things that won’t get much better until the engine is sound.
Good Luck! Looks a...