Untitled

mail@pastecode.io avatar
unknown
c_cpp
2 years ago
15 kB
2
Indexable
Never
int __cdecl main(int argc, const char **argv, const char **envp)
{
  int v3; // eax
  int v4; // eax
  int v5; // eax
  int v6; // eax
  int v7; // eax
  int v8; // eax
  int v9; // eax
  int v10; // eax
  int v11; // eax
  int v12; // eax
  int v13; // eax
  int v14; // eax
  int v16; // [rsp+24h] [rbp-34h]
  unsigned int v17; // [rsp+2Ch] [rbp-2Ch]
  unsigned int v18; // [rsp+30h] [rbp-28h]
  int v19; // [rsp+38h] [rbp-20h]
  bool v20; // [rsp+3Fh] [rbp-19h]
  int v21; // [rsp+40h] [rbp-18h]
  bool v22; // [rsp+47h] [rbp-11h]
  unsigned int v23; // [rsp+48h] [rbp-10h]
  unsigned int v24; // [rsp+4Ch] [rbp-Ch]
  unsigned int v25; // [rsp+50h] [rbp-8h]
  unsigned int v26; // [rsp+54h] [rbp-4h]

  v16 = 1400257125;
  while ( 1 )
  {
    while ( 1 )
    {
      while ( 1 )
      {
        while ( 1 )
        {
          while ( 1 )
          {
            while ( 1 )
            {
              while ( 1 )
              {
                while ( 1 )
                {
                  while ( 1 )
                  {
                    while ( 1 )
                    {
                      while ( 1 )
                      {
                        while ( 1 )
                        {
                          while ( 1 )
                          {
                            while ( 1 )
                            {
                              while ( 1 )
                              {
                                while ( 1 )
                                {
                                  while ( 1 )
                                  {
                                    while ( 1 )
                                    {
                                      while ( 1 )
                                      {
                                        while ( 1 )
                                        {
                                          while ( 1 )
                                          {
                                            while ( 1 )
                                            {
                                              while ( 1 )
                                              {
                                                while ( 1 )
                                                {
                                                  while ( v16 == -1984737904 )
                                                    v16 = -236784464;
                                                  if ( v16 != -1681815088 )
                                                    break;
                                                  envp = (const char **)0xFFFFFFFFi64;
                                                  argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
                                                  LOBYTE(argv) = (dword_14001FC00 < 10) ^ (((((_BYTE)dword_14001FC04 - 1)
                                                                                           * (_BYTE)dword_14001FC04) & 1) == 0) | (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
                                                  v6 = -286983050;
                                                  if ( (_BYTE)argv )
                                                    v6 = 1151828412;
                                                  v16 = v6;
                                                }
                                                if ( v16 != -1606805552 )
                                                  break;
                                                v26 = v18;
                                                v16 = -1257171885;
                                              }
                                              if ( v16 != -1313883716 )
                                                break;
                                              v25 = v17 + 1;
                                              argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
                                              LOBYTE(envp) = ~(dword_14001FC00 < 10);
                                              LOBYTE(argv) = (dword_14001FC00 < 10
                                                           && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (unsigned __int8)envp ^ ~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
                                              v12 = -241517042;
                                              if ( (dword_14001FC00 < 10
                                                 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | ((unsigned __int8)envp ^ (unsigned __int8)~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0)) & 1 )
                                                v12 = -1143394373;
                                              v16 = v12;
                                            }
                                            if ( v16 != -1288957691 )
                                              break;
                                            v18 = v26 + 1;
                                            envp = (const char **)0xFFFFFFFFi64;
                                            argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
                                            LOBYTE(envp) = ~(dword_14001FC00 < 10);
                                            LOBYTE(argv) = (dword_14001FC00 < 10
                                                         && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (unsigned __int8)envp ^ ~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
                                            v14 = -644053655;
                                            if ( (dword_14001FC00 < 10
                                               && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | ((unsigned __int8)envp ^ (unsigned __int8)~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0)) & 1 )
                                              v14 = 1437020543;
                                            v16 = v14;
                                          }
                                          if ( v16 != -1257171885 )
                                            break;
                                          argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
                                          LOBYTE(envp) = ~(dword_14001FC00 < 10);
                                          LOBYTE(argv) = (dword_14001FC00 < 10
                                                       && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (unsigned __int8)envp ^ ~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
                                          v13 = -644053655;
                                          if ( (dword_14001FC00 < 10
                                             && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | ((unsigned __int8)envp ^ (unsigned __int8)~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0)) & 1 )
                                            v13 = -1288957691;
                                          v16 = v13;
                                        }
                                        if ( v16 != -1234338442 )
                                          break;
                                        v24 = v23;
                                        v16 = 1442572537;
                                      }
                                      if ( v16 != -1143682782 )
                                        break;
                                      envp = (const char **)0xFFFFFFFFi64;
                                      argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
                                      LOBYTE(envp) = ~(dword_14001FC00 < 10);
                                      LOBYTE(argv) = (dword_14001FC00 < 10
                                                   && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (dword_14001FC00 < 10) ^ (((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
                                      v11 = -241517042;
                                      if ( (_BYTE)argv )
                                        v11 = -1313883716;
                                      v16 = v11;
                                    }
                                    if ( v16 != -1143394373 )
                                      break;
                                    v16 = 737119033;
                                  }
                                  if ( v16 != -903616954 )
                                    break;
                                  v16 = 1915158079;
                                }
                                if ( v16 != -763684670 )
                                  break;
                                v16 = 163616244;
                              }
                              if ( v16 != -666707567 )
                                break;
                              v16 = 730653616;
                            }
                            if ( v16 != -644053655 )
                              break;
                            v18 = v26 + 1;
                            v16 = -1288957691;
                          }
                          if ( v16 != -286983050 )
                            break;
                          v16 = 1151828412;
                        }
                        if ( v16 != -262956936 )
                          break;
                        LOBYTE(argv) = v20;
                        v5 = 691900080;
                        if ( v20 )
                          v5 = 535617086;
                        v16 = v5;
                      }
                      if ( v16 != -241517042 )
                        break;
                      v16 = -1313883716;
                    }
                    if ( v16 != -236784464 )
                      break;
                    v20 = v19 < 2;
                    v16 = -262956936;
                  }
                  if ( v16 != 4534989 )
                    break;
                  v16 = 1929983629;
                }
                if ( v16 != 97917288 )
                  break;
                v16 = 1929983629;
              }
              if ( v16 != 163616244 )
                break;
              envp = (const char **)0xFFFFFFFFi64;
              argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
              LOBYTE(envp) = ~(dword_14001FC00 < 10);
              LOBYTE(argv) = (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (dword_14001FC00 < 10) ^ (((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
              v3 = -666707567;
              if ( (_BYTE)argv )
                v3 = 730653616;
              v16 = v3;
            }
            if ( v16 != 178920153 )
              break;
            sub_1400019F0("Hello, World!", argv, envp);
            v18 = 0;
            v16 = 163616244;
          }
          if ( v16 != 440059359 )
            break;
          v16 = -1606805552;
        }
        if ( v16 != 535617086 )
          break;
        v17 = 0;
        v16 = 4534989;
      }
      if ( v16 != 566377654 )
        break;
      envp = (const char **)~v18;
      argv = (const char **)~v17;
      v23 = (unsigned int)argv & v18 | (unsigned int)envp & v17;
      v16 = -1234338442;
    }
    if ( v16 == 691900080 )
      break;
    switch ( v16 )
    {
      case 730653616:
        v19 = v18;
        envp = (const char **)0xFFFFFFFFi64;
        argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
        LOBYTE(envp) = ~(dword_14001FC00 < 10);
        LOBYTE(argv) = (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (unsigned __int8)envp ^ ~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
        v4 = -666707567;
        if ( (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | ((unsigned __int8)envp ^ (unsigned __int8)~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0)) & 1 )
          v4 = -1984737904;
        v16 = v4;
        break;
      case 737119033:
        v17 = v25;
        v16 = 97917288;
        break;
      case 933041930:
        LOBYTE(argv) = v22;
        v10 = 440059359;
        if ( v22 )
          v10 = 566377654;
        v16 = v10;
        break;
      case 1151828412:
        v22 = v21 < 2;
        envp = (const char **)0xFFFFFFFFi64;
        argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
        LOBYTE(envp) = ~(dword_14001FC00 < 10);
        LOBYTE(argv) = (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (unsigned __int8)envp ^ ~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
        v7 = -286983050;
        if ( (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | ((unsigned __int8)envp ^ (unsigned __int8)~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0)) & 1 )
          v7 = 2059027630;
        v16 = v7;
        break;
      case 1384767445:
        argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
        LOBYTE(envp) = ~(dword_14001FC00 < 10);
        LOBYTE(argv) = (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (unsigned __int8)envp ^ ~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
        v8 = -903616954;
        if ( (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | ((unsigned __int8)envp ^ (unsigned __int8)~(((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0)) & 1 )
          v8 = 1915158079;
        v16 = v8;
        break;
      case 1400257125:
        v16 = 178920153;
        break;
      case 1437020543:
        v16 = -763684670;
        break;
      case 1442572537:
        sub_1400019F0("%d %d > %d\n", v18, v17, v24);
        v16 = -1143682782;
        break;
      case 1915158079:
        envp = (const char **)0xFFFFFFFFi64;
        argv = (const char **)(unsigned int)(dword_14001FC04 - 1);
        LOBYTE(argv) = (dword_14001FC00 < 10) ^ (((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0) | (dword_14001FC00 < 10 && ((((_BYTE)dword_14001FC04 - 1) * (_BYTE)dword_14001FC04) & 1) == 0);
        v9 = -903616954;
        if ( (_BYTE)argv )
          v9 = 933041930;
        v16 = v9;
        break;
      case 1929983629:
        v21 = v17;
        v16 = -1681815088;
        break;
      default:
        v16 = 1384767445;
        break;
    }
  }
  return 0;
}