i dont know if it fits your problem.
it could be your OS is invected with virus, after you re-did OS, it could be invected again because virus could be in your drive D/E and you executed it
your cpu may suffer overheating. please check you temp. normal temp using stock cooler is below 50 celcius