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

int tar_main(int argc,char **argv)

{
  char *base_dir;
  char *tar_filename;
  int verboseFlag;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int FUN_000771ce(undefined4 param_1,int param_2)

{
  char cVar1;
  uint *puVar2;
  __uid_t _Var3;
  undefined4 uVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  uint *puVar8;
  char *pcVar9;
  int iVar10;
  uint uVar11;
  byte *__s;
  byte *pbVar12;
  byte *pbVar13;
  int *piVar14;
  int in_GS_OFFSET;
  bool bVar15;
  bool bVar16;
  byte bVar17;
  int local_2c;
  char *local_28;
  uint local_24;
  int local_20;
  
  bVar17 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_2c = 0;
  local_28 = "-";
  local_24 = 0;
  puVar2 = (uint *)FUN_0007f49e();
  *puVar2 = 7;
  _Var3 = getuid();
  if (_Var3 != 0) {
    *puVar2 = *puVar2 | 0x20;
  }
  __s = *(byte **)(param_2 + 4);
  bVar15 = false;
  bVar16 = __s == (byte *)0x0;
  if (!bVar16) {
    iVar10 = 10;
    pbVar12 = __s;
    pbVar13 = (byte *)"--version";
    do {
      if (iVar10 == 0) break;
      iVar10 = iVar10 + -1;
      bVar15 = *pbVar12 < *pbVar13;
      bVar16 = *pbVar12 == *pbVar13;
      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;
      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;
    } while (bVar16);
    if ((!bVar15 && !bVar16) == bVar15) {
      puts("tar (busybox) 1.30.1");
      iVar10 = 0;
      goto LAB_00077551;
    }
    if ((*__s != 0x2d) && (*__s != 0)) {
      pcVar9 = strchr((char *)__s,0x66);
      if (pcVar9 != (char *)0x0) {
        cVar1 = pcVar9[1];
        while (cVar1 != '\0') {
          *pcVar9 = cVar1;
          cVar1 = pcVar9[2];
          pcVar9 = pcVar9 + 1;
        }
        *pcVar9 = 'f';
        __s = *(byte **)(param_2 + 4);
      }
      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);
      *(undefined4 *)(param_2 + 4) = uVar4;
    }
  }
  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,
                       puVar2 + 0x11,&local_24,&local_24);
  iVar10 = *(int *)PTR_optind_000d0f94;
  if (local_24 != 0) {
    if (local_24 == 1) {
      puVar2[8] = (uint)&LAB_0007f34b;
    }
    else {
      puVar2[8] = (uint)FUN_0007f366;
    }
  }
  if ((uVar5 & 2) != 0) {
    puVar2[9] = (uint)FUN_000784bc;
  }
  if ((uVar5 & 0x10) != 0) {
    puVar2[9] = (uint)&LAB_00078c32;
  }
  if ((uVar5 & 0x80000) != 0) {
    putenv("TAR_FILETYPE=f");
    signal(0xd,(__sighandler_t)0x1);
    puVar2[9] = (uint)FUN_00078a4b;
    FUN_000a822a();
    uVar6 = FUN_00019ba3();
    puVar2[0x12] = uVar6;
  }
  if ((uVar5 & 0x100) != 0) {
    *puVar2 = *puVar2 & 0xfffffffb;
  }
  if ((uVar5 & 0x100000) != 0) {
    *puVar2 = *puVar2 | 0x40;
  }
  if ((uVar5 & 0x20) != 0) {
    *puVar2 = *puVar2 | 0x10;
  }
  if ((uVar5 & 0x200000) != 0) {
    *puVar2 = *puVar2 | 0x20;
  }
  if ((uVar5 & 0x400000) != 0) {
    *puVar2 = *puVar2 & 0xfffffffb | 0x80;
  }
  if ((uVar5 & 0x10000) != 0) {
    *puVar2 = *puVar2 & 0xfffffffe;
  }
  piVar14 = (int *)(param_2 + iVar10 * 4);
  iVar10 = *piVar14;
  while (iVar10 != 0) {
    puVar7 = (undefined1 *)FUN_00018cc2();
    if ((undefined1 *)*piVar14 < puVar7) {
      *puVar7 = 0;
    }
    FUN_00018d20();
    piVar14 = piVar14 + 1;
    iVar10 = *piVar14;
  }
  uVar6 = uVar5 & 0x200;
  if (puVar2[3] == 0) {
    if (puVar2[4] != 0) {
      puVar2[2] = (uint)&LAB_0007e62f;
    }
    if (uVar6 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000191a6("empty archive");
    }
LAB_00077402:
    uVar6 = 0;
    uVar11 = 0;
  }
  else {
    puVar2[2] = (uint)&LAB_0007e62f;
    if (uVar6 == 0) goto LAB_00077402;
    uVar11 = 1;
  }
  if ((*local_28 == '-') && (local_28[1] == '\0')) {
    puVar2[1] = uVar11;
    puVar2[10] = 0x80827;
  }
  else {
    uVar11 = FUN_00019ca7();
    puVar2[1] = uVar11;
  }
  if (local_2c != 0) {
    FUN_0001a17e();
  }
  if (uVar6 == 0) {
    if ((uVar5 & 0xf800) != 0) {
      FUN_0008055b();
      puVar2[10] = 0x80827;
    }
    DAT_000d1724 = '\x01';
    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {
      DAT_000d1724 = '\0';
    }
    FUN_000809de();
    uVar5 = puVar2[3];
    while (uVar5 != 0) {
      iVar10 = FUN_0007e664();
      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {
                    /* WARNING: Subroutine does not return */
        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));
      }
      uVar5 = *(uint *)puVar2[3];
      puVar2[3] = uVar5;
    }
    FUN_000804eb(0);
    iVar10 = (int)DAT_000d1724;
  }
  else {
    pcVar9 = (char *)0x0;
    if ((uVar5 & 0x8000) != 0) {
      pcVar9 = "compress";
    }
    if ((uVar5 & 0x2000) != 0) {
      pcVar9 = "gzip";
    }
    if ((uVar5 & 0x800) != 0) {
      pcVar9 = "bzip2";
    }
    if ((uVar5 & 0x1000) != 0) {
      pcVar9 = "lzma";
    }
    if ((uVar5 & 0x4000) != 0) {
      pcVar9 = "xz";
    }
    puVar8 = (uint *)FUN_00019b89();
    *puVar8 = puVar2[1];
    puVar8[1] = local_24;
    iVar10 = FUN_00076827(pcVar9);
  }
LAB_00077551:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar10;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
CALL 0x00017640
ADD EBX,0x59846
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0x10],0x0
LEA EAX,[EBX + 0xffffc3ae]
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x18],0x0
CALL 0x0007f49e
MOV EBP,EAX
MOV dword ptr [EAX],0x7
CALL 0x00016500
TEST EAX,EAX
JZ 0x00077228
OR dword ptr [EBP],0x20
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [EAX + 0x4]
TEST EDX,EDX
JZ 0x000772a0
MOV ECX,0xa
LEA EDI,[EBX + 0xffffa19b]
MOV ESI,EDX
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
MOVSX ECX,CL
TEST ECX,ECX
MOV dword ptr [ESP + 0xc],ECX
JNZ 0x00077630
SUB ESP,0xc
LEA EAX,[EBX + 0xffffa1a5]
PUSH EAX
CALL 0x00016920
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
JMP 0x00077551
MOV byte ptr [EAX],DL
INC EAX
MOV DL,byte ptr [EAX + 0x1]
TEST DL,DL
JNZ 0x00077272
MOV byte ptr [EAX],0x66
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [EAX + 0x4]
SUB ESP,0x8
PUSH EDX
LEA EAX,[EBX + 0xffff8fb6]
PUSH EAX
CALL 0x00019fd7
MOV ECX,dword ptr [ESP + 0x18]
MOV dword ptr [ECX + 0x4],EAX
ADD ESP,0x10
SUB ESP,0xc
LEA EAX,[ESP + 0x24]
PUSH EAX
PUSH EAX
LEA EAX,[EBP + 0x44]
PUSH EAX
LEA EAX,[EBP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
LEA EAX,[EBX + 0xffffa1f0]
PUSH EAX
LEA EAX,[EBX + 0xfffea8d8]
PUSH EAX
PUSH dword ptr [ESP + 0x34]
CALL 0x000a8bfd
MOV ESI,EAX
MOV EAX,dword ptr [EBX + 0x574]
MOV EDI,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x48]
ADD ESP,0x30
TEST EAX,EAX
JZ 0x000772f7
DEC EAX
JNZ 0x00077616
LEA EAX,[EBX + 0xfffae92b]
MOV dword ptr [EBP + 0x20],EAX
TEST ESI,0x2
JZ 0x00077308
LEA EAX,[EBX + 0xfffa7a9c]
MOV dword ptr [EBP + 0x24],EAX
TEST ESI,0x10
JZ 0x00077319
LEA EAX,[EBX + 0xfffa8212]
MOV dword ptr [EBP + 0x24],EAX
TEST ESI,0x80000
JZ 0x00077354
SUB ESP,0xc
LEA EAX,[EBX + 0xffffa1ba]
PUSH EAX
CALL 0x00017060
POP ECX
POP EAX
PUSH 0x1
PUSH 0xd
CALL 0x00016380
LEA EAX,[EBX + 0xfffa802b]
MOV dword ptr [EBP + 0x24],EAX
CALL 0x000a822a
CALL 0x00019ba3
MOV dword ptr [EBP + 0x48],EAX
ADD ESP,0x10
TEST ESI,0x100
JZ 0x00077360
AND dword ptr [EBP],0xfffffffb
TEST ESI,0x100000
JZ 0x0007736c
OR dword ptr [EBP],0x40
TEST ESI,0x20
JZ 0x00077378
OR dword ptr [EBP],0x10
TEST ESI,0x200000
JZ 0x00077384
OR dword ptr [EBP],0x20
TEST ESI,0x400000
JZ 0x00077397
MOV EAX,dword ptr [EBP]
AND EAX,0xfffffffb
OR AL,0x80
MOV dword ptr [EBP],EAX
TEST ESI,0x10000
JZ 0x000773a3
AND dword ptr [EBP],0xfffffffe
MOV EAX,dword ptr [ESP + 0x8]
LEA EDI,[EAX + EDI*0x4]
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x000773de
LEA ECX,[EBP + 0xc]
MOV dword ptr [ESP + 0x8],ECX
MOV EDX,0x2f
CALL 0x00018cc2
MOV EDX,dword ptr [EDI]
CMP EDX,EAX
JNC 0x000773cc
MOV byte ptr [EAX],0x0
MOV EDX,dword ptr [EDI]
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x00018d20
ADD EDI,0x4
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JNZ 0x000773b7
MOV EDI,ESI
AND EDI,0x200
MOV EDX,dword ptr [EBP + 0xc]
TEST EDX,EDX
JZ 0x000774c7
LEA EAX,[EBX + 0xfffadc0f]
MOV dword ptr [EBP + 0x8],EAX
TEST EDI,EDI
JNZ 0x00077607
XOR EDI,EDI
XOR EDX,EDX
XOR ECX,ECX
MOV EAX,dword ptr [ESP + 0x14]
CMP byte ptr [EAX],0x2d
JNZ 0x000774ee
CMP byte ptr [EAX + 0x1],0x0
JNZ 0x000774ee
MOV dword ptr [EBP + 0x4],ECX
LEA EAX,[EBX + 0xfffafe07]
MOV dword ptr [EBP + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x00077438
CALL 0x0001a17e
TEST EDI,EDI
JZ 0x00077507
XOR EDI,EDI
TEST ESI,0x8000
JZ 0x00077450
LEA EDI,[EBX + 0xffffa18c]
TEST ESI,0x2000
JZ 0x0007745e
LEA EDI,[EBX + 0xffff4cde]
TEST ESI,0x800
JZ 0x0007746c
LEA EDI,[EBX + 0xffffa195]
TEST ESI,0x1000
JZ 0x0007747a
LEA EDI,[EBX + 0xffffa6ee]
TEST ESI,0x4000
JZ 0x00077488
LEA EDI,[EBX + 0xffff9e8e]
MOV EAX,0x70
CALL 0x00019b89
MOV EDX,dword ptr [EBP + 0x4]
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0x4],EDX
MOV ECX,dword ptr [EBP + 0xc]
MOV EDX,ESI
SHR EDX,0x9
AND EDX,0x2
SHR ESI,0x12
XOR ESI,0x1
AND ESI,0x1
OR EDX,ESI
SUB ESP,0xc
PUSH EDI
CALL 0x00076827
MOV ECX,EAX
ADD ESP,0x10
JMP 0x00077551
MOV EAX,dword ptr [EBP + 0x10]
TEST EAX,EAX
JZ 0x000774d7
LEA EAX,[EBX + 0xfffadc0f]
MOV dword ptr [EBP + 0x8],EAX
TEST EDI,EDI
JZ 0x00077402
SUB ESP,0xc
LEA EAX,[EBX + 0xffffa1c9]
PUSH EAX
CALL 0x000191a6
CALL 0x00019ca7
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x00077438
JMP 0x00077433
TEST ESI,0xf800
JNZ 0x000775b1
MOV EAX,ECX
MOV EDI,dword ptr [ESP + 0x1c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x00077568
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00017e10
LEA ECX,[EBX + 0xfffaa769]
TEST ESI,0x2000
JZ 0x000775c5
LEA ECX,[EBX + 0xfffaa433]
TEST ESI,0x800
JZ 0x000775d3
LEA ECX,[EBX + 0xfffa8c09]
TEST ESI,0x1000
JZ 0x000775e1
LEA ECX,[EBX + 0xfffaad77]
AND ESI,0x4000
JZ 0x000775ef
LEA ECX,[EBX + 0xfffacf79]
MOV EAX,dword ptr [EBP + 0x4]
XOR EDX,EDX
CALL 0x0008055b
LEA EAX,[EBX + 0xfffafe07]
MOV dword ptr [EBP + 0x28],EAX
JMP 0x00077513
MOV EDX,0x241
MOV ECX,0x1
JMP 0x00077408
LEA EAX,[EBX + 0xfffae946]
MOV dword ptr [EBP + 0x20],EAX
TEST ESI,0x2
JZ 0x00077308
JMP 0x000772ff
MOV AL,byte ptr [EDX]
CMP AL,0x2d
JZ 0x000772a0
TEST AL,AL
JZ 0x000772a0
SUB ESP,0x8
PUSH 0x66
PUSH EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00016ad0
ADD ESP,0x10
TEST EAX,EAX
MOV EDX,dword ptr [ESP + 0xc]
JZ 0x00077286
MOV DL,byte ptr [EAX + 0x1]
TEST DL,DL
JNZ 0x00077272
JMP 0x0007727c
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_000771ce(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}\n\n" comment (function_definition "int FUN_000771ce(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" primitive_type (function_declarator "FUN_000771ce(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "__uid_t _Var3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "byte bVar17;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 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_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = "-";" (assignment_expression "local_28 = "-"" identifier = (string_literal ""-"" " string_content ")) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = (uint *)FUN_0007f49e();" (assignment_expression "puVar2 = (uint *)FUN_0007f49e()" identifier = (cast_expression "(uint *)FUN_0007f49e()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0007f49e()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*puVar2 = 7;" (assignment_expression "*puVar2 = 7" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "_Var3 = getuid();" (assignment_expression "_Var3 = getuid()" identifier = (call_expression "getuid()" identifier (argument_list "()" ( )))) ;) (if_statement "if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }" if (parenthesized_expression "(_Var3 != 0)" ( (binary_expression "_Var3 != 0" identifier != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x20;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x20;" (assignment_expression "*puVar2 = *puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (expression_statement "__s = *(byte **)(param_2 + 4);" (assignment_expression "__s = *(byte **)(param_2 + 4)" identifier = (pointer_expression "*(byte **)(param_2 + 4)" * (cast_expression "(byte **)(param_2 + 4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) (expression_statement "bVar16 = __s == (byte *)0x0;" (assignment_expression "bVar16 = __s == (byte *)0x0" identifier = (binary_expression "__s == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }" if (parenthesized_expression "(!bVar16)" ( (unary_expression "!bVar16" ! identifier) )) (compound_statement "{\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }" { (expression_statement "iVar10 = 10;" (assignment_expression "iVar10 = 10" identifier = number_literal) ;) (expression_statement "pbVar12 = __s;" (assignment_expression "pbVar12 = __s" identifier = identifier) ;) (expression_statement "pbVar13 = (byte *)"--version";" (assignment_expression "pbVar13 = (byte *)"--version"" identifier = (cast_expression "(byte *)"--version"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""--version"" " string_content "))) ;) (do_statement "do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);" do (compound_statement "{\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = *pbVar12 < *pbVar13;" (assignment_expression "bVar15 = *pbVar12 < *pbVar13" identifier = (binary_expression "*pbVar12 < *pbVar13" (pointer_expression "*pbVar12" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar16 = *pbVar12 == *pbVar13;" (assignment_expression "bVar16 = *pbVar12 == *pbVar13" identifier = (binary_expression "*pbVar12 == *pbVar13" (pointer_expression "*pbVar12" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }" if (parenthesized_expression "((!bVar15 && !bVar16) == bVar15)" ( (binary_expression "(!bVar15 && !bVar16) == bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }" { (expression_statement "puts("tar (busybox) 1.30.1");" (call_expression "puts("tar (busybox) 1.30.1")" identifier (argument_list "("tar (busybox) 1.30.1")" ( (string_literal ""tar (busybox) 1.30.1"" " string_content ") ))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00077551;" goto statement_identifier ;) })) (if_statement "if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }" if (parenthesized_expression "((*__s != 0x2d) && (*__s != 0))" ( (binary_expression "(*__s != 0x2d) && (*__s != 0)" (parenthesized_expression "(*__s != 0x2d)" ( (binary_expression "*__s != 0x2d" (pointer_expression "*__s" * identifier) != number_literal) )) && (parenthesized_expression "(*__s != 0)" ( (binary_expression "*__s != 0" (pointer_expression "*__s" * identifier) != number_literal) ))) )) (compound_statement "{\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }" { (expression_statement "pcVar9 = strchr((char *)__s,0x66);" (assignment_expression "pcVar9 = strchr((char *)__s,0x66)" identifier = (call_expression "strchr((char *)__s,0x66)" identifier (argument_list "((char *)__s,0x66)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }" { (expression_statement "cVar1 = pcVar9[1];" (assignment_expression "cVar1 = pcVar9[1]" identifier = (subscript_expression "pcVar9[1]" identifier [ number_literal ])) ;) (while_statement "while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }" { (expression_statement "*pcVar9 = cVar1;" (assignment_expression "*pcVar9 = cVar1" (pointer_expression "*pcVar9" * identifier) = identifier) ;) (expression_statement "cVar1 = pcVar9[2];" (assignment_expression "cVar1 = pcVar9[2]" identifier = (subscript_expression "pcVar9[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar9 = 'f';" (assignment_expression "*pcVar9 = 'f'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'f'" ' character ')) ;) (expression_statement "__s = *(byte **)(param_2 + 4);" (assignment_expression "__s = *(byte **)(param_2 + 4)" identifier = (pointer_expression "*(byte **)(param_2 + 4)" * (cast_expression "(byte **)(param_2 + 4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);" (assignment_expression "uVar4 = FUN_00019fd7(&DAT_000c99d6,__s)" identifier = (call_expression "FUN_00019fd7(&DAT_000c99d6,__s)" identifier (argument_list "(&DAT_000c99d6,__s)" ( (pointer_expression "&DAT_000c99d6" & identifier) , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(param_2 + 4) = uVar4" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) })) })) (expression_statement "uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);" (assignment_expression "uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" identifier = (call_expression "FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" identifier (argument_list "(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" ( identifier , (pointer_expression "&DAT_000bb2f8" & identifier) , (pointer_expression "&DAT_000cac10" & identifier) , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) , (binary_expression "puVar2 + 0xd" identifier + number_literal) , (binary_expression "puVar2 + 0x11" identifier + number_literal) , (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "iVar10 = *(int *)PTR_optind_000d0f94;" (assignment_expression "iVar10 = *(int *)PTR_optind_000d0f94" identifier = (pointer_expression "*(int *)PTR_optind_000d0f94" * (cast_expression "(int *)PTR_optind_000d0f94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }" { (if_statement "if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }" if (parenthesized_expression "(local_24 == 1)" ( (binary_expression "local_24 == 1" identifier == number_literal) )) (compound_statement "{\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }" { (expression_statement "puVar2[8] = (uint)&LAB_0007f34b;" (assignment_expression "puVar2[8] = (uint)&LAB_0007f34b" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_0007f34b" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) }) (else_clause "else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }" else (compound_statement "{\n      puVar2[8] = (uint)FUN_0007f366;\n    }" { (expression_statement "puVar2[8] = (uint)FUN_0007f366;" (assignment_expression "puVar2[8] = (uint)FUN_0007f366" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = (cast_expression "(uint)FUN_0007f366" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) })) (if_statement "if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }" if (parenthesized_expression "((uVar5 & 2) != 0)" ( (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" ( (binary_expression "uVar5 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    puVar2[9] = (uint)FUN_000784bc;\n  }" { (expression_statement "puVar2[9] = (uint)FUN_000784bc;" (assignment_expression "puVar2[9] = (uint)FUN_000784bc" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = (cast_expression "(uint)FUN_000784bc" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })) (if_statement "if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }" if (parenthesized_expression "((uVar5 & 0x10) != 0)" ( (binary_expression "(uVar5 & 0x10) != 0" (parenthesized_expression "(uVar5 & 0x10)" ( (binary_expression "uVar5 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    puVar2[9] = (uint)&LAB_00078c32;\n  }" { (expression_statement "puVar2[9] = (uint)&LAB_00078c32;" (assignment_expression "puVar2[9] = (uint)&LAB_00078c32" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_00078c32" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) })) (if_statement "if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }" if (parenthesized_expression "((uVar5 & 0x80000) != 0)" ( (binary_expression "(uVar5 & 0x80000) != 0" (parenthesized_expression "(uVar5 & 0x80000)" ( (binary_expression "uVar5 & 0x80000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }" { (expression_statement "putenv("TAR_FILETYPE=f");" (call_expression "putenv("TAR_FILETYPE=f")" identifier (argument_list "("TAR_FILETYPE=f")" ( (string_literal ""TAR_FILETYPE=f"" " string_content ") ))) ;) (expression_statement "signal(0xd,(__sighandler_t)0x1);" (call_expression "signal(0xd,(__sighandler_t)0x1)" identifier (argument_list "(0xd,(__sighandler_t)0x1)" ( number_literal , (cast_expression "(__sighandler_t)0x1" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal) ))) ;) (expression_statement "puVar2[9] = (uint)FUN_00078a4b;" (assignment_expression "puVar2[9] = (uint)FUN_00078a4b" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = (cast_expression "(uint)FUN_00078a4b" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "FUN_000a822a();" (call_expression "FUN_000a822a()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = FUN_00019ba3();" (assignment_expression "uVar6 = FUN_00019ba3()" identifier = (call_expression "FUN_00019ba3()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2[0x12] = uVar6;" (assignment_expression "puVar2[0x12] = uVar6" (subscript_expression "puVar2[0x12]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }" if (parenthesized_expression "((uVar5 & 0x100) != 0)" ( (binary_expression "(uVar5 & 0x100) != 0" (parenthesized_expression "(uVar5 & 0x100)" ( (binary_expression "uVar5 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }" { (expression_statement "*puVar2 = *puVar2 & 0xfffffffb;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffb" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 & 0xfffffffb" (pointer_expression "*puVar2" * identifier) & number_literal)) ;) })) (if_statement "if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }" if (parenthesized_expression "((uVar5 & 0x100000) != 0)" ( (binary_expression "(uVar5 & 0x100000) != 0" (parenthesized_expression "(uVar5 & 0x100000)" ( (binary_expression "uVar5 & 0x100000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x40;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x40;" (assignment_expression "*puVar2 = *puVar2 | 0x40" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x40" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }" if (parenthesized_expression "((uVar5 & 0x20) != 0)" ( (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" ( (binary_expression "uVar5 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x10;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x10;" (assignment_expression "*puVar2 = *puVar2 | 0x10" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x10" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }" if (parenthesized_expression "((uVar5 & 0x200000) != 0)" ( (binary_expression "(uVar5 & 0x200000) != 0" (parenthesized_expression "(uVar5 & 0x200000)" ( (binary_expression "uVar5 & 0x200000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x20;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x20;" (assignment_expression "*puVar2 = *puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }" if (parenthesized_expression "((uVar5 & 0x400000) != 0)" ( (binary_expression "(uVar5 & 0x400000) != 0" (parenthesized_expression "(uVar5 & 0x400000)" ( (binary_expression "uVar5 & 0x400000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }" { (expression_statement "*puVar2 = *puVar2 & 0xfffffffb | 0x80;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffb | 0x80" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 & 0xfffffffb | 0x80" (binary_expression "*puVar2 & 0xfffffffb" (pointer_expression "*puVar2" * identifier) & number_literal) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }" if (parenthesized_expression "((uVar5 & 0x10000) != 0)" ( (binary_expression "(uVar5 & 0x10000) != 0" (parenthesized_expression "(uVar5 & 0x10000)" ( (binary_expression "uVar5 & 0x10000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }" { (expression_statement "*puVar2 = *puVar2 & 0xfffffffe;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffe" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 & 0xfffffffe" (pointer_expression "*puVar2" * identifier) & number_literal)) ;) })) (expression_statement "piVar14 = (int *)(param_2 + iVar10 * 4);" (assignment_expression "piVar14 = (int *)(param_2 + iVar10 * 4)" identifier = (cast_expression "(int *)(param_2 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar10 * 4)" ( (binary_expression "param_2 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (while_statement "while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }" while (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }" { (expression_statement "puVar7 = (undefined1 *)FUN_00018cc2();" (assignment_expression "puVar7 = (undefined1 *)FUN_00018cc2()" identifier = (cast_expression "(undefined1 *)FUN_00018cc2()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00018cc2()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }" if (parenthesized_expression "((undefined1 *)*piVar14 < puVar7)" ( (binary_expression "(undefined1 *)*piVar14 < puVar7" (cast_expression "(undefined1 *)*piVar14" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar14" * identifier)) < identifier) )) (compound_statement "{\n      *puVar7 = 0;\n    }" { (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) })) (expression_statement "FUN_00018d20();" (call_expression "FUN_00018d20()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar14 = piVar14 + 1;" (assignment_expression "piVar14 = piVar14 + 1" identifier = (binary_expression "piVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) })) (expression_statement "uVar6 = uVar5 & 0x200;" (assignment_expression "uVar6 = uVar5 & 0x200" identifier = (binary_expression "uVar5 & 0x200" identifier & number_literal)) ;) (if_statement "if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" if (parenthesized_expression "(puVar2[3] == 0)" ( (binary_expression "puVar2[3] == 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }" { (if_statement "if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }" if (parenthesized_expression "(puVar2[4] != 0)" ( (binary_expression "puVar2[4] != 0" (subscript_expression "puVar2[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }" { (expression_statement "puVar2[2] = (uint)&LAB_0007e62f;" (assignment_expression "puVar2[2] = (uint)&LAB_0007e62f" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_0007e62f" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) })) (if_statement "if (uVar6 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000191a6("empty archive");\n    }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000191a6("empty archive");\n    }" { comment (expression_statement "FUN_000191a6("empty archive");" (call_expression "FUN_000191a6("empty archive")" identifier (argument_list "("empty archive")" ( (string_literal ""empty archive"" " string_content ") ))) ;) })) (labeled_statement "LAB_00077402:\n    uVar6 = 0;" statement_identifier : (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;)) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" else (compound_statement "{\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" { (expression_statement "puVar2[2] = (uint)&LAB_0007e62f;" (assignment_expression "puVar2[2] = (uint)&LAB_0007e62f" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_0007e62f" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) (if_statement "if (uVar6 == 0) goto LAB_00077402;" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077402;" goto statement_identifier ;)) (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) }))) (if_statement "if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" if (parenthesized_expression "((*local_28 == '-') && (local_28[1] == '\0'))" ( (binary_expression "(*local_28 == '-') && (local_28[1] == '\0')" (parenthesized_expression "(*local_28 == '-')" ( (binary_expression "*local_28 == '-'" (pointer_expression "*local_28" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(local_28[1] == '\0')" ( (binary_expression "local_28[1] == '\0'" (subscript_expression "local_28[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }" { (expression_statement "puVar2[1] = uVar11;" (assignment_expression "puVar2[1] = uVar11" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[10] = 0x80827;" (assignment_expression "puVar2[10] = 0x80827" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" else (compound_statement "{\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" { (expression_statement "uVar11 = FUN_00019ca7();" (assignment_expression "uVar11 = FUN_00019ca7()" identifier = (call_expression "FUN_00019ca7()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2[1] = uVar11;" (assignment_expression "puVar2[1] = uVar11" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) }))) (if_statement "if (local_2c != 0) {\n    FUN_0001a17e();\n  }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001a17e();\n  }" { (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }" { (if_statement "if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }" if (parenthesized_expression "((uVar5 & 0xf800) != 0)" ( (binary_expression "(uVar5 & 0xf800) != 0" (parenthesized_expression "(uVar5 & 0xf800)" ( (binary_expression "uVar5 & 0xf800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }" { (expression_statement "FUN_0008055b();" (call_expression "FUN_0008055b()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar2[10] = 0x80827;" (assignment_expression "puVar2[10] = 0x80827" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "DAT_000d1724 = '\x01';" (assignment_expression "DAT_000d1724 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) (while_statement "while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }" while (parenthesized_expression "(cVar1 = FUN_0007ebf9(), cVar1 == '\0')" ( (comma_expression "cVar1 = FUN_0007ebf9(), cVar1 == '\0'" (assignment_expression "cVar1 = FUN_0007ebf9()" identifier = (call_expression "FUN_0007ebf9()" identifier (argument_list "()" ( )))) , (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n      DAT_000d1724 = '\0';\n    }" { (expression_statement "DAT_000d1724 = '\0';" (assignment_expression "DAT_000d1724 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "FUN_000809de();" (call_expression "FUN_000809de()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = puVar2[3];" (assignment_expression "uVar5 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (while_statement "while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }" while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }" { (expression_statement "iVar10 = FUN_0007e664();" (assignment_expression "iVar10 = FUN_0007e664()" identifier = (call_expression "FUN_0007e664()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }" if (parenthesized_expression "((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0))" ( (binary_expression "(iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)" (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar10 = FUN_0007e664(), iVar10 == 0)" ( (comma_expression "iVar10 = FUN_0007e664(), iVar10 == 0" (assignment_expression "iVar10 = FUN_0007e664()" identifier = (call_expression "FUN_0007e664()" identifier (argument_list "()" ( )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }" { comment (expression_statement "FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));" (call_expression "FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4))" identifier (argument_list "("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4))" ( (string_literal ""%s: not found in archive"" " string_content ") , (pointer_expression "*(undefined4 *)(puVar2[3] + 4)" * (cast_expression "(undefined4 *)(puVar2[3] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2[3] + 4)" ( (binary_expression "puVar2[3] + 4" (subscript_expression "puVar2[3]" identifier [ number_literal ]) + number_literal) )))) ))) ;) })) (expression_statement "uVar5 = *(uint *)puVar2[3];" (assignment_expression "uVar5 = *(uint *)puVar2[3]" identifier = (pointer_expression "*(uint *)puVar2[3]" * (cast_expression "(uint *)puVar2[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[3]" identifier [ number_literal ])))) ;) (expression_statement "puVar2[3] = uVar5;" (assignment_expression "puVar2[3] = uVar5" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "FUN_000804eb(0);" (call_expression "FUN_000804eb(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar10 = (int)DAT_000d1724;" (assignment_expression "iVar10 = (int)DAT_000d1724" identifier = (cast_expression "(int)DAT_000d1724" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" else (compound_statement "{\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }" if (parenthesized_expression "((uVar5 & 0x8000) != 0)" ( (binary_expression "(uVar5 & 0x8000) != 0" (parenthesized_expression "(uVar5 & 0x8000)" ( (binary_expression "uVar5 & 0x8000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "compress";\n    }" { (expression_statement "pcVar9 = "compress";" (assignment_expression "pcVar9 = "compress"" identifier = (string_literal ""compress"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }" if (parenthesized_expression "((uVar5 & 0x2000) != 0)" ( (binary_expression "(uVar5 & 0x2000) != 0" (parenthesized_expression "(uVar5 & 0x2000)" ( (binary_expression "uVar5 & 0x2000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "gzip";\n    }" { (expression_statement "pcVar9 = "gzip";" (assignment_expression "pcVar9 = "gzip"" identifier = (string_literal ""gzip"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }" if (parenthesized_expression "((uVar5 & 0x800) != 0)" ( (binary_expression "(uVar5 & 0x800) != 0" (parenthesized_expression "(uVar5 & 0x800)" ( (binary_expression "uVar5 & 0x800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "bzip2";\n    }" { (expression_statement "pcVar9 = "bzip2";" (assignment_expression "pcVar9 = "bzip2"" identifier = (string_literal ""bzip2"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }" if (parenthesized_expression "((uVar5 & 0x1000) != 0)" ( (binary_expression "(uVar5 & 0x1000) != 0" (parenthesized_expression "(uVar5 & 0x1000)" ( (binary_expression "uVar5 & 0x1000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "lzma";\n    }" { (expression_statement "pcVar9 = "lzma";" (assignment_expression "pcVar9 = "lzma"" identifier = (string_literal ""lzma"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }" if (parenthesized_expression "((uVar5 & 0x4000) != 0)" ( (binary_expression "(uVar5 & 0x4000) != 0" (parenthesized_expression "(uVar5 & 0x4000)" ( (binary_expression "uVar5 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "xz";\n    }" { (expression_statement "pcVar9 = "xz";" (assignment_expression "pcVar9 = "xz"" identifier = (string_literal ""xz"" " string_content ")) ;) })) (expression_statement "puVar8 = (uint *)FUN_00019b89();" (assignment_expression "puVar8 = (uint *)FUN_00019b89()" identifier = (cast_expression "(uint *)FUN_00019b89()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b89()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*puVar8 = puVar2[1];" (assignment_expression "*puVar8 = puVar2[1]" (pointer_expression "*puVar8" * identifier) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8[1] = local_24;" (assignment_expression "puVar8[1] = local_24" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = FUN_00076827(pcVar9);" (assignment_expression "iVar10 = FUN_00076827(pcVar9)" identifier = (call_expression "FUN_00076827(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier )))) ;) }))) (labeled_statement "LAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\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    return iVar10;\n  }" { (return_statement "return iVar10;" return identifier ;) }))) comment (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint tar_main(int argc,char **argv)\n\n{\n  char *base_dir;\n  char *tar_filename;\n  int verboseFlag;\n  \n}\n\n" comment (function_definition "int tar_main(int argc,char **argv)\n\n{\n  char *base_dir;\n  char *tar_filename;\n  int verboseFlag;\n  \n}" primitive_type (function_declarator "tar_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  char *base_dir;\n  char *tar_filename;\n  int verboseFlag;\n  \n}" { (declaration "char *base_dir;" primitive_type (pointer_declarator "*base_dir" * identifier) ;) (declaration "char *tar_filename;" primitive_type (pointer_declarator "*tar_filename" * identifier) ;) (declaration "int verboseFlag;" primitive_type identifier ;) })))
(translation_unit "int FUN_000771ce(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    \n  FUN_00017e10();\n}\n\n" (function_definition "int FUN_000771ce(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    \n  FUN_00017e10();\n}" primitive_type (function_declarator "FUN_000771ce(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    \n  FUN_00017e10();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "__uid_t _Var3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "byte bVar17;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 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_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = "-";" (assignment_expression "local_28 = "-"" identifier = (string_literal ""-"" " string_content ")) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = (uint *)FUN_0007f49e();" (assignment_expression "puVar2 = (uint *)FUN_0007f49e()" identifier = (cast_expression "(uint *)FUN_0007f49e()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0007f49e()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*puVar2 = 7;" (assignment_expression "*puVar2 = 7" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "_Var3 = getuid();" (assignment_expression "_Var3 = getuid()" identifier = (call_expression "getuid()" identifier (argument_list "()" ( )))) ;) (if_statement "if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }" if (parenthesized_expression "(_Var3 != 0)" ( (binary_expression "_Var3 != 0" identifier != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x20;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x20;" (assignment_expression "*puVar2 = *puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (expression_statement "__s = *(byte **)(param_2 + 4);" (assignment_expression "__s = *(byte **)(param_2 + 4)" identifier = (pointer_expression "*(byte **)(param_2 + 4)" * (cast_expression "(byte **)(param_2 + 4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) (expression_statement "bVar16 = __s == (byte *)0x0;" (assignment_expression "bVar16 = __s == (byte *)0x0" identifier = (binary_expression "__s == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }" if (parenthesized_expression "(!bVar16)" ( (unary_expression "!bVar16" ! identifier) )) (compound_statement "{\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }" { (expression_statement "iVar10 = 10;" (assignment_expression "iVar10 = 10" identifier = number_literal) ;) (expression_statement "pbVar12 = __s;" (assignment_expression "pbVar12 = __s" identifier = identifier) ;) (expression_statement "pbVar13 = (byte *)"--version";" (assignment_expression "pbVar13 = (byte *)"--version"" identifier = (cast_expression "(byte *)"--version"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""--version"" " string_content "))) ;) (do_statement "do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);" do (compound_statement "{\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = *pbVar12 < *pbVar13;" (assignment_expression "bVar15 = *pbVar12 < *pbVar13" identifier = (binary_expression "*pbVar12 < *pbVar13" (pointer_expression "*pbVar12" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar16 = *pbVar12 == *pbVar13;" (assignment_expression "bVar16 = *pbVar12 == *pbVar13" identifier = (binary_expression "*pbVar12 == *pbVar13" (pointer_expression "*pbVar12" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }" if (parenthesized_expression "((!bVar15 && !bVar16) == bVar15)" ( (binary_expression "(!bVar15 && !bVar16) == bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }" { (expression_statement "puts("tar (busybox) 1.30.1");" (call_expression "puts("tar (busybox) 1.30.1")" identifier (argument_list "("tar (busybox) 1.30.1")" ( (string_literal ""tar (busybox) 1.30.1"" " string_content ") ))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00077551;" goto statement_identifier ;) })) (if_statement "if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }" if (parenthesized_expression "((*__s != 0x2d) && (*__s != 0))" ( (binary_expression "(*__s != 0x2d) && (*__s != 0)" (parenthesized_expression "(*__s != 0x2d)" ( (binary_expression "*__s != 0x2d" (pointer_expression "*__s" * identifier) != number_literal) )) && (parenthesized_expression "(*__s != 0)" ( (binary_expression "*__s != 0" (pointer_expression "*__s" * identifier) != number_literal) ))) )) (compound_statement "{\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }" { (expression_statement "pcVar9 = strchr((char *)__s,0x66);" (assignment_expression "pcVar9 = strchr((char *)__s,0x66)" identifier = (call_expression "strchr((char *)__s,0x66)" identifier (argument_list "((char *)__s,0x66)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }" { (expression_statement "cVar1 = pcVar9[1];" (assignment_expression "cVar1 = pcVar9[1]" identifier = (subscript_expression "pcVar9[1]" identifier [ number_literal ])) ;) (while_statement "while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }" { (expression_statement "*pcVar9 = cVar1;" (assignment_expression "*pcVar9 = cVar1" (pointer_expression "*pcVar9" * identifier) = identifier) ;) (expression_statement "cVar1 = pcVar9[2];" (assignment_expression "cVar1 = pcVar9[2]" identifier = (subscript_expression "pcVar9[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar9 = 'f';" (assignment_expression "*pcVar9 = 'f'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'f'" ' character ')) ;) (expression_statement "__s = *(byte **)(param_2 + 4);" (assignment_expression "__s = *(byte **)(param_2 + 4)" identifier = (pointer_expression "*(byte **)(param_2 + 4)" * (cast_expression "(byte **)(param_2 + 4)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);" (assignment_expression "uVar4 = FUN_00019fd7(&DAT_000c99d6,__s)" identifier = (call_expression "FUN_00019fd7(&DAT_000c99d6,__s)" identifier (argument_list "(&DAT_000c99d6,__s)" ( (pointer_expression "&DAT_000c99d6" & identifier) , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(param_2 + 4) = uVar4" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) })) })) (expression_statement "uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);" (assignment_expression "uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" identifier = (call_expression "FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" identifier (argument_list "(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" ( identifier , (pointer_expression "&DAT_000bb2f8" & identifier) , (pointer_expression "&DAT_000cac10" & identifier) , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) , (binary_expression "puVar2 + 0xd" identifier + number_literal) , (binary_expression "puVar2 + 0x11" identifier + number_literal) , (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "iVar10 = *(int *)PTR_optind_000d0f94;" (assignment_expression "iVar10 = *(int *)PTR_optind_000d0f94" identifier = (pointer_expression "*(int *)PTR_optind_000d0f94" * (cast_expression "(int *)PTR_optind_000d0f94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }" { (if_statement "if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }" if (parenthesized_expression "(local_24 == 1)" ( (binary_expression "local_24 == 1" identifier == number_literal) )) (compound_statement "{\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }" { (expression_statement "puVar2[8] = (uint)&LAB_0007f34b;" (assignment_expression "puVar2[8] = (uint)&LAB_0007f34b" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_0007f34b" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) }) (else_clause "else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }" else (compound_statement "{\n      puVar2[8] = (uint)FUN_0007f366;\n    }" { (expression_statement "puVar2[8] = (uint)FUN_0007f366;" (assignment_expression "puVar2[8] = (uint)FUN_0007f366" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = (cast_expression "(uint)FUN_0007f366" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) })) (if_statement "if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }" if (parenthesized_expression "((uVar5 & 2) != 0)" ( (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" ( (binary_expression "uVar5 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    puVar2[9] = (uint)FUN_000784bc;\n  }" { (expression_statement "puVar2[9] = (uint)FUN_000784bc;" (assignment_expression "puVar2[9] = (uint)FUN_000784bc" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = (cast_expression "(uint)FUN_000784bc" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })) (if_statement "if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }" if (parenthesized_expression "((uVar5 & 0x10) != 0)" ( (binary_expression "(uVar5 & 0x10) != 0" (parenthesized_expression "(uVar5 & 0x10)" ( (binary_expression "uVar5 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    puVar2[9] = (uint)&LAB_00078c32;\n  }" { (expression_statement "puVar2[9] = (uint)&LAB_00078c32;" (assignment_expression "puVar2[9] = (uint)&LAB_00078c32" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_00078c32" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) })) (if_statement "if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }" if (parenthesized_expression "((uVar5 & 0x80000) != 0)" ( (binary_expression "(uVar5 & 0x80000) != 0" (parenthesized_expression "(uVar5 & 0x80000)" ( (binary_expression "uVar5 & 0x80000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }" { (expression_statement "putenv("TAR_FILETYPE=f");" (call_expression "putenv("TAR_FILETYPE=f")" identifier (argument_list "("TAR_FILETYPE=f")" ( (string_literal ""TAR_FILETYPE=f"" " string_content ") ))) ;) (expression_statement "signal(0xd,(__sighandler_t)0x1);" (call_expression "signal(0xd,(__sighandler_t)0x1)" identifier (argument_list "(0xd,(__sighandler_t)0x1)" ( number_literal , (cast_expression "(__sighandler_t)0x1" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal) ))) ;) (expression_statement "puVar2[9] = (uint)FUN_00078a4b;" (assignment_expression "puVar2[9] = (uint)FUN_00078a4b" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = (cast_expression "(uint)FUN_00078a4b" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "FUN_000a822a();" (call_expression "FUN_000a822a()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = FUN_00019ba3();" (assignment_expression "uVar6 = FUN_00019ba3()" identifier = (call_expression "FUN_00019ba3()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2[0x12] = uVar6;" (assignment_expression "puVar2[0x12] = uVar6" (subscript_expression "puVar2[0x12]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }" if (parenthesized_expression "((uVar5 & 0x100) != 0)" ( (binary_expression "(uVar5 & 0x100) != 0" (parenthesized_expression "(uVar5 & 0x100)" ( (binary_expression "uVar5 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }" { (expression_statement "*puVar2 = *puVar2 & 0xfffffffb;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffb" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 & 0xfffffffb" (pointer_expression "*puVar2" * identifier) & number_literal)) ;) })) (if_statement "if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }" if (parenthesized_expression "((uVar5 & 0x100000) != 0)" ( (binary_expression "(uVar5 & 0x100000) != 0" (parenthesized_expression "(uVar5 & 0x100000)" ( (binary_expression "uVar5 & 0x100000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x40;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x40;" (assignment_expression "*puVar2 = *puVar2 | 0x40" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x40" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }" if (parenthesized_expression "((uVar5 & 0x20) != 0)" ( (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" ( (binary_expression "uVar5 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x10;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x10;" (assignment_expression "*puVar2 = *puVar2 | 0x10" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x10" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }" if (parenthesized_expression "((uVar5 & 0x200000) != 0)" ( (binary_expression "(uVar5 & 0x200000) != 0" (parenthesized_expression "(uVar5 & 0x200000)" ( (binary_expression "uVar5 & 0x200000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 | 0x20;\n  }" { (expression_statement "*puVar2 = *puVar2 | 0x20;" (assignment_expression "*puVar2 = *puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 0x20" (pointer_expression "*puVar2" * identifier) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }" if (parenthesized_expression "((uVar5 & 0x400000) != 0)" ( (binary_expression "(uVar5 & 0x400000) != 0" (parenthesized_expression "(uVar5 & 0x400000)" ( (binary_expression "uVar5 & 0x400000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }" { (expression_statement "*puVar2 = *puVar2 & 0xfffffffb | 0x80;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffb | 0x80" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 & 0xfffffffb | 0x80" (binary_expression "*puVar2 & 0xfffffffb" (pointer_expression "*puVar2" * identifier) & number_literal) | number_literal)) ;) })) (if_statement "if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }" if (parenthesized_expression "((uVar5 & 0x10000) != 0)" ( (binary_expression "(uVar5 & 0x10000) != 0" (parenthesized_expression "(uVar5 & 0x10000)" ( (binary_expression "uVar5 & 0x10000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }" { (expression_statement "*puVar2 = *puVar2 & 0xfffffffe;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffe" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 & 0xfffffffe" (pointer_expression "*puVar2" * identifier) & number_literal)) ;) })) (expression_statement "piVar14 = (int *)(param_2 + iVar10 * 4);" (assignment_expression "piVar14 = (int *)(param_2 + iVar10 * 4)" identifier = (cast_expression "(int *)(param_2 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar10 * 4)" ( (binary_expression "param_2 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (while_statement "while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }" while (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }" { (expression_statement "puVar7 = (undefined1 *)FUN_00018cc2();" (assignment_expression "puVar7 = (undefined1 *)FUN_00018cc2()" identifier = (cast_expression "(undefined1 *)FUN_00018cc2()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00018cc2()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }" if (parenthesized_expression "((undefined1 *)*piVar14 < puVar7)" ( (binary_expression "(undefined1 *)*piVar14 < puVar7" (cast_expression "(undefined1 *)*piVar14" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar14" * identifier)) < identifier) )) (compound_statement "{\n      *puVar7 = 0;\n    }" { (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) })) (expression_statement "FUN_00018d20();" (call_expression "FUN_00018d20()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar14 = piVar14 + 1;" (assignment_expression "piVar14 = piVar14 + 1" identifier = (binary_expression "piVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) })) (expression_statement "uVar6 = uVar5 & 0x200;" (assignment_expression "uVar6 = uVar5 & 0x200" identifier = (binary_expression "uVar5 & 0x200" identifier & number_literal)) ;) (if_statement "if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" if (parenthesized_expression "(puVar2[3] == 0)" ( (binary_expression "puVar2[3] == 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }" { (if_statement "if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }" if (parenthesized_expression "(puVar2[4] != 0)" ( (binary_expression "puVar2[4] != 0" (subscript_expression "puVar2[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }" { (expression_statement "puVar2[2] = (uint)&LAB_0007e62f;" (assignment_expression "puVar2[2] = (uint)&LAB_0007e62f" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_0007e62f" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) })) (if_statement "if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_000191a6("empty archive");\n    }" { (expression_statement "FUN_000191a6("empty archive");" (call_expression "FUN_000191a6("empty archive")" identifier (argument_list "("empty archive")" ( (string_literal ""empty archive"" " string_content ") ))) ;) })) (labeled_statement "LAB_00077402:\n    uVar6 = 0;" statement_identifier : (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;)) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" else (compound_statement "{\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" { (expression_statement "puVar2[2] = (uint)&LAB_0007e62f;" (assignment_expression "puVar2[2] = (uint)&LAB_0007e62f" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "(uint)&LAB_0007e62f" (parenthesized_expression "(uint)" ( identifier )) & identifier)) ;) (if_statement "if (uVar6 == 0) goto LAB_00077402;" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00077402;" goto statement_identifier ;)) (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) }))) (if_statement "if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" if (parenthesized_expression "((*local_28 == '-') && (local_28[1] == '\0'))" ( (binary_expression "(*local_28 == '-') && (local_28[1] == '\0')" (parenthesized_expression "(*local_28 == '-')" ( (binary_expression "*local_28 == '-'" (pointer_expression "*local_28" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(local_28[1] == '\0')" ( (binary_expression "local_28[1] == '\0'" (subscript_expression "local_28[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }" { (expression_statement "puVar2[1] = uVar11;" (assignment_expression "puVar2[1] = uVar11" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[10] = 0x80827;" (assignment_expression "puVar2[10] = 0x80827" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" else (compound_statement "{\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" { (expression_statement "uVar11 = FUN_00019ca7();" (assignment_expression "uVar11 = FUN_00019ca7()" identifier = (call_expression "FUN_00019ca7()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2[1] = uVar11;" (assignment_expression "puVar2[1] = uVar11" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) }))) (if_statement "if (local_2c != 0) {\n    FUN_0001a17e();\n  }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001a17e();\n  }" { (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }" { (if_statement "if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }" if (parenthesized_expression "((uVar5 & 0xf800) != 0)" ( (binary_expression "(uVar5 & 0xf800) != 0" (parenthesized_expression "(uVar5 & 0xf800)" ( (binary_expression "uVar5 & 0xf800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }" { (expression_statement "FUN_0008055b();" (call_expression "FUN_0008055b()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar2[10] = 0x80827;" (assignment_expression "puVar2[10] = 0x80827" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "DAT_000d1724 = '\x01';" (assignment_expression "DAT_000d1724 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) (while_statement "while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }" while (parenthesized_expression "(cVar1 = FUN_0007ebf9(), cVar1 == '\0')" ( (comma_expression "cVar1 = FUN_0007ebf9(), cVar1 == '\0'" (assignment_expression "cVar1 = FUN_0007ebf9()" identifier = (call_expression "FUN_0007ebf9()" identifier (argument_list "()" ( )))) , (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n      DAT_000d1724 = '\0';\n    }" { (expression_statement "DAT_000d1724 = '\0';" (assignment_expression "DAT_000d1724 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "FUN_000809de();" (call_expression "FUN_000809de()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = puVar2[3];" (assignment_expression "uVar5 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (while_statement "while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }" while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }" { (expression_statement "iVar10 = FUN_0007e664();" (assignment_expression "iVar10 = FUN_0007e664()" identifier = (call_expression "FUN_0007e664()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }" if (parenthesized_expression "((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0))" ( (binary_expression "(iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)" (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar10 = FUN_0007e664(), iVar10 == 0)" ( (comma_expression "iVar10 = FUN_0007e664(), iVar10 == 0" (assignment_expression "iVar10 = FUN_0007e664()" identifier = (call_expression "FUN_0007e664()" identifier (argument_list "()" ( )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }" { (expression_statement "FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));" (call_expression "FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4))" identifier (argument_list "("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4))" ( (string_literal ""%s: not found in archive"" " string_content ") , (pointer_expression "*(undefined4 *)(puVar2[3] + 4)" * (cast_expression "(undefined4 *)(puVar2[3] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2[3] + 4)" ( (binary_expression "puVar2[3] + 4" (subscript_expression "puVar2[3]" identifier [ number_literal ]) + number_literal) )))) ))) ;) })) (expression_statement "uVar5 = *(uint *)puVar2[3];" (assignment_expression "uVar5 = *(uint *)puVar2[3]" identifier = (pointer_expression "*(uint *)puVar2[3]" * (cast_expression "(uint *)puVar2[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[3]" identifier [ number_literal ])))) ;) (expression_statement "puVar2[3] = uVar5;" (assignment_expression "puVar2[3] = uVar5" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "FUN_000804eb(0);" (call_expression "FUN_000804eb(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "iVar10 = (int)DAT_000d1724;" (assignment_expression "iVar10 = (int)DAT_000d1724" identifier = (cast_expression "(int)DAT_000d1724" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" else (compound_statement "{\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }" if (parenthesized_expression "((uVar5 & 0x8000) != 0)" ( (binary_expression "(uVar5 & 0x8000) != 0" (parenthesized_expression "(uVar5 & 0x8000)" ( (binary_expression "uVar5 & 0x8000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "compress";\n    }" { (expression_statement "pcVar9 = "compress";" (assignment_expression "pcVar9 = "compress"" identifier = (string_literal ""compress"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }" if (parenthesized_expression "((uVar5 & 0x2000) != 0)" ( (binary_expression "(uVar5 & 0x2000) != 0" (parenthesized_expression "(uVar5 & 0x2000)" ( (binary_expression "uVar5 & 0x2000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "gzip";\n    }" { (expression_statement "pcVar9 = "gzip";" (assignment_expression "pcVar9 = "gzip"" identifier = (string_literal ""gzip"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }" if (parenthesized_expression "((uVar5 & 0x800) != 0)" ( (binary_expression "(uVar5 & 0x800) != 0" (parenthesized_expression "(uVar5 & 0x800)" ( (binary_expression "uVar5 & 0x800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "bzip2";\n    }" { (expression_statement "pcVar9 = "bzip2";" (assignment_expression "pcVar9 = "bzip2"" identifier = (string_literal ""bzip2"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }" if (parenthesized_expression "((uVar5 & 0x1000) != 0)" ( (binary_expression "(uVar5 & 0x1000) != 0" (parenthesized_expression "(uVar5 & 0x1000)" ( (binary_expression "uVar5 & 0x1000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "lzma";\n    }" { (expression_statement "pcVar9 = "lzma";" (assignment_expression "pcVar9 = "lzma"" identifier = (string_literal ""lzma"" " string_content ")) ;) })) (if_statement "if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }" if (parenthesized_expression "((uVar5 & 0x4000) != 0)" ( (binary_expression "(uVar5 & 0x4000) != 0" (parenthesized_expression "(uVar5 & 0x4000)" ( (binary_expression "uVar5 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar9 = "xz";\n    }" { (expression_statement "pcVar9 = "xz";" (assignment_expression "pcVar9 = "xz"" identifier = (string_literal ""xz"" " string_content ")) ;) })) (expression_statement "puVar8 = (uint *)FUN_00019b89();" (assignment_expression "puVar8 = (uint *)FUN_00019b89()" identifier = (cast_expression "(uint *)FUN_00019b89()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b89()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*puVar8 = puVar2[1];" (assignment_expression "*puVar8 = puVar2[1]" (pointer_expression "*puVar8" * identifier) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8[1] = local_24;" (assignment_expression "puVar8[1] = local_24" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = FUN_00076827(pcVar9);" (assignment_expression "iVar10 = FUN_00076827(pcVar9)" identifier = (call_expression "FUN_00076827(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier )))) ;) }))) (labeled_statement "LAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\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    return iVar10;\n  }" { (return_statement "return iVar10;" return identifier ;) }))) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_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)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( IDENT )) & IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( IDENT )) & IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE) ) LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) & LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (pointer_expression * IDENT) & LIT) | LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) & LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( IDENT )) & IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( IDENT )) & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == (char_literal ' escape_sequence '))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }))) (labeled_statement statement_identifier : (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 { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int FUN_000771ce(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    \n  FUN_00017e10();\n}" (primitive_type "int") (function_declarator "FUN_000771ce(undefined4 param_1,int param_2)" (identifier "FUN_000771ce") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  char cVar1;\n  uint *puVar2;\n  __uid_t _Var3;\n  undefined4 uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  char *pcVar9;\n  int iVar10;\n  uint uVar11;\n  byte *__s;\n  byte *pbVar12;\n  byte *pbVar13;\n  int *piVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  int local_2c;\n  char *local_28;\n  uint local_24;\n  int local_20;\n  \n  bVar17 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_2c = 0;\n  local_28 = "-";\n  local_24 = 0;\n  puVar2 = (uint *)FUN_0007f49e();\n  *puVar2 = 7;\n  _Var3 = getuid();\n  if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  __s = *(byte **)(param_2 + 4);\n  bVar15 = false;\n  bVar16 = __s == (byte *)0x0;\n  if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }\n  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);\n  iVar10 = *(int *)PTR_optind_000d0f94;\n  if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }\n  if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }\n  if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }\n  if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }\n  if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }\n  if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }\n  if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }\n  if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }\n  if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }\n  if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }\n  piVar14 = (int *)(param_2 + iVar10 * 4);\n  iVar10 = *piVar14;\n  while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }\n  uVar6 = uVar5 & 0x200;\n  if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }\n  if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }\n  if (local_2c != 0) {\n    FUN_0001a17e();\n  }\n  if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }\nLAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }\n                    \n  FUN_00017e10();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "__uid_t _Var3;" (type_identifier "__uid_t") (identifier "_Var3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "uint *puVar8;" (type_identifier "uint") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "byte *__s;" (type_identifier "byte") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "byte *pbVar13;" (type_identifier "byte") (pointer_declarator "*pbVar13" (* "*") (identifier "pbVar13")) (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar15;" (primitive_type "bool") (identifier "bVar15") (; ";")) (declaration "bool bVar16;" (primitive_type "bool") (identifier "bVar16") (; ";")) (declaration "byte bVar17;" (type_identifier "byte") (identifier "bVar17") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "char *local_28;" (primitive_type "char") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" (identifier "bVar17") (= "=") (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_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = "-";" (assignment_expression "local_28 = "-"" (identifier "local_28") (= "=") (string_literal ""-"" (" """) (string_content "-") (" """))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = (uint *)FUN_0007f49e();" (assignment_expression "puVar2 = (uint *)FUN_0007f49e()" (identifier "puVar2") (= "=") (cast_expression "(uint *)FUN_0007f49e()" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0007f49e()" (identifier "FUN_0007f49e") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*puVar2 = 7;" (assignment_expression "*puVar2 = 7" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "7")) (; ";")) (expression_statement "_Var3 = getuid();" (assignment_expression "_Var3 = getuid()" (identifier "_Var3") (= "=") (call_expression "getuid()" (identifier "getuid") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (_Var3 != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }" (if "if") (parenthesized_expression "(_Var3 != 0)" (( "(") (binary_expression "_Var3 != 0" (identifier "_Var3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 | 0x20;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 | 0x20;" (assignment_expression "*puVar2 = *puVar2 | 0x20" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 | 0x20" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (| "|") (number_literal "0x20"))) (; ";")) (} "}"))) (expression_statement "__s = *(byte **)(param_2 + 4);" (assignment_expression "__s = *(byte **)(param_2 + 4)" (identifier "__s") (= "=") (pointer_expression "*(byte **)(param_2 + 4)" (* "*") (cast_expression "(byte **)(param_2 + 4)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" (identifier "bVar15") (= "=") (false "false")) (; ";")) (expression_statement "bVar16 = __s == (byte *)0x0;" (assignment_expression "bVar16 = __s == (byte *)0x0" (identifier "bVar16") (= "=") (binary_expression "__s == (byte *)0x0" (identifier "__s") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (if_statement "if (!bVar16) {\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }" (if "if") (parenthesized_expression "(!bVar16)" (( "(") (unary_expression "!bVar16" (! "!") (identifier "bVar16")) () ")")) (compound_statement "{\n    iVar10 = 10;\n    pbVar12 = __s;\n    pbVar13 = (byte *)"--version";\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }\n    if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }\n  }" ({ "{") (expression_statement "iVar10 = 10;" (assignment_expression "iVar10 = 10" (identifier "iVar10") (= "=") (number_literal "10")) (; ";")) (expression_statement "pbVar12 = __s;" (assignment_expression "pbVar12 = __s" (identifier "pbVar12") (= "=") (identifier "__s")) (; ";")) (expression_statement "pbVar13 = (byte *)"--version";" (assignment_expression "pbVar13 = (byte *)"--version"" (identifier "pbVar13") (= "=") (cast_expression "(byte *)"--version"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""--version"" (" """) (string_content "--version") (" """)))) (; ";")) (do_statement "do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);" (do "do") (compound_statement "{\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = *pbVar12 < *pbVar13;\n      bVar16 = *pbVar12 == *pbVar13;\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;\n    }" ({ "{") (if_statement "if (iVar10 == 0) break;" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar15 = *pbVar12 < *pbVar13;" (assignment_expression "bVar15 = *pbVar12 < *pbVar13" (identifier "bVar15") (= "=") (binary_expression "*pbVar12 < *pbVar13" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (< "<") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "bVar16 = *pbVar12 == *pbVar13;" (assignment_expression "bVar16 = *pbVar12 == *pbVar13" (identifier "bVar16") (= "=") (binary_expression "*pbVar12 == *pbVar13" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (== "==") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar17 * -2" (identifier "pbVar12") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar17 * -2" (identifier "pbVar13") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")")) (; ";")) (if_statement "if ((!bVar15 && !bVar16) == bVar15) {\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }" (if "if") (parenthesized_expression "((!bVar15 && !bVar16) == bVar15)" (( "(") (binary_expression "(!bVar15 && !bVar16) == bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" (( "(") (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" (! "!") (identifier "bVar15")) (&& "&&") (unary_expression "!bVar16" (! "!") (identifier "bVar16"))) () ")")) (== "==") (identifier "bVar15")) () ")")) (compound_statement "{\n      puts("tar (busybox) 1.30.1");\n      iVar10 = 0;\n      goto LAB_00077551;\n    }" ({ "{") (expression_statement "puts("tar (busybox) 1.30.1");" (call_expression "puts("tar (busybox) 1.30.1")" (identifier "puts") (argument_list "("tar (busybox) 1.30.1")" (( "(") (string_literal ""tar (busybox) 1.30.1"" (" """) (string_content "tar (busybox) 1.30.1") (" """)) () ")"))) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00077551;" (goto "goto") (statement_identifier "LAB_00077551") (; ";")) (} "}"))) (if_statement "if ((*__s != 0x2d) && (*__s != 0)) {\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }" (if "if") (parenthesized_expression "((*__s != 0x2d) && (*__s != 0))" (( "(") (binary_expression "(*__s != 0x2d) && (*__s != 0)" (parenthesized_expression "(*__s != 0x2d)" (( "(") (binary_expression "*__s != 0x2d" (pointer_expression "*__s" (* "*") (identifier "__s")) (!= "!=") (number_literal "0x2d")) () ")")) (&& "&&") (parenthesized_expression "(*__s != 0)" (( "(") (binary_expression "*__s != 0" (pointer_expression "*__s" (* "*") (identifier "__s")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      pcVar9 = strchr((char *)__s,0x66);\n      if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }\n      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);\n      *(undefined4 *)(param_2 + 4) = uVar4;\n    }" ({ "{") (expression_statement "pcVar9 = strchr((char *)__s,0x66);" (assignment_expression "pcVar9 = strchr((char *)__s,0x66)" (identifier "pcVar9") (= "=") (call_expression "strchr((char *)__s,0x66)" (identifier "strchr") (argument_list "((char *)__s,0x66)" (( "(") (cast_expression "(char *)__s" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s")) (, ",") (number_literal "0x66") () ")")))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        cVar1 = pcVar9[1];\n        while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }\n        *pcVar9 = 'f';\n        __s = *(byte **)(param_2 + 4);\n      }" ({ "{") (expression_statement "cVar1 = pcVar9[1];" (assignment_expression "cVar1 = pcVar9[1]" (identifier "cVar1") (= "=") (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]"))) (; ";")) (while_statement "while (cVar1 != '\0') {\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }" (while "while") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          *pcVar9 = cVar1;\n          cVar1 = pcVar9[2];\n          pcVar9 = pcVar9 + 1;\n        }" ({ "{") (expression_statement "*pcVar9 = cVar1;" (assignment_expression "*pcVar9 = cVar1" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (= "=") (identifier "cVar1")) (; ";")) (expression_statement "cVar1 = pcVar9[2];" (assignment_expression "cVar1 = pcVar9[2]" (identifier "cVar1") (= "=") (subscript_expression "pcVar9[2]" (identifier "pcVar9") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" (identifier "pcVar9") (= "=") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*pcVar9 = 'f';" (assignment_expression "*pcVar9 = 'f'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (= "=") (char_literal "'f'" (' "'") (character "f") (' "'"))) (; ";")) (expression_statement "__s = *(byte **)(param_2 + 4);" (assignment_expression "__s = *(byte **)(param_2 + 4)" (identifier "__s") (= "=") (pointer_expression "*(byte **)(param_2 + 4)" (* "*") (cast_expression "(byte **)(param_2 + 4)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);" (assignment_expression "uVar4 = FUN_00019fd7(&DAT_000c99d6,__s)" (identifier "uVar4") (= "=") (call_expression "FUN_00019fd7(&DAT_000c99d6,__s)" (identifier "FUN_00019fd7") (argument_list "(&DAT_000c99d6,__s)" (( "(") (pointer_expression "&DAT_000c99d6" (& "&") (identifier "DAT_000c99d6")) (, ",") (identifier "__s") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(param_2 + 4) = uVar4" (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24);" (assignment_expression "uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" (identifier "uVar5") (= "=") (call_expression "FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" (identifier "FUN_000a8bfd") (argument_list "(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,\n                       puVar2 + 0x11,&local_24,&local_24)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_000bb2f8" (& "&") (identifier "DAT_000bb2f8")) (, ",") (pointer_expression "&DAT_000cac10" (& "&") (identifier "DAT_000cac10")) (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (binary_expression "puVar2 + 0xd" (identifier "puVar2") (+ "+") (number_literal "0xd")) (, ",") (binary_expression "puVar2 + 0x11" (identifier "puVar2") (+ "+") (number_literal "0x11")) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "iVar10 = *(int *)PTR_optind_000d0f94;" (assignment_expression "iVar10 = *(int *)PTR_optind_000d0f94" (identifier "iVar10") (= "=") (pointer_expression "*(int *)PTR_optind_000d0f94" (* "*") (cast_expression "(int *)PTR_optind_000d0f94" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_optind_000d0f94")))) (; ";")) (if_statement "if (local_24 != 0) {\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }\n  }" ({ "{") (if_statement "if (local_24 == 1) {\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }\n    else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }" (if "if") (parenthesized_expression "(local_24 == 1)" (( "(") (binary_expression "local_24 == 1" (identifier "local_24") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      puVar2[8] = (uint)&LAB_0007f34b;\n    }" ({ "{") (expression_statement "puVar2[8] = (uint)&LAB_0007f34b;" (assignment_expression "puVar2[8] = (uint)&LAB_0007f34b" (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "(uint)&LAB_0007f34b" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (& "&") (identifier "LAB_0007f34b"))) (; ";")) (} "}")) (else_clause "else {\n      puVar2[8] = (uint)FUN_0007f366;\n    }" (else "else") (compound_statement "{\n      puVar2[8] = (uint)FUN_0007f366;\n    }" ({ "{") (expression_statement "puVar2[8] = (uint)FUN_0007f366;" (assignment_expression "puVar2[8] = (uint)FUN_0007f366" (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]")) (= "=") (cast_expression "(uint)FUN_0007f366" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "FUN_0007f366"))) (; ";")) (} "}")))) (} "}"))) (if_statement "if ((uVar5 & 2) != 0) {\n    puVar2[9] = (uint)FUN_000784bc;\n  }" (if "if") (parenthesized_expression "((uVar5 & 2) != 0)" (( "(") (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" (( "(") (binary_expression "uVar5 & 2" (identifier "uVar5") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar2[9] = (uint)FUN_000784bc;\n  }" ({ "{") (expression_statement "puVar2[9] = (uint)FUN_000784bc;" (assignment_expression "puVar2[9] = (uint)FUN_000784bc" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(uint)FUN_000784bc" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "FUN_000784bc"))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x10) != 0) {\n    puVar2[9] = (uint)&LAB_00078c32;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x10) != 0)" (( "(") (binary_expression "(uVar5 & 0x10) != 0" (parenthesized_expression "(uVar5 & 0x10)" (( "(") (binary_expression "uVar5 & 0x10" (identifier "uVar5") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar2[9] = (uint)&LAB_00078c32;\n  }" ({ "{") (expression_statement "puVar2[9] = (uint)&LAB_00078c32;" (assignment_expression "puVar2[9] = (uint)&LAB_00078c32" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (binary_expression "(uint)&LAB_00078c32" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (& "&") (identifier "LAB_00078c32"))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x80000) != 0) {\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x80000) != 0)" (( "(") (binary_expression "(uVar5 & 0x80000) != 0" (parenthesized_expression "(uVar5 & 0x80000)" (( "(") (binary_expression "uVar5 & 0x80000" (identifier "uVar5") (& "&") (number_literal "0x80000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    putenv("TAR_FILETYPE=f");\n    signal(0xd,(__sighandler_t)0x1);\n    puVar2[9] = (uint)FUN_00078a4b;\n    FUN_000a822a();\n    uVar6 = FUN_00019ba3();\n    puVar2[0x12] = uVar6;\n  }" ({ "{") (expression_statement "putenv("TAR_FILETYPE=f");" (call_expression "putenv("TAR_FILETYPE=f")" (identifier "putenv") (argument_list "("TAR_FILETYPE=f")" (( "(") (string_literal ""TAR_FILETYPE=f"" (" """) (string_content "TAR_FILETYPE=f") (" """)) () ")"))) (; ";")) (expression_statement "signal(0xd,(__sighandler_t)0x1);" (call_expression "signal(0xd,(__sighandler_t)0x1)" (identifier "signal") (argument_list "(0xd,(__sighandler_t)0x1)" (( "(") (number_literal "0xd") (, ",") (cast_expression "(__sighandler_t)0x1" (( "(") (type_descriptor "__sighandler_t" (type_identifier "__sighandler_t")) () ")") (number_literal "0x1")) () ")"))) (; ";")) (expression_statement "puVar2[9] = (uint)FUN_00078a4b;" (assignment_expression "puVar2[9] = (uint)FUN_00078a4b" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(uint)FUN_00078a4b" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "FUN_00078a4b"))) (; ";")) (expression_statement "FUN_000a822a();" (call_expression "FUN_000a822a()" (identifier "FUN_000a822a") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar6 = FUN_00019ba3();" (assignment_expression "uVar6 = FUN_00019ba3()" (identifier "uVar6") (= "=") (call_expression "FUN_00019ba3()" (identifier "FUN_00019ba3") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[0x12] = uVar6;" (assignment_expression "puVar2[0x12] = uVar6" (subscript_expression "puVar2[0x12]" (identifier "puVar2") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x100) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x100) != 0)" (( "(") (binary_expression "(uVar5 & 0x100) != 0" (parenthesized_expression "(uVar5 & 0x100)" (( "(") (binary_expression "uVar5 & 0x100" (identifier "uVar5") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffb;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 & 0xfffffffb;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffb" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 & 0xfffffffb" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (& "&") (number_literal "0xfffffffb"))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x100000) != 0) {\n    *puVar2 = *puVar2 | 0x40;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x100000) != 0)" (( "(") (binary_expression "(uVar5 & 0x100000) != 0" (parenthesized_expression "(uVar5 & 0x100000)" (( "(") (binary_expression "uVar5 & 0x100000" (identifier "uVar5") (& "&") (number_literal "0x100000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 | 0x40;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 | 0x40;" (assignment_expression "*puVar2 = *puVar2 | 0x40" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 | 0x40" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (| "|") (number_literal "0x40"))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x20) != 0) {\n    *puVar2 = *puVar2 | 0x10;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x20) != 0)" (( "(") (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" (( "(") (binary_expression "uVar5 & 0x20" (identifier "uVar5") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 | 0x10;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 | 0x10;" (assignment_expression "*puVar2 = *puVar2 | 0x10" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 | 0x10" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (| "|") (number_literal "0x10"))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x200000) != 0) {\n    *puVar2 = *puVar2 | 0x20;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x200000) != 0)" (( "(") (binary_expression "(uVar5 & 0x200000) != 0" (parenthesized_expression "(uVar5 & 0x200000)" (( "(") (binary_expression "uVar5 & 0x200000" (identifier "uVar5") (& "&") (number_literal "0x200000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 | 0x20;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 | 0x20;" (assignment_expression "*puVar2 = *puVar2 | 0x20" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 | 0x20" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (| "|") (number_literal "0x20"))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x400000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x400000) != 0)" (( "(") (binary_expression "(uVar5 & 0x400000) != 0" (parenthesized_expression "(uVar5 & 0x400000)" (( "(") (binary_expression "uVar5 & 0x400000" (identifier "uVar5") (& "&") (number_literal "0x400000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffb | 0x80;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 & 0xfffffffb | 0x80;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffb | 0x80" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 & 0xfffffffb | 0x80" (binary_expression "*puVar2 & 0xfffffffb" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (& "&") (number_literal "0xfffffffb")) (| "|") (number_literal "0x80"))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x10000) != 0) {\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x10000) != 0)" (( "(") (binary_expression "(uVar5 & 0x10000) != 0" (parenthesized_expression "(uVar5 & 0x10000)" (( "(") (binary_expression "uVar5 & 0x10000" (identifier "uVar5") (& "&") (number_literal "0x10000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *puVar2 = *puVar2 & 0xfffffffe;\n  }" ({ "{") (expression_statement "*puVar2 = *puVar2 & 0xfffffffe;" (assignment_expression "*puVar2 = *puVar2 & 0xfffffffe" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 & 0xfffffffe" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (& "&") (number_literal "0xfffffffe"))) (; ";")) (} "}"))) (expression_statement "piVar14 = (int *)(param_2 + iVar10 * 4);" (assignment_expression "piVar14 = (int *)(param_2 + iVar10 * 4)" (identifier "piVar14") (= "=") (cast_expression "(int *)(param_2 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar10 * 4)" (( "(") (binary_expression "param_2 + iVar10 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" (identifier "iVar10") (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (while_statement "while (iVar10 != 0) {\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }" (while "while") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar7 = (undefined1 *)FUN_00018cc2();\n    if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }\n    FUN_00018d20();\n    piVar14 = piVar14 + 1;\n    iVar10 = *piVar14;\n  }" ({ "{") (expression_statement "puVar7 = (undefined1 *)FUN_00018cc2();" (assignment_expression "puVar7 = (undefined1 *)FUN_00018cc2()" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)FUN_00018cc2()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00018cc2()" (identifier "FUN_00018cc2") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if ((undefined1 *)*piVar14 < puVar7) {\n      *puVar7 = 0;\n    }" (if "if") (parenthesized_expression "((undefined1 *)*piVar14 < puVar7)" (( "(") (binary_expression "(undefined1 *)*piVar14 < puVar7" (cast_expression "(undefined1 *)*piVar14" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (< "<") (identifier "puVar7")) () ")")) (compound_statement "{\n      *puVar7 = 0;\n    }" ({ "{") (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "FUN_00018d20();" (call_expression "FUN_00018d20()" (identifier "FUN_00018d20") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar14 = piVar14 + 1;" (assignment_expression "piVar14 = piVar14 + 1" (identifier "piVar14") (= "=") (binary_expression "piVar14 + 1" (identifier "piVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar10 = *piVar14;" (assignment_expression "iVar10 = *piVar14" (identifier "iVar10") (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (} "}"))) (expression_statement "uVar6 = uVar5 & 0x200;" (assignment_expression "uVar6 = uVar5 & 0x200" (identifier "uVar6") (= "=") (binary_expression "uVar5 & 0x200" (identifier "uVar5") (& "&") (number_literal "0x200"))) (; ";")) (if_statement "if (puVar2[3] == 0) {\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }\n  else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" (if "if") (parenthesized_expression "(puVar2[3] == 0)" (( "(") (binary_expression "puVar2[3] == 0" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }\n    if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }\nLAB_00077402:\n    uVar6 = 0;\n    uVar11 = 0;\n  }" ({ "{") (if_statement "if (puVar2[4] != 0) {\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }" (if "if") (parenthesized_expression "(puVar2[4] != 0)" (( "(") (binary_expression "puVar2[4] != 0" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar2[2] = (uint)&LAB_0007e62f;\n    }" ({ "{") (expression_statement "puVar2[2] = (uint)&LAB_0007e62f;" (assignment_expression "puVar2[2] = (uint)&LAB_0007e62f" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "(uint)&LAB_0007e62f" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (& "&") (identifier "LAB_0007e62f"))) (; ";")) (} "}"))) (if_statement "if (uVar6 != 0) {\n                    \n      FUN_000191a6("empty archive");\n    }" (if "if") (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_000191a6("empty archive");\n    }" ({ "{") (expression_statement "FUN_000191a6("empty archive");" (call_expression "FUN_000191a6("empty archive")" (identifier "FUN_000191a6") (argument_list "("empty archive")" (( "(") (string_literal ""empty archive"" (" """) (string_content "empty archive") (" """)) () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_00077402:\n    uVar6 = 0;" (statement_identifier "LAB_00077402") (: ":") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";"))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" (else "else") (compound_statement "{\n    puVar2[2] = (uint)&LAB_0007e62f;\n    if (uVar6 == 0) goto LAB_00077402;\n    uVar11 = 1;\n  }" ({ "{") (expression_statement "puVar2[2] = (uint)&LAB_0007e62f;" (assignment_expression "puVar2[2] = (uint)&LAB_0007e62f" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "(uint)&LAB_0007e62f" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (& "&") (identifier "LAB_0007e62f"))) (; ";")) (if_statement "if (uVar6 == 0) goto LAB_00077402;" (if "if") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00077402;" (goto "goto") (statement_identifier "LAB_00077402") (; ";"))) (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" (identifier "uVar11") (= "=") (number_literal "1")) (; ";")) (} "}")))) (if_statement "if ((*local_28 == '-') && (local_28[1] == '\0')) {\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }\n  else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" (if "if") (parenthesized_expression "((*local_28 == '-') && (local_28[1] == '\0'))" (( "(") (binary_expression "(*local_28 == '-') && (local_28[1] == '\0')" (parenthesized_expression "(*local_28 == '-')" (( "(") (binary_expression "*local_28 == '-'" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(local_28[1] == '\0')" (( "(") (binary_expression "local_28[1] == '\0'" (subscript_expression "local_28[1]" (identifier "local_28") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    puVar2[1] = uVar11;\n    puVar2[10] = 0x80827;\n  }" ({ "{") (expression_statement "puVar2[1] = uVar11;" (assignment_expression "puVar2[1] = uVar11" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "puVar2[10] = 0x80827;" (assignment_expression "puVar2[10] = 0x80827" (subscript_expression "puVar2[10]" (identifier "puVar2") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0x80827")) (; ";")) (} "}")) (else_clause "else {\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" (else "else") (compound_statement "{\n    uVar11 = FUN_00019ca7();\n    puVar2[1] = uVar11;\n  }" ({ "{") (expression_statement "uVar11 = FUN_00019ca7();" (assignment_expression "uVar11 = FUN_00019ca7()" (identifier "uVar11") (= "=") (call_expression "FUN_00019ca7()" (identifier "FUN_00019ca7") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[1] = uVar11;" (assignment_expression "puVar2[1] = uVar11" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (} "}")))) (if_statement "if (local_2c != 0) {\n    FUN_0001a17e();\n  }" (if "if") (parenthesized_expression "(local_2c != 0)" (( "(") (binary_expression "local_2c != 0" (identifier "local_2c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0001a17e();\n  }" ({ "{") (expression_statement "FUN_0001a17e();" (call_expression "FUN_0001a17e()" (identifier "FUN_0001a17e") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (uVar6 == 0) {\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }\n  else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" (if "if") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }\n    DAT_000d1724 = '\x01';\n    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }\n    FUN_000809de();\n    uVar5 = puVar2[3];\n    while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }\n    FUN_000804eb(0);\n    iVar10 = (int)DAT_000d1724;\n  }" ({ "{") (if_statement "if ((uVar5 & 0xf800) != 0) {\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }" (if "if") (parenthesized_expression "((uVar5 & 0xf800) != 0)" (( "(") (binary_expression "(uVar5 & 0xf800) != 0" (parenthesized_expression "(uVar5 & 0xf800)" (( "(") (binary_expression "uVar5 & 0xf800" (identifier "uVar5") (& "&") (number_literal "0xf800")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0008055b();\n      puVar2[10] = 0x80827;\n    }" ({ "{") (expression_statement "FUN_0008055b();" (call_expression "FUN_0008055b()" (identifier "FUN_0008055b") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar2[10] = 0x80827;" (assignment_expression "puVar2[10] = 0x80827" (subscript_expression "puVar2[10]" (identifier "puVar2") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0x80827")) (; ";")) (} "}"))) (expression_statement "DAT_000d1724 = '\x01';" (assignment_expression "DAT_000d1724 = '\x01'" (identifier "DAT_000d1724") (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (while_statement "while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {\n      DAT_000d1724 = '\0';\n    }" (while "while") (parenthesized_expression "(cVar1 = FUN_0007ebf9(), cVar1 == '\0')" (( "(") (comma_expression "cVar1 = FUN_0007ebf9(), cVar1 == '\0'" (assignment_expression "cVar1 = FUN_0007ebf9()" (identifier "cVar1") (= "=") (call_expression "FUN_0007ebf9()" (identifier "FUN_0007ebf9") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (compound_statement "{\n      DAT_000d1724 = '\0';\n    }" ({ "{") (expression_statement "DAT_000d1724 = '\0';" (assignment_expression "DAT_000d1724 = '\0'" (identifier "DAT_000d1724") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "FUN_000809de();" (call_expression "FUN_000809de()" (identifier "FUN_000809de") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar5 = puVar2[3];" (assignment_expression "uVar5 = puVar2[3]" (identifier "uVar5") (= "=") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (while_statement "while (uVar5 != 0) {\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }" (while "while") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar10 = FUN_0007e664();\n      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }\n      uVar5 = *(uint *)puVar2[3];\n      puVar2[3] = uVar5;\n    }" ({ "{") (expression_statement "iVar10 = FUN_0007e664();" (assignment_expression "iVar10 = FUN_0007e664()" (identifier "iVar10") (= "=") (call_expression "FUN_0007e664()" (identifier "FUN_0007e664") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }" (if "if") (parenthesized_expression "((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0))" (( "(") (binary_expression "(iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)" (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar10 = FUN_0007e664(), iVar10 == 0)" (( "(") (comma_expression "iVar10 = FUN_0007e664(), iVar10 == 0" (assignment_expression "iVar10 = FUN_0007e664()" (identifier "iVar10") (= "=") (call_expression "FUN_0007e664()" (identifier "FUN_0007e664") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                    \n        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));\n      }" ({ "{") (expression_statement "FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));" (call_expression "FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4))" (identifier "FUN_000191a6") (argument_list "("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4))" (( "(") (string_literal ""%s: not found in archive"" (" """) (string_content "%s: not found in archive") (" """)) (, ",") (pointer_expression "*(undefined4 *)(puVar2[3] + 4)" (* "*") (cast_expression "(undefined4 *)(puVar2[3] + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2[3] + 4)" (( "(") (binary_expression "puVar2[3] + 4" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = *(uint *)puVar2[3];" (assignment_expression "uVar5 = *(uint *)puVar2[3]" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)puVar2[3]" (* "*") (cast_expression "(uint *)puVar2[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))))) (; ";")) (expression_statement "puVar2[3] = uVar5;" (assignment_expression "puVar2[3] = uVar5" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (expression_statement "FUN_000804eb(0);" (call_expression "FUN_000804eb(0)" (identifier "FUN_000804eb") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar10 = (int)DAT_000d1724;" (assignment_expression "iVar10 = (int)DAT_000d1724" (identifier "iVar10") (= "=") (cast_expression "(int)DAT_000d1724" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000d1724"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" (else "else") (compound_statement "{\n    pcVar9 = (char *)0x0;\n    if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }\n    if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }\n    if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }\n    if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }\n    if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }\n    puVar8 = (uint *)FUN_00019b89();\n    *puVar8 = puVar2[1];\n    puVar8[1] = local_24;\n    iVar10 = FUN_00076827(pcVar9);\n  }" ({ "{") (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if ((uVar5 & 0x8000) != 0) {\n      pcVar9 = "compress";\n    }" (if "if") (parenthesized_expression "((uVar5 & 0x8000) != 0)" (( "(") (binary_expression "(uVar5 & 0x8000) != 0" (parenthesized_expression "(uVar5 & 0x8000)" (( "(") (binary_expression "uVar5 & 0x8000" (identifier "uVar5") (& "&") (number_literal "0x8000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar9 = "compress";\n    }" ({ "{") (expression_statement "pcVar9 = "compress";" (assignment_expression "pcVar9 = "compress"" (identifier "pcVar9") (= "=") (string_literal ""compress"" (" """) (string_content "compress") (" """))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x2000) != 0) {\n      pcVar9 = "gzip";\n    }" (if "if") (parenthesized_expression "((uVar5 & 0x2000) != 0)" (( "(") (binary_expression "(uVar5 & 0x2000) != 0" (parenthesized_expression "(uVar5 & 0x2000)" (( "(") (binary_expression "uVar5 & 0x2000" (identifier "uVar5") (& "&") (number_literal "0x2000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar9 = "gzip";\n    }" ({ "{") (expression_statement "pcVar9 = "gzip";" (assignment_expression "pcVar9 = "gzip"" (identifier "pcVar9") (= "=") (string_literal ""gzip"" (" """) (string_content "gzip") (" """))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x800) != 0) {\n      pcVar9 = "bzip2";\n    }" (if "if") (parenthesized_expression "((uVar5 & 0x800) != 0)" (( "(") (binary_expression "(uVar5 & 0x800) != 0" (parenthesized_expression "(uVar5 & 0x800)" (( "(") (binary_expression "uVar5 & 0x800" (identifier "uVar5") (& "&") (number_literal "0x800")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar9 = "bzip2";\n    }" ({ "{") (expression_statement "pcVar9 = "bzip2";" (assignment_expression "pcVar9 = "bzip2"" (identifier "pcVar9") (= "=") (string_literal ""bzip2"" (" """) (string_content "bzip2") (" """))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x1000) != 0) {\n      pcVar9 = "lzma";\n    }" (if "if") (parenthesized_expression "((uVar5 & 0x1000) != 0)" (( "(") (binary_expression "(uVar5 & 0x1000) != 0" (parenthesized_expression "(uVar5 & 0x1000)" (( "(") (binary_expression "uVar5 & 0x1000" (identifier "uVar5") (& "&") (number_literal "0x1000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar9 = "lzma";\n    }" ({ "{") (expression_statement "pcVar9 = "lzma";" (assignment_expression "pcVar9 = "lzma"" (identifier "pcVar9") (= "=") (string_literal ""lzma"" (" """) (string_content "lzma") (" """))) (; ";")) (} "}"))) (if_statement "if ((uVar5 & 0x4000) != 0) {\n      pcVar9 = "xz";\n    }" (if "if") (parenthesized_expression "((uVar5 & 0x4000) != 0)" (( "(") (binary_expression "(uVar5 & 0x4000) != 0" (parenthesized_expression "(uVar5 & 0x4000)" (( "(") (binary_expression "uVar5 & 0x4000" (identifier "uVar5") (& "&") (number_literal "0x4000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar9 = "xz";\n    }" ({ "{") (expression_statement "pcVar9 = "xz";" (assignment_expression "pcVar9 = "xz"" (identifier "pcVar9") (= "=") (string_literal ""xz"" (" """) (string_content "xz") (" """))) (; ";")) (} "}"))) (expression_statement "puVar8 = (uint *)FUN_00019b89();" (assignment_expression "puVar8 = (uint *)FUN_00019b89()" (identifier "puVar8") (= "=") (cast_expression "(uint *)FUN_00019b89()" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019b89()" (identifier "FUN_00019b89") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*puVar8 = puVar2[1];" (assignment_expression "*puVar8 = puVar2[1]" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar8[1] = local_24;" (assignment_expression "puVar8[1] = local_24" (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "iVar10 = FUN_00076827(pcVar9);" (assignment_expression "iVar10 = FUN_00076827(pcVar9)" (identifier "iVar10") (= "=") (call_expression "FUN_00076827(pcVar9)" (identifier "FUN_00076827") (argument_list "(pcVar9)" (( "(") (identifier "pcVar9") () ")")))) (; ";")) (} "}")))) (labeled_statement "LAB_00077551:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\n  }" (statement_identifier "LAB_00077551") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar10;\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    return iVar10;\n  }" ({ "{") (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}")))) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(int argc,char **argv)

{
  char *base_dir;
  char *tar_filename;
  int verboseFlag;
  
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (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: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (string_literal (string_content))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_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))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (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))))) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))))) (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 (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) 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: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (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: (char_literal (escape_sequence))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (string_literal (string_content)))))) (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: (string_literal (string_content)))))) (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: (string_literal (string_content)))))) (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: (string_literal (string_content)))))) (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: (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (labeled_statement label: (statement_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 (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int MASKED(undefined4 param_1,int param_2)

{
  char cVar1;
  uint *puVar2;
  __uid_t _Var3;
  undefined4 uVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  uint *puVar8;
  char *pcVar9;
  int iVar10;
  uint uVar11;
  byte *__s;
  byte *pbVar12;
  byte *pbVar13;
  int *piVar14;
  int in_GS_OFFSET;
  bool bVar15;
  bool bVar16;
  byte bVar17;
  int local_2c;
  char *local_28;
  uint local_24;
  int local_20;
  
  bVar17 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_2c = 0;
  local_28 = "-";
  local_24 = 0;
  puVar2 = (uint *)FUN_0007f49e();
  *puVar2 = 7;
  _Var3 = getuid();
  if (_Var3 != 0) {
    *puVar2 = *puVar2 | 0x20;
  }
  __s = *(byte **)(param_2 + 4);
  bVar15 = false;
  bVar16 = __s == (byte *)0x0;
  if (!bVar16) {
    iVar10 = 10;
    pbVar12 = __s;
    pbVar13 = (byte *)"--version";
    do {
      if (iVar10 == 0) break;
      iVar10 = iVar10 + -1;
      bVar15 = *pbVar12 < *pbVar13;
      bVar16 = *pbVar12 == *pbVar13;
      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;
      pbVar13 = pbVar13 + (uint)bVar17 * -2 + 1;
    } while (bVar16);
    if ((!bVar15 && !bVar16) == bVar15) {
      puts("tar (busybox) 1.30.1");
      iVar10 = 0;
      goto LAB_00077551;
    }
    if ((*__s != 0x2d) && (*__s != 0)) {
      pcVar9 = strchr((char *)__s,0x66);
      if (pcVar9 != (char *)0x0) {
        cVar1 = pcVar9[1];
        while (cVar1 != '\0') {
          *pcVar9 = cVar1;
          cVar1 = pcVar9[2];
          pcVar9 = pcVar9 + 1;
        }
        *pcVar9 = 'f';
        __s = *(byte **)(param_2 + 4);
      }
      uVar4 = FUN_00019fd7(&DAT_000c99d6,__s);
      *(undefined4 *)(param_2 + 4) = uVar4;
    }
  }
  uVar5 = FUN_000a8bfd(param_2,&DAT_000bb2f8,&DAT_000cac10,&local_2c,&local_28,puVar2 + 0xd,
                       puVar2 + 0x11,&local_24,&local_24);
  iVar10 = *(int *)PTR_optind_000d0f94;
  if (local_24 != 0) {
    if (local_24 == 1) {
      puVar2[8] = (uint)&LAB_0007f34b;
    }
    else {
      puVar2[8] = (uint)FUN_0007f366;
    }
  }
  if ((uVar5 & 2) != 0) {
    puVar2[9] = (uint)FUN_000784bc;
  }
  if ((uVar5 & 0x10) != 0) {
    puVar2[9] = (uint)&LAB_00078c32;
  }
  if ((uVar5 & 0x80000) != 0) {
    putenv("TAR_FILETYPE=f");
    signal(0xd,(__sighandler_t)0x1);
    puVar2[9] = (uint)FUN_00078a4b;
    FUN_000a822a();
    uVar6 = FUN_00019ba3();
    puVar2[0x12] = uVar6;
  }
  if ((uVar5 & 0x100) != 0) {
    *puVar2 = *puVar2 & 0xfffffffb;
  }
  if ((uVar5 & 0x100000) != 0) {
    *puVar2 = *puVar2 | 0x40;
  }
  if ((uVar5 & 0x20) != 0) {
    *puVar2 = *puVar2 | 0x10;
  }
  if ((uVar5 & 0x200000) != 0) {
    *puVar2 = *puVar2 | 0x20;
  }
  if ((uVar5 & 0x400000) != 0) {
    *puVar2 = *puVar2 & 0xfffffffb | 0x80;
  }
  if ((uVar5 & 0x10000) != 0) {
    *puVar2 = *puVar2 & 0xfffffffe;
  }
  piVar14 = (int *)(param_2 + iVar10 * 4);
  iVar10 = *piVar14;
  while (iVar10 != 0) {
    puVar7 = (undefined1 *)FUN_00018cc2();
    if ((undefined1 *)*piVar14 < puVar7) {
      *puVar7 = 0;
    }
    FUN_00018d20();
    piVar14 = piVar14 + 1;
    iVar10 = *piVar14;
  }
  uVar6 = uVar5 & 0x200;
  if (puVar2[3] == 0) {
    if (puVar2[4] != 0) {
      puVar2[2] = (uint)&LAB_0007e62f;
    }
    if (uVar6 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000191a6("empty archive");
    }
LAB_00077402:
    uVar6 = 0;
    uVar11 = 0;
  }
  else {
    puVar2[2] = (uint)&LAB_0007e62f;
    if (uVar6 == 0) goto LAB_00077402;
    uVar11 = 1;
  }
  if ((*local_28 == '-') && (local_28[1] == '\0')) {
    puVar2[1] = uVar11;
    puVar2[10] = 0x80827;
  }
  else {
    uVar11 = FUN_00019ca7();
    puVar2[1] = uVar11;
  }
  if (local_2c != 0) {
    FUN_0001a17e();
  }
  if (uVar6 == 0) {
    if ((uVar5 & 0xf800) != 0) {
      FUN_0008055b();
      puVar2[10] = 0x80827;
    }
    DAT_000d1724 = '\x01';
    while (cVar1 = FUN_0007ebf9(), cVar1 == '\0') {
      DAT_000d1724 = '\0';
    }
    FUN_000809de();
    uVar5 = puVar2[3];
    while (uVar5 != 0) {
      iVar10 = FUN_0007e664();
      if ((iVar10 == 0) && (iVar10 = FUN_0007e664(), iVar10 == 0)) {
                    /* WARNING: Subroutine does not return */
        FUN_000191a6("%s: not found in archive",*(undefined4 *)(puVar2[3] + 4));
      }
      uVar5 = *(uint *)puVar2[3];
      puVar2[3] = uVar5;
    }
    FUN_000804eb(0);
    iVar10 = (int)DAT_000d1724;
  }
  else {
    pcVar9 = (char *)0x0;
    if ((uVar5 & 0x8000) != 0) {
      pcVar9 = "compress";
    }
    if ((uVar5 & 0x2000) != 0) {
      pcVar9 = "gzip";
    }
    if ((uVar5 & 0x800) != 0) {
      pcVar9 = "bzip2";
    }
    if ((uVar5 & 0x1000) != 0) {
      pcVar9 = "lzma";
    }
    if ((uVar5 & 0x4000) != 0) {
      pcVar9 = "xz";
    }
    puVar8 = (uint *)FUN_00019b89();
    *puVar8 = puVar2[1];
    puVar8[1] = local_24;
    iVar10 = FUN_00076827(pcVar9);
  }
LAB_00077551:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar10;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}

