OK, I'm back. It is, of course, unknown at this time whether or not you need to do a complete Erase, Format, OS 10.9.5 installation, and "if feasible", a restore from your most recent Time Machine backup. But, as some preliminary steps, I would recommend you do the following:
1. Do as much "self" disk cleanup as possible.
2. Download, install, and run Onyx. Use it to Repair Permissions, and do various disk cleanup chores.
3. Download, install, and run the excellent free Anti-Malware program Malwarebytes. You can get it from here:
https://www.malwarebytes.com/mac/
That is a very good program, and myself (and others here) have used it. But, it is not a "complete" virus checking program. So:
4. Download and run the excellent virus detection program ClamXav. You can get it form here:
https://www.clamxav.com/
You can run it in demo mode for 30 days. Let it do the various "upgrades" first (you'll be prompted about that). I used to use it when it was free, and yesterday I downloaded it, installed it, and ran it on both of my Macs. It did find a couple of "obscure" files, and I got rid of them.
5. In an "isolated" manner (ie, booting to the (hidden) Recovery HD partition), use Disk Utility to do First Aid on your drive.
6. If you don't have it, go to the App Store and download the file for OS 10.9.5 (I assume you want to remain with that OS). When that download completes, there will be a file inside your Applications folder entitled "Install Mac OS Mavericks". Make a copy of it in another location on your internal drive.
Doing those first 5 steps will insure, as best as possible at this point, your machine is as "clean as possible". If you see improvement in its performance, good. If not, then a purchase of TechTool Pro would be the next step. We can "cross that bridge" when you are ready for that purchase, as there are some more steps to go through.