Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BOOL __stdcall DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
- {
- BOOL result; // eax
- int v4; // edx
- int v5; // edx
- char v6; // [esp+D4h] [ebp-1A0h]
- char v7; // [esp+18Ch] [ebp-E8h]
- FILE *v8; // [esp+244h] [ebp-30h]
- errno_t url2; // [esp+250h] [ebp-24h]
- FILE *File; // [esp+25Ch] [ebp-18h]
- errno_t url1; // [esp+268h] [ebp-Ch]
- url1 = j__fopen_s(&File, "IGG-GAMES.COM.url", "r");
- url2 = j__fopen_s(&v8, "GAMESTORRENT.CO.url", "r");
- if ( File && v8 ) // If IGG-Games.com.url and GAMESTORRENT.CO.url are there contininue running
- {
- result = fdwReason;
- LOBYTE(result) = 1; // Return 1/True
- }
- else // if IGG-GAMES.com.url and GAMESTORRENT.CO.url is not there do this
- {
- result = fdwReason;
- if ( fdwReason == 1 )
- {
- MessageBoxA(
- 0,
- "This game was released by IGG-GAMES.COM. You get this message because you deleted our information file (Or you d"
- "ownloaded from another source, and they deleted it) \n"
- "\n"
- "You can find all free games at: \n"
- "IGG-GAMES.COM or GAMESTORRENT.CO",
- "IGG-GAMES.COM", // Prints this garbage
- 0x40u); // MB_OK 0x00000000L
- j_memoryset(&v7, 176u);
- sub_10080639(&v7, v4, "IGG-GAMES.COM.url", 2, 64, 1);// Creates the file
- j_memoryset(&v6, 0xB0u);
- sub_10080639(&v6, v5, "GAMESTORRENT.CO.url", 2, 64, 1);// Creates the file
- sub_10082498((int)&v6);
- result = sub_10082498((int)&v7);
- }
- LOBYTE(result) = 1; // Returns 1/True
- }
- return result;
- }
Add Comment
Please, Sign In to add comment