
int uevent_main(int argc,char **argv)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined4 uVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int *piVar11;
  sockaddr_nl sa;
  
  sa.nl_family = 0x10;
  sa.nl_pad = 0;
  sa.nl_pid = (*(code *)PTR_getpid_00132010)();
  sa.nl_groups = 1;
  uVar5 = (*(code *)PTR_xsocket_001314b4)(0x10,1,0xf);
  (*(code *)PTR_xbind_001314c8)(uVar5,&sa,0xc);
  (*(code *)PTR_close_on_exec_on_00131580)(uVar5);
  puVar1 = PTR_setsockopt_SOL_SOCKET_int_001315cc;
  (*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc)(uVar5,0x1002,0x200000);
  (*(code *)puVar1)(uVar5,0x21,0x200000);
  puVar4 = PTR_stdout_00131e5c;
  puVar3 = PTR_bb_common_bufsiz1_0013136c;
  puVar2 = PTR_safe_read_001312d4;
  puVar1 = PTR_bb_unsetenv_001312ac;
  do {
    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);
    puVar7 = puVar6;
    if (puVar6 == (undefined1 *)0xffffffff) {
      puVar7 = (undefined1 *)
               (*(code *)PTR_bb_perror_msg_and_die_001311f4)
                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);
    }
    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);
    if (iVar8 < 0) {
      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)
                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);
    }
    puVar6[iVar8] = 0;
    if (argv[1] == (char *)0x0) {
      iVar10 = *(int *)puVar4;
      puVar7 = *(undefined1 **)(iVar10 + 0x14);
      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {
        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;
        *puVar7 = 10;
      }
      else {
        (*(code *)PTR___overflow_00131dc4)(iVar10,10);
      }
    }
    iVar10 = 0;
    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {
      if (argv[1] == (char *)0x0) {
        (*(code *)PTR_puts_00131fd0)(puVar7);
      }
      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);
      if ((iVar9 != 0) && (iVar10 < 0xff)) {
        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;
        iVar10 = iVar10 + 1;
      }
      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);
    }
    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;
    piVar11 = (int *)puVar3;
    if (*(int *)puVar3 == 0) {
      if (argv[1] != (char *)0x0) goto LAB_00099114;
    }
    else {
      do {
        piVar11 = piVar11 + 1;
        (*(code *)PTR_putenv_00131df8)();
      } while (*piVar11 != 0);
      if (argv[1] != (char *)0x0) {
LAB_00099114:
        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);
      }
      iVar8 = *(int *)puVar3;
      piVar11 = (int *)puVar3;
      while (iVar8 != 0) {
        piVar11 = piVar11 + 1;
        (*(code *)puVar1)();
        iVar8 = *piVar11;
      }
    }
    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);
  } while( true );
}



void FUN_00098e68(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined4 uVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int *piVar11;
  undefined2 local_38;
  undefined2 local_36;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  
  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;
  local_38 = 0x10;
  local_36 = 0;
  local_34 = (*(code *)PTR_getpid_00132010)();
  local_30 = 1;
  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);
  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);
  (*(code *)PTR_FUN_00131580)(uVar5);
  puVar1 = PTR_FUN_001315cc;
  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);
  (*(code *)puVar1)(uVar5,0x21,0x200000);
  puVar4 = PTR_stdout_00131e5c;
  puVar3 = PTR_bb_common_bufsiz1_0013136c;
  puVar2 = PTR_FUN_001312d4;
  puVar1 = PTR_FUN_001312ac;
  do {
    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);
    puVar7 = puVar6;
    if (puVar6 == (undefined1 *)0xffffffff) {
      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);
    }
    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);
    if (iVar8 < 0) {
      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);
    }
    puVar6[iVar8] = 0;
    if (*(int *)(param_2 + 4) == 0) {
      iVar10 = *(int *)puVar4;
      puVar7 = *(undefined1 **)(iVar10 + 0x14);
      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {
        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;
        *puVar7 = 10;
      }
      else {
        (*(code *)PTR___overflow_00131dc4)(iVar10,10);
      }
    }
    iVar10 = 0;
    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {
      if (*(int *)(param_2 + 4) == 0) {
        (*(code *)PTR_puts_00131fd0)(puVar7);
      }
      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);
      if ((iVar9 != 0) && (iVar10 < 0xff)) {
        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;
        iVar10 = iVar10 + 1;
      }
      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);
    }
    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;
    piVar11 = (int *)puVar3;
    if (*(int *)puVar3 == 0) {
      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;
    }
    else {
      do {
        piVar11 = piVar11 + 1;
        (*(code *)PTR_putenv_00131df8)();
      } while (*piVar11 != 0);
      if (*(int *)(param_2 + 4) != 0) {
LAB_00099114:
        (*(code *)PTR_FUN_001317e4)(param_2 + 4);
      }
      iVar8 = *(int *)puVar3;
      piVar11 = (int *)puVar3;
      while (iVar8 != 0) {
        piVar11 = piVar11 + 1;
        (*(code *)puVar1)();
        iVar8 = *piVar11;
      }
    }
    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);
  } while( true );
}


lui gp,0xa
addiu gp,gp,0x2e8
addu gp,gp,t9
addiu sp,sp,-0x68
sw ra,0x64(sp)
sw s8,0x60(sp)
sw s7,0x5c(sp)
sw s6,0x58(sp)
sw s5,0x54(sp)
sw s4,0x50(sp)
sw s3,0x4c(sp)
sw s2,0x48(sp)
sw s1,0x44(sp)
sw s0,0x40(sp)
sw gp,0x20(sp)
or s6,a1,zero
lw v0,-0x6fec(gp)
lw v0,0x0(v0)
sw v0,0x3c(sp)
addiu v0,a1,0x4
sw v0,0x28(sp)
li v0,0x10
sh v0,0x30(sp)
sh zero,0x32(sp)
lw t9,-0x7140(gp)
jalr t9
_nop
lw gp,0x20(sp)
sw v0,0x34(sp)
li v0,0x1
sw v0,0x38(sp)
li a2,0xf
li a1,0x1
li a0,0x10
lw t9,-0x7c9c(gp)
jalr t9
_nop
lw gp,0x20(sp)
or s5,v0,zero
li a2,0xc
addiu a1,sp,0x30
or a0,v0,zero
lw t9,-0x7c88(gp)
jalr t9
_nop
lw gp,0x20(sp)
or a0,s5,zero
lw t9,-0x7bd0(gp)
jalr t9
_nop
lw gp,0x20(sp)
lui a2,0x20
li a1,0x1002
or a0,s5,zero
lw s0,-0x7b84(gp)
or t9,s0,zero
jalr t9
_nop
lw gp,0x20(sp)
lui a2,0x20
li a1,0x21
or a0,s5,zero
or t9,s0,zero
jalr t9
_nop
lw gp,0x20(sp)
lw s8,-0x7e7c(gp)
lw s7,-0x72f4(gp)
lw s0,-0x7de4(gp)
lw v0,-0x7ea4(gp)
sw v0,0x2c(sp)
or v1,zero,zero
or v0,zero,zero
sw v1,0x1c(sp)
sw v0,0x18(sp)
li s1,-0x1
sw s1,0x10(sp)
li a3,0x802
li a2,0x3
li a1,0x4000
or a0,zero,zero
lw t9,-0x7004(gp)
jalr t9
_nop
lw gp,0x20(sp)
bne v0,s1,0x00098fd8
_or s3,v0,zero
lw a0,-0x7fac(gp)
addiu a0,a0,-0x7ff0
lw t9,-0x7f5c(gp)
jalr t9
_nop
li a2,0x3fff
or a1,v0,zero
or a0,s5,zero
or t9,s8,zero
jalr t9
_nop
lw gp,0x20(sp)
bgez v0,0x0009900c
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x7f2c
lw t9,-0x7f5c(gp)
jalr t9
_nop
addu s4,s3,v0
sb zero,0x0(s4)
lw v0,0x4(s6)
bne v0,zero,0x0009904c
_sltu v0,s3,s4
lw a0,0x0(s7)
lw v0,0x14(a0)
lw v1,0x18(a0)
sltu v1,v0,v1
bne v1,zero,0x00099174
_li a1,0xa
lw t9,-0x738c(gp)
jalr t9
_nop
lw gp,0x20(sp)
sltu v0,s3,s4
beq v0,zero,0x000990d0
_or s1,zero,zero
or s2,s3,zero
lw v0,0x4(s6)
bne v0,zero,0x00099074
_or a0,s2,zero
lw t9,-0x7180(gp)
jalr t9
_nop
lw gp,0x20(sp)
li a1,0x3d
or a0,s2,zero
lw t9,-0x71e0(gp)
jalr t9
_nop
lw gp,0x20(sp)
beq v0,zero,0x000990a8
_slti v0,s1,0xff
beq v0,zero,0x000990a8
_sll v0,s1,0x2
addu v0,s0,v0
sw s2,0x0(v0)
addiu s1,s1,0x1
or a0,s2,zero
lw t9,-0x71f8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu v0,v0,0x1
addu s2,s2,v0
sltu v0,s2,s4
bne v0,zero,0x00099058
_nop
sll s1,s1,0x2
addu s1,s0,s1
sw zero,0x0(s1)
lwl a0,0x0(s0)
lwr a0,0x3(s0)
beq a0,zero,0x00099188
_addiu s1,s0,0x4
lw t9,-0x7358(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw a0,0x0(s1)
bne a0,zero,0x000990ec
_addiu s1,s1,0x4
lw v0,0x4(s6)
beq v0,zero,0x00099128
_nop
lw a0,0x28(sp)
lw t9,-0x796c(gp)
jalr t9
_nop
lw gp,0x20(sp)
lwl a0,0x0(s0)
lwr a0,0x3(s0)
beq a0,zero,0x00099154
_addiu s1,s0,0x4
lw t9,0x2c(sp)
jalr t9
_nop
lw gp,0x20(sp)
lw a0,0x0(s1)
bne a0,zero,0x00099138
_addiu s1,s1,0x4
li a1,0x4000
or a0,s3,zero
lw t9,-0x7334(gp)
jalr t9
_nop
lw gp,0x20(sp)
b 0x00098f88
_or v1,zero,zero
addiu v1,v0,0x1
sw v1,0x14(a0)
li v1,0xa
b 0x00099048
_sb v1,0x0(v0)
lw v0,0x4(s6)
bne v0,zero,0x00099114
_li a1,0x4000
b 0x0009915c
_or a0,s3,zero
(translation_unit "void FUN_00098e68(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}\n\n" (function_definition "void FUN_00098e68(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00098e68(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  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined2 local_38;" type_identifier identifier ;) (declaration "undefined2 local_36;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (expression_statement "local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(undefined4 *)PTR___stack_chk_guard_00132164" * (cast_expression "(undefined4 *)PTR___stack_chk_guard_00132164" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_38 = 0x10;" (assignment_expression "local_38 = 0x10" identifier = number_literal) ;) (expression_statement "local_36 = 0;" (assignment_expression "local_36 = 0" identifier = number_literal) ;) (expression_statement "local_34 = (*(code *)PTR_getpid_00132010)();" (assignment_expression "local_34 = (*(code *)PTR_getpid_00132010)()" identifier = (call_expression "(*(code *)PTR_getpid_00132010)()" (parenthesized_expression "(*(code *)PTR_getpid_00132010)" ( (pointer_expression "*(code *)PTR_getpid_00132010" * (cast_expression "(code *)PTR_getpid_00132010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);" (assignment_expression "uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf)" identifier = (call_expression "(*(code *)PTR_FUN_001314b4)(0x10,1,0xf)" (parenthesized_expression "(*(code *)PTR_FUN_001314b4)" ( (pointer_expression "*(code *)PTR_FUN_001314b4" * (cast_expression "(code *)PTR_FUN_001314b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x10,1,0xf)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "(*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);" (call_expression "(*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc)" (parenthesized_expression "(*(code *)PTR_FUN_001314c8)" ( (pointer_expression "*(code *)PTR_FUN_001314c8" * (cast_expression "(code *)PTR_FUN_001314c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,&local_38,0xc)" ( identifier , (pointer_expression "&local_38" & identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_FUN_00131580)(uVar5);" (call_expression "(*(code *)PTR_FUN_00131580)(uVar5)" (parenthesized_expression "(*(code *)PTR_FUN_00131580)" ( (pointer_expression "*(code *)PTR_FUN_00131580" * (cast_expression "(code *)PTR_FUN_00131580" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "puVar1 = PTR_FUN_001315cc;" (assignment_expression "puVar1 = PTR_FUN_001315cc" identifier = identifier) ;) (expression_statement "(*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);" (call_expression "(*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000)" (parenthesized_expression "(*(code *)PTR_FUN_001315cc)" ( (pointer_expression "*(code *)PTR_FUN_001315cc" * (cast_expression "(code *)PTR_FUN_001315cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0x1002,0x200000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)puVar1)(uVar5,0x21,0x200000);" (call_expression "(*(code *)puVar1)(uVar5,0x21,0x200000)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0x21,0x200000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "puVar4 = PTR_stdout_00131e5c;" (assignment_expression "puVar4 = PTR_stdout_00131e5c" identifier = identifier) ;) (expression_statement "puVar3 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar3 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "puVar2 = PTR_FUN_001312d4;" (assignment_expression "puVar2 = PTR_FUN_001312d4" identifier = identifier) ;) (expression_statement "puVar1 = PTR_FUN_001312ac;" (assignment_expression "puVar1 = PTR_FUN_001312ac" identifier = identifier) ;) (do_statement "do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );" do (compound_statement "{\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  }" { (expression_statement "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);" (assignment_expression "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" (parenthesized_expression "(*(code *)PTR_mmap64_0013214c)" ( (pointer_expression "*(code *)PTR_mmap64_0013214c" * (cast_expression "(code *)PTR_mmap64_0013214c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0x4000,3,0x802,0xffffffff)" ( number_literal , number_literal , number_literal , number_literal , number_literal ))))) ;) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" identifier = identifier) ;) (if_statement "if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }" if (parenthesized_expression "(puVar6 == (undefined1 *)0xffffffff)" ( (binary_expression "puVar6 == (undefined1 *)0xffffffff" identifier == (cast_expression "(undefined1 *)0xffffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }" { (expression_statement "puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);" (assignment_expression "puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" ( (pointer_expression "*(code *)PTR_FUN_001311f4" * (cast_expression "(code *)PTR_FUN_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x7ff0)" ( (binary_expression "PTR_FUN_001311a4 + -0x7ff0" identifier + number_literal) ))))) ;) })) (expression_statement "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);" (assignment_expression "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff)" identifier = (call_expression "(*(code *)puVar2)(uVar5,puVar7,0x3fff)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,puVar7,0x3fff)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }" { (expression_statement "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c)" identifier = (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" ( (pointer_expression "*(code *)PTR_FUN_001311f4" * (cast_expression "(code *)PTR_FUN_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x7f2c)" ( (binary_expression "PTR_FUN_001311a4 + -0x7f2c" identifier + number_literal) )))) ;) })) (expression_statement "puVar6[iVar8] = 0;" (assignment_expression "puVar6[iVar8] = 0" (subscript_expression "puVar6[iVar8]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" { (expression_statement "iVar10 = *(int *)puVar4;" (assignment_expression "iVar10 = *(int *)puVar4" identifier = (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined1 **)(iVar10 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar10 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" * (cast_expression "(undefined1 **)(iVar10 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" if (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar10 + 0x18))" ( (binary_expression "puVar7 < *(undefined1 **)(iVar10 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar10 + 0x18)" * (cast_expression "(undefined1 **)(iVar10 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }" { (expression_statement "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" * (cast_expression "(undefined1 **)(iVar10 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = 10;" (assignment_expression "*puVar7 = 10" (pointer_expression "*puVar7" * identifier) = number_literal) ;) }) (else_clause "else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" else (compound_statement "{\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" { (expression_statement "(*(code *)PTR___overflow_00131dc4)(iVar10,10);" (call_expression "(*(code *)PTR___overflow_00131dc4)(iVar10,10)" (parenthesized_expression "(*(code *)PTR___overflow_00131dc4)" ( (pointer_expression "*(code *)PTR___overflow_00131dc4" * (cast_expression "(code *)PTR___overflow_00131dc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10,10)" ( identifier , number_literal ))) ;) }))) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (for_statement "for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" for ( (assignment_expression "puVar7 = puVar6" identifier = identifier) ; (binary_expression "puVar7 < puVar6 + iVar8" identifier < (binary_expression "puVar6 + iVar8" identifier + identifier)) ; (assignment_expression "puVar7 = puVar7 + iVar9 + 1" identifier = (binary_expression "puVar7 + iVar9 + 1" (binary_expression "puVar7 + iVar9" identifier + identifier) + number_literal)) ) (compound_statement "{\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" { (if_statement "if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" { (expression_statement "(*(code *)PTR_puts_00131fd0)(puVar7);" (call_expression "(*(code *)PTR_puts_00131fd0)(puVar7)" (parenthesized_expression "(*(code *)PTR_puts_00131fd0)" ( (pointer_expression "*(code *)PTR_puts_00131fd0" * (cast_expression "(code *)PTR_puts_00131fd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier ))) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);" (assignment_expression "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" identifier = (call_expression "(*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" (parenthesized_expression "(*(code *)PTR_strchr_00131f70)" ( (pointer_expression "*(code *)PTR_strchr_00131f70" * (cast_expression "(code *)PTR_strchr_00131f70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" if (parenthesized_expression "((iVar9 != 0) && (iVar10 < 0xff))" ( (binary_expression "(iVar9 != 0) && (iVar10 < 0xff)" (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar10 < 0xff)" ( (binary_expression "iVar10 < 0xff" identifier < number_literal) ))) )) (compound_statement "{\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" { (expression_statement "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;" (assignment_expression "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7" (pointer_expression "*(undefined1 **)(puVar3 + iVar10 * 4)" * (cast_expression "(undefined1 **)(puVar3 + iVar10 * 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + iVar10 * 4)" ( (binary_expression "puVar3 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00131f58)(puVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00131f58)" ( (pointer_expression "*(code *)PTR_strlen_00131f58" * (cast_expression "(code *)PTR_strlen_00131f58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier )))) ;) })) (expression_statement "*(undefined4 *)(puVar3 + iVar10 * 4) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + iVar10 * 4) = 0" (pointer_expression "*(undefined4 *)(puVar3 + iVar10 * 4)" * (cast_expression "(undefined4 *)(puVar3 + iVar10 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + iVar10 * 4)" ( (binary_expression "puVar3 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" identifier = (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" if (parenthesized_expression "(*(int *)puVar3 == 0)" ( (binary_expression "*(int *)puVar3 == 0" (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }" { (if_statement "if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;" if (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00099114;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" else (compound_statement "{\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" { (do_statement "do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);" do (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      }" { (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_putenv_00131df8)();" (call_expression "(*(code *)PTR_putenv_00131df8)()" (parenthesized_expression "(*(code *)PTR_putenv_00131df8)" ( (pointer_expression "*(code *)PTR_putenv_00131df8" * (cast_expression "(code *)PTR_putenv_00131df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(*piVar11 != 0)" ( (binary_expression "*piVar11 != 0" (pointer_expression "*piVar11" * identifier) != number_literal) )) ;) (if_statement "if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }" if (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }" { (labeled_statement "LAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);" statement_identifier : (expression_statement "(*(code *)PTR_FUN_001317e4)(param_2 + 4);" (call_expression "(*(code *)PTR_FUN_001317e4)(param_2 + 4)" (parenthesized_expression "(*(code *)PTR_FUN_001317e4)" ( (pointer_expression "*(code *)PTR_FUN_001317e4" * (cast_expression "(code *)PTR_FUN_001317e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))) ;)) })) (expression_statement "iVar8 = *(int *)puVar3;" (assignment_expression "iVar8 = *(int *)puVar3" identifier = (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" identifier = (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" { (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar8 = *piVar11;" (assignment_expression "iVar8 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) })) }))) (expression_statement "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);" (call_expression "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000)" (parenthesized_expression "(*(code *)PTR_munmap_00131e1c)" ( (pointer_expression "*(code *)PTR_munmap_00131e1c" * (cast_expression "(code *)PTR_munmap_00131e1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,0x4000)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int uevent_main(int argc,char **argv)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  sockaddr_nl sa;\n  \n  sa.nl_family = 0x10;\n  sa.nl_pad = 0;\n  sa.nl_pid = (*(code *)PTR_getpid_00132010)();\n  sa.nl_groups = 1;\n  uVar5 = (*(code *)PTR_xsocket_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_xbind_001314c8)(uVar5,&sa,0xc);\n  (*(code *)PTR_close_on_exec_on_00131580)(uVar5);\n  puVar1 = PTR_setsockopt_SOL_SOCKET_int_001315cc;\n  (*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_safe_read_001312d4;\n  puVar1 = PTR_bb_unsetenv_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (argv[1] == (char *)0x0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (argv[1] != (char *)0x0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}\n\n" (function_definition "int uevent_main(int argc,char **argv)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  sockaddr_nl sa;\n  \n  sa.nl_family = 0x10;\n  sa.nl_pad = 0;\n  sa.nl_pid = (*(code *)PTR_getpid_00132010)();\n  sa.nl_groups = 1;\n  uVar5 = (*(code *)PTR_xsocket_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_xbind_001314c8)(uVar5,&sa,0xc);\n  (*(code *)PTR_close_on_exec_on_00131580)(uVar5);\n  puVar1 = PTR_setsockopt_SOL_SOCKET_int_001315cc;\n  (*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_safe_read_001312d4;\n  puVar1 = PTR_bb_unsetenv_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (argv[1] == (char *)0x0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (argv[1] != (char *)0x0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" primitive_type (function_declarator "uevent_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  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  sockaddr_nl sa;\n  \n  sa.nl_family = 0x10;\n  sa.nl_pad = 0;\n  sa.nl_pid = (*(code *)PTR_getpid_00132010)();\n  sa.nl_groups = 1;\n  uVar5 = (*(code *)PTR_xsocket_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_xbind_001314c8)(uVar5,&sa,0xc);\n  (*(code *)PTR_close_on_exec_on_00131580)(uVar5);\n  puVar1 = PTR_setsockopt_SOL_SOCKET_int_001315cc;\n  (*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_safe_read_001312d4;\n  puVar1 = PTR_bb_unsetenv_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (argv[1] == (char *)0x0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (argv[1] != (char *)0x0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "sockaddr_nl sa;" type_identifier identifier ;) (expression_statement "sa.nl_family = 0x10;" (assignment_expression "sa.nl_family = 0x10" (field_expression "sa.nl_family" identifier . field_identifier) = number_literal) ;) (expression_statement "sa.nl_pad = 0;" (assignment_expression "sa.nl_pad = 0" (field_expression "sa.nl_pad" identifier . field_identifier) = number_literal) ;) (expression_statement "sa.nl_pid = (*(code *)PTR_getpid_00132010)();" (assignment_expression "sa.nl_pid = (*(code *)PTR_getpid_00132010)()" (field_expression "sa.nl_pid" identifier . field_identifier) = (call_expression "(*(code *)PTR_getpid_00132010)()" (parenthesized_expression "(*(code *)PTR_getpid_00132010)" ( (pointer_expression "*(code *)PTR_getpid_00132010" * (cast_expression "(code *)PTR_getpid_00132010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "sa.nl_groups = 1;" (assignment_expression "sa.nl_groups = 1" (field_expression "sa.nl_groups" identifier . field_identifier) = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_xsocket_001314b4)(0x10,1,0xf);" (assignment_expression "uVar5 = (*(code *)PTR_xsocket_001314b4)(0x10,1,0xf)" identifier = (call_expression "(*(code *)PTR_xsocket_001314b4)(0x10,1,0xf)" (parenthesized_expression "(*(code *)PTR_xsocket_001314b4)" ( (pointer_expression "*(code *)PTR_xsocket_001314b4" * (cast_expression "(code *)PTR_xsocket_001314b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x10,1,0xf)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "(*(code *)PTR_xbind_001314c8)(uVar5,&sa,0xc);" (call_expression "(*(code *)PTR_xbind_001314c8)(uVar5,&sa,0xc)" (parenthesized_expression "(*(code *)PTR_xbind_001314c8)" ( (pointer_expression "*(code *)PTR_xbind_001314c8" * (cast_expression "(code *)PTR_xbind_001314c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,&sa,0xc)" ( identifier , (pointer_expression "&sa" & identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_close_on_exec_on_00131580)(uVar5);" (call_expression "(*(code *)PTR_close_on_exec_on_00131580)(uVar5)" (parenthesized_expression "(*(code *)PTR_close_on_exec_on_00131580)" ( (pointer_expression "*(code *)PTR_close_on_exec_on_00131580" * (cast_expression "(code *)PTR_close_on_exec_on_00131580" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "puVar1 = PTR_setsockopt_SOL_SOCKET_int_001315cc;" (assignment_expression "puVar1 = PTR_setsockopt_SOL_SOCKET_int_001315cc" identifier = identifier) ;) (expression_statement "(*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc)(uVar5,0x1002,0x200000);" (call_expression "(*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc)(uVar5,0x1002,0x200000)" (parenthesized_expression "(*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc)" ( (pointer_expression "*(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc" * (cast_expression "(code *)PTR_setsockopt_SOL_SOCKET_int_001315cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0x1002,0x200000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)puVar1)(uVar5,0x21,0x200000);" (call_expression "(*(code *)puVar1)(uVar5,0x21,0x200000)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0x21,0x200000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "puVar4 = PTR_stdout_00131e5c;" (assignment_expression "puVar4 = PTR_stdout_00131e5c" identifier = identifier) ;) (expression_statement "puVar3 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar3 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "puVar2 = PTR_safe_read_001312d4;" (assignment_expression "puVar2 = PTR_safe_read_001312d4" identifier = identifier) ;) (expression_statement "puVar1 = PTR_bb_unsetenv_001312ac;" (assignment_expression "puVar1 = PTR_bb_unsetenv_001312ac" identifier = identifier) ;) (do_statement "do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (argv[1] == (char *)0x0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (argv[1] != (char *)0x0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );" do (compound_statement "{\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (argv[1] == (char *)0x0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (argv[1] != (char *)0x0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  }" { (expression_statement "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);" (assignment_expression "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" (parenthesized_expression "(*(code *)PTR_mmap64_0013214c)" ( (pointer_expression "*(code *)PTR_mmap64_0013214c" * (cast_expression "(code *)PTR_mmap64_0013214c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0x4000,3,0x802,0xffffffff)" ( number_literal , number_literal , number_literal , number_literal , number_literal ))))) ;) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" identifier = identifier) ;) (if_statement "if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);\n    }" if (parenthesized_expression "(puVar6 == (undefined1 *)0xffffffff)" ( (binary_expression "puVar6 == (undefined1 *)0xffffffff" identifier == (cast_expression "(undefined1 *)0xffffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);\n    }" { (expression_statement "puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0);" (assignment_expression "puVar7 = (undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0)" identifier = (cast_expression "(undefined1 *)\n               (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                         (PTR_bdcommands_4__name_4__001311a4 + -0x7ff0)" (parenthesized_expression "(*(code *)PTR_bb_perror_msg_and_die_001311f4)" ( (pointer_expression "*(code *)PTR_bb_perror_msg_and_die_001311f4" * (cast_expression "(code *)PTR_bb_perror_msg_and_die_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x7ff0)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x7ff0" identifier + number_literal) ))))) ;) })) (expression_statement "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);" (assignment_expression "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff)" identifier = (call_expression "(*(code *)puVar2)(uVar5,puVar7,0x3fff)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,puVar7,0x3fff)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);\n    }" { (expression_statement "iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c);" (assignment_expression "iVar8 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c)" identifier = (call_expression "(*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                        (PTR_bdcommands_4__name_4__001311a4 + -0x7f2c)" (parenthesized_expression "(*(code *)PTR_bb_perror_msg_and_die_001311f4)" ( (pointer_expression "*(code *)PTR_bb_perror_msg_and_die_001311f4" * (cast_expression "(code *)PTR_bb_perror_msg_and_die_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x7f2c)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x7f2c" identifier + number_literal) )))) ;) })) (expression_statement "puVar6[iVar8] = 0;" (assignment_expression "puVar6[iVar8] = 0" (subscript_expression "puVar6[iVar8]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (argv[1] == (char *)0x0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" if (parenthesized_expression "(argv[1] == (char *)0x0)" ( (binary_expression "argv[1] == (char *)0x0" (subscript_expression "argv[1]" identifier [ number_literal ]) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" { (expression_statement "iVar10 = *(int *)puVar4;" (assignment_expression "iVar10 = *(int *)puVar4" identifier = (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined1 **)(iVar10 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar10 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" * (cast_expression "(undefined1 **)(iVar10 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" if (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar10 + 0x18))" ( (binary_expression "puVar7 < *(undefined1 **)(iVar10 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar10 + 0x18)" * (cast_expression "(undefined1 **)(iVar10 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }" { (expression_statement "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" * (cast_expression "(undefined1 **)(iVar10 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = 10;" (assignment_expression "*puVar7 = 10" (pointer_expression "*puVar7" * identifier) = number_literal) ;) }) (else_clause "else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" else (compound_statement "{\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" { (expression_statement "(*(code *)PTR___overflow_00131dc4)(iVar10,10);" (call_expression "(*(code *)PTR___overflow_00131dc4)(iVar10,10)" (parenthesized_expression "(*(code *)PTR___overflow_00131dc4)" ( (pointer_expression "*(code *)PTR___overflow_00131dc4" * (cast_expression "(code *)PTR___overflow_00131dc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10,10)" ( identifier , number_literal ))) ;) }))) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (for_statement "for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" for ( (assignment_expression "puVar7 = puVar6" identifier = identifier) ; (binary_expression "puVar7 < puVar6 + iVar8" identifier < (binary_expression "puVar6 + iVar8" identifier + identifier)) ; (assignment_expression "puVar7 = puVar7 + iVar9 + 1" identifier = (binary_expression "puVar7 + iVar9 + 1" (binary_expression "puVar7 + iVar9" identifier + identifier) + number_literal)) ) (compound_statement "{\n      if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" { (if_statement "if (argv[1] == (char *)0x0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" if (parenthesized_expression "(argv[1] == (char *)0x0)" ( (binary_expression "argv[1] == (char *)0x0" (subscript_expression "argv[1]" identifier [ number_literal ]) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" { (expression_statement "(*(code *)PTR_puts_00131fd0)(puVar7);" (call_expression "(*(code *)PTR_puts_00131fd0)(puVar7)" (parenthesized_expression "(*(code *)PTR_puts_00131fd0)" ( (pointer_expression "*(code *)PTR_puts_00131fd0" * (cast_expression "(code *)PTR_puts_00131fd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier ))) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);" (assignment_expression "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" identifier = (call_expression "(*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" (parenthesized_expression "(*(code *)PTR_strchr_00131f70)" ( (pointer_expression "*(code *)PTR_strchr_00131f70" * (cast_expression "(code *)PTR_strchr_00131f70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" if (parenthesized_expression "((iVar9 != 0) && (iVar10 < 0xff))" ( (binary_expression "(iVar9 != 0) && (iVar10 < 0xff)" (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar10 < 0xff)" ( (binary_expression "iVar10 < 0xff" identifier < number_literal) ))) )) (compound_statement "{\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" { (expression_statement "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;" (assignment_expression "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7" (pointer_expression "*(undefined1 **)(puVar3 + iVar10 * 4)" * (cast_expression "(undefined1 **)(puVar3 + iVar10 * 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + iVar10 * 4)" ( (binary_expression "puVar3 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00131f58)(puVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00131f58)" ( (pointer_expression "*(code *)PTR_strlen_00131f58" * (cast_expression "(code *)PTR_strlen_00131f58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier )))) ;) })) (expression_statement "*(undefined4 *)(puVar3 + iVar10 * 4) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + iVar10 * 4) = 0" (pointer_expression "*(undefined4 *)(puVar3 + iVar10 * 4)" * (cast_expression "(undefined4 *)(puVar3 + iVar10 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + iVar10 * 4)" ( (binary_expression "puVar3 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" identifier = (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)puVar3 == 0) {\n      if (argv[1] != (char *)0x0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" if (parenthesized_expression "(*(int *)puVar3 == 0)" ( (binary_expression "*(int *)puVar3 == 0" (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      if (argv[1] != (char *)0x0) goto LAB_00099114;\n    }" { (if_statement "if (argv[1] != (char *)0x0) goto LAB_00099114;" if (parenthesized_expression "(argv[1] != (char *)0x0)" ( (binary_expression "argv[1] != (char *)0x0" (subscript_expression "argv[1]" identifier [ number_literal ]) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00099114;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" else (compound_statement "{\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" { (do_statement "do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);" do (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      }" { (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_putenv_00131df8)();" (call_expression "(*(code *)PTR_putenv_00131df8)()" (parenthesized_expression "(*(code *)PTR_putenv_00131df8)" ( (pointer_expression "*(code *)PTR_putenv_00131df8" * (cast_expression "(code *)PTR_putenv_00131df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(*piVar11 != 0)" ( (binary_expression "*piVar11 != 0" (pointer_expression "*piVar11" * identifier) != number_literal) )) ;) (if_statement "if (argv[1] != (char *)0x0) {\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }" if (parenthesized_expression "(argv[1] != (char *)0x0)" ( (binary_expression "argv[1] != (char *)0x0" (subscript_expression "argv[1]" identifier [ number_literal ]) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);\n      }" { (labeled_statement "LAB_00099114:\n        (*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);" statement_identifier : (expression_statement "(*(code *)PTR_spawn_and_wait_001317e4)(argv + 1);" (call_expression "(*(code *)PTR_spawn_and_wait_001317e4)(argv + 1)" (parenthesized_expression "(*(code *)PTR_spawn_and_wait_001317e4)" ( (pointer_expression "*(code *)PTR_spawn_and_wait_001317e4" * (cast_expression "(code *)PTR_spawn_and_wait_001317e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(argv + 1)" ( (binary_expression "argv + 1" identifier + number_literal) ))) ;)) })) (expression_statement "iVar8 = *(int *)puVar3;" (assignment_expression "iVar8 = *(int *)puVar3" identifier = (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" identifier = (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" { (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar8 = *piVar11;" (assignment_expression "iVar8 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) })) }))) (expression_statement "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);" (call_expression "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000)" (parenthesized_expression "(*(code *)PTR_munmap_00131e1c)" ( (pointer_expression "*(code *)PTR_munmap_00131e1c" * (cast_expression "(code *)PTR_munmap_00131e1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,0x4000)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00098e68(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}\n\n" (function_definition "void FUN_00098e68(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00098e68(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  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined2 local_38;" type_identifier identifier ;) (declaration "undefined2 local_36;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (expression_statement "local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(undefined4 *)PTR___stack_chk_guard_00132164" * (cast_expression "(undefined4 *)PTR___stack_chk_guard_00132164" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_38 = 0x10;" (assignment_expression "local_38 = 0x10" identifier = number_literal) ;) (expression_statement "local_36 = 0;" (assignment_expression "local_36 = 0" identifier = number_literal) ;) (expression_statement "local_34 = (*(code *)PTR_getpid_00132010)();" (assignment_expression "local_34 = (*(code *)PTR_getpid_00132010)()" identifier = (call_expression "(*(code *)PTR_getpid_00132010)()" (parenthesized_expression "(*(code *)PTR_getpid_00132010)" ( (pointer_expression "*(code *)PTR_getpid_00132010" * (cast_expression "(code *)PTR_getpid_00132010" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);" (assignment_expression "uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf)" identifier = (call_expression "(*(code *)PTR_FUN_001314b4)(0x10,1,0xf)" (parenthesized_expression "(*(code *)PTR_FUN_001314b4)" ( (pointer_expression "*(code *)PTR_FUN_001314b4" * (cast_expression "(code *)PTR_FUN_001314b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x10,1,0xf)" ( number_literal , number_literal , number_literal )))) ;) (expression_statement "(*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);" (call_expression "(*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc)" (parenthesized_expression "(*(code *)PTR_FUN_001314c8)" ( (pointer_expression "*(code *)PTR_FUN_001314c8" * (cast_expression "(code *)PTR_FUN_001314c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,&local_38,0xc)" ( identifier , (pointer_expression "&local_38" & identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_FUN_00131580)(uVar5);" (call_expression "(*(code *)PTR_FUN_00131580)(uVar5)" (parenthesized_expression "(*(code *)PTR_FUN_00131580)" ( (pointer_expression "*(code *)PTR_FUN_00131580" * (cast_expression "(code *)PTR_FUN_00131580" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "puVar1 = PTR_FUN_001315cc;" (assignment_expression "puVar1 = PTR_FUN_001315cc" identifier = identifier) ;) (expression_statement "(*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);" (call_expression "(*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000)" (parenthesized_expression "(*(code *)PTR_FUN_001315cc)" ( (pointer_expression "*(code *)PTR_FUN_001315cc" * (cast_expression "(code *)PTR_FUN_001315cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0x1002,0x200000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)puVar1)(uVar5,0x21,0x200000);" (call_expression "(*(code *)puVar1)(uVar5,0x21,0x200000)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0x21,0x200000)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "puVar4 = PTR_stdout_00131e5c;" (assignment_expression "puVar4 = PTR_stdout_00131e5c" identifier = identifier) ;) (expression_statement "puVar3 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar3 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "puVar2 = PTR_FUN_001312d4;" (assignment_expression "puVar2 = PTR_FUN_001312d4" identifier = identifier) ;) (expression_statement "puVar1 = PTR_FUN_001312ac;" (assignment_expression "puVar1 = PTR_FUN_001312ac" identifier = identifier) ;) (do_statement "do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );" do (compound_statement "{\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  }" { (expression_statement "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);" (assignment_expression "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" (parenthesized_expression "(*(code *)PTR_mmap64_0013214c)" ( (pointer_expression "*(code *)PTR_mmap64_0013214c" * (cast_expression "(code *)PTR_mmap64_0013214c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0x4000,3,0x802,0xffffffff)" ( number_literal , number_literal , number_literal , number_literal , number_literal ))))) ;) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" identifier = identifier) ;) (if_statement "if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }" if (parenthesized_expression "(puVar6 == (undefined1 *)0xffffffff)" ( (binary_expression "puVar6 == (undefined1 *)0xffffffff" identifier == (cast_expression "(undefined1 *)0xffffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }" { (expression_statement "puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);" (assignment_expression "puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" ( (pointer_expression "*(code *)PTR_FUN_001311f4" * (cast_expression "(code *)PTR_FUN_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x7ff0)" ( (binary_expression "PTR_FUN_001311a4 + -0x7ff0" identifier + number_literal) ))))) ;) })) (expression_statement "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);" (assignment_expression "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff)" identifier = (call_expression "(*(code *)puVar2)(uVar5,puVar7,0x3fff)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,puVar7,0x3fff)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }" { (expression_statement "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c)" identifier = (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" ( (pointer_expression "*(code *)PTR_FUN_001311f4" * (cast_expression "(code *)PTR_FUN_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x7f2c)" ( (binary_expression "PTR_FUN_001311a4 + -0x7f2c" identifier + number_literal) )))) ;) })) (expression_statement "puVar6[iVar8] = 0;" (assignment_expression "puVar6[iVar8] = 0" (subscript_expression "puVar6[iVar8]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" { (expression_statement "iVar10 = *(int *)puVar4;" (assignment_expression "iVar10 = *(int *)puVar4" identifier = (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar7 = *(undefined1 **)(iVar10 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar10 + 0x14)" identifier = (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" * (cast_expression "(undefined1 **)(iVar10 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" if (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar10 + 0x18))" ( (binary_expression "puVar7 < *(undefined1 **)(iVar10 + 0x18)" identifier < (pointer_expression "*(undefined1 **)(iVar10 + 0x18)" * (cast_expression "(undefined1 **)(iVar10 + 0x18)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }" { (expression_statement "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" * (cast_expression "(undefined1 **)(iVar10 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = 10;" (assignment_expression "*puVar7 = 10" (pointer_expression "*puVar7" * identifier) = number_literal) ;) }) (else_clause "else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" else (compound_statement "{\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" { (expression_statement "(*(code *)PTR___overflow_00131dc4)(iVar10,10);" (call_expression "(*(code *)PTR___overflow_00131dc4)(iVar10,10)" (parenthesized_expression "(*(code *)PTR___overflow_00131dc4)" ( (pointer_expression "*(code *)PTR___overflow_00131dc4" * (cast_expression "(code *)PTR___overflow_00131dc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10,10)" ( identifier , number_literal ))) ;) }))) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (for_statement "for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" for ( (assignment_expression "puVar7 = puVar6" identifier = identifier) ; (binary_expression "puVar7 < puVar6 + iVar8" identifier < (binary_expression "puVar6 + iVar8" identifier + identifier)) ; (assignment_expression "puVar7 = puVar7 + iVar9 + 1" identifier = (binary_expression "puVar7 + iVar9 + 1" (binary_expression "puVar7 + iVar9" identifier + identifier) + number_literal)) ) (compound_statement "{\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" { (if_statement "if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" { (expression_statement "(*(code *)PTR_puts_00131fd0)(puVar7);" (call_expression "(*(code *)PTR_puts_00131fd0)(puVar7)" (parenthesized_expression "(*(code *)PTR_puts_00131fd0)" ( (pointer_expression "*(code *)PTR_puts_00131fd0" * (cast_expression "(code *)PTR_puts_00131fd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier ))) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);" (assignment_expression "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" identifier = (call_expression "(*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" (parenthesized_expression "(*(code *)PTR_strchr_00131f70)" ( (pointer_expression "*(code *)PTR_strchr_00131f70" * (cast_expression "(code *)PTR_strchr_00131f70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" if (parenthesized_expression "((iVar9 != 0) && (iVar10 < 0xff))" ( (binary_expression "(iVar9 != 0) && (iVar10 < 0xff)" (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar10 < 0xff)" ( (binary_expression "iVar10 < 0xff" identifier < number_literal) ))) )) (compound_statement "{\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" { (expression_statement "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;" (assignment_expression "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7" (pointer_expression "*(undefined1 **)(puVar3 + iVar10 * 4)" * (cast_expression "(undefined1 **)(puVar3 + iVar10 * 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + iVar10 * 4)" ( (binary_expression "puVar3 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00131f58)(puVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00131f58)" ( (pointer_expression "*(code *)PTR_strlen_00131f58" * (cast_expression "(code *)PTR_strlen_00131f58" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier )))) ;) })) (expression_statement "*(undefined4 *)(puVar3 + iVar10 * 4) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + iVar10 * 4) = 0" (pointer_expression "*(undefined4 *)(puVar3 + iVar10 * 4)" * (cast_expression "(undefined4 *)(puVar3 + iVar10 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + iVar10 * 4)" ( (binary_expression "puVar3 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" identifier = (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" if (parenthesized_expression "(*(int *)puVar3 == 0)" ( (binary_expression "*(int *)puVar3 == 0" (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }" { (if_statement "if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;" if (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00099114;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" else (compound_statement "{\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" { (do_statement "do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);" do (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      }" { (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_putenv_00131df8)();" (call_expression "(*(code *)PTR_putenv_00131df8)()" (parenthesized_expression "(*(code *)PTR_putenv_00131df8)" ( (pointer_expression "*(code *)PTR_putenv_00131df8" * (cast_expression "(code *)PTR_putenv_00131df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(*piVar11 != 0)" ( (binary_expression "*piVar11 != 0" (pointer_expression "*piVar11" * identifier) != number_literal) )) ;) (if_statement "if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }" if (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }" { (labeled_statement "LAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);" statement_identifier : (expression_statement "(*(code *)PTR_FUN_001317e4)(param_2 + 4);" (call_expression "(*(code *)PTR_FUN_001317e4)(param_2 + 4)" (parenthesized_expression "(*(code *)PTR_FUN_001317e4)" ( (pointer_expression "*(code *)PTR_FUN_001317e4" * (cast_expression "(code *)PTR_FUN_001317e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))) ;)) })) (expression_statement "iVar8 = *(int *)puVar3;" (assignment_expression "iVar8 = *(int *)puVar3" identifier = (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" identifier = (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" { (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar8 = *piVar11;" (assignment_expression "iVar8 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) })) }))) (expression_statement "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);" (call_expression "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000)" (parenthesized_expression "(*(code *)PTR_munmap_00131e1c)" ( (pointer_expression "*(code *)PTR_munmap_00131e1c" * (cast_expression "(code *)PTR_munmap_00131e1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,0x4000)" ( identifier , number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT , LIT , LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))) ;) }))) })) (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( (assignment_expression IDENT = IDENT) ; (binary_expression IDENT < (binary_expression IDENT + IDENT)) ; (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00098e68(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00098e68(undefined4 param_1,int param_2)" (identifier "FUN_00098e68") (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  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  undefined2 local_38;\n  undefined2 local_36;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  \n  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  local_38 = 0x10;\n  local_36 = 0;\n  local_34 = (*(code *)PTR_getpid_00132010)();\n  local_30 = 1;\n  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);\n  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);\n  (*(code *)PTR_FUN_00131580)(uVar5);\n  puVar1 = PTR_FUN_001315cc;\n  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);\n  (*(code *)puVar1)(uVar5,0x21,0x200000);\n  puVar4 = PTR_stdout_00131e5c;\n  puVar3 = PTR_bb_common_bufsiz1_0013136c;\n  puVar2 = PTR_FUN_001312d4;\n  puVar1 = PTR_FUN_001312ac;\n  do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "undefined2 local_38;" (type_identifier "undefined2") (identifier "local_38") (; ";")) (declaration "undefined2 local_36;" (type_identifier "undefined2") (identifier "local_36") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (expression_statement "local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164" (identifier "local_2c") (= "=") (pointer_expression "*(undefined4 *)PTR___stack_chk_guard_00132164" (* "*") (cast_expression "(undefined4 *)PTR___stack_chk_guard_00132164" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00132164")))) (; ";")) (expression_statement "local_38 = 0x10;" (assignment_expression "local_38 = 0x10" (identifier "local_38") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "local_36 = 0;" (assignment_expression "local_36 = 0" (identifier "local_36") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = (*(code *)PTR_getpid_00132010)();" (assignment_expression "local_34 = (*(code *)PTR_getpid_00132010)()" (identifier "local_34") (= "=") (call_expression "(*(code *)PTR_getpid_00132010)()" (parenthesized_expression "(*(code *)PTR_getpid_00132010)" (( "(") (pointer_expression "*(code *)PTR_getpid_00132010" (* "*") (cast_expression "(code *)PTR_getpid_00132010" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getpid_00132010"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" (identifier "local_30") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);" (assignment_expression "uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_FUN_001314b4)(0x10,1,0xf)" (parenthesized_expression "(*(code *)PTR_FUN_001314b4)" (( "(") (pointer_expression "*(code *)PTR_FUN_001314b4" (* "*") (cast_expression "(code *)PTR_FUN_001314b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001314b4"))) () ")")) (argument_list "(0x10,1,0xf)" (( "(") (number_literal "0x10") (, ",") (number_literal "1") (, ",") (number_literal "0xf") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);" (call_expression "(*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc)" (parenthesized_expression "(*(code *)PTR_FUN_001314c8)" (( "(") (pointer_expression "*(code *)PTR_FUN_001314c8" (* "*") (cast_expression "(code *)PTR_FUN_001314c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001314c8"))) () ")")) (argument_list "(uVar5,&local_38,0xc)" (( "(") (identifier "uVar5") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (number_literal "0xc") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_FUN_00131580)(uVar5);" (call_expression "(*(code *)PTR_FUN_00131580)(uVar5)" (parenthesized_expression "(*(code *)PTR_FUN_00131580)" (( "(") (pointer_expression "*(code *)PTR_FUN_00131580" (* "*") (cast_expression "(code *)PTR_FUN_00131580" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_00131580"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_FUN_001315cc;" (assignment_expression "puVar1 = PTR_FUN_001315cc" (identifier "puVar1") (= "=") (identifier "PTR_FUN_001315cc")) (; ";")) (expression_statement "(*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);" (call_expression "(*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000)" (parenthesized_expression "(*(code *)PTR_FUN_001315cc)" (( "(") (pointer_expression "*(code *)PTR_FUN_001315cc" (* "*") (cast_expression "(code *)PTR_FUN_001315cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001315cc"))) () ")")) (argument_list "(uVar5,0x1002,0x200000)" (( "(") (identifier "uVar5") (, ",") (number_literal "0x1002") (, ",") (number_literal "0x200000") () ")"))) (; ";")) (expression_statement "(*(code *)puVar1)(uVar5,0x21,0x200000);" (call_expression "(*(code *)puVar1)(uVar5,0x21,0x200000)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(uVar5,0x21,0x200000)" (( "(") (identifier "uVar5") (, ",") (number_literal "0x21") (, ",") (number_literal "0x200000") () ")"))) (; ";")) (expression_statement "puVar4 = PTR_stdout_00131e5c;" (assignment_expression "puVar4 = PTR_stdout_00131e5c" (identifier "puVar4") (= "=") (identifier "PTR_stdout_00131e5c")) (; ";")) (expression_statement "puVar3 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar3 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar3") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (expression_statement "puVar2 = PTR_FUN_001312d4;" (assignment_expression "puVar2 = PTR_FUN_001312d4" (identifier "puVar2") (= "=") (identifier "PTR_FUN_001312d4")) (; ";")) (expression_statement "puVar1 = PTR_FUN_001312ac;" (assignment_expression "puVar1 = PTR_FUN_001312ac" (identifier "puVar1") (= "=") (identifier "PTR_FUN_001312ac")) (; ";")) (do_statement "do {\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  } while( true );" (do "do") (compound_statement "{\n    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);\n    puVar7 = puVar6;\n    if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }\n    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);\n    if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }\n    puVar6[iVar8] = 0;\n    if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }\n    iVar10 = 0;\n    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }\n    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;\n    piVar11 = (int *)puVar3;\n    if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }\n    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);\n  }" ({ "{") (expression_statement "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);" (assignment_expression "puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff)" (parenthesized_expression "(*(code *)PTR_mmap64_0013214c)" (( "(") (pointer_expression "*(code *)PTR_mmap64_0013214c" (* "*") (cast_expression "(code *)PTR_mmap64_0013214c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mmap64_0013214c"))) () ")")) (argument_list "(0,0x4000,3,0x802,0xffffffff)" (( "(") (number_literal "0") (, ",") (number_literal "0x4000") (, ",") (number_literal "3") (, ",") (number_literal "0x802") (, ",") (number_literal "0xffffffff") () ")"))))) (; ";")) (expression_statement "puVar7 = puVar6;" (assignment_expression "puVar7 = puVar6" (identifier "puVar7") (= "=") (identifier "puVar6")) (; ";")) (if_statement "if (puVar6 == (undefined1 *)0xffffffff) {\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }" (if "if") (parenthesized_expression "(puVar6 == (undefined1 *)0xffffffff)" (( "(") (binary_expression "puVar6 == (undefined1 *)0xffffffff" (identifier "puVar6") (== "==") (cast_expression "(undefined1 *)0xffffffff" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);\n    }" ({ "{") (expression_statement "puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);" (assignment_expression "puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311f4" (* "*") (cast_expression "(code *)PTR_FUN_001311f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311f4"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x7ff0)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x7ff0" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x7ff0")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);" (assignment_expression "iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff)" (identifier "iVar8") (= "=") (call_expression "(*(code *)puVar2)(uVar5,puVar7,0x3fff)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(uVar5,puVar7,0x3fff)" (( "(") (identifier "uVar5") (, ",") (identifier "puVar7") (, ",") (number_literal "0x3fff") () ")")))) (; ";")) (if_statement "if (iVar8 < 0) {\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }" (if "if") (parenthesized_expression "(iVar8 < 0)" (( "(") (binary_expression "iVar8 < 0" (identifier "iVar8") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);\n    }" ({ "{") (expression_statement "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311f4" (* "*") (cast_expression "(code *)PTR_FUN_001311f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311f4"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x7f2c)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x7f2c" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x7f2c")) () ")")))) (; ";")) (} "}"))) (expression_statement "puVar6[iVar8] = 0;" (assignment_expression "puVar6[iVar8] = 0" (subscript_expression "puVar6[iVar8]" (identifier "puVar6") ([ "[") (identifier "iVar8") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar10 = *(int *)puVar4;\n      puVar7 = *(undefined1 **)(iVar10 + 0x14);\n      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }\n    }" ({ "{") (expression_statement "iVar10 = *(int *)puVar4;" (assignment_expression "iVar10 = *(int *)puVar4" (identifier "iVar10") (= "=") (pointer_expression "*(int *)puVar4" (* "*") (cast_expression "(int *)puVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4")))) (; ";")) (expression_statement "puVar7 = *(undefined1 **)(iVar10 + 0x14);" (assignment_expression "puVar7 = *(undefined1 **)(iVar10 + 0x14)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar10 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar10 + 0x14)" (( "(") (binary_expression "iVar10 + 0x14" (identifier "iVar10") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }\n      else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" (if "if") (parenthesized_expression "(puVar7 < *(undefined1 **)(iVar10 + 0x18))" (( "(") (binary_expression "puVar7 < *(undefined1 **)(iVar10 + 0x18)" (identifier "puVar7") (< "<") (pointer_expression "*(undefined1 **)(iVar10 + 0x18)" (* "*") (cast_expression "(undefined1 **)(iVar10 + 0x18)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;\n        *puVar7 = 10;\n      }" ({ "{") (expression_statement "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;" (assignment_expression "*(undefined1 **)(iVar10 + 0x14) = puVar7 + 1" (pointer_expression "*(undefined1 **)(iVar10 + 0x14)" (* "*") (cast_expression "(undefined1 **)(iVar10 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar10 + 0x14)" (( "(") (binary_expression "iVar10 + 0x14" (identifier "iVar10") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = 10;" (assignment_expression "*puVar7 = 10" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "10")) (; ";")) (} "}")) (else_clause "else {\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" (else "else") (compound_statement "{\n        (*(code *)PTR___overflow_00131dc4)(iVar10,10);\n      }" ({ "{") (expression_statement "(*(code *)PTR___overflow_00131dc4)(iVar10,10);" (call_expression "(*(code *)PTR___overflow_00131dc4)(iVar10,10)" (parenthesized_expression "(*(code *)PTR___overflow_00131dc4)" (( "(") (pointer_expression "*(code *)PTR___overflow_00131dc4" (* "*") (cast_expression "(code *)PTR___overflow_00131dc4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___overflow_00131dc4"))) () ")")) (argument_list "(iVar10,10)" (( "(") (identifier "iVar10") (, ",") (number_literal "10") () ")"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (for_statement "for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" (for "for") (( "(") (assignment_expression "puVar7 = puVar6" (identifier "puVar7") (= "=") (identifier "puVar6")) (; ";") (binary_expression "puVar7 < puVar6 + iVar8" (identifier "puVar7") (< "<") (binary_expression "puVar6 + iVar8" (identifier "puVar6") (+ "+") (identifier "iVar8"))) (; ";") (assignment_expression "puVar7 = puVar7 + iVar9 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + iVar9 + 1" (binary_expression "puVar7 + iVar9" (identifier "puVar7") (+ "+") (identifier "iVar9")) (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n      if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }\n      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);\n      if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }\n      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);\n    }" ({ "{") (if_statement "if (*(int *)(param_2 + 4) == 0) {\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_puts_00131fd0)(puVar7);\n      }" ({ "{") (expression_statement "(*(code *)PTR_puts_00131fd0)(puVar7);" (call_expression "(*(code *)PTR_puts_00131fd0)(puVar7)" (parenthesized_expression "(*(code *)PTR_puts_00131fd0)" (( "(") (pointer_expression "*(code *)PTR_puts_00131fd0" (* "*") (cast_expression "(code *)PTR_puts_00131fd0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_00131fd0"))) () ")")) (argument_list "(puVar7)" (( "(") (identifier "puVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);" (assignment_expression "iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strchr_00131f70)(puVar7,0x3d)" (parenthesized_expression "(*(code *)PTR_strchr_00131f70)" (( "(") (pointer_expression "*(code *)PTR_strchr_00131f70" (* "*") (cast_expression "(code *)PTR_strchr_00131f70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_00131f70"))) () ")")) (argument_list "(puVar7,0x3d)" (( "(") (identifier "puVar7") (, ",") (number_literal "0x3d") () ")")))) (; ";")) (if_statement "if ((iVar9 != 0) && (iVar10 < 0xff)) {\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" (if "if") (parenthesized_expression "((iVar9 != 0) && (iVar10 < 0xff))" (( "(") (binary_expression "(iVar9 != 0) && (iVar10 < 0xff)" (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar10 < 0xff)" (( "(") (binary_expression "iVar10 < 0xff" (identifier "iVar10") (< "<") (number_literal "0xff")) () ")"))) () ")")) (compound_statement "{\n        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;\n        iVar10 = iVar10 + 1;\n      }" ({ "{") (expression_statement "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;" (assignment_expression "*(undefined1 **)(puVar3 + iVar10 * 4) = puVar7" (pointer_expression "*(undefined1 **)(puVar3 + iVar10 * 4)" (* "*") (cast_expression "(undefined1 **)(puVar3 + iVar10 * 4)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + iVar10 * 4)" (( "(") (binary_expression "puVar3 + iVar10 * 4" (identifier "puVar3") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlen_00131f58)(puVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00131f58)" (( "(") (pointer_expression "*(code *)PTR_strlen_00131f58" (* "*") (cast_expression "(code *)PTR_strlen_00131f58" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00131f58"))) () ")")) (argument_list "(puVar7)" (( "(") (identifier "puVar7") () ")")))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(puVar3 + iVar10 * 4) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + iVar10 * 4) = 0" (pointer_expression "*(undefined4 *)(puVar3 + iVar10 * 4)" (* "*") (cast_expression "(undefined4 *)(puVar3 + iVar10 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + iVar10 * 4)" (( "(") (binary_expression "puVar3 + iVar10 * 4" (identifier "puVar3") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" (identifier "piVar11") (= "=") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (; ";")) (if_statement "if (*(int *)puVar3 == 0) {\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }\n    else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)puVar3 == 0)" (( "(") (binary_expression "*(int *)puVar3 == 0" (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;\n    }" ({ "{") (if_statement "if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;" (if "if") (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00099114;" (goto "goto") (statement_identifier "LAB_00099114") (; ";"))) (} "}")) (else_clause "else {\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" (else "else") (compound_statement "{\n      do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);\n      if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }\n      iVar8 = *(int *)puVar3;\n      piVar11 = (int *)puVar3;\n      while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }\n    }" ({ "{") (do_statement "do {\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      } while (*piVar11 != 0);" (do "do") (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)PTR_putenv_00131df8)();\n      }" ({ "{") (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" (identifier "piVar11") (= "=") (binary_expression "piVar11 + 1" (identifier "piVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_putenv_00131df8)();" (call_expression "(*(code *)PTR_putenv_00131df8)()" (parenthesized_expression "(*(code *)PTR_putenv_00131df8)" (( "(") (pointer_expression "*(code *)PTR_putenv_00131df8" (* "*") (cast_expression "(code *)PTR_putenv_00131df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putenv_00131df8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar11 != 0)" (( "(") (binary_expression "*piVar11 != 0" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if (*(int *)(param_2 + 4) != 0) {\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) != 0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);\n      }" ({ "{") (labeled_statement "LAB_00099114:\n        (*(code *)PTR_FUN_001317e4)(param_2 + 4);" (statement_identifier "LAB_00099114") (: ":") (expression_statement "(*(code *)PTR_FUN_001317e4)(param_2 + 4);" (call_expression "(*(code *)PTR_FUN_001317e4)(param_2 + 4)" (parenthesized_expression "(*(code *)PTR_FUN_001317e4)" (( "(") (pointer_expression "*(code *)PTR_FUN_001317e4" (* "*") (cast_expression "(code *)PTR_FUN_001317e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001317e4"))) () ")")) (argument_list "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))) (; ";"))) (} "}"))) (expression_statement "iVar8 = *(int *)puVar3;" (assignment_expression "iVar8 = *(int *)puVar3" (identifier "iVar8") (= "=") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "piVar11 = (int *)puVar3;" (assignment_expression "piVar11 = (int *)puVar3" (identifier "piVar11") (= "=") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (; ";")) (while_statement "while (iVar8 != 0) {\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" (while "while") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        piVar11 = piVar11 + 1;\n        (*(code *)puVar1)();\n        iVar8 = *piVar11;\n      }" ({ "{") (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" (identifier "piVar11") (= "=") (binary_expression "piVar11 + 1" (identifier "piVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar8 = *piVar11;" (assignment_expression "iVar8 = *piVar11" (identifier "iVar8") (= "=") (pointer_expression "*piVar11" (* "*") (identifier "piVar11"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);" (call_expression "(*(code *)PTR_munmap_00131e1c)(puVar6,0x4000)" (parenthesized_expression "(*(code *)PTR_munmap_00131e1c)" (( "(") (pointer_expression "*(code *)PTR_munmap_00131e1c" (* "*") (cast_expression "(code *)PTR_munmap_00131e1c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_munmap_00131e1c"))) () ")")) (argument_list "(puVar6,0x4000)" (( "(") (identifier "puVar6") (, ",") (number_literal "0x4000") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(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: (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: (type_identifier) declarator: (pointer_declarator 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: (identifier)) (declaration type: (primitive_type) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (number_literal) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement 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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (number_literal) (number_literal) (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (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))))))) (if_statement condition: (parenthesized_expression (binary_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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (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))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (for_statement initializer: (assignment_expression left: (identifier) right: (identifier)) condition: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))) update: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_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: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) condition: (parenthesized_expression (true))))))

void MASKED(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined4 uVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int *piVar11;
  undefined2 local_38;
  undefined2 local_36;
  undefined4 local_34;
  undefined4 local_30;
  undefined4 local_2c;
  
  local_2c = *(undefined4 *)PTR___stack_chk_guard_00132164;
  local_38 = 0x10;
  local_36 = 0;
  local_34 = (*(code *)PTR_getpid_00132010)();
  local_30 = 1;
  uVar5 = (*(code *)PTR_FUN_001314b4)(0x10,1,0xf);
  (*(code *)PTR_FUN_001314c8)(uVar5,&local_38,0xc);
  (*(code *)PTR_FUN_00131580)(uVar5);
  puVar1 = PTR_FUN_001315cc;
  (*(code *)PTR_FUN_001315cc)(uVar5,0x1002,0x200000);
  (*(code *)puVar1)(uVar5,0x21,0x200000);
  puVar4 = PTR_stdout_00131e5c;
  puVar3 = PTR_bb_common_bufsiz1_0013136c;
  puVar2 = PTR_FUN_001312d4;
  puVar1 = PTR_FUN_001312ac;
  do {
    puVar6 = (undefined1 *)(*(code *)PTR_mmap64_0013214c)(0,0x4000,3,0x802,0xffffffff);
    puVar7 = puVar6;
    if (puVar6 == (undefined1 *)0xffffffff) {
      puVar7 = (undefined1 *)(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7ff0);
    }
    iVar8 = (*(code *)puVar2)(uVar5,puVar7,0x3fff);
    if (iVar8 < 0) {
      iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x7f2c);
    }
    puVar6[iVar8] = 0;
    if (*(int *)(param_2 + 4) == 0) {
      iVar10 = *(int *)puVar4;
      puVar7 = *(undefined1 **)(iVar10 + 0x14);
      if (puVar7 < *(undefined1 **)(iVar10 + 0x18)) {
        *(undefined1 **)(iVar10 + 0x14) = puVar7 + 1;
        *puVar7 = 10;
      }
      else {
        (*(code *)PTR___overflow_00131dc4)(iVar10,10);
      }
    }
    iVar10 = 0;
    for (puVar7 = puVar6; puVar7 < puVar6 + iVar8; puVar7 = puVar7 + iVar9 + 1) {
      if (*(int *)(param_2 + 4) == 0) {
        (*(code *)PTR_puts_00131fd0)(puVar7);
      }
      iVar9 = (*(code *)PTR_strchr_00131f70)(puVar7,0x3d);
      if ((iVar9 != 0) && (iVar10 < 0xff)) {
        *(undefined1 **)(puVar3 + iVar10 * 4) = puVar7;
        iVar10 = iVar10 + 1;
      }
      iVar9 = (*(code *)PTR_strlen_00131f58)(puVar7);
    }
    *(undefined4 *)(puVar3 + iVar10 * 4) = 0;
    piVar11 = (int *)puVar3;
    if (*(int *)puVar3 == 0) {
      if (*(int *)(param_2 + 4) != 0) goto LAB_00099114;
    }
    else {
      do {
        piVar11 = piVar11 + 1;
        (*(code *)PTR_putenv_00131df8)();
      } while (*piVar11 != 0);
      if (*(int *)(param_2 + 4) != 0) {
LAB_00099114:
        (*(code *)PTR_FUN_001317e4)(param_2 + 4);
      }
      iVar8 = *(int *)puVar3;
      piVar11 = (int *)puVar3;
      while (iVar8 != 0) {
        piVar11 = piVar11 + 1;
        (*(code *)puVar1)();
        iVar8 = *piVar11;
      }
    }
    (*(code *)PTR_munmap_00131e1c)(puVar6,0x4000);
  } while( true );
}

