Have you run anti virus scans, anti-malware scans, anti-spyware scans?
Things like the Microsoft Malicious Software Removal Scanner, Combofix, Malwarebytes and so on?
Just because you are getting application crashes and problems installing new software doesnt mean you have bad hardware. It could just be a highly infected system.