Guest User

Untitled

a guest
Nov 13th, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.73 KB | None | 0 0
  1. signed int __cdecl sub_156E360(_DWORD *a1)
  2. {
  3.   int v1; // esi
  4.   int v2; // edi
  5.   signed int v3; // eax
  6.   signed int result; // eax
  7.   int v5; // eax
  8.   bool v6; // zf
  9.  
  10.   v1 = (int)(a1 + 3);
  11.   v2 = 0;
  12.   a1[2067] = a1 + 1042;
  13.   *(_DWORD *)(v1 + 12) = a1 + 1042;
  14.   *(_DWORD *)(v1 + 16) = 4096;
  15.   while ( 1 )
  16.   {
  17.     if ( !a1[4] )
  18.     {
  19.       v2 = sub_156E2E0(a1);
  20.       if ( v2 )
  21.         break;
  22.     }
  23.     v3 = sub_156EBC0((unsigned __int8 **)v1, 0);
  24.     if ( v3 == 1 )
  25.     {
  26.       v5 = a1[6];
  27.       v6 = v5 == a1[2067];
  28.       a1[2068] = v5;
  29.       result = 85;
  30.       if ( v6 )
  31.         return result;
  32.       return v2;
  33.     }
  34.     if ( v3 )
  35.       return 85;
  36.     if ( a1[7] <= 0u )
  37.       return v2;
  38.   }
  39.   return v2;
  40. }
Advertisement
Add Comment
Please, Sign In to add comment