Hate to be a stick in the mud here, but Mircryption proves that it's completely unnecessary to patch mIRC (either on the FS or in memory) to achieve Blowfish encryption.

Why exactly is this a necessary step for your dll? Perhaps your script would be more robust and maintainable if you just did it without hacking mIRC's internals.

- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"