I would suggest a repair-reinstall of WinXP.
Yep. This is what it's for. Among other things, to recover from a massive virus infestation.
Of course I don't know if we have memory chip failure or a hard drive failure.