Guest User

IGG-Games BS DLL

a guest
Feb 14th, 2019
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.71 KB | None | 0 0
  1. BOOL __stdcall DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
  2. {
  3.   BOOL result; // eax
  4.   int v4; // edx
  5.   int v5; // edx
  6.   char v6; // [esp+D4h] [ebp-1A0h]
  7.   char v7; // [esp+18Ch] [ebp-E8h]
  8.   FILE *v8; // [esp+244h] [ebp-30h]
  9.   errno_t url2; // [esp+250h] [ebp-24h]
  10.   FILE *File; // [esp+25Ch] [ebp-18h]
  11.   errno_t url1; // [esp+268h] [ebp-Ch]
  12.  
  13.   url1 = j__fopen_s(&File, "IGG-GAMES.COM.url", "r");
  14.   url2 = j__fopen_s(&v8, "GAMESTORRENT.CO.url", "r");
  15.   if ( File && v8 )                             // If IGG-Games.com.url and GAMESTORRENT.CO.url are there contininue running
  16.   {
  17.     result = fdwReason;
  18.     LOBYTE(result) = 1;                         // Return 1/True
  19.   }
  20.   else                                          // if IGG-GAMES.com.url and GAMESTORRENT.CO.url is not there do this
  21.   {
  22.     result = fdwReason;
  23.     if ( fdwReason == 1 )
  24.     {
  25.       MessageBoxA(
  26.         0,
  27.         "This game was released by IGG-GAMES.COM. You get this message because you deleted our information file (Or you d"
  28.         "ownloaded from another source, and they deleted it) \n"
  29.         "\n"
  30.         "You can find all free games at: \n"
  31.         "IGG-GAMES.COM or GAMESTORRENT.CO",
  32.         "IGG-GAMES.COM",                        // Prints this garbage
  33.         0x40u);                                 // MB_OK 0x00000000L
  34.       j_memoryset(&v7, 176u);
  35.       sub_10080639(&v7, v4, "IGG-GAMES.COM.url", 2, 64, 1);// Creates the file
  36.       j_memoryset(&v6, 0xB0u);
  37.       sub_10080639(&v6, v5, "GAMESTORRENT.CO.url", 2, 64, 1);// Creates the file
  38.       sub_10082498((int)&v6);
  39.       result = sub_10082498((int)&v7);
  40.     }
  41.     LOBYTE(result) = 1;                         // Returns 1/True
  42.   }
  43.   return result;
  44. }
Add Comment
Please, Sign In to add comment