1st off - if you think the box is hacked - UNPLUG it from the network.
make a backup of it - and reload the box. download zone alarm (free version) and install it on the new install of the OS and also get anti virus software on it if you dont have it already.
Then reinstall the software you want on it and restore the data files to it. hook it back up to the network and update the virus software and scan the whole system including the data files. Then you want to patch it up current - put sp6a on it and down load and apply all the hotfixes etc...
then all you need to do is work with zone alarm to see what you need to let in/out and your set.
it sounds like a lot of work - because it is. But there is really NO WAY to tell what all has been affected by a hacker - hence the reload.
good luck,
duke