Advertisement
XarutoUsoCrack

New (Shit Old) CF Base 05/2014

Apr 16th, 2014
1,599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.06 KB | None | 0 0
  1. #include <process.h>
  2. #include <Windows.h>
  3.  
  4. __declspec ( noinline ) char *Descriptografa(const char *plaintext)
  5. {
  6.     int len = strlen(plaintext);
  7.     char *cyphertext = new char[len + 1];
  8.     for (int i = 0; i < len; ++i) {
  9.         cyphertext[i] = plaintext[i] - 45;
  10.     }
  11.     cyphertext[len] = 0;
  12.     return cyphertext;
  13. }
  14.  
  15. #define STR_CLIENTFX_DLL        Descriptografa("p™–’›¡s…[“¥‘")  
  16. #define STR_CSHELL_DLL          Descriptografa("p€•’™™[‘™™")
  17.  
  18. DWORD dwCShell = NULL, dwClientFX = NULL;
  19.  
  20. VOID HackThread()
  21. {
  22.     dwClientFX = (DWORD)GetModuleHandleA(STR_CLIENTFX_DLL);
  23.     dwCShell = (DWORD)GetModuleHandleA(STR_CSHELL_DLL);
  24.  
  25.     if (dwClientFX == NULL)
  26.         return;
  27.  
  28.     if (dwCShell)
  29.     {
  30.  
  31.     }
  32. }
  33.  
  34. __declspec ( noinline ) VOID WINAPIV StartAddress(VOID *)
  35. {
  36.     while (true)
  37.     {
  38.         __asm
  39.         {
  40.             call HackThread
  41.         }
  42.         Sleep(250);
  43.     }
  44. }
  45.  
  46. BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID ipvReason)
  47. {
  48.     UNREFERENCED_PARAMETER(ipvReason);
  49.     if (dwReason == 1)
  50.     {
  51.         DisableThreadLibraryCalls(hDll);
  52.         _beginthread(StartAddress, NULL, NULL);
  53.     }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement