|"What can I do?"|
Swallow the bitter pill, reformat the HDD and reinstall Windows.
When you say my "Computer is full of bugs and trojan horses," the functionality of System Restore has stopped working, which is why the machine gets locked up when you try to use it. There is nothing you can repair except as suggested above.