I doubt you'll need to reinstall. There are ways to remove this type of malware safely, if you've got the patience to go through it all, and then be more careful in future. If not, then just format and reinstall Windows XP.