
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int ps_main(int argc,char **argv)

{
  llist_t *opt_o;
  char default_o [14];
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 FUN_0004f77a(undefined4 param_1,undefined4 param_2)

{
  uint uVar1;
  char *pcVar2;
  int iVar3;
  ushort *puVar4;
  size_t sVar5;
  int iVar6;
  int iVar7;
  char *pcVar8;
  int in_GS_OFFSET;
  byte bVar9;
  int local_34;
  char local_2e [14];
  int local_20;
  
  bVar9 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_34 = 0;
  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);
  if (local_34 == 0) {
    pcVar2 = "pid,user,args";
    pcVar8 = local_2e;
    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {
      *pcVar8 = *pcVar2;
      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;
      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;
    }
    FUN_0004f5e8();
  }
  else {
    do {
      FUN_00018d50();
      FUN_0004f5e8();
    } while (local_34 != 0);
  }
  if ((uVar1 & 0x100) != 0) {
    _DAT_000d1304 = _DAT_000d1304 | 0x400000;
  }
  DAT_000d130c = 0x800;
  iVar6 = isatty(1);
  if (iVar6 != 0) {
    iVar6 = FUN_00019828();
    DAT_000d130c = iVar6 - 1;
    if (0x800 < DAT_000d130c) {
      DAT_000d130c = 0x800;
    }
  }
  iVar6 = DAT_000d12fc;
  if (0 < DAT_000d12fc) {
    uVar1 = 0;
    iVar7 = 0;
    puVar4 = DAT_000d12f8;
    do {
      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);
      if (**(char **)(puVar4 + 4) != '\0') {
        DAT_000d1300 = 1;
      }
      uVar1 = uVar1 + 1 + (uint)*puVar4;
      iVar7 = iVar7 + 1;
      iVar6 = iVar7;
    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&
            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));
  }
  DAT_000d12fc = iVar6;
  pcVar2 = (char *)FUN_00019b1c();
  DAT_000d1308 = pcVar2;
  if (DAT_000d1300 != 0) {
    pcVar8 = pcVar2;
    if (DAT_000d12fc != 0) {
      puVar4 = DAT_000d12f8;
      if (DAT_000d12fc != 1) {
        iVar6 = 1;
        pcVar8 = "%-*s ";
        do {
          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));
          pcVar2 = pcVar2 + iVar7;
          puVar4 = DAT_000d12f8 + iVar6 * 10;
          iVar6 = iVar6 + 1;
        } while (iVar6 != DAT_000d12fc);
      }
      pcVar8 = DAT_000d1308;
      strcpy(pcVar2,*(char **)(puVar4 + 4));
    }
    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);
  }
  while (iVar6 = FUN_000ae729(), iVar6 != 0) {
    if (DAT_000d12fc != 0) {
      pcVar2 = "%*s";
      iVar7 = 0;
      pcVar8 = DAT_000d1308;
      while( true ) {
        iVar3 = iVar7 * 0x14;
        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))
                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);
        if (*pcVar8 == '\0') {
          pcVar8[0] = '-';
          pcVar8[1] = '\0';
        }
        iVar7 = iVar7 + 1;
        if (iVar7 == DAT_000d12fc) break;
        sVar5 = strlen(pcVar8);
        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,
                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);
        pcVar8 = pcVar8 + sVar5 + iVar3;
      }
    }
    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00017e10();
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x40
CALL 0x00017640
ADD EBX,0x8129a
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x30],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0x1c],0x0
LEA ESI,[ESP + 0x1c]
PUSH ESI
LEA EAX,[EBX + 0xffff7c04]
PUSH EAX
PUSH dword ptr [ESP + 0x60]
CALL 0x000a8bdf
MOV EBP,EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JNZ 0x0004fa01
LEA EDI,[ESP + 0x1e]
LEA ESI,[EBX + 0xffff7c1c]
MOV ECX,0xe
MOVSB.REP ES:EDI,ESI
LEA EAX,[ESP + 0x1e]
CALL 0x0004f5e8
LEA ESI,[EBX + 0x8d8]
AND EBP,0x100
JZ 0x0004f7f5
OR dword ptr [ESI + 0xc],0x400000
MOV dword ptr [ESI + 0x14],0x800
SUB ESP,0xc
PUSH 0x1
CALL 0x000173c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004f827
XOR EAX,EAX
CALL 0x00019828
DEC EAX
CMP EAX,0x800
JBE 0x0004f9f9
MOV dword ptr [ESI + 0x14],0x800
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,EAX
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,0x1
TEST EDX,EDX
JLE 0x0004f876
MOV EAX,dword ptr [ESI + 0x14]
MOV dword ptr [ESP],EAX
MOV EBP,dword ptr [ESI + 0xc]
MOV EDX,dword ptr [ESI]
XOR EAX,EAX
XOR ECX,ECX
OR EBP,dword ptr [EDX + 0x10]
MOV dword ptr [ESI + 0xc],EBP
MOV EDI,dword ptr [EDX + 0x8]
CMP byte ptr [EDI],0x0
JZ 0x0004f85d
MOV dword ptr [ESI + 0x8],0x1
MOVZX EDI,word ptr [EDX]
LEA EAX,[EAX + EDI*0x1 + 0x1]
INC ECX
MOV EDI,EAX
SUB EDI,dword ptr [ESP]
TEST EDI,EDI
JLE 0x0004f9e6
MOV dword ptr [ESI + 0x4],ECX
INC EAX
CALL 0x00019b1c
MOV EDI,EAX
MOV dword ptr [ESI + 0x10],EAX
MOV EBP,dword ptr [ESI + 0x8]
TEST EBP,EBP
JNZ 0x0004f91b
XOR EBP,EBP
LEA EAX,[EBX + 0xffffceff]
MOV dword ptr [ESP + 0xc],EAX
MOV EDX,dword ptr [ESI + 0xc]
MOV EAX,EBP
CALL 0x000ae729
MOV EBP,EAX
TEST EAX,EAX
JZ 0x0004f992
MOV EDI,dword ptr [ESI + 0x10]
MOV ECX,dword ptr [ESI + 0x4]
TEST ECX,ECX
JZ 0x0004f901
XOR ECX,ECX
LEA EAX,[EBX + 0xffffabb3]
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP],EBP
MOV EBP,ESI
MOV ESI,ECX
LEA EAX,[ESI + ESI*0x4]
SHL EAX,0x2
MOV dword ptr [ESP + 0x4],EAX
ADD EAX,dword ptr [EBP]
PUSH EDX
PUSH dword ptr [ESP + 0x4]
MOVZX ECX,word ptr [EAX]
PUSH ECX
PUSH EDI
CALL dword ptr [EAX + 0xc]
ADD ESP,0x10
CMP byte ptr [EDI],0x0
JNZ 0x0004f8ef
MOV word ptr [EDI],0x2d
INC ESI
CMP ESI,dword ptr [EBP + 0x4]
JNZ 0x0004f9ae
MOV ESI,EBP
MOV EBP,dword ptr [ESP]
MOV EDI,dword ptr [ESI + 0x10]
PUSH EDI
PUSH dword ptr [ESI + 0x14]
LEA EAX,[EBX + 0xffff7c16]
PUSH EAX
PUSH 0x1
CALL 0x00016f40
ADD ESP,0x10
JMP 0x0004f897
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JZ 0x0004f978
MOV EAX,dword ptr [ESI]
MOV EBP,EDI
DEC EDX
JZ 0x0004f967
MOV EBP,0x1
LEA EDX,[EBX + 0xffff7c10]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x8]
MOVZX EAX,word ptr [EAX]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
PUSH -0x1
PUSH 0x1
PUSH EDI
CALL 0x00017570
ADD EDI,EAX
LEA ECX,[EBP + EBP*0x4]
MOV EAX,dword ptr [ESI]
LEA EAX,[EAX + ECX*0x4]
INC EBP
ADD ESP,0x20
CMP EBP,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESP]
JNZ 0x0004f934
MOV EBP,dword ptr [ESI + 0x10]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x8]
PUSH EDI
CALL 0x000167f0
ADD ESP,0x10
MOV EDI,EBP
PUSH EDI
PUSH dword ptr [ESI + 0x14]
LEA EAX,[EBX + 0xffff7c16]
PUSH EAX
PUSH 0x1
CALL 0x00016f40
ADD ESP,0x10
JMP 0x0004f88b
XOR EAX,EAX
MOV ECX,dword ptr [ESP + 0x2c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x0004f9a9
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00017e10
SUB ESP,0xc
PUSH EDI
CALL 0x00016b40
POP EDX
POP ECX
ADD EDI,EAX
MOV ECX,dword ptr [EBP]
MOV EDX,dword ptr [ESP + 0xc]
MOVZX ECX,word ptr [ECX + EDX*0x1]
SUB ECX,EAX
PUSH dword ptr [ESP + 0x14]
INC ECX
PUSH ECX
PUSH dword ptr [ESP + 0x18]
PUSH -0x1
PUSH 0x1
PUSH EDI
CALL 0x00017570
ADD EDI,EAX
ADD ESP,0x20
JMP 0x0004f8c8
ADD EDX,0x14
CMP dword ptr [ESP + 0x4],ECX
JNZ 0x0004f848
INC EAX
JMP 0x0004f876
MOV dword ptr [ESI + 0x14],EAX
JMP 0x0004f827
MOV EAX,ESI
CALL 0x00018d50
CALL 0x0004f5e8
MOV EAX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JNZ 0x0004fa01
JMP 0x0004f7e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4 FUN_0004f77a(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return 0;\n}\n\n" comment comment (function_definition "undefined4 FUN_0004f77a(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004f77a(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ushort *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "char local_2e [14];" primitive_type (array_declarator "local_2e [14]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);" (assignment_expression "uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34)" identifier = (call_expression "FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34)" identifier (argument_list "(param_2,"Zo:*aAdeflT",&local_34)" ( identifier , (string_literal ""Zo:*aAdeflT"" " string_content ") , (pointer_expression "&local_34" & identifier) )))) ;) (if_statement "if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }" { (expression_statement "pcVar2 = "pid,user,args";" (assignment_expression "pcVar2 = "pid,user,args"" identifier = (string_literal ""pid,user,args"" " string_content ")) ;) (expression_statement "pcVar8 = local_2e;" (assignment_expression "pcVar8 = local_2e" identifier = identifier) ;) (for_statement "for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "iVar6 = 0xe" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*pcVar8 = *pcVar2;" (assignment_expression "*pcVar8 = *pcVar2" (pointer_expression "*pcVar8" * identifier) = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;" (assignment_expression "pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "pcVar2 + (uint)bVar9 * -2 + 1" (binary_expression "pcVar2 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "pcVar8 + (uint)bVar9 * -2 + 1" (binary_expression "pcVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "FUN_0004f5e8();" (call_expression "FUN_0004f5e8()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" else (compound_statement "{\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" { (do_statement "do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);" do (compound_statement "{\n      FUN_00018d50();\n      FUN_0004f5e8();\n    }" { (expression_statement "FUN_00018d50();" (call_expression "FUN_00018d50()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0004f5e8();" (call_expression "FUN_0004f5e8()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )) ;) }))) (if_statement "if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }" if (parenthesized_expression "((uVar1 & 0x100) != 0)" ( (binary_expression "(uVar1 & 0x100) != 0" (parenthesized_expression "(uVar1 & 0x100)" ( (binary_expression "uVar1 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }" { (expression_statement "_DAT_000d1304 = _DAT_000d1304 | 0x400000;" (assignment_expression "_DAT_000d1304 = _DAT_000d1304 | 0x400000" identifier = (binary_expression "_DAT_000d1304 | 0x400000" identifier | number_literal)) ;) })) (expression_statement "DAT_000d130c = 0x800;" (assignment_expression "DAT_000d130c = 0x800" identifier = number_literal) ;) (expression_statement "iVar6 = isatty(1);" (assignment_expression "iVar6 = isatty(1)" identifier = (call_expression "isatty(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }" { (expression_statement "iVar6 = FUN_00019828();" (assignment_expression "iVar6 = FUN_00019828()" identifier = (call_expression "FUN_00019828()" identifier (argument_list "()" ( )))) ;) (expression_statement "DAT_000d130c = iVar6 - 1;" (assignment_expression "DAT_000d130c = iVar6 - 1" identifier = (binary_expression "iVar6 - 1" identifier - number_literal)) ;) (if_statement "if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }" if (parenthesized_expression "(0x800 < DAT_000d130c)" ( (binary_expression "0x800 < DAT_000d130c" number_literal < identifier) )) (compound_statement "{\n      DAT_000d130c = 0x800;\n    }" { (expression_statement "DAT_000d130c = 0x800;" (assignment_expression "DAT_000d130c = 0x800" identifier = number_literal) ;) })) })) (expression_statement "iVar6 = DAT_000d12fc;" (assignment_expression "iVar6 = DAT_000d12fc" identifier = identifier) ;) (if_statement "if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }" if (parenthesized_expression "(0 < DAT_000d12fc)" ( (binary_expression "0 < DAT_000d12fc" number_literal < identifier) )) (compound_statement "{\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = DAT_000d12f8;" (assignment_expression "puVar4 = DAT_000d12f8" identifier = identifier) ;) (do_statement "do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));" do (compound_statement "{\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    }" { (expression_statement "_DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);" (assignment_expression "_DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8)" identifier = (binary_expression "_DAT_000d1304 | *(uint *)(puVar4 + 8)" identifier | (pointer_expression "*(uint *)(puVar4 + 8)" * (cast_expression "(uint *)(puVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 8)" ( (binary_expression "puVar4 + 8" identifier + number_literal) )))))) ;) (if_statement "if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }" if (parenthesized_expression "(**(char **)(puVar4 + 4) != '\0')" ( (binary_expression "**(char **)(puVar4 + 4) != '\0'" (pointer_expression "**(char **)(puVar4 + 4)" * (pointer_expression "*(char **)(puVar4 + 4)" * (cast_expression "(char **)(puVar4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        DAT_000d1300 = 1;\n      }" { (expression_statement "DAT_000d1300 = 1;" (assignment_expression "DAT_000d1300 = 1" identifier = number_literal) ;) })) (expression_statement "uVar1 = uVar1 + 1 + (uint)*puVar4;" (assignment_expression "uVar1 = uVar1 + 1 + (uint)*puVar4" identifier = (binary_expression "uVar1 + 1 + (uint)*puVar4" (binary_expression "uVar1 + 1" identifier + number_literal) + (binary_expression "(uint)*puVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) }) while (parenthesized_expression "((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7))" ( (binary_expression "(uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7)" (parenthesized_expression "(uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0)" ( (binary_expression "uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0" (binary_expression "uVar1 == DAT_000d130c" identifier == identifier) || (binary_expression "(int)(uVar1 - DAT_000d130c) < 0" (cast_expression "(int)(uVar1 - DAT_000d130c)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 - DAT_000d130c)" ( (binary_expression "uVar1 - DAT_000d130c" identifier - identifier) ))) < number_literal)) )) && (parenthesized_expression "(puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7)" ( (comma_expression "puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7" (assignment_expression "puVar4 = puVar4 + 10" identifier = (binary_expression "puVar4 + 10" identifier + number_literal)) , (comma_expression "iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7" (assignment_expression "iVar6 = DAT_000d12fc" identifier = identifier) , (binary_expression "DAT_000d12fc != iVar7" identifier != identifier))) ))) )) ;) })) (expression_statement "DAT_000d12fc = iVar6;" (assignment_expression "DAT_000d12fc = iVar6" identifier = identifier) ;) (expression_statement "pcVar2 = (char *)FUN_00019b1c();" (assignment_expression "pcVar2 = (char *)FUN_00019b1c()" identifier = (cast_expression "(char *)FUN_00019b1c()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (expression_statement "DAT_000d1308 = pcVar2;" (assignment_expression "DAT_000d1308 = pcVar2" identifier = identifier) ;) (if_statement "if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }" if (parenthesized_expression "(DAT_000d1300 != 0)" ( (binary_expression "DAT_000d1300 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }" { (expression_statement "pcVar8 = pcVar2;" (assignment_expression "pcVar8 = pcVar2" identifier = identifier) ;) (if_statement "if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }" if (parenthesized_expression "(DAT_000d12fc != 0)" ( (binary_expression "DAT_000d12fc != 0" identifier != number_literal) )) (compound_statement "{\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }" { (expression_statement "puVar4 = DAT_000d12f8;" (assignment_expression "puVar4 = DAT_000d12f8" identifier = identifier) ;) (if_statement "if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }" if (parenthesized_expression "(DAT_000d12fc != 1)" ( (binary_expression "DAT_000d12fc != 1" identifier != number_literal) )) (compound_statement "{\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "pcVar8 = "%-*s ";" (assignment_expression "pcVar8 = "%-*s "" identifier = (string_literal ""%-*s "" " string_content ")) ;) (do_statement "do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);" do (compound_statement "{\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        }" { (expression_statement "iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));" (assignment_expression "iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" identifier = (call_expression "__sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" identifier (argument_list "(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" ( identifier , number_literal , number_literal , identifier , (pointer_expression "*puVar4" * identifier) , (pointer_expression "*(undefined4 *)(puVar4 + 4)" * (cast_expression "(undefined4 *)(puVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "pcVar2 = pcVar2 + iVar7;" (assignment_expression "pcVar2 = pcVar2 + iVar7" identifier = (binary_expression "pcVar2 + iVar7" identifier + identifier)) ;) (expression_statement "puVar4 = DAT_000d12f8 + iVar6 * 10;" (assignment_expression "puVar4 = DAT_000d12f8 + iVar6 * 10" identifier = (binary_expression "DAT_000d12f8 + iVar6 * 10" identifier + (binary_expression "iVar6 * 10" identifier * number_literal))) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != DAT_000d12fc)" ( (binary_expression "iVar6 != DAT_000d12fc" identifier != identifier) )) ;) })) (expression_statement "pcVar8 = DAT_000d1308;" (assignment_expression "pcVar8 = DAT_000d1308" identifier = identifier) ;) (expression_statement "strcpy(pcVar2,*(char **)(puVar4 + 4));" (call_expression "strcpy(pcVar2,*(char **)(puVar4 + 4))" identifier (argument_list "(pcVar2,*(char **)(puVar4 + 4))" ( identifier , (pointer_expression "*(char **)(puVar4 + 4)" * (cast_expression "(char **)(puVar4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "__printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);" (call_expression "__printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8)" identifier (argument_list "(1,"%.*s\n",DAT_000d130c,pcVar8)" ( number_literal , (string_literal ""%.*s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) })) (while_statement "while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }" while (parenthesized_expression "(iVar6 = FUN_000ae729(), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_000ae729(), iVar6 != 0" (assignment_expression "iVar6 = FUN_000ae729()" identifier = (call_expression "FUN_000ae729()" identifier (argument_list "()" ( )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) )) (compound_statement "{\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }" { (if_statement "if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }" if (parenthesized_expression "(DAT_000d12fc != 0)" ( (binary_expression "DAT_000d12fc != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }" { (expression_statement "pcVar2 = "%*s";" (assignment_expression "pcVar2 = "%*s"" identifier = (string_literal ""%*s"" " string_content ")) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "pcVar8 = DAT_000d1308;" (assignment_expression "pcVar8 = DAT_000d1308" identifier = identifier) ;) (while_statement "while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }" { (expression_statement "iVar3 = iVar7 * 0x14;" (assignment_expression "iVar3 = iVar7 * 0x14" identifier = (binary_expression "iVar7 * 0x14" identifier * number_literal)) ;) (expression_statement "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);" (call_expression "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2)" (parenthesized_expression "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))" ( (pointer_expression "**(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" * (pointer_expression "*(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" * (cast_expression "(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000d12f8 + iVar7 * 10 + 6)" ( (binary_expression "DAT_000d12f8 + iVar7 * 10 + 6" (binary_expression "DAT_000d12f8 + iVar7 * 10" identifier + (binary_expression "iVar7 * 10" identifier * number_literal)) + number_literal) ))))) )) (argument_list "(pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2)" ( identifier , (subscript_expression "DAT_000d12f8[iVar7 * 10]" identifier [ (binary_expression "iVar7 * 10" identifier * number_literal) ]) , identifier , identifier , identifier , identifier ))) ;) (if_statement "if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }" if (parenthesized_expression "(*pcVar8 == '\0')" ( (binary_expression "*pcVar8 == '\0'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }" { (expression_statement "pcVar8[0] = '-';" (assignment_expression "pcVar8[0] = '-'" (subscript_expression "pcVar8[0]" identifier [ number_literal ]) = (char_literal "'-'" ' character ')) ;) (expression_statement "pcVar8[1] = '\0';" (assignment_expression "pcVar8[1] = '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 == DAT_000d12fc) break;" if (parenthesized_expression "(iVar7 == DAT_000d12fc)" ( (binary_expression "iVar7 == DAT_000d12fc" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "sVar5 = strlen(pcVar8);" (assignment_expression "sVar5 = strlen(pcVar8)" identifier = (call_expression "strlen(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);" (assignment_expression "iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" identifier = (call_expression "__sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" identifier (argument_list "(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" ( (binary_expression "pcVar8 + sVar5" identifier + identifier) , number_literal , number_literal , identifier , (binary_expression "(*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1" (parenthesized_expression "(*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5)" ( (binary_expression "*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5" (pointer_expression "*(ushort *)((int)DAT_000d12f8 + iVar3)" * (cast_expression "(ushort *)((int)DAT_000d12f8 + iVar3)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)DAT_000d12f8 + iVar3)" ( (binary_expression "(int)DAT_000d12f8 + iVar3" (cast_expression "(int)DAT_000d12f8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) - identifier) )) + number_literal) , (pointer_expression "&DAT_000cd91f" & identifier) )))) ;) (expression_statement "pcVar8 = pcVar8 + sVar5 + iVar3;" (assignment_expression "pcVar8 = pcVar8 + sVar5 + iVar3" identifier = (binary_expression "pcVar8 + sVar5 + iVar3" (binary_expression "pcVar8 + sVar5" identifier + identifier) + identifier)) ;) })) })) (expression_statement "__printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);" (call_expression "__printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308)" identifier (argument_list "(1,"%.*s\n",DAT_000d130c,DAT_000d1308)" ( number_literal , (string_literal ""%.*s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }" { comment (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint ps_main(int argc,char **argv)\n\n{\n  llist_t *opt_o;\n  char default_o [14];\n  \n}\n\n" comment comment (function_definition "int ps_main(int argc,char **argv)\n\n{\n  llist_t *opt_o;\n  char default_o [14];\n  \n}" primitive_type (function_declarator "ps_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  llist_t *opt_o;\n  char default_o [14];\n  \n}" { (declaration "llist_t *opt_o;" type_identifier (pointer_declarator "*opt_o" * identifier) ;) (declaration "char default_o [14];" primitive_type (array_declarator "default_o [14]" identifier [ number_literal ]) ;) })))
(translation_unit "undefined4 FUN_0004f77a(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004f77a(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004f77a(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ushort *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "char local_2e [14];" primitive_type (array_declarator "local_2e [14]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);" (assignment_expression "uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34)" identifier = (call_expression "FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34)" identifier (argument_list "(param_2,"Zo:*aAdeflT",&local_34)" ( identifier , (string_literal ""Zo:*aAdeflT"" " string_content ") , (pointer_expression "&local_34" & identifier) )))) ;) (if_statement "if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" if (parenthesized_expression "(local_34 == 0)" ( (binary_expression "local_34 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }" { (expression_statement "pcVar2 = "pid,user,args";" (assignment_expression "pcVar2 = "pid,user,args"" identifier = (string_literal ""pid,user,args"" " string_content ")) ;) (expression_statement "pcVar8 = local_2e;" (assignment_expression "pcVar8 = local_2e" identifier = identifier) ;) (for_statement "for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "iVar6 = 0xe" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*pcVar8 = *pcVar2;" (assignment_expression "*pcVar8 = *pcVar2" (pointer_expression "*pcVar8" * identifier) = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;" (assignment_expression "pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "pcVar2 + (uint)bVar9 * -2 + 1" (binary_expression "pcVar2 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "pcVar8 + (uint)bVar9 * -2 + 1" (binary_expression "pcVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "FUN_0004f5e8();" (call_expression "FUN_0004f5e8()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" else (compound_statement "{\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" { (do_statement "do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);" do (compound_statement "{\n      FUN_00018d50();\n      FUN_0004f5e8();\n    }" { (expression_statement "FUN_00018d50();" (call_expression "FUN_00018d50()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0004f5e8();" (call_expression "FUN_0004f5e8()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )) ;) }))) (if_statement "if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }" if (parenthesized_expression "((uVar1 & 0x100) != 0)" ( (binary_expression "(uVar1 & 0x100) != 0" (parenthesized_expression "(uVar1 & 0x100)" ( (binary_expression "uVar1 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }" { (expression_statement "_DAT_000d1304 = _DAT_000d1304 | 0x400000;" (assignment_expression "_DAT_000d1304 = _DAT_000d1304 | 0x400000" identifier = (binary_expression "_DAT_000d1304 | 0x400000" identifier | number_literal)) ;) })) (expression_statement "DAT_000d130c = 0x800;" (assignment_expression "DAT_000d130c = 0x800" identifier = number_literal) ;) (expression_statement "iVar6 = isatty(1);" (assignment_expression "iVar6 = isatty(1)" identifier = (call_expression "isatty(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }" { (expression_statement "iVar6 = FUN_00019828();" (assignment_expression "iVar6 = FUN_00019828()" identifier = (call_expression "FUN_00019828()" identifier (argument_list "()" ( )))) ;) (expression_statement "DAT_000d130c = iVar6 - 1;" (assignment_expression "DAT_000d130c = iVar6 - 1" identifier = (binary_expression "iVar6 - 1" identifier - number_literal)) ;) (if_statement "if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }" if (parenthesized_expression "(0x800 < DAT_000d130c)" ( (binary_expression "0x800 < DAT_000d130c" number_literal < identifier) )) (compound_statement "{\n      DAT_000d130c = 0x800;\n    }" { (expression_statement "DAT_000d130c = 0x800;" (assignment_expression "DAT_000d130c = 0x800" identifier = number_literal) ;) })) })) (expression_statement "iVar6 = DAT_000d12fc;" (assignment_expression "iVar6 = DAT_000d12fc" identifier = identifier) ;) (if_statement "if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }" if (parenthesized_expression "(0 < DAT_000d12fc)" ( (binary_expression "0 < DAT_000d12fc" number_literal < identifier) )) (compound_statement "{\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = DAT_000d12f8;" (assignment_expression "puVar4 = DAT_000d12f8" identifier = identifier) ;) (do_statement "do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));" do (compound_statement "{\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    }" { (expression_statement "_DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);" (assignment_expression "_DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8)" identifier = (binary_expression "_DAT_000d1304 | *(uint *)(puVar4 + 8)" identifier | (pointer_expression "*(uint *)(puVar4 + 8)" * (cast_expression "(uint *)(puVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 8)" ( (binary_expression "puVar4 + 8" identifier + number_literal) )))))) ;) (if_statement "if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }" if (parenthesized_expression "(**(char **)(puVar4 + 4) != '\0')" ( (binary_expression "**(char **)(puVar4 + 4) != '\0'" (pointer_expression "**(char **)(puVar4 + 4)" * (pointer_expression "*(char **)(puVar4 + 4)" * (cast_expression "(char **)(puVar4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        DAT_000d1300 = 1;\n      }" { (expression_statement "DAT_000d1300 = 1;" (assignment_expression "DAT_000d1300 = 1" identifier = number_literal) ;) })) (expression_statement "uVar1 = uVar1 + 1 + (uint)*puVar4;" (assignment_expression "uVar1 = uVar1 + 1 + (uint)*puVar4" identifier = (binary_expression "uVar1 + 1 + (uint)*puVar4" (binary_expression "uVar1 + 1" identifier + number_literal) + (binary_expression "(uint)*puVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) }) while (parenthesized_expression "((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7))" ( (binary_expression "(uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7)" (parenthesized_expression "(uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0)" ( (binary_expression "uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0" (binary_expression "uVar1 == DAT_000d130c" identifier == identifier) || (binary_expression "(int)(uVar1 - DAT_000d130c) < 0" (cast_expression "(int)(uVar1 - DAT_000d130c)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 - DAT_000d130c)" ( (binary_expression "uVar1 - DAT_000d130c" identifier - identifier) ))) < number_literal)) )) && (parenthesized_expression "(puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7)" ( (comma_expression "puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7" (assignment_expression "puVar4 = puVar4 + 10" identifier = (binary_expression "puVar4 + 10" identifier + number_literal)) , (comma_expression "iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7" (assignment_expression "iVar6 = DAT_000d12fc" identifier = identifier) , (binary_expression "DAT_000d12fc != iVar7" identifier != identifier))) ))) )) ;) })) (expression_statement "DAT_000d12fc = iVar6;" (assignment_expression "DAT_000d12fc = iVar6" identifier = identifier) ;) (expression_statement "pcVar2 = (char *)FUN_00019b1c();" (assignment_expression "pcVar2 = (char *)FUN_00019b1c()" identifier = (cast_expression "(char *)FUN_00019b1c()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (expression_statement "DAT_000d1308 = pcVar2;" (assignment_expression "DAT_000d1308 = pcVar2" identifier = identifier) ;) (if_statement "if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }" if (parenthesized_expression "(DAT_000d1300 != 0)" ( (binary_expression "DAT_000d1300 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }" { (expression_statement "pcVar8 = pcVar2;" (assignment_expression "pcVar8 = pcVar2" identifier = identifier) ;) (if_statement "if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }" if (parenthesized_expression "(DAT_000d12fc != 0)" ( (binary_expression "DAT_000d12fc != 0" identifier != number_literal) )) (compound_statement "{\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }" { (expression_statement "puVar4 = DAT_000d12f8;" (assignment_expression "puVar4 = DAT_000d12f8" identifier = identifier) ;) (if_statement "if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }" if (parenthesized_expression "(DAT_000d12fc != 1)" ( (binary_expression "DAT_000d12fc != 1" identifier != number_literal) )) (compound_statement "{\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "pcVar8 = "%-*s ";" (assignment_expression "pcVar8 = "%-*s "" identifier = (string_literal ""%-*s "" " string_content ")) ;) (do_statement "do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);" do (compound_statement "{\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        }" { (expression_statement "iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));" (assignment_expression "iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" identifier = (call_expression "__sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" identifier (argument_list "(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" ( identifier , number_literal , number_literal , identifier , (pointer_expression "*puVar4" * identifier) , (pointer_expression "*(undefined4 *)(puVar4 + 4)" * (cast_expression "(undefined4 *)(puVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "pcVar2 = pcVar2 + iVar7;" (assignment_expression "pcVar2 = pcVar2 + iVar7" identifier = (binary_expression "pcVar2 + iVar7" identifier + identifier)) ;) (expression_statement "puVar4 = DAT_000d12f8 + iVar6 * 10;" (assignment_expression "puVar4 = DAT_000d12f8 + iVar6 * 10" identifier = (binary_expression "DAT_000d12f8 + iVar6 * 10" identifier + (binary_expression "iVar6 * 10" identifier * number_literal))) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != DAT_000d12fc)" ( (binary_expression "iVar6 != DAT_000d12fc" identifier != identifier) )) ;) })) (expression_statement "pcVar8 = DAT_000d1308;" (assignment_expression "pcVar8 = DAT_000d1308" identifier = identifier) ;) (expression_statement "strcpy(pcVar2,*(char **)(puVar4 + 4));" (call_expression "strcpy(pcVar2,*(char **)(puVar4 + 4))" identifier (argument_list "(pcVar2,*(char **)(puVar4 + 4))" ( identifier , (pointer_expression "*(char **)(puVar4 + 4)" * (cast_expression "(char **)(puVar4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "__printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);" (call_expression "__printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8)" identifier (argument_list "(1,"%.*s\n",DAT_000d130c,pcVar8)" ( number_literal , (string_literal ""%.*s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) })) (while_statement "while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }" while (parenthesized_expression "(iVar6 = FUN_000ae729(), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_000ae729(), iVar6 != 0" (assignment_expression "iVar6 = FUN_000ae729()" identifier = (call_expression "FUN_000ae729()" identifier (argument_list "()" ( )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) )) (compound_statement "{\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }" { (if_statement "if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }" if (parenthesized_expression "(DAT_000d12fc != 0)" ( (binary_expression "DAT_000d12fc != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }" { (expression_statement "pcVar2 = "%*s";" (assignment_expression "pcVar2 = "%*s"" identifier = (string_literal ""%*s"" " string_content ")) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "pcVar8 = DAT_000d1308;" (assignment_expression "pcVar8 = DAT_000d1308" identifier = identifier) ;) (while_statement "while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }" { (expression_statement "iVar3 = iVar7 * 0x14;" (assignment_expression "iVar3 = iVar7 * 0x14" identifier = (binary_expression "iVar7 * 0x14" identifier * number_literal)) ;) (expression_statement "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);" (call_expression "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2)" (parenthesized_expression "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))" ( (pointer_expression "**(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" * (pointer_expression "*(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" * (cast_expression "(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000d12f8 + iVar7 * 10 + 6)" ( (binary_expression "DAT_000d12f8 + iVar7 * 10 + 6" (binary_expression "DAT_000d12f8 + iVar7 * 10" identifier + (binary_expression "iVar7 * 10" identifier * number_literal)) + number_literal) ))))) )) (argument_list "(pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2)" ( identifier , (subscript_expression "DAT_000d12f8[iVar7 * 10]" identifier [ (binary_expression "iVar7 * 10" identifier * number_literal) ]) , identifier , identifier , identifier , identifier ))) ;) (if_statement "if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }" if (parenthesized_expression "(*pcVar8 == '\0')" ( (binary_expression "*pcVar8 == '\0'" (pointer_expression "*pcVar8" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }" { (expression_statement "pcVar8[0] = '-';" (assignment_expression "pcVar8[0] = '-'" (subscript_expression "pcVar8[0]" identifier [ number_literal ]) = (char_literal "'-'" ' character ')) ;) (expression_statement "pcVar8[1] = '\0';" (assignment_expression "pcVar8[1] = '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 == DAT_000d12fc) break;" if (parenthesized_expression "(iVar7 == DAT_000d12fc)" ( (binary_expression "iVar7 == DAT_000d12fc" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "sVar5 = strlen(pcVar8);" (assignment_expression "sVar5 = strlen(pcVar8)" identifier = (call_expression "strlen(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);" (assignment_expression "iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" identifier = (call_expression "__sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" identifier (argument_list "(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" ( (binary_expression "pcVar8 + sVar5" identifier + identifier) , number_literal , number_literal , identifier , (binary_expression "(*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1" (parenthesized_expression "(*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5)" ( (binary_expression "*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5" (pointer_expression "*(ushort *)((int)DAT_000d12f8 + iVar3)" * (cast_expression "(ushort *)((int)DAT_000d12f8 + iVar3)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)DAT_000d12f8 + iVar3)" ( (binary_expression "(int)DAT_000d12f8 + iVar3" (cast_expression "(int)DAT_000d12f8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) - identifier) )) + number_literal) , (pointer_expression "&DAT_000cd91f" & identifier) )))) ;) (expression_statement "pcVar8 = pcVar8 + sVar5 + iVar3;" (assignment_expression "pcVar8 = pcVar8 + sVar5 + iVar3" identifier = (binary_expression "pcVar8 + sVar5 + iVar3" (binary_expression "pcVar8 + sVar5" identifier + identifier) + identifier)) ;) })) })) (expression_statement "__printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);" (call_expression "__printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308)" identifier (argument_list "(1,"%.*s\n",DAT_000d130c,DAT_000d1308)" ( number_literal , (string_literal ""%.*s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00017e10();\n  }" { (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( IDENT )) * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) || (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != IDENT))) ))) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT , IDENT ))) ;) })) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )) (argument_list ( IDENT , (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) , IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , LIT , LIT , IDENT , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) - IDENT) )) + LIT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + IDENT)) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0004f77a(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004f77a(undefined4 param_1,undefined4 param_2)" (identifier "FUN_0004f77a") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  int iVar3;\n  ushort *puVar4;\n  size_t sVar5;\n  int iVar6;\n  int iVar7;\n  char *pcVar8;\n  int in_GS_OFFSET;\n  byte bVar9;\n  int local_34;\n  char local_2e [14];\n  int local_20;\n  \n  bVar9 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_34 = 0;\n  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);\n  if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }\n  if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }\n  DAT_000d130c = 0x800;\n  iVar6 = isatty(1);\n  if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }\n  iVar6 = DAT_000d12fc;\n  if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }\n  DAT_000d12fc = iVar6;\n  pcVar2 = (char *)FUN_00019b1c();\n  DAT_000d1308 = pcVar2;\n  if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }\n  while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "ushort *puVar4;" (type_identifier "ushort") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar9;" (type_identifier "byte") (identifier "bVar9") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "char local_2e [14];" (primitive_type "char") (array_declarator "local_2e [14]" (identifier "local_2e") ([ "[") (number_literal "14") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" (identifier "bVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);" (assignment_expression "uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34)" (identifier "uVar1") (= "=") (call_expression "FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34)" (identifier "FUN_000a8bdf") (argument_list "(param_2,"Zo:*aAdeflT",&local_34)" (( "(") (identifier "param_2") (, ",") (string_literal ""Zo:*aAdeflT"" (" """) (string_content "Zo:*aAdeflT") (" """)) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (if_statement "if (local_34 == 0) {\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }\n  else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" (if "if") (parenthesized_expression "(local_34 == 0)" (( "(") (binary_expression "local_34 == 0" (identifier "local_34") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar2 = "pid,user,args";\n    pcVar8 = local_2e;\n    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }\n    FUN_0004f5e8();\n  }" ({ "{") (expression_statement "pcVar2 = "pid,user,args";" (assignment_expression "pcVar2 = "pid,user,args"" (identifier "pcVar2") (= "=") (string_literal ""pid,user,args"" (" """) (string_content "pid,user,args") (" """))) (; ";")) (expression_statement "pcVar8 = local_2e;" (assignment_expression "pcVar8 = local_2e" (identifier "pcVar8") (= "=") (identifier "local_2e")) (; ";")) (for_statement "for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar6 = 0xe" (identifier "iVar6") (= "=") (number_literal "0xe")) (; ";") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *pcVar8 = *pcVar2;\n      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;\n      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;\n    }" ({ "{") (expression_statement "*pcVar8 = *pcVar2;" (assignment_expression "*pcVar8 = *pcVar2" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (= "=") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2"))) (; ";")) (expression_statement "pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;" (assignment_expression "pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1" (identifier "pcVar2") (= "=") (binary_expression "pcVar2 + (uint)bVar9 * -2 + 1" (binary_expression "pcVar2 + (uint)bVar9 * -2" (identifier "pcVar2") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1" (identifier "pcVar8") (= "=") (binary_expression "pcVar8 + (uint)bVar9 * -2 + 1" (binary_expression "pcVar8 + (uint)bVar9 * -2" (identifier "pcVar8") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_0004f5e8();" (call_expression "FUN_0004f5e8()" (identifier "FUN_0004f5e8") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" (else "else") (compound_statement "{\n    do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);\n  }" ({ "{") (do_statement "do {\n      FUN_00018d50();\n      FUN_0004f5e8();\n    } while (local_34 != 0);" (do "do") (compound_statement "{\n      FUN_00018d50();\n      FUN_0004f5e8();\n    }" ({ "{") (expression_statement "FUN_00018d50();" (call_expression "FUN_00018d50()" (identifier "FUN_00018d50") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0004f5e8();" (call_expression "FUN_0004f5e8()" (identifier "FUN_0004f5e8") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_34 != 0)" (( "(") (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (if_statement "if ((uVar1 & 0x100) != 0) {\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x100) != 0)" (( "(") (binary_expression "(uVar1 & 0x100) != 0" (parenthesized_expression "(uVar1 & 0x100)" (( "(") (binary_expression "uVar1 & 0x100" (identifier "uVar1") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    _DAT_000d1304 = _DAT_000d1304 | 0x400000;\n  }" ({ "{") (expression_statement "_DAT_000d1304 = _DAT_000d1304 | 0x400000;" (assignment_expression "_DAT_000d1304 = _DAT_000d1304 | 0x400000" (identifier "_DAT_000d1304") (= "=") (binary_expression "_DAT_000d1304 | 0x400000" (identifier "_DAT_000d1304") (| "|") (number_literal "0x400000"))) (; ";")) (} "}"))) (expression_statement "DAT_000d130c = 0x800;" (assignment_expression "DAT_000d130c = 0x800" (identifier "DAT_000d130c") (= "=") (number_literal "0x800")) (; ";")) (expression_statement "iVar6 = isatty(1);" (assignment_expression "iVar6 = isatty(1)" (identifier "iVar6") (= "=") (call_expression "isatty(1)" (identifier "isatty") (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = FUN_00019828();\n    DAT_000d130c = iVar6 - 1;\n    if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }\n  }" ({ "{") (expression_statement "iVar6 = FUN_00019828();" (assignment_expression "iVar6 = FUN_00019828()" (identifier "iVar6") (= "=") (call_expression "FUN_00019828()" (identifier "FUN_00019828") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "DAT_000d130c = iVar6 - 1;" (assignment_expression "DAT_000d130c = iVar6 - 1" (identifier "DAT_000d130c") (= "=") (binary_expression "iVar6 - 1" (identifier "iVar6") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (0x800 < DAT_000d130c) {\n      DAT_000d130c = 0x800;\n    }" (if "if") (parenthesized_expression "(0x800 < DAT_000d130c)" (( "(") (binary_expression "0x800 < DAT_000d130c" (number_literal "0x800") (< "<") (identifier "DAT_000d130c")) () ")")) (compound_statement "{\n      DAT_000d130c = 0x800;\n    }" ({ "{") (expression_statement "DAT_000d130c = 0x800;" (assignment_expression "DAT_000d130c = 0x800" (identifier "DAT_000d130c") (= "=") (number_literal "0x800")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar6 = DAT_000d12fc;" (assignment_expression "iVar6 = DAT_000d12fc" (identifier "iVar6") (= "=") (identifier "DAT_000d12fc")) (; ";")) (if_statement "if (0 < DAT_000d12fc) {\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }" (if "if") (parenthesized_expression "(0 < DAT_000d12fc)" (( "(") (binary_expression "0 < DAT_000d12fc" (number_literal "0") (< "<") (identifier "DAT_000d12fc")) () ")")) (compound_statement "{\n    uVar1 = 0;\n    iVar7 = 0;\n    puVar4 = DAT_000d12f8;\n    do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));\n  }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = DAT_000d12f8;" (assignment_expression "puVar4 = DAT_000d12f8" (identifier "puVar4") (= "=") (identifier "DAT_000d12f8")) (; ";")) (do_statement "do {\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));" (do "do") (compound_statement "{\n      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);\n      if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }\n      uVar1 = uVar1 + 1 + (uint)*puVar4;\n      iVar7 = iVar7 + 1;\n      iVar6 = iVar7;\n    }" ({ "{") (expression_statement "_DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);" (assignment_expression "_DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8)" (identifier "_DAT_000d1304") (= "=") (binary_expression "_DAT_000d1304 | *(uint *)(puVar4 + 8)" (identifier "_DAT_000d1304") (| "|") (pointer_expression "*(uint *)(puVar4 + 8)" (* "*") (cast_expression "(uint *)(puVar4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 8)" (( "(") (binary_expression "puVar4 + 8" (identifier "puVar4") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (if_statement "if (**(char **)(puVar4 + 4) != '\0') {\n        DAT_000d1300 = 1;\n      }" (if "if") (parenthesized_expression "(**(char **)(puVar4 + 4) != '\0')" (( "(") (binary_expression "**(char **)(puVar4 + 4) != '\0'" (pointer_expression "**(char **)(puVar4 + 4)" (* "*") (pointer_expression "*(char **)(puVar4 + 4)" (* "*") (cast_expression "(char **)(puVar4 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")"))))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        DAT_000d1300 = 1;\n      }" ({ "{") (expression_statement "DAT_000d1300 = 1;" (assignment_expression "DAT_000d1300 = 1" (identifier "DAT_000d1300") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "uVar1 = uVar1 + 1 + (uint)*puVar4;" (assignment_expression "uVar1 = uVar1 + 1 + (uint)*puVar4" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1 + (uint)*puVar4" (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1")) (+ "+") (binary_expression "(uint)*puVar4" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" (identifier "iVar6") (= "=") (identifier "iVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7))" (( "(") (binary_expression "(uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&\n            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7)" (parenthesized_expression "(uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0)" (( "(") (binary_expression "uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0" (binary_expression "uVar1 == DAT_000d130c" (identifier "uVar1") (== "==") (identifier "DAT_000d130c")) (|| "||") (binary_expression "(int)(uVar1 - DAT_000d130c) < 0" (cast_expression "(int)(uVar1 - DAT_000d130c)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar1 - DAT_000d130c)" (( "(") (binary_expression "uVar1 - DAT_000d130c" (identifier "uVar1") (- "-") (identifier "DAT_000d130c")) () ")"))) (< "<") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "(puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7)" (( "(") (comma_expression "puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7" (assignment_expression "puVar4 = puVar4 + 10" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 10" (identifier "puVar4") (+ "+") (number_literal "10"))) (, ",") (comma_expression "iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7" (assignment_expression "iVar6 = DAT_000d12fc" (identifier "iVar6") (= "=") (identifier "DAT_000d12fc")) (, ",") (binary_expression "DAT_000d12fc != iVar7" (identifier "DAT_000d12fc") (!= "!=") (identifier "iVar7")))) () ")"))) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_000d12fc = iVar6;" (assignment_expression "DAT_000d12fc = iVar6" (identifier "DAT_000d12fc") (= "=") (identifier "iVar6")) (; ";")) (expression_statement "pcVar2 = (char *)FUN_00019b1c();" (assignment_expression "pcVar2 = (char *)FUN_00019b1c()" (identifier "pcVar2") (= "=") (cast_expression "(char *)FUN_00019b1c()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019b1c()" (identifier "FUN_00019b1c") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "DAT_000d1308 = pcVar2;" (assignment_expression "DAT_000d1308 = pcVar2" (identifier "DAT_000d1308") (= "=") (identifier "pcVar2")) (; ";")) (if_statement "if (DAT_000d1300 != 0) {\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }" (if "if") (parenthesized_expression "(DAT_000d1300 != 0)" (( "(") (binary_expression "DAT_000d1300 != 0" (identifier "DAT_000d1300") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar8 = pcVar2;\n    if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);\n  }" ({ "{") (expression_statement "pcVar8 = pcVar2;" (assignment_expression "pcVar8 = pcVar2" (identifier "pcVar8") (= "=") (identifier "pcVar2")) (; ";")) (if_statement "if (DAT_000d12fc != 0) {\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }" (if "if") (parenthesized_expression "(DAT_000d12fc != 0)" (( "(") (binary_expression "DAT_000d12fc != 0" (identifier "DAT_000d12fc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar4 = DAT_000d12f8;\n      if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }\n      pcVar8 = DAT_000d1308;\n      strcpy(pcVar2,*(char **)(puVar4 + 4));\n    }" ({ "{") (expression_statement "puVar4 = DAT_000d12f8;" (assignment_expression "puVar4 = DAT_000d12f8" (identifier "puVar4") (= "=") (identifier "DAT_000d12f8")) (; ";")) (if_statement "if (DAT_000d12fc != 1) {\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }" (if "if") (parenthesized_expression "(DAT_000d12fc != 1)" (( "(") (binary_expression "DAT_000d12fc != 1" (identifier "DAT_000d12fc") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        iVar6 = 1;\n        pcVar8 = "%-*s ";\n        do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);\n      }" ({ "{") (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "pcVar8 = "%-*s ";" (assignment_expression "pcVar8 = "%-*s "" (identifier "pcVar8") (= "=") (string_literal ""%-*s "" (" """) (string_content "%-*s ") (" """))) (; ";")) (do_statement "do {\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        } while (iVar6 != DAT_000d12fc);" (do "do") (compound_statement "{\n          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));\n          pcVar2 = pcVar2 + iVar7;\n          puVar4 = DAT_000d12f8 + iVar6 * 10;\n          iVar6 = iVar6 + 1;\n        }" ({ "{") (expression_statement "iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));" (assignment_expression "iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" (identifier "iVar7") (= "=") (call_expression "__sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" (identifier "__sprintf_chk") (argument_list "(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4))" (( "(") (identifier "pcVar2") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "pcVar8") (, ",") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (, ",") (pointer_expression "*(undefined4 *)(puVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(puVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "pcVar2 = pcVar2 + iVar7;" (assignment_expression "pcVar2 = pcVar2 + iVar7" (identifier "pcVar2") (= "=") (binary_expression "pcVar2 + iVar7" (identifier "pcVar2") (+ "+") (identifier "iVar7"))) (; ";")) (expression_statement "puVar4 = DAT_000d12f8 + iVar6 * 10;" (assignment_expression "puVar4 = DAT_000d12f8 + iVar6 * 10" (identifier "puVar4") (= "=") (binary_expression "DAT_000d12f8 + iVar6 * 10" (identifier "DAT_000d12f8") (+ "+") (binary_expression "iVar6 * 10" (identifier "iVar6") (* "*") (number_literal "10")))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != DAT_000d12fc)" (( "(") (binary_expression "iVar6 != DAT_000d12fc" (identifier "iVar6") (!= "!=") (identifier "DAT_000d12fc")) () ")")) (; ";")) (} "}"))) (expression_statement "pcVar8 = DAT_000d1308;" (assignment_expression "pcVar8 = DAT_000d1308" (identifier "pcVar8") (= "=") (identifier "DAT_000d1308")) (; ";")) (expression_statement "strcpy(pcVar2,*(char **)(puVar4 + 4));" (call_expression "strcpy(pcVar2,*(char **)(puVar4 + 4))" (identifier "strcpy") (argument_list "(pcVar2,*(char **)(puVar4 + 4))" (( "(") (identifier "pcVar2") (, ",") (pointer_expression "*(char **)(puVar4 + 4)" (* "*") (cast_expression "(char **)(puVar4 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "__printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);" (call_expression "__printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8)" (identifier "__printf_chk") (argument_list "(1,"%.*s\n",DAT_000d130c,pcVar8)" (( "(") (number_literal "1") (, ",") (string_literal ""%.*s\n"" (" """) (string_content "%.*s") (escape_sequence "\n") (" """)) (, ",") (identifier "DAT_000d130c") (, ",") (identifier "pcVar8") () ")"))) (; ";")) (} "}"))) (while_statement "while (iVar6 = FUN_000ae729(), iVar6 != 0) {\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }" (while "while") (parenthesized_expression "(iVar6 = FUN_000ae729(), iVar6 != 0)" (( "(") (comma_expression "iVar6 = FUN_000ae729(), iVar6 != 0" (assignment_expression "iVar6 = FUN_000ae729()" (identifier "iVar6") (= "=") (call_expression "FUN_000ae729()" (identifier "FUN_000ae729") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n    if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }\n    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);\n  }" ({ "{") (if_statement "if (DAT_000d12fc != 0) {\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }" (if "if") (parenthesized_expression "(DAT_000d12fc != 0)" (( "(") (binary_expression "DAT_000d12fc != 0" (identifier "DAT_000d12fc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar2 = "%*s";\n      iVar7 = 0;\n      pcVar8 = DAT_000d1308;\n      while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }\n    }" ({ "{") (expression_statement "pcVar2 = "%*s";" (assignment_expression "pcVar2 = "%*s"" (identifier "pcVar2") (= "=") (string_literal ""%*s"" (" """) (string_content "%*s") (" """))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar8 = DAT_000d1308;" (assignment_expression "pcVar8 = DAT_000d1308" (identifier "pcVar8") (= "=") (identifier "DAT_000d1308")) (; ";")) (while_statement "while( true ) {\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar3 = iVar7 * 0x14;\n        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);\n        if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }\n        iVar7 = iVar7 + 1;\n        if (iVar7 == DAT_000d12fc) break;\n        sVar5 = strlen(pcVar8);\n        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);\n        pcVar8 = pcVar8 + sVar5 + iVar3;\n      }" ({ "{") (expression_statement "iVar3 = iVar7 * 0x14;" (assignment_expression "iVar3 = iVar7 * 0x14" (identifier "iVar3") (= "=") (binary_expression "iVar7 * 0x14" (identifier "iVar7") (* "*") (number_literal "0x14"))) (; ";")) (expression_statement "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);" (call_expression "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))\n                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2)" (parenthesized_expression "(**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))" (( "(") (pointer_expression "**(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" (* "*") (pointer_expression "*(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" (* "*") (cast_expression "(code **)(DAT_000d12f8 + iVar7 * 10 + 6)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_000d12f8 + iVar7 * 10 + 6)" (( "(") (binary_expression "DAT_000d12f8 + iVar7 * 10 + 6" (binary_expression "DAT_000d12f8 + iVar7 * 10" (identifier "DAT_000d12f8") (+ "+") (binary_expression "iVar7 * 10" (identifier "iVar7") (* "*") (number_literal "10"))) (+ "+") (number_literal "6")) () ")"))))) () ")")) (argument_list "(pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2)" (( "(") (identifier "pcVar8") (, ",") (subscript_expression "DAT_000d12f8[iVar7 * 10]" (identifier "DAT_000d12f8") ([ "[") (binary_expression "iVar7 * 10" (identifier "iVar7") (* "*") (number_literal "10")) (] "]")) (, ",") (identifier "iVar6") (, ",") (identifier "iVar6") (, ",") (identifier "iVar3") (, ",") (identifier "pcVar2") () ")"))) (; ";")) (if_statement "if (*pcVar8 == '\0') {\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }" (if "if") (parenthesized_expression "(*pcVar8 == '\0')" (( "(") (binary_expression "*pcVar8 == '\0'" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          pcVar8[0] = '-';\n          pcVar8[1] = '\0';\n        }" ({ "{") (expression_statement "pcVar8[0] = '-';" (assignment_expression "pcVar8[0] = '-'" (subscript_expression "pcVar8[0]" (identifier "pcVar8") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'-'" (' "'") (character "-") (' "'"))) (; ";")) (expression_statement "pcVar8[1] = '\0';" (assignment_expression "pcVar8[1] = '\0'" (subscript_expression "pcVar8[1]" (identifier "pcVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar7 == DAT_000d12fc) break;" (if "if") (parenthesized_expression "(iVar7 == DAT_000d12fc)" (( "(") (binary_expression "iVar7 == DAT_000d12fc" (identifier "iVar7") (== "==") (identifier "DAT_000d12fc")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "sVar5 = strlen(pcVar8);" (assignment_expression "sVar5 = strlen(pcVar8)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar8)" (identifier "strlen") (argument_list "(pcVar8)" (( "(") (identifier "pcVar8") () ")")))) (; ";")) (expression_statement "iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);" (assignment_expression "iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" (identifier "iVar3") (= "=") (call_expression "__sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" (identifier "__sprintf_chk") (argument_list "(pcVar8 + sVar5,1,0xffffffff,pcVar2,\n                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f)" (( "(") (binary_expression "pcVar8 + sVar5" (identifier "pcVar8") (+ "+") (identifier "sVar5")) (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "pcVar2") (, ",") (binary_expression "(*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1" (parenthesized_expression "(*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5)" (( "(") (binary_expression "*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5" (pointer_expression "*(ushort *)((int)DAT_000d12f8 + iVar3)" (* "*") (cast_expression "(ushort *)((int)DAT_000d12f8 + iVar3)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)DAT_000d12f8 + iVar3)" (( "(") (binary_expression "(int)DAT_000d12f8 + iVar3" (cast_expression "(int)DAT_000d12f8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000d12f8")) (+ "+") (identifier "iVar3")) () ")")))) (- "-") (identifier "sVar5")) () ")")) (+ "+") (number_literal "1")) (, ",") (pointer_expression "&DAT_000cd91f" (& "&") (identifier "DAT_000cd91f")) () ")")))) (; ";")) (expression_statement "pcVar8 = pcVar8 + sVar5 + iVar3;" (assignment_expression "pcVar8 = pcVar8 + sVar5 + iVar3" (identifier "pcVar8") (= "=") (binary_expression "pcVar8 + sVar5 + iVar3" (binary_expression "pcVar8 + sVar5" (identifier "pcVar8") (+ "+") (identifier "sVar5")) (+ "+") (identifier "iVar3"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "__printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);" (call_expression "__printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308)" (identifier "__printf_chk") (argument_list "(1,"%.*s\n",DAT_000d130c,DAT_000d1308)" (( "(") (number_literal "1") (, ",") (string_literal ""%.*s\n"" (" """) (string_content "%.*s") (escape_sequence "\n") (" """)) (, ",") (identifier "DAT_000d130c") (, ",") (identifier "DAT_000d1308") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00017e10();\n  }" ({ "{") (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(int argc,char **argv)

{
  type_1 *opt_o;
  char default_o [14];
  
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) right: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (identifier) (identifier)))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) (identifier) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal) (number_literal) (identifier) (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (identifier))) right: (number_literal)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  uint uVar1;
  char *pcVar2;
  int iVar3;
  ushort *puVar4;
  size_t sVar5;
  int iVar6;
  int iVar7;
  char *pcVar8;
  int in_GS_OFFSET;
  byte bVar9;
  int local_34;
  char local_2e [14];
  int local_20;
  
  bVar9 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_34 = 0;
  uVar1 = FUN_000a8bdf(param_2,"Zo:*aAdeflT",&local_34);
  if (local_34 == 0) {
    pcVar2 = "pid,user,args";
    pcVar8 = local_2e;
    for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {
      *pcVar8 = *pcVar2;
      pcVar2 = pcVar2 + (uint)bVar9 * -2 + 1;
      pcVar8 = pcVar8 + (uint)bVar9 * -2 + 1;
    }
    FUN_0004f5e8();
  }
  else {
    do {
      FUN_00018d50();
      FUN_0004f5e8();
    } while (local_34 != 0);
  }
  if ((uVar1 & 0x100) != 0) {
    _DAT_000d1304 = _DAT_000d1304 | 0x400000;
  }
  DAT_000d130c = 0x800;
  iVar6 = isatty(1);
  if (iVar6 != 0) {
    iVar6 = FUN_00019828();
    DAT_000d130c = iVar6 - 1;
    if (0x800 < DAT_000d130c) {
      DAT_000d130c = 0x800;
    }
  }
  iVar6 = DAT_000d12fc;
  if (0 < DAT_000d12fc) {
    uVar1 = 0;
    iVar7 = 0;
    puVar4 = DAT_000d12f8;
    do {
      _DAT_000d1304 = _DAT_000d1304 | *(uint *)(puVar4 + 8);
      if (**(char **)(puVar4 + 4) != '\0') {
        DAT_000d1300 = 1;
      }
      uVar1 = uVar1 + 1 + (uint)*puVar4;
      iVar7 = iVar7 + 1;
      iVar6 = iVar7;
    } while ((uVar1 == DAT_000d130c || (int)(uVar1 - DAT_000d130c) < 0) &&
            (puVar4 = puVar4 + 10, iVar6 = DAT_000d12fc, DAT_000d12fc != iVar7));
  }
  DAT_000d12fc = iVar6;
  pcVar2 = (char *)FUN_00019b1c();
  DAT_000d1308 = pcVar2;
  if (DAT_000d1300 != 0) {
    pcVar8 = pcVar2;
    if (DAT_000d12fc != 0) {
      puVar4 = DAT_000d12f8;
      if (DAT_000d12fc != 1) {
        iVar6 = 1;
        pcVar8 = "%-*s ";
        do {
          iVar7 = __sprintf_chk(pcVar2,1,0xffffffff,pcVar8,*puVar4,*(undefined4 *)(puVar4 + 4));
          pcVar2 = pcVar2 + iVar7;
          puVar4 = DAT_000d12f8 + iVar6 * 10;
          iVar6 = iVar6 + 1;
        } while (iVar6 != DAT_000d12fc);
      }
      pcVar8 = DAT_000d1308;
      strcpy(pcVar2,*(char **)(puVar4 + 4));
    }
    __printf_chk(1,"%.*s\n",DAT_000d130c,pcVar8);
  }
  while (iVar6 = FUN_000ae729(), iVar6 != 0) {
    if (DAT_000d12fc != 0) {
      pcVar2 = "%*s";
      iVar7 = 0;
      pcVar8 = DAT_000d1308;
      while( true ) {
        iVar3 = iVar7 * 0x14;
        (**(code **)(DAT_000d12f8 + iVar7 * 10 + 6))
                  (pcVar8,DAT_000d12f8[iVar7 * 10],iVar6,iVar6,iVar3,pcVar2);
        if (*pcVar8 == '\0') {
          pcVar8[0] = '-';
          pcVar8[1] = '\0';
        }
        iVar7 = iVar7 + 1;
        if (iVar7 == DAT_000d12fc) break;
        sVar5 = strlen(pcVar8);
        iVar3 = __sprintf_chk(pcVar8 + sVar5,1,0xffffffff,pcVar2,
                              (*(ushort *)((int)DAT_000d12f8 + iVar3) - sVar5) + 1,&DAT_000cd91f);
        pcVar8 = pcVar8 + sVar5 + iVar3;
      }
    }
    __printf_chk(1,"%.*s\n",DAT_000d130c,DAT_000d1308);
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00017e10();
  }
  return 0;
}

