
int add_mail_file(char *file,char *msg)

{
  char cVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  int iVar5;
  char *pcVar6;
  int iVar7;
  int iVar8;
  undefined4 uVar9;
  uint uVar10;
  int *piVar11;
  int iVar12;
  int *piVar13;
  undefined4 *puVar14;
  undefined *puVar15;
  undefined4 *puVar16;
  code *pcVar17;
  int iStack_108;
  uint uStack_104;
  int iStack_fc;
  int *piStack_f8;
  code *pcStack_f4;
  stat finfo;
  
  puVar4 = PTR___stack_chk_guard_001464dc;
  puVar15 = PTR___environ_00145154;
  iVar5 = *(int *)PTR___stack_chk_guard_001464dc;
  pcVar6 = (char *)(*(code *)PTR_full_pathname_0014509c)();
  puVar3 = PTR___environ_00145154;
  piVar13 = *(int **)(puVar15 + -0x6fcc);
  if ((int)piVar13 < 1) {
    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);
  }
  else {
    cVar1 = *pcVar6;
    piVar11 = (int *)0x0;
    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);
    puVar14 = puVar16;
    do {
      if (**(char **)*puVar14 == cVar1) {
        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);
        if (iVar7 == 0) {
          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);
          if (iVar7 == 0) {
            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);
            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;
            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;
            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;
            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;
            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;
          }
          (*(code *)PTR_free_001464fc)(pcVar6);
          piVar13 = piVar11;
          goto LAB_000869e8;
        }
      }
      piVar11 = (int *)((int)piVar11 + 1);
      puVar14 = puVar14 + 1;
    } while (piVar11 != piVar13);
  }
  puVar2 = PTR_xrealloc_0014473c;
  iVar12 = ((int)piVar13 + 1) * 4;
  *(int *)(puVar15 + -0x6fcc) = (int)piVar13 + 1;
  iVar7 = (*(code *)puVar2)(puVar16,iVar12);
  iVar12 = iVar12 + -4;
  *(int *)(puVar3 + -0x6fc8) = iVar7;
  puVar16 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);
  *puVar16 = pcVar6;
  if (msg != (char *)0x0) {
    iVar8 = (*(code *)PTR_strlen_00146390)(msg);
    uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1);
    msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg);
  }
  puVar15 = PTR___environ_00145154;
  puVar16[1] = msg;
  puVar16[6] = 0;
  *(undefined4 **)(iVar7 + iVar12) = puVar16;
  iVar7 = *(int *)(puVar15 + -0x6fd0);
  if (iVar7 == 0) {
    iVar7 = *(int *)PTR_shell_start_time_00144710;
  }
  piVar11 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar12);
  iVar12 = *piVar11;
  *(undefined4 *)(iVar12 + 0x14) = 0;
  *(undefined4 *)(iVar12 + 0x10) = 0;
  *(int *)(iVar12 + 0xc) = iVar7;
  *(int *)(iVar12 + 8) = iVar7;
  *(undefined4 *)(iVar12 + 0x18) = 0;
LAB_000869e8:
  if (iVar5 == *(int *)puVar4) {
    return (int)piVar13;
  }
  pcVar17 = time_to_check_mail;
  puVar15 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  piVar13 = *(int **)(puVar15 + 0xbfaa0);
  iStack_fc = *piVar13;
  piStack_f8 = piVar11;
  pcStack_f4 = pcVar17;
  iVar5 = (**(code **)(puVar15 + 0xbdd54))(*(int *)(puVar15 + 0xbdb3c) + 0x718c);
  if (iVar5 != 0) {
    iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108);
    if ((iVar5 != 0) && (-1 < iStack_108)) {
      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);
      if (iStack_108 == 0 && uStack_104 == 0) {
        iVar5 = 1;
      }
      else {
        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);
        iVar5 = (int)uVar10 >> 0x1f;
        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {
          iVar5 = 0;
        }
        else {
          iVar5 = 1;
        }
      }
      goto LAB_00086af0;
    }
  }
  iVar5 = 0;
LAB_00086af0:
  if (iStack_fc == *piVar13) {
    return iVar5;
  }
  pcVar17 = *(code **)(puVar15 + 0xbfa4c);
  (*pcVar17)();
  iVar5 = (**(code **)(pcVar17 + 0xbf988))(0);
  *(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0) = iVar5;
  return iVar5;
}



int * FUN_000867f0(undefined4 param_1,int param_2)

{
  char cVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  char *pcVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  uint uVar9;
  int *piVar10;
  int iVar11;
  int *piVar12;
  undefined4 *puVar13;
  undefined *puVar14;
  undefined4 *puVar15;
  code *pcVar16;
  int iStack_108;
  uint uStack_104;
  int iStack_fc;
  int *piStack_f8;
  code *pcStack_f4;
  undefined1 auStack_d0 [56];
  undefined4 local_98;
  undefined4 local_94;
  undefined4 local_90;
  undefined4 local_88;
  int local_2c;
  
  puVar4 = PTR___stack_chk_guard_001464dc;
  puVar14 = PTR___environ_00145154;
  local_2c = *(int *)PTR___stack_chk_guard_001464dc;
  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();
  puVar3 = PTR___environ_00145154;
  piVar12 = *(int **)(puVar14 + -0x6fcc);
  if ((int)piVar12 < 1) {
    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);
  }
  else {
    cVar1 = *pcVar5;
    piVar10 = (int *)0x0;
    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);
    puVar13 = puVar15;
    do {
      if (**(char **)*puVar13 == cVar1) {
        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);
        if (iVar6 == 0) {
          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);
          if (iVar6 == 0) {
            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);
            *(undefined4 *)(iVar6 + 8) = local_90;
            *(undefined4 *)(iVar6 + 0xc) = local_88;
            *(undefined4 *)(iVar6 + 0x14) = local_94;
            *(undefined4 *)(iVar6 + 0x10) = local_98;
            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;
          }
          (*(code *)PTR_free_001464fc)(pcVar5);
          piVar12 = piVar10;
          goto LAB_000869e8;
        }
      }
      piVar10 = (int *)((int)piVar10 + 1);
      puVar13 = puVar13 + 1;
    } while (piVar10 != piVar12);
  }
  puVar2 = PTR_xrealloc_0014473c;
  iVar11 = ((int)piVar12 + 1) * 4;
  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;
  iVar6 = (*(code *)puVar2)(puVar15,iVar11);
  iVar11 = iVar11 + -4;
  *(int *)(puVar3 + -0x6fc8) = iVar6;
  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);
  *puVar15 = pcVar5;
  if (param_2 != 0) {
    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);
    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);
    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);
  }
  puVar14 = PTR___environ_00145154;
  puVar15[1] = param_2;
  puVar15[6] = 0;
  *(undefined4 **)(iVar6 + iVar11) = puVar15;
  iVar6 = *(int *)(puVar14 + -0x6fd0);
  if (iVar6 == 0) {
    iVar6 = *(int *)PTR_shell_start_time_00144710;
  }
  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);
  iVar11 = *piVar10;
  *(undefined4 *)(iVar11 + 0x14) = 0;
  *(undefined4 *)(iVar11 + 0x10) = 0;
  *(int *)(iVar11 + 0xc) = iVar6;
  *(int *)(iVar11 + 8) = iVar6;
  *(undefined4 *)(iVar11 + 0x18) = 0;
LAB_000869e8:
  if (local_2c == *(int *)puVar4) {
    return piVar12;
  }
  pcVar16 = time_to_check_mail;
  puVar14 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  piVar12 = *(int **)(puVar14 + 0xbfaa0);
  iStack_fc = *piVar12;
  piStack_f8 = piVar10;
  pcStack_f4 = pcVar16;
  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);
  if (iVar6 != 0) {
    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);
    if ((iVar6 != 0) && (-1 < iStack_108)) {
      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);
      if (iStack_108 == 0 && uStack_104 == 0) {
        piVar10 = (int *)0x1;
      }
      else {
        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);
        iVar6 = (int)uVar9 >> 0x1f;
        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {
          piVar10 = (int *)0x0;
        }
        else {
          piVar10 = (int *)0x1;
        }
      }
      goto LAB_00086af0;
    }
  }
  piVar10 = (int *)0x0;
LAB_00086af0:
  if (iStack_fc == *piVar12) {
    return piVar10;
  }
  pcVar16 = *(code **)(puVar14 + 0xbfa4c);
  (*pcVar16)();
  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);
  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;
  return piVar12;
}


lui gp,0xc
addiu gp,gp,0x5d50
addu gp,gp,t9
addiu sp,sp,-0xf0
lw t9,-0x74a4(gp)
sw s5,0xdc(sp)
lw s5,-0x6064(gp)
sw s6,0xe0(sp)
sw gp,0x10(sp)
sw s4,0xd8(sp)
or s4,a1,zero
sw s3,0xd4(sp)
sw s2,0xd0(sp)
sw s1,0xcc(sp)
sw ra,0xec(sp)
sw s8,0xe8(sp)
sw s7,0xe4(sp)
sw s0,0xc8(sp)
lw v0,0x0(s5)
lw s6,-0x73ec(gp)
sw v0,0xc4(sp)
jalr t9
_nop
lw gp,0x10(sp)
or s2,v0,zero
lw s1,-0x6fcc(s6)
blez s1,0x00086920
_lw s3,-0x73ec(gp)
lb v0,0x0(v0)
or s0,zero,zero
lw s8,-0x6fc8(s3)
sw v0,0x18(sp)
b 0x00086884
_or s7,s8,zero
addiu s0,s0,0x1
beq s0,s1,0x00086924
_addiu s7,s7,0x4
lw v0,0x0(s7)
sll v1,s0,0x2
sw v1,0x1c(sp)
lw v1,0x18(sp)
lw a0,0x0(v0)
lb v0,0x0(a0)
bne v0,v1,0x00086878
_lw t9,-0x5ff8(gp)
jalr t9
_or a1,s2,zero
bne v0,zero,0x00086878
_lw gp,0x10(sp)
lw t9,-0x71f0(gp)
addiu a1,sp,0x20
jalr t9
_or a0,s2,zero
bne v0,zero,0x00086908
_lw gp,0x10(sp)
lw v0,-0x6fc8(s3)
sll v1,s0,0x2
lw a2,0x68(sp)
lw a1,0x5c(sp)
addu s8,v0,v1
lw a0,0x58(sp)
lw a3,0x60(sp)
lw v0,0x0(s8)
lw v1,0x18(v0)
sw a3,0x8(v0)
sw a2,0xc(v0)
ori v1,v1,0x1
sw a1,0x14(v0)
sw a0,0x10(v0)
sw v1,0x18(v0)
lw t9,-0x6044(gp)
or a0,s2,zero
jalr t9
_or s1,s0,zero
b 0x000869e8
_lw gp,0x10(sp)
lw s8,-0x6fc8(s3)
addiu v0,s1,0x1
lw t9,-0x7e04(gp)
or a0,s8,zero
sll s0,v0,0x2
sw v0,-0x6fcc(s6)
jalr t9
_or a1,s0,zero
addiu s0,s0,-0x4
lw gp,0x10(sp)
li a0,0x20
sw v0,-0x6fc8(s3)
lw t9,-0x7f90(gp)
jalr t9
_addu s7,v0,s0
lw gp,0x10(sp)
or s6,v0,zero
beq s4,zero,0x000869a4
_sw s2,0x0(v0)
lw t9,-0x61b0(gp)
jalr t9
_or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x1
or a1,s4,zero
lw gp,0x10(sp)
lw t9,-0x6128(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
or s4,v0,zero
lw v0,-0x73ec(gp)
sw s4,0x4(s6)
sw zero,0x18(s6)
sw s6,0x0(s7)
lw v1,-0x6fd0(v0)
beq v1,zero,0x00086a28
_lw v0,-0x7e30(gp)
lw v0,-0x6fc8(s3)
or a1,zero,zero
or a0,zero,zero
addu s0,v0,s0
lw v0,0x0(s0)
sw a1,0x14(v0)
sw a0,0x10(v0)
sw v1,0xc(v0)
sw v1,0x8(v0)
sw zero,0x18(v0)
lw a0,0xc4(sp)
or v0,s1,zero
lw v1,0x0(s5)
bne a0,v1,0x00086a30
_lw ra,0xec(sp)
lw s8,0xe8(sp)
lw s7,0xe4(sp)
lw s6,0xe0(sp)
lw s5,0xdc(sp)
lw s4,0xd8(sp)
lw s3,0xd4(sp)
lw s2,0xd0(sp)
lw s1,0xcc(sp)
lw s0,0xc8(sp)
jr ra
_addiu sp,sp,0xf0
b 0x000869c0
_lw v1,0x0(v0)
lw t9,-0x60b8(gp)
jalr t9
_nop
(translation_unit "int * FUN_000867f0(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}\n\n" (function_definition "int * FUN_000867f0(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}" primitive_type (pointer_declarator "* FUN_000867f0(undefined4 param_1,int param_2)" * (function_declarator "FUN_000867f0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}" { (declaration "char cVar1;" primitive_type 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 "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "int iStack_108;" primitive_type identifier ;) (declaration "uint uStack_104;" type_identifier identifier ;) (declaration "int iStack_fc;" primitive_type identifier ;) (declaration "int *piStack_f8;" primitive_type (pointer_declarator "*piStack_f8" * identifier) ;) (declaration "code *pcStack_f4;" type_identifier (pointer_declarator "*pcStack_f4" * identifier) ;) (declaration "undefined1 auStack_d0 [56];" type_identifier (array_declarator "auStack_d0 [56]" identifier [ number_literal ]) ;) (declaration "undefined4 local_98;" type_identifier identifier ;) (declaration "undefined4 local_94;" type_identifier identifier ;) (declaration "undefined4 local_90;" type_identifier identifier ;) (declaration "undefined4 local_88;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar4 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar14 = PTR___environ_00145154;" (assignment_expression "puVar14 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)()" identifier = (cast_expression "(char *)(*(code *)PTR_full_pathname_0014509c)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_full_pathname_0014509c)()" (parenthesized_expression "(*(code *)PTR_full_pathname_0014509c)" ( (pointer_expression "*(code *)PTR_full_pathname_0014509c" * (cast_expression "(code *)PTR_full_pathname_0014509c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar3 = PTR___environ_00145154;" (assignment_expression "puVar3 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "piVar12 = *(int **)(puVar14 + -0x6fcc);" (assignment_expression "piVar12 = *(int **)(puVar14 + -0x6fcc)" identifier = (pointer_expression "*(int **)(puVar14 + -0x6fcc)" * (cast_expression "(int **)(puVar14 + -0x6fcc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x6fcc)" ( (binary_expression "puVar14 + -0x6fcc" identifier + number_literal) ))))) ;) (if_statement "if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" if (parenthesized_expression "((int)piVar12 < 1)" ( (binary_expression "(int)piVar12 < 1" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }" { (expression_statement "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" identifier = (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" * (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" ( (binary_expression "PTR___environ_00145154 + -0x6fc8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" else (compound_statement "{\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" { (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" identifier = (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" * (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" ( (binary_expression "PTR___environ_00145154 + -0x6fc8" identifier + number_literal) ))))) ;) (expression_statement "puVar13 = puVar15;" (assignment_expression "puVar13 = puVar15" identifier = identifier) ;) (do_statement "do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);" do (compound_statement "{\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    }" { (if_statement "if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }" if (parenthesized_expression "(**(char **)*puVar13 == cVar1)" ( (binary_expression "**(char **)*puVar13 == cVar1" (pointer_expression "**(char **)*puVar13" * (pointer_expression "*(char **)*puVar13" * (cast_expression "(char **)*puVar13" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar13" * identifier)))) == identifier) )) (compound_statement "{\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }" { (expression_statement "iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(char **)*puVar13,pcVar5)" ( (pointer_expression "*(char **)*puVar13" * (cast_expression "(char **)*puVar13" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar13" * identifier))) , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);" (assignment_expression "iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0)" identifier = (call_expression "(*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0)" (parenthesized_expression "(*(code *)PTR_mailstat_00145350)" ( (pointer_expression "*(code *)PTR_mailstat_00145350" * (cast_expression "(code *)PTR_mailstat_00145350" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,auStack_d0)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }" { (expression_statement "iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);" (assignment_expression "iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" * (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" ( (binary_expression "*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) + (binary_expression "(int)piVar10 * 4" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ))))) ;) (expression_statement "*(undefined4 *)(iVar6 + 8) = local_90;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = local_90" (pointer_expression "*(undefined4 *)(iVar6 + 8)" * (cast_expression "(undefined4 *)(iVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar6 + 0xc) = local_88;" (assignment_expression "*(undefined4 *)(iVar6 + 0xc) = local_88" (pointer_expression "*(undefined4 *)(iVar6 + 0xc)" * (cast_expression "(undefined4 *)(iVar6 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar6 + 0x14) = local_94;" (assignment_expression "*(undefined4 *)(iVar6 + 0x14) = local_94" (pointer_expression "*(undefined4 *)(iVar6 + 0x14)" * (cast_expression "(undefined4 *)(iVar6 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar6 + 0x10) = local_98;" (assignment_expression "*(undefined4 *)(iVar6 + 0x10) = local_98" (pointer_expression "*(undefined4 *)(iVar6 + 0x10)" * (cast_expression "(undefined4 *)(iVar6 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;" (assignment_expression "*(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1" (pointer_expression "*(uint *)(iVar6 + 0x18)" * (cast_expression "(uint *)(iVar6 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0x18) | 1" (pointer_expression "*(uint *)(iVar6 + 0x18)" * (cast_expression "(uint *)(iVar6 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "(*(code *)PTR_free_001464fc)(pcVar5);" (call_expression "(*(code *)PTR_free_001464fc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "piVar12 = piVar10;" (assignment_expression "piVar12 = piVar10" identifier = identifier) ;) (goto_statement "goto LAB_000869e8;" goto statement_identifier ;) })) })) (expression_statement "piVar10 = (int *)((int)piVar10 + 1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + 1)" identifier = (cast_expression "(int *)((int)piVar10 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 + 1)" ( (binary_expression "(int)piVar10 + 1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar10 != piVar12)" ( (binary_expression "piVar10 != piVar12" identifier != identifier) )) ;) }))) (expression_statement "puVar2 = PTR_xrealloc_0014473c;" (assignment_expression "puVar2 = PTR_xrealloc_0014473c" identifier = identifier) ;) (expression_statement "iVar11 = ((int)piVar12 + 1) * 4;" (assignment_expression "iVar11 = ((int)piVar12 + 1) * 4" identifier = (binary_expression "((int)piVar12 + 1) * 4" (parenthesized_expression "((int)piVar12 + 1)" ( (binary_expression "(int)piVar12 + 1" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )) * number_literal)) ;) (expression_statement "*(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;" (assignment_expression "*(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1" (pointer_expression "*(int *)(puVar14 + -0x6fcc)" * (cast_expression "(int *)(puVar14 + -0x6fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x6fcc)" ( (binary_expression "puVar14 + -0x6fcc" identifier + number_literal) )))) = (binary_expression "(int)piVar12 + 1" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "iVar6 = (*(code *)puVar2)(puVar15,iVar11);" (assignment_expression "iVar6 = (*(code *)puVar2)(puVar15,iVar11)" identifier = (call_expression "(*(code *)puVar2)(puVar15,iVar11)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar15,iVar11)" ( identifier , identifier )))) ;) (expression_statement "iVar11 = iVar11 + -4;" (assignment_expression "iVar11 = iVar11 + -4" identifier = (binary_expression "iVar11 + -4" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar3 + -0x6fc8) = iVar6;" (assignment_expression "*(int *)(puVar3 + -0x6fc8) = iVar6" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);" (assignment_expression "puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x20)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "*puVar15 = pcVar5;" (assignment_expression "*puVar15 = pcVar5" (pointer_expression "*puVar15" * identifier) = identifier) ;) (if_statement "if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);" (assignment_expression "uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )))) ;) (expression_statement "param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);" (assignment_expression "param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar8,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,param_2)" ( identifier , identifier )))) ;) })) (expression_statement "puVar14 = PTR___environ_00145154;" (assignment_expression "puVar14 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "puVar15[1] = param_2;" (assignment_expression "puVar15[1] = param_2" (subscript_expression "puVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar15[6] = 0;" (assignment_expression "puVar15[6] = 0" (subscript_expression "puVar15[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(iVar6 + iVar11) = puVar15;" (assignment_expression "*(undefined4 **)(iVar6 + iVar11) = puVar15" (pointer_expression "*(undefined4 **)(iVar6 + iVar11)" * (cast_expression "(undefined4 **)(iVar6 + iVar11)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar11)" ( (binary_expression "iVar6 + iVar11" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)(puVar14 + -0x6fd0);" (assignment_expression "iVar6 = *(int *)(puVar14 + -0x6fd0)" identifier = (pointer_expression "*(int *)(puVar14 + -0x6fd0)" * (cast_expression "(int *)(puVar14 + -0x6fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x6fd0)" ( (binary_expression "puVar14 + -0x6fd0" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }" { (expression_statement "iVar6 = *(int *)PTR_shell_start_time_00144710;" (assignment_expression "iVar6 = *(int *)PTR_shell_start_time_00144710" identifier = (pointer_expression "*(int *)PTR_shell_start_time_00144710" * (cast_expression "(int *)PTR_shell_start_time_00144710" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (expression_statement "piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);" (assignment_expression "piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11)" identifier = (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + iVar11)" ( (binary_expression "*(int *)(puVar3 + -0x6fc8) + iVar11" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "iVar11 = *piVar10;" (assignment_expression "iVar11 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x14)" * (cast_expression "(undefined4 *)(iVar11 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x10)" * (cast_expression "(undefined4 *)(iVar11 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar11 + 0xc) = iVar6;" (assignment_expression "*(int *)(iVar11 + 0xc) = iVar6" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x18)" * (cast_expression "(undefined4 *)(iVar11 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x18)" ( (binary_expression "iVar11 + 0x18" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar4)" ( (binary_expression "local_2c == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar12;\n  }" { (return_statement "return piVar12;" return identifier ;) }))) (expression_statement "pcVar16 = time_to_check_mail;" (assignment_expression "pcVar16 = time_to_check_mail" identifier = identifier) ;) (expression_statement "puVar14 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar14 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar12 = *(int **)(puVar14 + 0xbfaa0);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0xbfaa0)" identifier = (pointer_expression "*(int **)(puVar14 + 0xbfaa0)" * (cast_expression "(int **)(puVar14 + 0xbfaa0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbfaa0)" ( (binary_expression "puVar14 + 0xbfaa0" identifier + number_literal) ))))) ;) (expression_statement "iStack_fc = *piVar12;" (assignment_expression "iStack_fc = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "piStack_f8 = piVar10;" (assignment_expression "piStack_f8 = piVar10" identifier = identifier) ;) (expression_statement "pcStack_f4 = pcVar16;" (assignment_expression "pcStack_f4 = pcVar16" identifier = identifier) ;) (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" identifier = (call_expression "(**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" (parenthesized_expression "(**(code **)(puVar14 + 0xbdd54))" ( (pointer_expression "**(code **)(puVar14 + 0xbdd54)" * (pointer_expression "*(code **)(puVar14 + 0xbdd54)" * (cast_expression "(code **)(puVar14 + 0xbdd54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbdd54)" ( (binary_expression "puVar14 + 0xbdd54" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" ( (binary_expression "*(int *)(puVar14 + 0xbdb3c) + 0x718c" (pointer_expression "*(int *)(puVar14 + 0xbdb3c)" * (cast_expression "(int *)(puVar14 + 0xbdb3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0xbdb3c)" ( (binary_expression "puVar14 + 0xbdb3c" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" { (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108)" identifier = (call_expression "(**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108)" (parenthesized_expression "(**(code **)(puVar14 + 0xbdf94))" ( (pointer_expression "**(code **)(puVar14 + 0xbdf94)" * (pointer_expression "*(code **)(puVar14 + 0xbdf94)" * (cast_expression "(code **)(puVar14 + 0xbdf94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbdf94)" ( (binary_expression "puVar14 + 0xbdf94" identifier + number_literal) ))))) )) (argument_list "(iVar6,&iStack_108)" ( identifier , (pointer_expression "&iStack_108" & identifier) )))) ;) (if_statement "if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }" if (parenthesized_expression "((iVar6 != 0) && (-1 < iStack_108))" ( (binary_expression "(iVar6 != 0) && (-1 < iStack_108)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(-1 < iStack_108)" ( (binary_expression "-1 < iStack_108" number_literal < identifier) ))) )) (compound_statement "{\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }" { (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbfa84))(0)" identifier = (call_expression "(**(code **)(puVar14 + 0xbfa84))(0)" (parenthesized_expression "(**(code **)(puVar14 + 0xbfa84))" ( (pointer_expression "**(code **)(puVar14 + 0xbfa84)" * (pointer_expression "*(code **)(puVar14 + 0xbfa84)" * (cast_expression "(code **)(puVar14 + 0xbfa84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbfa84)" ( (binary_expression "puVar14 + 0xbfa84" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" if (parenthesized_expression "(iStack_108 == 0 && uStack_104 == 0)" ( (binary_expression "iStack_108 == 0 && uStack_104 == 0" (binary_expression "iStack_108 == 0" identifier == number_literal) && (binary_expression "uStack_104 == 0" identifier == number_literal)) )) (compound_statement "{\n        piVar10 = (int *)0x1;\n      }" { (expression_statement "piVar10 = (int *)0x1;" (assignment_expression "piVar10 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" else (compound_statement "{\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" { (expression_statement "uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);" (assignment_expression "uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" identifier = (binary_expression "iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" identifier - (pointer_expression "*(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" * (cast_expression "(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" ( (binary_expression "*(int *)(puVar14 + 0xbe718) + -0x6fd0" (pointer_expression "*(int *)(puVar14 + 0xbe718)" * (cast_expression "(int *)(puVar14 + 0xbe718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0xbe718)" ( (binary_expression "puVar14 + 0xbe718" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "iVar6 = (int)uVar9 >> 0x1f;" (assignment_expression "iVar6 = (int)uVar9 >> 0x1f" identifier = (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }" if (parenthesized_expression "((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104))))" ( (binary_expression "(iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))" (parenthesized_expression "(iVar6 < iStack_108)" ( (binary_expression "iVar6 < iStack_108" identifier < identifier) )) || (parenthesized_expression "((iStack_108 == iVar6 && (uVar9 < uStack_104)))" ( (parenthesized_expression "(iStack_108 == iVar6 && (uVar9 < uStack_104))" ( (binary_expression "iStack_108 == iVar6 && (uVar9 < uStack_104)" (binary_expression "iStack_108 == iVar6" identifier == identifier) && (parenthesized_expression "(uVar9 < uStack_104)" ( (binary_expression "uVar9 < uStack_104" identifier < identifier) ))) )) ))) )) (compound_statement "{\n          piVar10 = (int *)0x0;\n        }" { (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          piVar10 = (int *)0x1;\n        }" else (compound_statement "{\n          piVar10 = (int *)0x1;\n        }" { (expression_statement "piVar10 = (int *)0x1;" (assignment_expression "piVar10 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) }))) (goto_statement "goto LAB_00086af0;" goto statement_identifier ;) })) })) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }" statement_identifier : (if_statement "if (iStack_fc == *piVar12) {\n    return piVar10;\n  }" if (parenthesized_expression "(iStack_fc == *piVar12)" ( (binary_expression "iStack_fc == *piVar12" identifier == (pointer_expression "*piVar12" * identifier)) )) (compound_statement "{\n    return piVar10;\n  }" { (return_statement "return piVar10;" return identifier ;) }))) (expression_statement "pcVar16 = *(code **)(puVar14 + 0xbfa4c);" (assignment_expression "pcVar16 = *(code **)(puVar14 + 0xbfa4c)" identifier = (pointer_expression "*(code **)(puVar14 + 0xbfa4c)" * (cast_expression "(code **)(puVar14 + 0xbfa4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbfa4c)" ( (binary_expression "puVar14 + 0xbfa4c" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar16)();" (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);" (assignment_expression "piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0)" identifier = (cast_expression "(int *)(**(code **)(pcVar16 + 0xbf988))(0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar16 + 0xbf988))(0)" (parenthesized_expression "(**(code **)(pcVar16 + 0xbf988))" ( (pointer_expression "**(code **)(pcVar16 + 0xbf988)" * (pointer_expression "*(code **)(pcVar16 + 0xbf988)" * (cast_expression "(code **)(pcVar16 + 0xbf988)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0xbf988)" ( (binary_expression "pcVar16 + 0xbf988" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;" (assignment_expression "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12" (pointer_expression "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" * (cast_expression "(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" ( (binary_expression "*(int *)(pcVar16 + 0xbe61c) + -0x6fd0" (pointer_expression "*(int *)(pcVar16 + 0xbe61c)" * (cast_expression "(int *)(pcVar16 + 0xbe61c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0xbe61c)" ( (binary_expression "pcVar16 + 0xbe61c" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return piVar12;" return identifier ;) })))
(translation_unit "int add_mail_file(char *file,char *msg)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  int iVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int *piVar11;\n  int iVar12;\n  int *piVar13;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  undefined4 *puVar16;\n  code *pcVar17;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  stat finfo;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar15 = PTR___environ_00145154;\n  iVar5 = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar6 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar13 = *(int **)(puVar15 + -0x6fcc);\n  if ((int)piVar13 < 1) {\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar6;\n    piVar11 = (int *)0x0;\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar14 = puVar16;\n    do {\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    } while (piVar11 != piVar13);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar12 = ((int)piVar13 + 1) * 4;\n  *(int *)(puVar15 + -0x6fcc) = (int)piVar13 + 1;\n  iVar7 = (*(code *)puVar2)(puVar16,iVar12);\n  iVar12 = iVar12 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar7;\n  puVar16 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar16 = pcVar6;\n  if (msg != (char *)0x0) {\n    iVar8 = (*(code *)PTR_strlen_00146390)(msg);\n    uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1);\n    msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg);\n  }\n  puVar15 = PTR___environ_00145154;\n  puVar16[1] = msg;\n  puVar16[6] = 0;\n  *(undefined4 **)(iVar7 + iVar12) = puVar16;\n  iVar7 = *(int *)(puVar15 + -0x6fd0);\n  if (iVar7 == 0) {\n    iVar7 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar11 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar12);\n  iVar12 = *piVar11;\n  *(undefined4 *)(iVar12 + 0x14) = 0;\n  *(undefined4 *)(iVar12 + 0x10) = 0;\n  *(int *)(iVar12 + 0xc) = iVar7;\n  *(int *)(iVar12 + 8) = iVar7;\n  *(undefined4 *)(iVar12 + 0x18) = 0;\nLAB_000869e8:\n  if (iVar5 == *(int *)puVar4) {\n    return (int)piVar13;\n  }\n  pcVar17 = time_to_check_mail;\n  puVar15 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar13 = *(int **)(puVar15 + 0xbfaa0);\n  iStack_fc = *piVar13;\n  piStack_f8 = piVar11;\n  pcStack_f4 = pcVar17;\n  iVar5 = (**(code **)(puVar15 + 0xbdd54))(*(int *)(puVar15 + 0xbdb3c) + 0x718c);\n  if (iVar5 != 0) {\n    iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108);\n    if ((iVar5 != 0) && (-1 < iStack_108)) {\n      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  iVar5 = 0;\nLAB_00086af0:\n  if (iStack_fc == *piVar13) {\n    return iVar5;\n  }\n  pcVar17 = *(code **)(puVar15 + 0xbfa4c);\n  (*pcVar17)();\n  iVar5 = (**(code **)(pcVar17 + 0xbf988))(0);\n  *(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0) = iVar5;\n  return iVar5;\n}\n\n" (function_definition "int add_mail_file(char *file,char *msg)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  int iVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int *piVar11;\n  int iVar12;\n  int *piVar13;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  undefined4 *puVar16;\n  code *pcVar17;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  stat finfo;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar15 = PTR___environ_00145154;\n  iVar5 = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar6 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar13 = *(int **)(puVar15 + -0x6fcc);\n  if ((int)piVar13 < 1) {\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar6;\n    piVar11 = (int *)0x0;\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar14 = puVar16;\n    do {\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    } while (piVar11 != piVar13);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar12 = ((int)piVar13 + 1) * 4;\n  *(int *)(puVar15 + -0x6fcc) = (int)piVar13 + 1;\n  iVar7 = (*(code *)puVar2)(puVar16,iVar12);\n  iVar12 = iVar12 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar7;\n  puVar16 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar16 = pcVar6;\n  if (msg != (char *)0x0) {\n    iVar8 = (*(code *)PTR_strlen_00146390)(msg);\n    uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1);\n    msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg);\n  }\n  puVar15 = PTR___environ_00145154;\n  puVar16[1] = msg;\n  puVar16[6] = 0;\n  *(undefined4 **)(iVar7 + iVar12) = puVar16;\n  iVar7 = *(int *)(puVar15 + -0x6fd0);\n  if (iVar7 == 0) {\n    iVar7 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar11 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar12);\n  iVar12 = *piVar11;\n  *(undefined4 *)(iVar12 + 0x14) = 0;\n  *(undefined4 *)(iVar12 + 0x10) = 0;\n  *(int *)(iVar12 + 0xc) = iVar7;\n  *(int *)(iVar12 + 8) = iVar7;\n  *(undefined4 *)(iVar12 + 0x18) = 0;\nLAB_000869e8:\n  if (iVar5 == *(int *)puVar4) {\n    return (int)piVar13;\n  }\n  pcVar17 = time_to_check_mail;\n  puVar15 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar13 = *(int **)(puVar15 + 0xbfaa0);\n  iStack_fc = *piVar13;\n  piStack_f8 = piVar11;\n  pcStack_f4 = pcVar17;\n  iVar5 = (**(code **)(puVar15 + 0xbdd54))(*(int *)(puVar15 + 0xbdb3c) + 0x718c);\n  if (iVar5 != 0) {\n    iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108);\n    if ((iVar5 != 0) && (-1 < iStack_108)) {\n      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  iVar5 = 0;\nLAB_00086af0:\n  if (iStack_fc == *piVar13) {\n    return iVar5;\n  }\n  pcVar17 = *(code **)(puVar15 + 0xbfa4c);\n  (*pcVar17)();\n  iVar5 = (**(code **)(pcVar17 + 0xbf988))(0);\n  *(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0) = iVar5;\n  return iVar5;\n}" primitive_type (function_declarator "add_mail_file(char *file,char *msg)" identifier (parameter_list "(char *file,char *msg)" ( (parameter_declaration "char *file" primitive_type (pointer_declarator "*file" * identifier)) , (parameter_declaration "char *msg" primitive_type (pointer_declarator "*msg" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  int iVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int *piVar11;\n  int iVar12;\n  int *piVar13;\n  undefined4 *puVar14;\n  undefined *puVar15;\n  undefined4 *puVar16;\n  code *pcVar17;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  stat finfo;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar15 = PTR___environ_00145154;\n  iVar5 = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar6 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar13 = *(int **)(puVar15 + -0x6fcc);\n  if ((int)piVar13 < 1) {\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar6;\n    piVar11 = (int *)0x0;\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar14 = puVar16;\n    do {\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    } while (piVar11 != piVar13);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar12 = ((int)piVar13 + 1) * 4;\n  *(int *)(puVar15 + -0x6fcc) = (int)piVar13 + 1;\n  iVar7 = (*(code *)puVar2)(puVar16,iVar12);\n  iVar12 = iVar12 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar7;\n  puVar16 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar16 = pcVar6;\n  if (msg != (char *)0x0) {\n    iVar8 = (*(code *)PTR_strlen_00146390)(msg);\n    uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1);\n    msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg);\n  }\n  puVar15 = PTR___environ_00145154;\n  puVar16[1] = msg;\n  puVar16[6] = 0;\n  *(undefined4 **)(iVar7 + iVar12) = puVar16;\n  iVar7 = *(int *)(puVar15 + -0x6fd0);\n  if (iVar7 == 0) {\n    iVar7 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar11 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar12);\n  iVar12 = *piVar11;\n  *(undefined4 *)(iVar12 + 0x14) = 0;\n  *(undefined4 *)(iVar12 + 0x10) = 0;\n  *(int *)(iVar12 + 0xc) = iVar7;\n  *(int *)(iVar12 + 8) = iVar7;\n  *(undefined4 *)(iVar12 + 0x18) = 0;\nLAB_000869e8:\n  if (iVar5 == *(int *)puVar4) {\n    return (int)piVar13;\n  }\n  pcVar17 = time_to_check_mail;\n  puVar15 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar13 = *(int **)(puVar15 + 0xbfaa0);\n  iStack_fc = *piVar13;\n  piStack_f8 = piVar11;\n  pcStack_f4 = pcVar17;\n  iVar5 = (**(code **)(puVar15 + 0xbdd54))(*(int *)(puVar15 + 0xbdb3c) + 0x718c);\n  if (iVar5 != 0) {\n    iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108);\n    if ((iVar5 != 0) && (-1 < iStack_108)) {\n      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  iVar5 = 0;\nLAB_00086af0:\n  if (iStack_fc == *piVar13) {\n    return iVar5;\n  }\n  pcVar17 = *(code **)(puVar15 + 0xbfa4c);\n  (*pcVar17)();\n  iVar5 = (**(code **)(pcVar17 + 0xbf988))(0);\n  *(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0) = iVar5;\n  return iVar5;\n}" { (declaration "char cVar1;" primitive_type 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 "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "int iStack_108;" primitive_type identifier ;) (declaration "uint uStack_104;" type_identifier identifier ;) (declaration "int iStack_fc;" primitive_type identifier ;) (declaration "int *piStack_f8;" primitive_type (pointer_declarator "*piStack_f8" * identifier) ;) (declaration "code *pcStack_f4;" type_identifier (pointer_declarator "*pcStack_f4" * identifier) ;) (declaration "stat finfo;" type_identifier identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar4 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar15 = PTR___environ_00145154;" (assignment_expression "puVar15 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar6 = (char *)(*(code *)PTR_full_pathname_0014509c)();" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_full_pathname_0014509c)()" identifier = (cast_expression "(char *)(*(code *)PTR_full_pathname_0014509c)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_full_pathname_0014509c)()" (parenthesized_expression "(*(code *)PTR_full_pathname_0014509c)" ( (pointer_expression "*(code *)PTR_full_pathname_0014509c" * (cast_expression "(code *)PTR_full_pathname_0014509c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar3 = PTR___environ_00145154;" (assignment_expression "puVar3 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "piVar13 = *(int **)(puVar15 + -0x6fcc);" (assignment_expression "piVar13 = *(int **)(puVar15 + -0x6fcc)" identifier = (pointer_expression "*(int **)(puVar15 + -0x6fcc)" * (cast_expression "(int **)(puVar15 + -0x6fcc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + -0x6fcc)" ( (binary_expression "puVar15 + -0x6fcc" identifier + number_literal) ))))) ;) (if_statement "if ((int)piVar13 < 1) {\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar6;\n    piVar11 = (int *)0x0;\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar14 = puVar16;\n    do {\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    } while (piVar11 != piVar13);\n  }" if (parenthesized_expression "((int)piVar13 < 1)" ( (binary_expression "(int)piVar13 < 1" (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }" { (expression_statement "puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" identifier = (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" * (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" ( (binary_expression "PTR___environ_00145154 + -0x6fc8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    cVar1 = *pcVar6;\n    piVar11 = (int *)0x0;\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar14 = puVar16;\n    do {\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    } while (piVar11 != piVar13);\n  }" else (compound_statement "{\n    cVar1 = *pcVar6;\n    piVar11 = (int *)0x0;\n    puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar14 = puVar16;\n    do {\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    } while (piVar11 != piVar13);\n  }" { (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (expression_statement "piVar11 = (int *)0x0;" (assignment_expression "piVar11 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar16 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" identifier = (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" * (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" ( (binary_expression "PTR___environ_00145154 + -0x6fc8" identifier + number_literal) ))))) ;) (expression_statement "puVar14 = puVar16;" (assignment_expression "puVar14 = puVar16" identifier = identifier) ;) (do_statement "do {\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    } while (piVar11 != piVar13);" do (compound_statement "{\n      if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }\n      piVar11 = (int *)((int)piVar11 + 1);\n      puVar14 = puVar14 + 1;\n    }" { (if_statement "if (**(char **)*puVar14 == cVar1) {\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }" if (parenthesized_expression "(**(char **)*puVar14 == cVar1)" ( (binary_expression "**(char **)*puVar14 == cVar1" (pointer_expression "**(char **)*puVar14" * (pointer_expression "*(char **)*puVar14" * (cast_expression "(char **)*puVar14" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar14" * identifier)))) == identifier) )) (compound_statement "{\n        iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);\n        if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }\n      }" { (expression_statement "iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6);" (assignment_expression "iVar7 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(*(char **)*puVar14,pcVar6)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(char **)*puVar14,pcVar6)" ( (pointer_expression "*(char **)*puVar14" * (cast_expression "(char **)*puVar14" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar14" * identifier))) , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);\n          if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar6);\n          piVar13 = piVar11;\n          goto LAB_000869e8;\n        }" { (expression_statement "iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo);" (assignment_expression "iVar7 = (*(code *)PTR_mailstat_00145350)(pcVar6,&finfo)" identifier = (call_expression "(*(code *)PTR_mailstat_00145350)(pcVar6,&finfo)" (parenthesized_expression "(*(code *)PTR_mailstat_00145350)" ( (pointer_expression "*(code *)PTR_mailstat_00145350" * (cast_expression "(code *)PTR_mailstat_00145350" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6,&finfo)" ( identifier , (pointer_expression "&finfo" & identifier) )))) ;) (if_statement "if (iVar7 == 0) {\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);\n            *(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;\n            *(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;\n            *(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;\n            *(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;\n            *(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;\n          }" { (expression_statement "iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4);" (assignment_expression "iVar7 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4)" * (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4)" ( (binary_expression "*(int *)(puVar3 + -0x6fc8) + (int)piVar11 * 4" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) + (binary_expression "(int)piVar11 * 4" (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ))))) ;) (expression_statement "*(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec;" (assignment_expression "*(__time_t *)(iVar7 + 8) = finfo.st_atim.tv_sec" (pointer_expression "*(__time_t *)(iVar7 + 8)" * (cast_expression "(__time_t *)(iVar7 + 8)" ( (type_descriptor "__time_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) = (field_expression "finfo.st_atim.tv_sec" (field_expression "finfo.st_atim" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec;" (assignment_expression "*(__time_t *)(iVar7 + 0xc) = finfo.st_mtim.tv_sec" (pointer_expression "*(__time_t *)(iVar7 + 0xc)" * (cast_expression "(__time_t *)(iVar7 + 0xc)" ( (type_descriptor "__time_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xc)" ( (binary_expression "iVar7 + 0xc" identifier + number_literal) )))) = (field_expression "finfo.st_mtim.tv_sec" (field_expression "finfo.st_mtim" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_;" (assignment_expression "*(undefined4 *)(iVar7 + 0x14) = finfo.st_size._4_4_" (pointer_expression "*(undefined4 *)(iVar7 + 0x14)" * (cast_expression "(undefined4 *)(iVar7 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) = (field_expression "finfo.st_size._4_4_" (field_expression "finfo.st_size" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_;" (assignment_expression "*(undefined4 *)(iVar7 + 0x10) = finfo.st_size._0_4_" (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" * (cast_expression "(undefined4 *)(iVar7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = (field_expression "finfo.st_size._0_4_" (field_expression "finfo.st_size" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1;" (assignment_expression "*(uint *)(iVar7 + 0x18) = *(uint *)(iVar7 + 0x18) | 1" (pointer_expression "*(uint *)(iVar7 + 0x18)" * (cast_expression "(uint *)(iVar7 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar7 + 0x18) | 1" (pointer_expression "*(uint *)(iVar7 + 0x18)" * (cast_expression "(uint *)(iVar7 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "(*(code *)PTR_free_001464fc)(pcVar6);" (call_expression "(*(code *)PTR_free_001464fc)(pcVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;) (expression_statement "piVar13 = piVar11;" (assignment_expression "piVar13 = piVar11" identifier = identifier) ;) (goto_statement "goto LAB_000869e8;" goto statement_identifier ;) })) })) (expression_statement "piVar11 = (int *)((int)piVar11 + 1);" (assignment_expression "piVar11 = (int *)((int)piVar11 + 1)" identifier = (cast_expression "(int *)((int)piVar11 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar11 + 1)" ( (binary_expression "(int)piVar11 + 1" (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar14 = puVar14 + 1;" (assignment_expression "puVar14 = puVar14 + 1" identifier = (binary_expression "puVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar11 != piVar13)" ( (binary_expression "piVar11 != piVar13" identifier != identifier) )) ;) }))) (expression_statement "puVar2 = PTR_xrealloc_0014473c;" (assignment_expression "puVar2 = PTR_xrealloc_0014473c" identifier = identifier) ;) (expression_statement "iVar12 = ((int)piVar13 + 1) * 4;" (assignment_expression "iVar12 = ((int)piVar13 + 1) * 4" identifier = (binary_expression "((int)piVar13 + 1) * 4" (parenthesized_expression "((int)piVar13 + 1)" ( (binary_expression "(int)piVar13 + 1" (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )) * number_literal)) ;) (expression_statement "*(int *)(puVar15 + -0x6fcc) = (int)piVar13 + 1;" (assignment_expression "*(int *)(puVar15 + -0x6fcc) = (int)piVar13 + 1" (pointer_expression "*(int *)(puVar15 + -0x6fcc)" * (cast_expression "(int *)(puVar15 + -0x6fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + -0x6fcc)" ( (binary_expression "puVar15 + -0x6fcc" identifier + number_literal) )))) = (binary_expression "(int)piVar13 + 1" (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "iVar7 = (*(code *)puVar2)(puVar16,iVar12);" (assignment_expression "iVar7 = (*(code *)puVar2)(puVar16,iVar12)" identifier = (call_expression "(*(code *)puVar2)(puVar16,iVar12)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar16,iVar12)" ( identifier , identifier )))) ;) (expression_statement "iVar12 = iVar12 + -4;" (assignment_expression "iVar12 = iVar12 + -4" identifier = (binary_expression "iVar12 + -4" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar3 + -0x6fc8) = iVar7;" (assignment_expression "*(int *)(puVar3 + -0x6fc8) = iVar7" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar16 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);" (assignment_expression "puVar16 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x20)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "*puVar16 = pcVar6;" (assignment_expression "*puVar16 = pcVar6" (pointer_expression "*puVar16" * identifier) = identifier) ;) (if_statement "if (msg != (char *)0x0) {\n    iVar8 = (*(code *)PTR_strlen_00146390)(msg);\n    uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1);\n    msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg);\n  }" if (parenthesized_expression "(msg != (char *)0x0)" ( (binary_expression "msg != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar8 = (*(code *)PTR_strlen_00146390)(msg);\n    uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1);\n    msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg);\n  }" { (expression_statement "iVar8 = (*(code *)PTR_strlen_00146390)(msg);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_00146390)(msg)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(msg)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(msg)" ( identifier )))) ;) (expression_statement "uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1);" (assignment_expression "uVar9 = (*(code *)PTR_xmalloc_001445b0)(iVar8 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar8 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8 + 1)" ( (binary_expression "iVar8 + 1" identifier + number_literal) )))) ;) (expression_statement "msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg);" (assignment_expression "msg = (char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_00146418)(uVar9,msg)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar9,msg)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9,msg)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar15 = PTR___environ_00145154;" (assignment_expression "puVar15 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "puVar16[1] = msg;" (assignment_expression "puVar16[1] = msg" (subscript_expression "puVar16[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar16[6] = 0;" (assignment_expression "puVar16[6] = 0" (subscript_expression "puVar16[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(iVar7 + iVar12) = puVar16;" (assignment_expression "*(undefined4 **)(iVar7 + iVar12) = puVar16" (pointer_expression "*(undefined4 **)(iVar7 + iVar12)" * (cast_expression "(undefined4 **)(iVar7 + iVar12)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + iVar12)" ( (binary_expression "iVar7 + iVar12" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar7 = *(int *)(puVar15 + -0x6fd0);" (assignment_expression "iVar7 = *(int *)(puVar15 + -0x6fd0)" identifier = (pointer_expression "*(int *)(puVar15 + -0x6fd0)" * (cast_expression "(int *)(puVar15 + -0x6fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + -0x6fd0)" ( (binary_expression "puVar15 + -0x6fd0" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == 0) {\n    iVar7 = *(int *)PTR_shell_start_time_00144710;\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar7 = *(int *)PTR_shell_start_time_00144710;\n  }" { (expression_statement "iVar7 = *(int *)PTR_shell_start_time_00144710;" (assignment_expression "iVar7 = *(int *)PTR_shell_start_time_00144710" identifier = (pointer_expression "*(int *)PTR_shell_start_time_00144710" * (cast_expression "(int *)PTR_shell_start_time_00144710" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (expression_statement "piVar11 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar12);" (assignment_expression "piVar11 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar12)" identifier = (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + iVar12)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + iVar12)" ( (binary_expression "*(int *)(puVar3 + -0x6fc8) + iVar12" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "iVar12 = *piVar11;" (assignment_expression "iVar12 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "*(undefined4 *)(iVar12 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar12 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar12 + 0x14)" * (cast_expression "(undefined4 *)(iVar12 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar12 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar12 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar12 + 0x10)" * (cast_expression "(undefined4 *)(iVar12 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x10)" ( (binary_expression "iVar12 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar12 + 0xc) = iVar7;" (assignment_expression "*(int *)(iVar12 + 0xc) = iVar7" (pointer_expression "*(int *)(iVar12 + 0xc)" * (cast_expression "(int *)(iVar12 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0xc)" ( (binary_expression "iVar12 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar12 + 8) = iVar7;" (assignment_expression "*(int *)(iVar12 + 8) = iVar7" (pointer_expression "*(int *)(iVar12 + 8)" * (cast_expression "(int *)(iVar12 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 8)" ( (binary_expression "iVar12 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar12 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar12 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar12 + 0x18)" * (cast_expression "(undefined4 *)(iVar12 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x18)" ( (binary_expression "iVar12 + 0x18" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_000869e8:\n  if (iVar5 == *(int *)puVar4) {\n    return (int)piVar13;\n  }" statement_identifier : (if_statement "if (iVar5 == *(int *)puVar4) {\n    return (int)piVar13;\n  }" if (parenthesized_expression "(iVar5 == *(int *)puVar4)" ( (binary_expression "iVar5 == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return (int)piVar13;\n  }" { (return_statement "return (int)piVar13;" return (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier) ;) }))) (expression_statement "pcVar17 = time_to_check_mail;" (assignment_expression "pcVar17 = time_to_check_mail" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar15 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar13 = *(int **)(puVar15 + 0xbfaa0);" (assignment_expression "piVar13 = *(int **)(puVar15 + 0xbfaa0)" identifier = (pointer_expression "*(int **)(puVar15 + 0xbfaa0)" * (cast_expression "(int **)(puVar15 + 0xbfaa0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xbfaa0)" ( (binary_expression "puVar15 + 0xbfaa0" identifier + number_literal) ))))) ;) (expression_statement "iStack_fc = *piVar13;" (assignment_expression "iStack_fc = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (expression_statement "piStack_f8 = piVar11;" (assignment_expression "piStack_f8 = piVar11" identifier = identifier) ;) (expression_statement "pcStack_f4 = pcVar17;" (assignment_expression "pcStack_f4 = pcVar17" identifier = identifier) ;) (expression_statement "iVar5 = (**(code **)(puVar15 + 0xbdd54))(*(int *)(puVar15 + 0xbdb3c) + 0x718c);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0xbdd54))(*(int *)(puVar15 + 0xbdb3c) + 0x718c)" identifier = (call_expression "(**(code **)(puVar15 + 0xbdd54))(*(int *)(puVar15 + 0xbdb3c) + 0x718c)" (parenthesized_expression "(**(code **)(puVar15 + 0xbdd54))" ( (pointer_expression "**(code **)(puVar15 + 0xbdd54)" * (pointer_expression "*(code **)(puVar15 + 0xbdd54)" * (cast_expression "(code **)(puVar15 + 0xbdd54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xbdd54)" ( (binary_expression "puVar15 + 0xbdd54" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar15 + 0xbdb3c) + 0x718c)" ( (binary_expression "*(int *)(puVar15 + 0xbdb3c) + 0x718c" (pointer_expression "*(int *)(puVar15 + 0xbdb3c)" * (cast_expression "(int *)(puVar15 + 0xbdb3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0xbdb3c)" ( (binary_expression "puVar15 + 0xbdb3c" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar5 != 0) {\n    iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108);\n    if ((iVar5 != 0) && (-1 < iStack_108)) {\n      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108);\n    if ((iVar5 != 0) && (-1 < iStack_108)) {\n      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" { (expression_statement "iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108)" identifier = (call_expression "(**(code **)(puVar15 + 0xbdf94))(iVar5,&iStack_108)" (parenthesized_expression "(**(code **)(puVar15 + 0xbdf94))" ( (pointer_expression "**(code **)(puVar15 + 0xbdf94)" * (pointer_expression "*(code **)(puVar15 + 0xbdf94)" * (cast_expression "(code **)(puVar15 + 0xbdf94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xbdf94)" ( (binary_expression "puVar15 + 0xbdf94" identifier + number_literal) ))))) )) (argument_list "(iVar5,&iStack_108)" ( identifier , (pointer_expression "&iStack_108" & identifier) )))) ;) (if_statement "if ((iVar5 != 0) && (-1 < iStack_108)) {\n      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }\n      goto LAB_00086af0;\n    }" if (parenthesized_expression "((iVar5 != 0) && (-1 < iStack_108))" ( (binary_expression "(iVar5 != 0) && (-1 < iStack_108)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(-1 < iStack_108)" ( (binary_expression "-1 < iStack_108" number_literal < identifier) ))) )) (compound_statement "{\n      iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }\n      goto LAB_00086af0;\n    }" { (expression_statement "iVar5 = (**(code **)(puVar15 + 0xbfa84))(0);" (assignment_expression "iVar5 = (**(code **)(puVar15 + 0xbfa84))(0)" identifier = (call_expression "(**(code **)(puVar15 + 0xbfa84))(0)" (parenthesized_expression "(**(code **)(puVar15 + 0xbfa84))" ( (pointer_expression "**(code **)(puVar15 + 0xbfa84)" * (pointer_expression "*(code **)(puVar15 + 0xbfa84)" * (cast_expression "(code **)(puVar15 + 0xbfa84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xbfa84)" ( (binary_expression "puVar15 + 0xbfa84" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iStack_108 == 0 && uStack_104 == 0) {\n        iVar5 = 1;\n      }\n      else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }" if (parenthesized_expression "(iStack_108 == 0 && uStack_104 == 0)" ( (binary_expression "iStack_108 == 0 && uStack_104 == 0" (binary_expression "iStack_108 == 0" identifier == number_literal) && (binary_expression "uStack_104 == 0" identifier == number_literal)) )) (compound_statement "{\n        iVar5 = 1;\n      }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }" else (compound_statement "{\n        uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);\n        iVar5 = (int)uVar10 >> 0x1f;\n        if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }\n      }" { (expression_statement "uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0);" (assignment_expression "uVar10 = iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0)" identifier = (binary_expression "iVar5 - *(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0)" identifier - (pointer_expression "*(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0)" * (cast_expression "(int *)(*(int *)(puVar15 + 0xbe718) + -0x6fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar15 + 0xbe718) + -0x6fd0)" ( (binary_expression "*(int *)(puVar15 + 0xbe718) + -0x6fd0" (pointer_expression "*(int *)(puVar15 + 0xbe718)" * (cast_expression "(int *)(puVar15 + 0xbe718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0xbe718)" ( (binary_expression "puVar15 + 0xbe718" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "iVar5 = (int)uVar10 >> 0x1f;" (assignment_expression "iVar5 = (int)uVar10 >> 0x1f" identifier = (binary_expression "(int)uVar10 >> 0x1f" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))) {\n          iVar5 = 0;\n        }\n        else {\n          iVar5 = 1;\n        }" if (parenthesized_expression "((iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104))))" ( (binary_expression "(iVar5 < iStack_108) || ((iStack_108 == iVar5 && (uVar10 < uStack_104)))" (parenthesized_expression "(iVar5 < iStack_108)" ( (binary_expression "iVar5 < iStack_108" identifier < identifier) )) || (parenthesized_expression "((iStack_108 == iVar5 && (uVar10 < uStack_104)))" ( (parenthesized_expression "(iStack_108 == iVar5 && (uVar10 < uStack_104))" ( (binary_expression "iStack_108 == iVar5 && (uVar10 < uStack_104)" (binary_expression "iStack_108 == iVar5" identifier == identifier) && (parenthesized_expression "(uVar10 < uStack_104)" ( (binary_expression "uVar10 < uStack_104" identifier < identifier) ))) )) ))) )) (compound_statement "{\n          iVar5 = 0;\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar5 = 1;\n        }" else (compound_statement "{\n          iVar5 = 1;\n        }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }))) }))) (goto_statement "goto LAB_00086af0;" goto statement_identifier ;) })) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00086af0:\n  if (iStack_fc == *piVar13) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (iStack_fc == *piVar13) {\n    return iVar5;\n  }" if (parenthesized_expression "(iStack_fc == *piVar13)" ( (binary_expression "iStack_fc == *piVar13" identifier == (pointer_expression "*piVar13" * identifier)) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "pcVar17 = *(code **)(puVar15 + 0xbfa4c);" (assignment_expression "pcVar17 = *(code **)(puVar15 + 0xbfa4c)" identifier = (pointer_expression "*(code **)(puVar15 + 0xbfa4c)" * (cast_expression "(code **)(puVar15 + 0xbfa4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0xbfa4c)" ( (binary_expression "puVar15 + 0xbfa4c" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar17)();" (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar5 = (**(code **)(pcVar17 + 0xbf988))(0);" (assignment_expression "iVar5 = (**(code **)(pcVar17 + 0xbf988))(0)" identifier = (call_expression "(**(code **)(pcVar17 + 0xbf988))(0)" (parenthesized_expression "(**(code **)(pcVar17 + 0xbf988))" ( (pointer_expression "**(code **)(pcVar17 + 0xbf988)" * (pointer_expression "*(code **)(pcVar17 + 0xbf988)" * (cast_expression "(code **)(pcVar17 + 0xbf988)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar17 + 0xbf988)" ( (binary_expression "pcVar17 + 0xbf988" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0) = iVar5;" (assignment_expression "*(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0) = iVar5" (pointer_expression "*(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0)" * (cast_expression "(int *)(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar17 + 0xbe61c) + -0x6fd0)" ( (binary_expression "*(int *)(pcVar17 + 0xbe61c) + -0x6fd0" (pointer_expression "*(int *)(pcVar17 + 0xbe61c)" * (cast_expression "(int *)(pcVar17 + 0xbe61c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar17 + 0xbe61c)" ( (binary_expression "pcVar17 + 0xbe61c" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "int * FUN_000867f0(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}\n\n" (function_definition "int * FUN_000867f0(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}" primitive_type (pointer_declarator "* FUN_000867f0(undefined4 param_1,int param_2)" * (function_declarator "FUN_000867f0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}" { (declaration "char cVar1;" primitive_type 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 "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "int iStack_108;" primitive_type identifier ;) (declaration "uint uStack_104;" type_identifier identifier ;) (declaration "int iStack_fc;" primitive_type identifier ;) (declaration "int *piStack_f8;" primitive_type (pointer_declarator "*piStack_f8" * identifier) ;) (declaration "code *pcStack_f4;" type_identifier (pointer_declarator "*pcStack_f4" * identifier) ;) (declaration "undefined1 auStack_d0 [56];" type_identifier (array_declarator "auStack_d0 [56]" identifier [ number_literal ]) ;) (declaration "undefined4 local_98;" type_identifier identifier ;) (declaration "undefined4 local_94;" type_identifier identifier ;) (declaration "undefined4 local_90;" type_identifier identifier ;) (declaration "undefined4 local_88;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar4 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar14 = PTR___environ_00145154;" (assignment_expression "puVar14 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)()" identifier = (cast_expression "(char *)(*(code *)PTR_full_pathname_0014509c)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_full_pathname_0014509c)()" (parenthesized_expression "(*(code *)PTR_full_pathname_0014509c)" ( (pointer_expression "*(code *)PTR_full_pathname_0014509c" * (cast_expression "(code *)PTR_full_pathname_0014509c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar3 = PTR___environ_00145154;" (assignment_expression "puVar3 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "piVar12 = *(int **)(puVar14 + -0x6fcc);" (assignment_expression "piVar12 = *(int **)(puVar14 + -0x6fcc)" identifier = (pointer_expression "*(int **)(puVar14 + -0x6fcc)" * (cast_expression "(int **)(puVar14 + -0x6fcc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + -0x6fcc)" ( (binary_expression "puVar14 + -0x6fcc" identifier + number_literal) ))))) ;) (if_statement "if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" if (parenthesized_expression "((int)piVar12 < 1)" ( (binary_expression "(int)piVar12 < 1" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }" { (expression_statement "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" identifier = (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" * (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" ( (binary_expression "PTR___environ_00145154 + -0x6fc8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" else (compound_statement "{\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" { (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" identifier = (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" * (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" ( (binary_expression "PTR___environ_00145154 + -0x6fc8" identifier + number_literal) ))))) ;) (expression_statement "puVar13 = puVar15;" (assignment_expression "puVar13 = puVar15" identifier = identifier) ;) (do_statement "do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);" do (compound_statement "{\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    }" { (if_statement "if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }" if (parenthesized_expression "(**(char **)*puVar13 == cVar1)" ( (binary_expression "**(char **)*puVar13 == cVar1" (pointer_expression "**(char **)*puVar13" * (pointer_expression "*(char **)*puVar13" * (cast_expression "(char **)*puVar13" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar13" * identifier)))) == identifier) )) (compound_statement "{\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }" { (expression_statement "iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(char **)*puVar13,pcVar5)" ( (pointer_expression "*(char **)*puVar13" * (cast_expression "(char **)*puVar13" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar13" * identifier))) , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);" (assignment_expression "iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0)" identifier = (call_expression "(*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0)" (parenthesized_expression "(*(code *)PTR_mailstat_00145350)" ( (pointer_expression "*(code *)PTR_mailstat_00145350" * (cast_expression "(code *)PTR_mailstat_00145350" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,auStack_d0)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }" { (expression_statement "iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);" (assignment_expression "iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" * (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" ( (binary_expression "*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) + (binary_expression "(int)piVar10 * 4" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ))))) ;) (expression_statement "*(undefined4 *)(iVar6 + 8) = local_90;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = local_90" (pointer_expression "*(undefined4 *)(iVar6 + 8)" * (cast_expression "(undefined4 *)(iVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar6 + 0xc) = local_88;" (assignment_expression "*(undefined4 *)(iVar6 + 0xc) = local_88" (pointer_expression "*(undefined4 *)(iVar6 + 0xc)" * (cast_expression "(undefined4 *)(iVar6 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar6 + 0x14) = local_94;" (assignment_expression "*(undefined4 *)(iVar6 + 0x14) = local_94" (pointer_expression "*(undefined4 *)(iVar6 + 0x14)" * (cast_expression "(undefined4 *)(iVar6 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar6 + 0x10) = local_98;" (assignment_expression "*(undefined4 *)(iVar6 + 0x10) = local_98" (pointer_expression "*(undefined4 *)(iVar6 + 0x10)" * (cast_expression "(undefined4 *)(iVar6 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;" (assignment_expression "*(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1" (pointer_expression "*(uint *)(iVar6 + 0x18)" * (cast_expression "(uint *)(iVar6 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0x18) | 1" (pointer_expression "*(uint *)(iVar6 + 0x18)" * (cast_expression "(uint *)(iVar6 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "(*(code *)PTR_free_001464fc)(pcVar5);" (call_expression "(*(code *)PTR_free_001464fc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier ))) ;) (expression_statement "piVar12 = piVar10;" (assignment_expression "piVar12 = piVar10" identifier = identifier) ;) (goto_statement "goto LAB_000869e8;" goto statement_identifier ;) })) })) (expression_statement "piVar10 = (int *)((int)piVar10 + 1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + 1)" identifier = (cast_expression "(int *)((int)piVar10 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar10 + 1)" ( (binary_expression "(int)piVar10 + 1" (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar10 != piVar12)" ( (binary_expression "piVar10 != piVar12" identifier != identifier) )) ;) }))) (expression_statement "puVar2 = PTR_xrealloc_0014473c;" (assignment_expression "puVar2 = PTR_xrealloc_0014473c" identifier = identifier) ;) (expression_statement "iVar11 = ((int)piVar12 + 1) * 4;" (assignment_expression "iVar11 = ((int)piVar12 + 1) * 4" identifier = (binary_expression "((int)piVar12 + 1) * 4" (parenthesized_expression "((int)piVar12 + 1)" ( (binary_expression "(int)piVar12 + 1" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )) * number_literal)) ;) (expression_statement "*(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;" (assignment_expression "*(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1" (pointer_expression "*(int *)(puVar14 + -0x6fcc)" * (cast_expression "(int *)(puVar14 + -0x6fcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x6fcc)" ( (binary_expression "puVar14 + -0x6fcc" identifier + number_literal) )))) = (binary_expression "(int)piVar12 + 1" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "iVar6 = (*(code *)puVar2)(puVar15,iVar11);" (assignment_expression "iVar6 = (*(code *)puVar2)(puVar15,iVar11)" identifier = (call_expression "(*(code *)puVar2)(puVar15,iVar11)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar15,iVar11)" ( identifier , identifier )))) ;) (expression_statement "iVar11 = iVar11 + -4;" (assignment_expression "iVar11 = iVar11 + -4" identifier = (binary_expression "iVar11 + -4" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar3 + -0x6fc8) = iVar6;" (assignment_expression "*(int *)(puVar3 + -0x6fc8) = iVar6" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);" (assignment_expression "puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x20)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "*puVar15 = pcVar5;" (assignment_expression "*puVar15 = pcVar5" (pointer_expression "*puVar15" * identifier) = identifier) ;) (if_statement "if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);" (assignment_expression "uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )))) ;) (expression_statement "param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);" (assignment_expression "param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar8,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,param_2)" ( identifier , identifier )))) ;) })) (expression_statement "puVar14 = PTR___environ_00145154;" (assignment_expression "puVar14 = PTR___environ_00145154" identifier = identifier) ;) (expression_statement "puVar15[1] = param_2;" (assignment_expression "puVar15[1] = param_2" (subscript_expression "puVar15[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar15[6] = 0;" (assignment_expression "puVar15[6] = 0" (subscript_expression "puVar15[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(iVar6 + iVar11) = puVar15;" (assignment_expression "*(undefined4 **)(iVar6 + iVar11) = puVar15" (pointer_expression "*(undefined4 **)(iVar6 + iVar11)" * (cast_expression "(undefined4 **)(iVar6 + iVar11)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar11)" ( (binary_expression "iVar6 + iVar11" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)(puVar14 + -0x6fd0);" (assignment_expression "iVar6 = *(int *)(puVar14 + -0x6fd0)" identifier = (pointer_expression "*(int *)(puVar14 + -0x6fd0)" * (cast_expression "(int *)(puVar14 + -0x6fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + -0x6fd0)" ( (binary_expression "puVar14 + -0x6fd0" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }" { (expression_statement "iVar6 = *(int *)PTR_shell_start_time_00144710;" (assignment_expression "iVar6 = *(int *)PTR_shell_start_time_00144710" identifier = (pointer_expression "*(int *)PTR_shell_start_time_00144710" * (cast_expression "(int *)PTR_shell_start_time_00144710" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) (expression_statement "piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);" (assignment_expression "piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11)" identifier = (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + iVar11)" ( (binary_expression "*(int *)(puVar3 + -0x6fc8) + iVar11" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" * (cast_expression "(int *)(puVar3 + -0x6fc8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x6fc8)" ( (binary_expression "puVar3 + -0x6fc8" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "iVar11 = *piVar10;" (assignment_expression "iVar11 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x14)" * (cast_expression "(undefined4 *)(iVar11 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x10)" * (cast_expression "(undefined4 *)(iVar11 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar11 + 0xc) = iVar6;" (assignment_expression "*(int *)(iVar11 + 0xc) = iVar6" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x18)" * (cast_expression "(undefined4 *)(iVar11 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x18)" ( (binary_expression "iVar11 + 0x18" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar4)" ( (binary_expression "local_2c == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar12;\n  }" { (return_statement "return piVar12;" return identifier ;) }))) (expression_statement "pcVar16 = time_to_check_mail;" (assignment_expression "pcVar16 = time_to_check_mail" identifier = identifier) ;) (expression_statement "puVar14 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar14 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar12 = *(int **)(puVar14 + 0xbfaa0);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0xbfaa0)" identifier = (pointer_expression "*(int **)(puVar14 + 0xbfaa0)" * (cast_expression "(int **)(puVar14 + 0xbfaa0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbfaa0)" ( (binary_expression "puVar14 + 0xbfaa0" identifier + number_literal) ))))) ;) (expression_statement "iStack_fc = *piVar12;" (assignment_expression "iStack_fc = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "piStack_f8 = piVar10;" (assignment_expression "piStack_f8 = piVar10" identifier = identifier) ;) (expression_statement "pcStack_f4 = pcVar16;" (assignment_expression "pcStack_f4 = pcVar16" identifier = identifier) ;) (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" identifier = (call_expression "(**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" (parenthesized_expression "(**(code **)(puVar14 + 0xbdd54))" ( (pointer_expression "**(code **)(puVar14 + 0xbdd54)" * (pointer_expression "*(code **)(puVar14 + 0xbdd54)" * (cast_expression "(code **)(puVar14 + 0xbdd54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbdd54)" ( (binary_expression "puVar14 + 0xbdd54" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" ( (binary_expression "*(int *)(puVar14 + 0xbdb3c) + 0x718c" (pointer_expression "*(int *)(puVar14 + 0xbdb3c)" * (cast_expression "(int *)(puVar14 + 0xbdb3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0xbdb3c)" ( (binary_expression "puVar14 + 0xbdb3c" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" { (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108)" identifier = (call_expression "(**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108)" (parenthesized_expression "(**(code **)(puVar14 + 0xbdf94))" ( (pointer_expression "**(code **)(puVar14 + 0xbdf94)" * (pointer_expression "*(code **)(puVar14 + 0xbdf94)" * (cast_expression "(code **)(puVar14 + 0xbdf94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbdf94)" ( (binary_expression "puVar14 + 0xbdf94" identifier + number_literal) ))))) )) (argument_list "(iVar6,&iStack_108)" ( identifier , (pointer_expression "&iStack_108" & identifier) )))) ;) (if_statement "if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }" if (parenthesized_expression "((iVar6 != 0) && (-1 < iStack_108))" ( (binary_expression "(iVar6 != 0) && (-1 < iStack_108)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(-1 < iStack_108)" ( (binary_expression "-1 < iStack_108" number_literal < identifier) ))) )) (compound_statement "{\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }" { (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbfa84))(0)" identifier = (call_expression "(**(code **)(puVar14 + 0xbfa84))(0)" (parenthesized_expression "(**(code **)(puVar14 + 0xbfa84))" ( (pointer_expression "**(code **)(puVar14 + 0xbfa84)" * (pointer_expression "*(code **)(puVar14 + 0xbfa84)" * (cast_expression "(code **)(puVar14 + 0xbfa84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbfa84)" ( (binary_expression "puVar14 + 0xbfa84" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" if (parenthesized_expression "(iStack_108 == 0 && uStack_104 == 0)" ( (binary_expression "iStack_108 == 0 && uStack_104 == 0" (binary_expression "iStack_108 == 0" identifier == number_literal) && (binary_expression "uStack_104 == 0" identifier == number_literal)) )) (compound_statement "{\n        piVar10 = (int *)0x1;\n      }" { (expression_statement "piVar10 = (int *)0x1;" (assignment_expression "piVar10 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" else (compound_statement "{\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" { (expression_statement "uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);" (assignment_expression "uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" identifier = (binary_expression "iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" identifier - (pointer_expression "*(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" * (cast_expression "(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" ( (binary_expression "*(int *)(puVar14 + 0xbe718) + -0x6fd0" (pointer_expression "*(int *)(puVar14 + 0xbe718)" * (cast_expression "(int *)(puVar14 + 0xbe718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar14 + 0xbe718)" ( (binary_expression "puVar14 + 0xbe718" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "iVar6 = (int)uVar9 >> 0x1f;" (assignment_expression "iVar6 = (int)uVar9 >> 0x1f" identifier = (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }" if (parenthesized_expression "((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104))))" ( (binary_expression "(iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))" (parenthesized_expression "(iVar6 < iStack_108)" ( (binary_expression "iVar6 < iStack_108" identifier < identifier) )) || (parenthesized_expression "((iStack_108 == iVar6 && (uVar9 < uStack_104)))" ( (parenthesized_expression "(iStack_108 == iVar6 && (uVar9 < uStack_104))" ( (binary_expression "iStack_108 == iVar6 && (uVar9 < uStack_104)" (binary_expression "iStack_108 == iVar6" identifier == identifier) && (parenthesized_expression "(uVar9 < uStack_104)" ( (binary_expression "uVar9 < uStack_104" identifier < identifier) ))) )) ))) )) (compound_statement "{\n          piVar10 = (int *)0x0;\n        }" { (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          piVar10 = (int *)0x1;\n        }" else (compound_statement "{\n          piVar10 = (int *)0x1;\n        }" { (expression_statement "piVar10 = (int *)0x1;" (assignment_expression "piVar10 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) }))) (goto_statement "goto LAB_00086af0;" goto statement_identifier ;) })) })) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }" statement_identifier : (if_statement "if (iStack_fc == *piVar12) {\n    return piVar10;\n  }" if (parenthesized_expression "(iStack_fc == *piVar12)" ( (binary_expression "iStack_fc == *piVar12" identifier == (pointer_expression "*piVar12" * identifier)) )) (compound_statement "{\n    return piVar10;\n  }" { (return_statement "return piVar10;" return identifier ;) }))) (expression_statement "pcVar16 = *(code **)(puVar14 + 0xbfa4c);" (assignment_expression "pcVar16 = *(code **)(puVar14 + 0xbfa4c)" identifier = (pointer_expression "*(code **)(puVar14 + 0xbfa4c)" * (cast_expression "(code **)(puVar14 + 0xbfa4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar14 + 0xbfa4c)" ( (binary_expression "puVar14 + 0xbfa4c" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar16)();" (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);" (assignment_expression "piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0)" identifier = (cast_expression "(int *)(**(code **)(pcVar16 + 0xbf988))(0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar16 + 0xbf988))(0)" (parenthesized_expression "(**(code **)(pcVar16 + 0xbf988))" ( (pointer_expression "**(code **)(pcVar16 + 0xbf988)" * (pointer_expression "*(code **)(pcVar16 + 0xbf988)" * (cast_expression "(code **)(pcVar16 + 0xbf988)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar16 + 0xbf988)" ( (binary_expression "pcVar16 + 0xbf988" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;" (assignment_expression "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12" (pointer_expression "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" * (cast_expression "(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" ( (binary_expression "*(int *)(pcVar16 + 0xbe61c) + -0x6fd0" (pointer_expression "*(int *)(pcVar16 + 0xbe61c)" * (cast_expression "(int *)(pcVar16 + 0xbe61c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar16 + 0xbe61c)" ( (binary_expression "pcVar16 + 0xbe61c" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return piVar12;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = 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 (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression * IDENT)))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression * IDENT))) , IDENT )))) ;) (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 ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | 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) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )) * LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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 ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (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 ( IDENT )))) ;) (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = 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 ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) }))) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return 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) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_000867f0(undefined4 param_1,int param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}" (primitive_type "int") (pointer_declarator "* FUN_000867f0(undefined4 param_1,int param_2)" (* "*") (function_declarator "FUN_000867f0(undefined4 param_1,int param_2)" (identifier "FUN_000867f0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  char *pcVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined *puVar14;\n  undefined4 *puVar15;\n  code *pcVar16;\n  int iStack_108;\n  uint uStack_104;\n  int iStack_fc;\n  int *piStack_f8;\n  code *pcStack_f4;\n  undefined1 auStack_d0 [56];\n  undefined4 local_98;\n  undefined4 local_94;\n  undefined4 local_90;\n  undefined4 local_88;\n  int local_2c;\n  \n  puVar4 = PTR___stack_chk_guard_001464dc;\n  puVar14 = PTR___environ_00145154;\n  local_2c = *(int *)PTR___stack_chk_guard_001464dc;\n  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();\n  puVar3 = PTR___environ_00145154;\n  piVar12 = *(int **)(puVar14 + -0x6fcc);\n  if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }\n  puVar2 = PTR_xrealloc_0014473c;\n  iVar11 = ((int)piVar12 + 1) * 4;\n  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;\n  iVar6 = (*(code *)puVar2)(puVar15,iVar11);\n  iVar11 = iVar11 + -4;\n  *(int *)(puVar3 + -0x6fc8) = iVar6;\n  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);\n  *puVar15 = pcVar5;\n  if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }\n  puVar14 = PTR___environ_00145154;\n  puVar15[1] = param_2;\n  puVar15[6] = 0;\n  *(undefined4 **)(iVar6 + iVar11) = puVar15;\n  iVar6 = *(int *)(puVar14 + -0x6fd0);\n  if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }\n  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);\n  iVar11 = *piVar10;\n  *(undefined4 *)(iVar11 + 0x14) = 0;\n  *(undefined4 *)(iVar11 + 0x10) = 0;\n  *(int *)(iVar11 + 0xc) = iVar6;\n  *(int *)(iVar11 + 8) = iVar6;\n  *(undefined4 *)(iVar11 + 0x18) = 0;\nLAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }\n  pcVar16 = time_to_check_mail;\n  puVar14 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  piVar12 = *(int **)(puVar14 + 0xbfaa0);\n  iStack_fc = *piVar12;\n  piStack_f8 = piVar10;\n  pcStack_f4 = pcVar16;\n  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);\n  if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }\n  piVar10 = (int *)0x0;\nLAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }\n  pcVar16 = *(code **)(puVar14 + 0xbfa4c);\n  (*pcVar16)();\n  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);\n  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;\n  return piVar12;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (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 "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "undefined4 *puVar13;" (type_identifier "undefined4") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "undefined *puVar14;" (type_identifier "undefined") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "undefined4 *puVar15;" (type_identifier "undefined4") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "code *pcVar16;" (type_identifier "code") (pointer_declarator "*pcVar16" (* "*") (identifier "pcVar16")) (; ";")) (declaration "int iStack_108;" (primitive_type "int") (identifier "iStack_108") (; ";")) (declaration "uint uStack_104;" (type_identifier "uint") (identifier "uStack_104") (; ";")) (declaration "int iStack_fc;" (primitive_type "int") (identifier "iStack_fc") (; ";")) (declaration "int *piStack_f8;" (primitive_type "int") (pointer_declarator "*piStack_f8" (* "*") (identifier "piStack_f8")) (; ";")) (declaration "code *pcStack_f4;" (type_identifier "code") (pointer_declarator "*pcStack_f4" (* "*") (identifier "pcStack_f4")) (; ";")) (declaration "undefined1 auStack_d0 [56];" (type_identifier "undefined1") (array_declarator "auStack_d0 [56]" (identifier "auStack_d0") ([ "[") (number_literal "56") (] "]")) (; ";")) (declaration "undefined4 local_98;" (type_identifier "undefined4") (identifier "local_98") (; ";")) (declaration "undefined4 local_94;" (type_identifier "undefined4") (identifier "local_94") (; ";")) (declaration "undefined4 local_90;" (type_identifier "undefined4") (identifier "local_90") (; ";")) (declaration "undefined4 local_88;" (type_identifier "undefined4") (identifier "local_88") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar4 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar4 = PTR___stack_chk_guard_001464dc" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_guard_001464dc")) (; ";")) (expression_statement "puVar14 = PTR___environ_00145154;" (assignment_expression "puVar14 = PTR___environ_00145154" (identifier "puVar14") (= "=") (identifier "PTR___environ_00145154")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_001464dc" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_001464dc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_001464dc")))) (; ";")) (expression_statement "pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)()" (identifier "pcVar5") (= "=") (cast_expression "(char *)(*(code *)PTR_full_pathname_0014509c)()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_full_pathname_0014509c)()" (parenthesized_expression "(*(code *)PTR_full_pathname_0014509c)" (( "(") (pointer_expression "*(code *)PTR_full_pathname_0014509c" (* "*") (cast_expression "(code *)PTR_full_pathname_0014509c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_full_pathname_0014509c"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar3 = PTR___environ_00145154;" (assignment_expression "puVar3 = PTR___environ_00145154" (identifier "puVar3") (= "=") (identifier "PTR___environ_00145154")) (; ";")) (expression_statement "piVar12 = *(int **)(puVar14 + -0x6fcc);" (assignment_expression "piVar12 = *(int **)(puVar14 + -0x6fcc)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(puVar14 + -0x6fcc)" (* "*") (cast_expression "(int **)(puVar14 + -0x6fcc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + -0x6fcc)" (( "(") (binary_expression "puVar14 + -0x6fcc" (identifier "puVar14") (+ "+") (number_literal "-0x6fcc")) () ")"))))) (; ";")) (if_statement "if ((int)piVar12 < 1) {\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }\n  else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" (if "if") (parenthesized_expression "((int)piVar12 < 1)" (( "(") (binary_expression "(int)piVar12 < 1" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n  }" ({ "{") (expression_statement "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" (identifier "puVar15") (= "=") (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" (* "*") (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" (( "(") (binary_expression "PTR___environ_00145154 + -0x6fc8" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x6fc8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" (else "else") (compound_statement "{\n    cVar1 = *pcVar5;\n    piVar10 = (int *)0x0;\n    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);\n    puVar13 = puVar15;\n    do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);\n  }" ({ "{") (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" (identifier "cVar1") (= "=") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5"))) (; ";")) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" (identifier "piVar10") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);" (assignment_expression "puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" (identifier "puVar15") (= "=") (pointer_expression "*(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" (* "*") (cast_expression "(undefined4 **)(PTR___environ_00145154 + -0x6fc8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x6fc8)" (( "(") (binary_expression "PTR___environ_00145154 + -0x6fc8" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x6fc8")) () ")"))))) (; ";")) (expression_statement "puVar13 = puVar15;" (assignment_expression "puVar13 = puVar15" (identifier "puVar13") (= "=") (identifier "puVar15")) (; ";")) (do_statement "do {\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    } while (piVar10 != piVar12);" (do "do") (compound_statement "{\n      if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }\n      piVar10 = (int *)((int)piVar10 + 1);\n      puVar13 = puVar13 + 1;\n    }" ({ "{") (if_statement "if (**(char **)*puVar13 == cVar1) {\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }" (if "if") (parenthesized_expression "(**(char **)*puVar13 == cVar1)" (( "(") (binary_expression "**(char **)*puVar13 == cVar1" (pointer_expression "**(char **)*puVar13" (* "*") (pointer_expression "*(char **)*puVar13" (* "*") (cast_expression "(char **)*puVar13" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))))) (== "==") (identifier "cVar1")) () ")")) (compound_statement "{\n        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }\n      }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);" (assignment_expression "iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00146548" (* "*") (cast_expression "(code *)PTR_strcmp_00146548" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00146548"))) () ")")) (argument_list "(*(char **)*puVar13,pcVar5)" (( "(") (pointer_expression "*(char **)*puVar13" (* "*") (cast_expression "(char **)*puVar13" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) (, ",") (identifier "pcVar5") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);\n          if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }\n          (*(code *)PTR_free_001464fc)(pcVar5);\n          piVar12 = piVar10;\n          goto LAB_000869e8;\n        }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);" (assignment_expression "iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0)" (parenthesized_expression "(*(code *)PTR_mailstat_00145350)" (( "(") (pointer_expression "*(code *)PTR_mailstat_00145350" (* "*") (cast_expression "(code *)PTR_mailstat_00145350" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mailstat_00145350"))) () ")")) (argument_list "(pcVar5,auStack_d0)" (( "(") (identifier "pcVar5") (, ",") (identifier "auStack_d0") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);\n            *(undefined4 *)(iVar6 + 8) = local_90;\n            *(undefined4 *)(iVar6 + 0xc) = local_88;\n            *(undefined4 *)(iVar6 + 0x14) = local_94;\n            *(undefined4 *)(iVar6 + 0x10) = local_98;\n            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;\n          }" ({ "{") (expression_statement "iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);" (assignment_expression "iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" (* "*") (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4)" (( "(") (binary_expression "*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" (* "*") (cast_expression "(int *)(puVar3 + -0x6fc8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + -0x6fc8)" (( "(") (binary_expression "puVar3 + -0x6fc8" (identifier "puVar3") (+ "+") (number_literal "-0x6fc8")) () ")")))) (+ "+") (binary_expression "(int)piVar10 * 4" (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 8) = local_90;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = local_90" (pointer_expression "*(undefined4 *)(iVar6 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "local_90")) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 0xc) = local_88;" (assignment_expression "*(undefined4 *)(iVar6 + 0xc) = local_88" (pointer_expression "*(undefined4 *)(iVar6 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "local_88")) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 0x14) = local_94;" (assignment_expression "*(undefined4 *)(iVar6 + 0x14) = local_94" (pointer_expression "*(undefined4 *)(iVar6 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "local_94")) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 0x10) = local_98;" (assignment_expression "*(undefined4 *)(iVar6 + 0x10) = local_98" (pointer_expression "*(undefined4 *)(iVar6 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "local_98")) (; ";")) (expression_statement "*(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;" (assignment_expression "*(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1" (pointer_expression "*(uint *)(iVar6 + 0x18)" (* "*") (cast_expression "(uint *)(iVar6 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar6 + 0x18) | 1" (pointer_expression "*(uint *)(iVar6 + 0x18)" (* "*") (cast_expression "(uint *)(iVar6 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_001464fc)(pcVar5);" (call_expression "(*(code *)PTR_free_001464fc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")"))) (; ";")) (expression_statement "piVar12 = piVar10;" (assignment_expression "piVar12 = piVar10" (identifier "piVar12") (= "=") (identifier "piVar10")) (; ";")) (goto_statement "goto LAB_000869e8;" (goto "goto") (statement_identifier "LAB_000869e8") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar10 = (int *)((int)piVar10 + 1);" (assignment_expression "piVar10 = (int *)((int)piVar10 + 1)" (identifier "piVar10") (= "=") (cast_expression "(int *)((int)piVar10 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar10 + 1)" (( "(") (binary_expression "(int)piVar10 + 1" (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" (identifier "puVar13") (= "=") (binary_expression "puVar13 + 1" (identifier "puVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar10 != piVar12)" (( "(") (binary_expression "piVar10 != piVar12" (identifier "piVar10") (!= "!=") (identifier "piVar12")) () ")")) (; ";")) (} "}")))) (expression_statement "puVar2 = PTR_xrealloc_0014473c;" (assignment_expression "puVar2 = PTR_xrealloc_0014473c" (identifier "puVar2") (= "=") (identifier "PTR_xrealloc_0014473c")) (; ";")) (expression_statement "iVar11 = ((int)piVar12 + 1) * 4;" (assignment_expression "iVar11 = ((int)piVar12 + 1) * 4" (identifier "iVar11") (= "=") (binary_expression "((int)piVar12 + 1) * 4" (parenthesized_expression "((int)piVar12 + 1)" (( "(") (binary_expression "(int)piVar12 + 1" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) (; ";")) (expression_statement "*(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;" (assignment_expression "*(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1" (pointer_expression "*(int *)(puVar14 + -0x6fcc)" (* "*") (cast_expression "(int *)(puVar14 + -0x6fcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x6fcc)" (( "(") (binary_expression "puVar14 + -0x6fcc" (identifier "puVar14") (+ "+") (number_literal "-0x6fcc")) () ")")))) (= "=") (binary_expression "(int)piVar12 + 1" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = (*(code *)puVar2)(puVar15,iVar11);" (assignment_expression "iVar6 = (*(code *)puVar2)(puVar15,iVar11)" (identifier "iVar6") (= "=") (call_expression "(*(code *)puVar2)(puVar15,iVar11)" (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 "(puVar15,iVar11)" (( "(") (identifier "puVar15") (, ",") (identifier "iVar11") () ")")))) (; ";")) (expression_statement "iVar11 = iVar11 + -4;" (assignment_expression "iVar11 = iVar11 + -4" (identifier "iVar11") (= "=") (binary_expression "iVar11 + -4" (identifier "iVar11") (+ "+") (number_literal "-4"))) (; ";")) (expression_statement "*(int *)(puVar3 + -0x6fc8) = iVar6;" (assignment_expression "*(int *)(puVar3 + -0x6fc8) = iVar6" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" (* "*") (cast_expression "(int *)(puVar3 + -0x6fc8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + -0x6fc8)" (( "(") (binary_expression "puVar3 + -0x6fc8" (identifier "puVar3") (+ "+") (number_literal "-0x6fc8")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);" (assignment_expression "puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" (identifier "puVar15") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x20)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")"))))) (; ";")) (expression_statement "*puVar15 = pcVar5;" (assignment_expression "*puVar15 = pcVar5" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "pcVar5")) (; ";")) (if_statement "if (param_2 != 0) {\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);\n    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);\n  }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)(param_2)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);" (assignment_expression "uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" (identifier "uVar8") (= "=") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);" (assignment_expression "param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2)" (identifier "param_2") (= "=") (call_expression "(*(code *)PTR_strcpy_00146418)(uVar8,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(uVar8,param_2)" (( "(") (identifier "uVar8") (, ",") (identifier "param_2") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar14 = PTR___environ_00145154;" (assignment_expression "puVar14 = PTR___environ_00145154" (identifier "puVar14") (= "=") (identifier "PTR___environ_00145154")) (; ";")) (expression_statement "puVar15[1] = param_2;" (assignment_expression "puVar15[1] = param_2" (subscript_expression "puVar15[1]" (identifier "puVar15") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar15[6] = 0;" (assignment_expression "puVar15[6] = 0" (subscript_expression "puVar15[6]" (identifier "puVar15") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 **)(iVar6 + iVar11) = puVar15;" (assignment_expression "*(undefined4 **)(iVar6 + iVar11) = puVar15" (pointer_expression "*(undefined4 **)(iVar6 + iVar11)" (* "*") (cast_expression "(undefined4 **)(iVar6 + iVar11)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + iVar11)" (( "(") (binary_expression "iVar6 + iVar11" (identifier "iVar6") (+ "+") (identifier "iVar11")) () ")")))) (= "=") (identifier "puVar15")) (; ";")) (expression_statement "iVar6 = *(int *)(puVar14 + -0x6fd0);" (assignment_expression "iVar6 = *(int *)(puVar14 + -0x6fd0)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar14 + -0x6fd0)" (* "*") (cast_expression "(int *)(puVar14 + -0x6fd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + -0x6fd0)" (( "(") (binary_expression "puVar14 + -0x6fd0" (identifier "puVar14") (+ "+") (number_literal "-0x6fd0")) () ")"))))) (; ";")) (if_statement "if (iVar6 == 0) {\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = *(int *)PTR_shell_start_time_00144710;\n  }" ({ "{") (expression_statement "iVar6 = *(int *)PTR_shell_start_time_00144710;" (assignment_expression "iVar6 = *(int *)PTR_shell_start_time_00144710" (identifier "iVar6") (= "=") (pointer_expression "*(int *)PTR_shell_start_time_00144710" (* "*") (cast_expression "(int *)PTR_shell_start_time_00144710" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_shell_start_time_00144710")))) (; ";")) (} "}"))) (expression_statement "piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);" (assignment_expression "piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11)" (identifier "piVar10") (= "=") (cast_expression "(int *)(*(int *)(puVar3 + -0x6fc8) + iVar11)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar3 + -0x6fc8) + iVar11)" (( "(") (binary_expression "*(int *)(puVar3 + -0x6fc8) + iVar11" (pointer_expression "*(int *)(puVar3 + -0x6fc8)" (* "*") (cast_expression "(int *)(puVar3 + -0x6fc8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + -0x6fc8)" (( "(") (binary_expression "puVar3 + -0x6fc8" (identifier "puVar3") (+ "+") (number_literal "-0x6fc8")) () ")")))) (+ "+") (identifier "iVar11")) () ")")))) (; ";")) (expression_statement "iVar11 = *piVar10;" (assignment_expression "iVar11 = *piVar10" (identifier "iVar11") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (expression_statement "*(undefined4 *)(iVar11 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x14)" (( "(") (binary_expression "iVar11 + 0x14" (identifier "iVar11") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar11 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x10)" (( "(") (binary_expression "iVar11 + 0x10" (identifier "iVar11") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar11 + 0xc) = iVar6;" (assignment_expression "*(int *)(iVar11 + 0xc) = iVar6" (pointer_expression "*(int *)(iVar11 + 0xc)" (* "*") (cast_expression "(int *)(iVar11 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(int *)(iVar11 + 8) = iVar6;" (assignment_expression "*(int *)(iVar11 + 8) = iVar6" (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined4 *)(iVar11 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x18)" (( "(") (binary_expression "iVar11 + 0x18" (identifier "iVar11") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000869e8:\n  if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }" (statement_identifier "LAB_000869e8") (: ":") (if_statement "if (local_2c == *(int *)puVar4) {\n    return piVar12;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar4)" (( "(") (binary_expression "local_2c == *(int *)puVar4" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar4" (* "*") (cast_expression "(int *)puVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4")))) () ")")) (compound_statement "{\n    return piVar12;\n  }" ({ "{") (return_statement "return piVar12;" (return "return") (identifier "piVar12") (; ";")) (} "}")))) (expression_statement "pcVar16 = time_to_check_mail;" (assignment_expression "pcVar16 = time_to_check_mail" (identifier "pcVar16") (= "=") (identifier "time_to_check_mail")) (; ";")) (expression_statement "puVar14 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar14 = PTR___stack_chk_fail_00146488" (identifier "puVar14") (= "=") (identifier "PTR___stack_chk_fail_00146488")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00146488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00146488"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar12 = *(int **)(puVar14 + 0xbfaa0);" (assignment_expression "piVar12 = *(int **)(puVar14 + 0xbfaa0)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(puVar14 + 0xbfaa0)" (* "*") (cast_expression "(int **)(puVar14 + 0xbfaa0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0xbfaa0)" (( "(") (binary_expression "puVar14 + 0xbfaa0" (identifier "puVar14") (+ "+") (number_literal "0xbfaa0")) () ")"))))) (; ";")) (expression_statement "iStack_fc = *piVar12;" (assignment_expression "iStack_fc = *piVar12" (identifier "iStack_fc") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (expression_statement "piStack_f8 = piVar10;" (assignment_expression "piStack_f8 = piVar10" (identifier "piStack_f8") (= "=") (identifier "piVar10")) (; ";")) (expression_statement "pcStack_f4 = pcVar16;" (assignment_expression "pcStack_f4 = pcVar16" (identifier "pcStack_f4") (= "=") (identifier "pcVar16")) (; ";")) (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" (parenthesized_expression "(**(code **)(puVar14 + 0xbdd54))" (( "(") (pointer_expression "**(code **)(puVar14 + 0xbdd54)" (* "*") (pointer_expression "*(code **)(puVar14 + 0xbdd54)" (* "*") (cast_expression "(code **)(puVar14 + 0xbdd54)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0xbdd54)" (( "(") (binary_expression "puVar14 + 0xbdd54" (identifier "puVar14") (+ "+") (number_literal "0xbdd54")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar14 + 0xbdb3c) + 0x718c)" (( "(") (binary_expression "*(int *)(puVar14 + 0xbdb3c) + 0x718c" (pointer_expression "*(int *)(puVar14 + 0xbdb3c)" (* "*") (cast_expression "(int *)(puVar14 + 0xbdb3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0xbdb3c)" (( "(") (binary_expression "puVar14 + 0xbdb3c" (identifier "puVar14") (+ "+") (number_literal "0xbdb3c")) () ")")))) (+ "+") (number_literal "0x718c")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);\n    if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }\n  }" ({ "{") (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108)" (parenthesized_expression "(**(code **)(puVar14 + 0xbdf94))" (( "(") (pointer_expression "**(code **)(puVar14 + 0xbdf94)" (* "*") (pointer_expression "*(code **)(puVar14 + 0xbdf94)" (* "*") (cast_expression "(code **)(puVar14 + 0xbdf94)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0xbdf94)" (( "(") (binary_expression "puVar14 + 0xbdf94" (identifier "puVar14") (+ "+") (number_literal "0xbdf94")) () ")"))))) () ")")) (argument_list "(iVar6,&iStack_108)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&iStack_108" (& "&") (identifier "iStack_108")) () ")")))) (; ";")) (if_statement "if ((iVar6 != 0) && (-1 < iStack_108)) {\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }" (if "if") (parenthesized_expression "((iVar6 != 0) && (-1 < iStack_108))" (( "(") (binary_expression "(iVar6 != 0) && (-1 < iStack_108)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(-1 < iStack_108)" (( "(") (binary_expression "-1 < iStack_108" (number_literal "-1") (< "<") (identifier "iStack_108")) () ")"))) () ")")) (compound_statement "{\n      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);\n      if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }\n      goto LAB_00086af0;\n    }" ({ "{") (expression_statement "iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);" (assignment_expression "iVar6 = (**(code **)(puVar14 + 0xbfa84))(0)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar14 + 0xbfa84))(0)" (parenthesized_expression "(**(code **)(puVar14 + 0xbfa84))" (( "(") (pointer_expression "**(code **)(puVar14 + 0xbfa84)" (* "*") (pointer_expression "*(code **)(puVar14 + 0xbfa84)" (* "*") (cast_expression "(code **)(puVar14 + 0xbfa84)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0xbfa84)" (( "(") (binary_expression "puVar14 + 0xbfa84" (identifier "puVar14") (+ "+") (number_literal "0xbfa84")) () ")"))))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iStack_108 == 0 && uStack_104 == 0) {\n        piVar10 = (int *)0x1;\n      }\n      else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" (if "if") (parenthesized_expression "(iStack_108 == 0 && uStack_104 == 0)" (( "(") (binary_expression "iStack_108 == 0 && uStack_104 == 0" (binary_expression "iStack_108 == 0" (identifier "iStack_108") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uStack_104 == 0" (identifier "uStack_104") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n        piVar10 = (int *)0x1;\n      }" ({ "{") (expression_statement "piVar10 = (int *)0x1;" (assignment_expression "piVar10 = (int *)0x1" (identifier "piVar10") (= "=") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (} "}")) (else_clause "else {\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" (else "else") (compound_statement "{\n        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);\n        iVar6 = (int)uVar9 >> 0x1f;\n        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }\n      }" ({ "{") (expression_statement "uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);" (assignment_expression "uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" (identifier "uVar9") (= "=") (binary_expression "iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" (identifier "iVar6") (- "-") (pointer_expression "*(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" (* "*") (cast_expression "(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar14 + 0xbe718) + -0x6fd0)" (( "(") (binary_expression "*(int *)(puVar14 + 0xbe718) + -0x6fd0" (pointer_expression "*(int *)(puVar14 + 0xbe718)" (* "*") (cast_expression "(int *)(puVar14 + 0xbe718)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar14 + 0xbe718)" (( "(") (binary_expression "puVar14 + 0xbe718" (identifier "puVar14") (+ "+") (number_literal "0xbe718")) () ")")))) (+ "+") (number_literal "-0x6fd0")) () ")")))))) (; ";")) (expression_statement "iVar6 = (int)uVar9 >> 0x1f;" (assignment_expression "iVar6 = (int)uVar9 >> 0x1f" (identifier "iVar6") (= "=") (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "0x1f"))) (; ";")) (if_statement "if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {\n          piVar10 = (int *)0x0;\n        }\n        else {\n          piVar10 = (int *)0x1;\n        }" (if "if") (parenthesized_expression "((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104))))" (( "(") (binary_expression "(iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))" (parenthesized_expression "(iVar6 < iStack_108)" (( "(") (binary_expression "iVar6 < iStack_108" (identifier "iVar6") (< "<") (identifier "iStack_108")) () ")")) (|| "||") (parenthesized_expression "((iStack_108 == iVar6 && (uVar9 < uStack_104)))" (( "(") (parenthesized_expression "(iStack_108 == iVar6 && (uVar9 < uStack_104))" (( "(") (binary_expression "iStack_108 == iVar6 && (uVar9 < uStack_104)" (binary_expression "iStack_108 == iVar6" (identifier "iStack_108") (== "==") (identifier "iVar6")) (&& "&&") (parenthesized_expression "(uVar9 < uStack_104)" (( "(") (binary_expression "uVar9 < uStack_104" (identifier "uVar9") (< "<") (identifier "uStack_104")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          piVar10 = (int *)0x0;\n        }" ({ "{") (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" (identifier "piVar10") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n          piVar10 = (int *)0x1;\n        }" (else "else") (compound_statement "{\n          piVar10 = (int *)0x1;\n        }" ({ "{") (expression_statement "piVar10 = (int *)0x1;" (assignment_expression "piVar10 = (int *)0x1" (identifier "piVar10") (= "=") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (} "}")))) (} "}")))) (goto_statement "goto LAB_00086af0;" (goto "goto") (statement_identifier "LAB_00086af0") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar10 = (int *)0x0;" (assignment_expression "piVar10 = (int *)0x0" (identifier "piVar10") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_00086af0:\n  if (iStack_fc == *piVar12) {\n    return piVar10;\n  }" (statement_identifier "LAB_00086af0") (: ":") (if_statement "if (iStack_fc == *piVar12) {\n    return piVar10;\n  }" (if "if") (parenthesized_expression "(iStack_fc == *piVar12)" (( "(") (binary_expression "iStack_fc == *piVar12" (identifier "iStack_fc") (== "==") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) () ")")) (compound_statement "{\n    return piVar10;\n  }" ({ "{") (return_statement "return piVar10;" (return "return") (identifier "piVar10") (; ";")) (} "}")))) (expression_statement "pcVar16 = *(code **)(puVar14 + 0xbfa4c);" (assignment_expression "pcVar16 = *(code **)(puVar14 + 0xbfa4c)" (identifier "pcVar16") (= "=") (pointer_expression "*(code **)(puVar14 + 0xbfa4c)" (* "*") (cast_expression "(code **)(puVar14 + 0xbfa4c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar14 + 0xbfa4c)" (( "(") (binary_expression "puVar14 + 0xbfa4c" (identifier "puVar14") (+ "+") (number_literal "0xbfa4c")) () ")"))))) (; ";")) (expression_statement "(*pcVar16)();" (call_expression "(*pcVar16)()" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);" (assignment_expression "piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0)" (identifier "piVar12") (= "=") (cast_expression "(int *)(**(code **)(pcVar16 + 0xbf988))(0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar16 + 0xbf988))(0)" (parenthesized_expression "(**(code **)(pcVar16 + 0xbf988))" (( "(") (pointer_expression "**(code **)(pcVar16 + 0xbf988)" (* "*") (pointer_expression "*(code **)(pcVar16 + 0xbf988)" (* "*") (cast_expression "(code **)(pcVar16 + 0xbf988)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar16 + 0xbf988)" (( "(") (binary_expression "pcVar16 + 0xbf988" (identifier "pcVar16") (+ "+") (number_literal "0xbf988")) () ")"))))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";")) (expression_statement "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;" (assignment_expression "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12" (pointer_expression "*(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" (* "*") (cast_expression "(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0)" (( "(") (binary_expression "*(int *)(pcVar16 + 0xbe61c) + -0x6fd0" (pointer_expression "*(int *)(pcVar16 + 0xbe61c)" (* "*") (cast_expression "(int *)(pcVar16 + 0xbe61c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar16 + 0xbe61c)" (( "(") (binary_expression "pcVar16 + 0xbe61c" (identifier "pcVar16") (+ "+") (number_literal "0xbe61c")) () ")")))) (+ "+") (number_literal "-0x6fd0")) () ")")))) (= "=") (identifier "piVar12")) (; ";")) (return_statement "return piVar12;" (return "return") (identifier "piVar12") (; ";")) (} "}")))

int function_1(char *file,char *var_10)

{
  char var_3;
  type_1 *puVar2;
  type_1 *var_5;
  type_1 *puVar4;
  int var_12;
  char *pcVar6;
  int var_4;
  int var_11;
  type_2 uVar9;
  type_3 var_15;
  int *var_7;
  int var_9;
  int *var_8;
  type_2 *var_6;
  type_1 *var_1;
  type_2 *puVar16;
  type_4 *var_17;
  int var_13;
  type_3 var_14;
  int var_16;
  int *piStack_f8;
  type_4 *pcStack_f4;
  type_5 finfo;
  
  puVar4 = PTR___stack_chk_guard_001464dc;
  var_1 = var_2;
  var_12 = *(int *)PTR___stack_chk_guard_001464dc;
  pcVar6 = (char *)(*(type_4 *)PTR_full_pathname_0014509c)();
  var_5 = var_2;
  var_8 = *(int **)(var_1 + -0x6fcc);
  if ((int)var_8 < 1) {
    puVar16 = *(type_2 **)(var_2 + -0x6fc8);
  }
  else {
    var_3 = *pcVar6;
    var_7 = (int *)0x0;
    puVar16 = *(type_2 **)(var_2 + -0x6fc8);
    var_6 = puVar16;
    do {
      if (**(char **)*var_6 == var_3) {
        var_4 = (*(type_4 *)PTR_strcmp_00146548)(*(char **)*var_6,pcVar6);
        if (var_4 == 0) {
          var_4 = (*(type_4 *)PTR_mailstat_00145350)(pcVar6,&finfo);
          if (var_4 == 0) {
            var_4 = *(int *)(*(int *)(var_5 + -0x6fc8) + (int)var_7 * 4);
            *(type_6 *)(var_4 + 8) = finfo.st_atim.tv_sec;
            *(type_6 *)(var_4 + 0xc) = finfo.st_mtim.tv_sec;
            *(type_2 *)(var_4 + 0x14) = finfo.st_size._4_4_;
            *(type_2 *)(var_4 + 0x10) = finfo.st_size._0_4_;
            *(type_3 *)(var_4 + 0x18) = *(type_3 *)(var_4 + 0x18) | 1;
          }
          (*(type_4 *)PTR_free_001464fc)(pcVar6);
          var_8 = var_7;
          goto LAB_000869e8;
        }
      }
      var_7 = (int *)((int)var_7 + 1);
      var_6 = var_6 + 1;
    } while (var_7 != var_8);
  }
  puVar2 = PTR_xrealloc_0014473c;
  var_9 = ((int)var_8 + 1) * 4;
  *(int *)(var_1 + -0x6fcc) = (int)var_8 + 1;
  var_4 = (*(type_4 *)puVar2)(puVar16,var_9);
  var_9 = var_9 + -4;
  *(int *)(var_5 + -0x6fc8) = var_4;
  puVar16 = (type_2 *)(*(type_4 *)PTR_xmalloc_001445b0)(0x20);
  *puVar16 = pcVar6;
  if (var_10 != (char *)0x0) {
    var_11 = (*(type_4 *)PTR_strlen_00146390)(var_10);
    uVar9 = (*(type_4 *)PTR_xmalloc_001445b0)(var_11 + 1);
    var_10 = (char *)(*(type_4 *)PTR_strcpy_00146418)(uVar9,var_10);
  }
  var_1 = var_2;
  puVar16[1] = var_10;
  puVar16[6] = 0;
  *(type_2 **)(var_4 + var_9) = puVar16;
  var_4 = *(int *)(var_1 + -0x6fd0);
  if (var_4 == 0) {
    var_4 = *(int *)PTR_shell_start_time_00144710;
  }
  var_7 = (int *)(*(int *)(var_5 + -0x6fc8) + var_9);
  var_9 = *var_7;
  *(type_2 *)(var_9 + 0x14) = 0;
  *(type_2 *)(var_9 + 0x10) = 0;
  *(int *)(var_9 + 0xc) = var_4;
  *(int *)(var_9 + 8) = var_4;
  *(type_2 *)(var_9 + 0x18) = 0;
LAB_000869e8:
  if (var_12 == *(int *)puVar4) {
    return (int)var_8;
  }
  var_17 = time_to_check_mail;
  var_1 = PTR___stack_chk_fail_00146488;
  (*(type_4 *)PTR___stack_chk_fail_00146488)();
  var_8 = *(int **)(var_1 + 0xbfaa0);
  var_16 = *var_8;
  piStack_f8 = var_7;
  pcStack_f4 = var_17;
  var_12 = (**(type_4 **)(var_1 + 0xbdd54))(*(int *)(var_1 + 0xbdb3c) + 0x718c);
  if (var_12 != 0) {
    var_12 = (**(type_4 **)(var_1 + 0xbdf94))(var_12,&var_13);
    if ((var_12 != 0) && (-1 < var_13)) {
      var_12 = (**(type_4 **)(var_1 + 0xbfa84))(0);
      if (var_13 == 0 && var_14 == 0) {
        var_12 = 1;
      }
      else {
        var_15 = var_12 - *(int *)(*(int *)(var_1 + 0xbe718) + -0x6fd0);
        var_12 = (int)var_15 >> 0x1f;
        if ((var_12 < var_13) || ((var_13 == var_12 && (var_15 < var_14)))) {
          var_12 = 0;
        }
        else {
          var_12 = 1;
        }
      }
      goto LAB_00086af0;
    }
  }
  var_12 = 0;
LAB_00086af0:
  if (var_16 == *var_8) {
    return var_12;
  }
  var_17 = *(type_4 **)(var_1 + 0xbfa4c);
  (*var_17)();
  var_12 = (**(type_4 **)(var_17 + 0xbf988))(0);
  *(int *)(*(int *)(var_17 + 0xbe61c) + -0x6fd0) = var_12;
  return var_12;
}


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

int * MASKED(undefined4 param_1,int param_2)

{
  char cVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  char *pcVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  uint uVar9;
  int *piVar10;
  int iVar11;
  int *piVar12;
  undefined4 *puVar13;
  undefined *puVar14;
  undefined4 *puVar15;
  code *pcVar16;
  int iStack_108;
  uint uStack_104;
  int iStack_fc;
  int *piStack_f8;
  code *pcStack_f4;
  undefined1 auStack_d0 [56];
  undefined4 local_98;
  undefined4 local_94;
  undefined4 local_90;
  undefined4 local_88;
  int local_2c;
  
  puVar4 = PTR___stack_chk_guard_001464dc;
  puVar14 = PTR___environ_00145154;
  local_2c = *(int *)PTR___stack_chk_guard_001464dc;
  pcVar5 = (char *)(*(code *)PTR_full_pathname_0014509c)();
  puVar3 = PTR___environ_00145154;
  piVar12 = *(int **)(puVar14 + -0x6fcc);
  if ((int)piVar12 < 1) {
    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);
  }
  else {
    cVar1 = *pcVar5;
    piVar10 = (int *)0x0;
    puVar15 = *(undefined4 **)(PTR___environ_00145154 + -0x6fc8);
    puVar13 = puVar15;
    do {
      if (**(char **)*puVar13 == cVar1) {
        iVar6 = (*(code *)PTR_strcmp_00146548)(*(char **)*puVar13,pcVar5);
        if (iVar6 == 0) {
          iVar6 = (*(code *)PTR_mailstat_00145350)(pcVar5,auStack_d0);
          if (iVar6 == 0) {
            iVar6 = *(int *)(*(int *)(puVar3 + -0x6fc8) + (int)piVar10 * 4);
            *(undefined4 *)(iVar6 + 8) = local_90;
            *(undefined4 *)(iVar6 + 0xc) = local_88;
            *(undefined4 *)(iVar6 + 0x14) = local_94;
            *(undefined4 *)(iVar6 + 0x10) = local_98;
            *(uint *)(iVar6 + 0x18) = *(uint *)(iVar6 + 0x18) | 1;
          }
          (*(code *)PTR_free_001464fc)(pcVar5);
          piVar12 = piVar10;
          goto LAB_000869e8;
        }
      }
      piVar10 = (int *)((int)piVar10 + 1);
      puVar13 = puVar13 + 1;
    } while (piVar10 != piVar12);
  }
  puVar2 = PTR_xrealloc_0014473c;
  iVar11 = ((int)piVar12 + 1) * 4;
  *(int *)(puVar14 + -0x6fcc) = (int)piVar12 + 1;
  iVar6 = (*(code *)puVar2)(puVar15,iVar11);
  iVar11 = iVar11 + -4;
  *(int *)(puVar3 + -0x6fc8) = iVar6;
  puVar15 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x20);
  *puVar15 = pcVar5;
  if (param_2 != 0) {
    iVar7 = (*(code *)PTR_strlen_00146390)(param_2);
    uVar8 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);
    param_2 = (*(code *)PTR_strcpy_00146418)(uVar8,param_2);
  }
  puVar14 = PTR___environ_00145154;
  puVar15[1] = param_2;
  puVar15[6] = 0;
  *(undefined4 **)(iVar6 + iVar11) = puVar15;
  iVar6 = *(int *)(puVar14 + -0x6fd0);
  if (iVar6 == 0) {
    iVar6 = *(int *)PTR_shell_start_time_00144710;
  }
  piVar10 = (int *)(*(int *)(puVar3 + -0x6fc8) + iVar11);
  iVar11 = *piVar10;
  *(undefined4 *)(iVar11 + 0x14) = 0;
  *(undefined4 *)(iVar11 + 0x10) = 0;
  *(int *)(iVar11 + 0xc) = iVar6;
  *(int *)(iVar11 + 8) = iVar6;
  *(undefined4 *)(iVar11 + 0x18) = 0;
LAB_000869e8:
  if (local_2c == *(int *)puVar4) {
    return piVar12;
  }
  pcVar16 = time_to_check_mail;
  puVar14 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  piVar12 = *(int **)(puVar14 + 0xbfaa0);
  iStack_fc = *piVar12;
  piStack_f8 = piVar10;
  pcStack_f4 = pcVar16;
  iVar6 = (**(code **)(puVar14 + 0xbdd54))(*(int *)(puVar14 + 0xbdb3c) + 0x718c);
  if (iVar6 != 0) {
    iVar6 = (**(code **)(puVar14 + 0xbdf94))(iVar6,&iStack_108);
    if ((iVar6 != 0) && (-1 < iStack_108)) {
      iVar6 = (**(code **)(puVar14 + 0xbfa84))(0);
      if (iStack_108 == 0 && uStack_104 == 0) {
        piVar10 = (int *)0x1;
      }
      else {
        uVar9 = iVar6 - *(int *)(*(int *)(puVar14 + 0xbe718) + -0x6fd0);
        iVar6 = (int)uVar9 >> 0x1f;
        if ((iVar6 < iStack_108) || ((iStack_108 == iVar6 && (uVar9 < uStack_104)))) {
          piVar10 = (int *)0x0;
        }
        else {
          piVar10 = (int *)0x1;
        }
      }
      goto LAB_00086af0;
    }
  }
  piVar10 = (int *)0x0;
LAB_00086af0:
  if (iStack_fc == *piVar12) {
    return piVar10;
  }
  pcVar16 = *(code **)(puVar14 + 0xbfa4c);
  (*pcVar16)();
  piVar12 = (int *)(**(code **)(pcVar16 + 0xbf988))(0);
  *(int **)(*(int *)(pcVar16 + 0xbe61c) + -0x6fd0) = piVar12;
  return piVar12;
}

