This is a Windows problem, not a mIRC problem. My recommendations are: A) Ensure that your version of Windows has all of the updates.
B) Your system has been fully scanned for viruses, trojans, & malware.
C) Your hard drive is defragmented.
Other than these things, I can't think of what else you can do.