Advertisement
LocalDuds

Untitled

Jun 9th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.03 KB | None | 0 0
  1.     wsprintfA(&var_9, aD, var_4 + 31337);
  2.     GetDlgItemTextA(UsernameTextBox, 1002, PasswordTextBox, 256);
  3.     /*
  4.         {*} If you have entered any text inside inside the textboxes, then:
  5.         Note, we are not sure. But we think that it checks for the quantity of bytes. Both for the textbox check and Xor encryption.
  6.         ALL PASSWORDS ARE ENCRYPTED USING AN VERY COMPLICATED BYTE ALGHORITM!!!
  7.     */
  8.     if ( GetDlgItemTextA(UsernameTextBox, 1002, PasswordTextBox, 256) )
  9.     {
  10.       /*
  11.         {*} If your password isn't wrong.
  12.       */
  13.       if(!strcmp(PasswordTextBox, &var_9))
  14.        /*
  15.          {*} Encrypted function, couldn't be dumped.
  16.          Error on dump: "void couldn't be converted to struct as it doesn't return any table."
  17.        */
  18.         N8RO4YEWHDFN(0, aGoodWork, Caption, 0x40u);
  19.         /*
  20.         {*} Doesn't set result to 0 as it now can keep its value to a unknown number for the rest of the authentication.
  21.         Explanation: if result is less than the number 1 then you're not a whitelisted user. But if it returns a value more than 1 and less than 90100 then you're whitelisted.
  22.         */
  23.       else
  24.        /*
  25.          {*} Encrypted function, couldn't be dumped.
  26.          Error on dump: "void couldn't be converted to struct as it doesn't return any table."
  27.        */
  28.         N8RO4YEWHDFN(0, aTryAgain, Caption, 0x10u);
  29.         /*
  30.         {*} Sets result to: 0, if result is less than 1 then you're machine is not whitelisted!
  31.         */
  32.         result = 0;
  33.     }
  34.     /*
  35.         {*} If you haven't entered any text inside the textboxes, then:
  36.     */
  37.     else
  38.     {
  39.       /*
  40.         {*} If no text is entered in one of the textboxes!
  41.         {*} Encrypted function, couldn't be dumped.
  42.         Error on dump: "void couldn't be converted to struct as it doesn't return any table."
  43.       */
  44.       N8RO4YEWHDFN(0, EnterStringTXT, aCrackme_0, 0x30u);
  45.       /*
  46.         {*} Sets result to: 0, if result is less than 1 then you're machine is not whitelisted!
  47.       */
  48.       result = 0;
  49.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement