Is mfc42.dll stable over XP SP2 updates? If it isn't, it is a bad idea to use an instruction from here to ret. On XP SP3, msvcrt.dll tends to be loaded, not rebased, and has been proof to be stable over XP SP3 updates, maybe the same thing applies for Windows XP SP2.