The most common reasons for this are either an issue with your Windows installation or misbehaving anti-virus software. Have you applied all of the latest Windows Updates for your Windows XP installation up to SP3? If not, that would be the first step. If you are using anti-virus software, you could try disabling it to see if that helps. Please make sure that you are using the official version of mIRC from the mIRC website.