It's hard to say what the cause of data corruption is. Are you shutting down mirc improperly? Does this happen in a completely clean install of mIRC?
in mIRC type:
//echo -a $script(0) $dll(0) $com(0) $version $md5($mircexe,2) $os
Report the results here.