i recently had a similar issue, i think it is from malware but im not sure. i think i fixed it by deleting some programs that i don't remember installing lately.
To get good performance the best option is to get a used one, the only thing that might need to be replaced would be the hard drive which is easy to replace on most laptops