
/* WARNING: Unknown calling convention */

void unserialize_list(int type)

{
  undefined *puVar1;
  char *pcVar2;
  char *pcVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  int iVar6;
  SRCFILE *pSVar7;
  int iVar8;
  INSTRUCTION *rp;
  BREAKPOINT *pBVar9;
  short sVar12;
  long lVar10;
  int *piVar11;
  int *in_a2;
  int in_a3;
  char **ppcVar13;
  char **pstr;
  dbg_option *pdVar14;
  char *local_2c;
  
  pcVar3 = (char *)(*(code *)PTR_getenv_004b22dc)(env_variable[type]);
  if (pcVar3 == (char *)0x0) {
    return;
  }
  local_2c = "history_size";
  puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);
  do {
    if (puVar4 == (undefined1 *)0x0) {
      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);
      return;
    }
    if (type == 4) {
      *puVar4 = 0x1e;
      iVar8 = watch_list.number;
    }
    else {
      pstr = (char **)0x0;
      ppcVar13 = unserialize_list::pstr;
      piVar11 = unserialize_list::pstr_len;
      while( true ) {
        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);
        pcVar2 = unserialize_list::pstr[0];
        iVar8 = unserialize_list::pstr_len[0];
        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;
        pstr = (char **)((int)pstr + 1);
        *ppcVar13 = pcVar3;
        *piVar11 = (int)puVar5 - (int)pcVar3;
        pcVar3 = puVar5 + 1;
        ppcVar13 = ppcVar13 + 1;
        piVar11 = piVar11 + 1;
        if (pstr == (char **)0x1e) {
          return;
        }
      }
      if (type == 2) {
        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);
        iVar8 = watch_list.number;
      }
      else {
        if (type < 3) {
          if (type == 1) {
            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)
                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);
            pSVar7 = source_find(pcVar3);
            (*(code *)PTR_free_004b239c)(pcVar3);
            if (pSVar7 != (SRCFILE *)0x0) {
              in_a2 = (int *)0x0;
              pcVar3 = pSVar7->src;
              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);
              in_a3 = iVar8;
              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&
                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {
                in_a2 = (int *)&DAT_00000001;
                pBVar9 = set_breakpoint_at(rp,iVar8,true);
                if (pBVar9 != (BREAKPOINT *)0x0) {
                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);
                  pcVar3 = unserialize_list::pstr[3];
                  puVar1 = PTR_strtol_004b2188;
                  pBVar9->flags = sVar12;
                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);
                  pcVar3 = unserialize_list::pstr[4];
                  puVar1 = PTR_strtol_004b2188;
                  pBVar9->ignore_count = lVar10;
                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);
                  pcVar3 = unserialize_list::pstr[5];
                  puVar1 = PTR_strtol_004b2188;
                  in_a2 = (int *)0x0;
                  pBVar9->hit_count = lVar10;
                  iVar8 = (*(code *)puVar1)(pcVar3,0);
                  pBVar9->number = iVar8;
                  if (6 < (int)pstr) {
                    if ((0 < unserialize_list::pstr_len[6]) &&
                       (unserialize_list::pstr[6] != (char *)0x0)) {
                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);
                    }
                    if (pstr != (char **)0x7) {
                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)
                                                 (unserialize_list::pstr[7],
                                                  unserialize_list::pstr_len[7]);
                      in_a2 = piVar11;
                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);
                      if (iVar8 != 0) {
                        (*(code *)PTR_free_004b239c)(piVar11);
                      }
                    }
                    iVar8 = pBVar9->number;
                  }
                  if (watch_list.number < iVar8) goto LAB_00440e7c;
                }
              }
            }
          }
        }
        else {
          if (type == 3) {
            unserialize_list_item(&display_list,pstr,in_a2,in_a3);
            iVar8 = watch_list.number;
            goto LAB_00440e7c;
          }
          if (type == 5) {
            pdVar14 = option_list;
            pcVar3 = local_2c;
            do {
              in_a2 = (int *)iVar8;
              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);
              if (iVar6 == 0) {
                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)
                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])
                ;
                (*pdVar14->assign)(pcVar3);
                (*(code *)PTR_free_004b239c)(pcVar3);
                break;
              }
              pdVar14 = pdVar14 + 1;
              pcVar3 = pdVar14->name;
            } while (pcVar3 != (char *)0x0);
          }
        }
        iVar8 = watch_list.number;
      }
    }
LAB_00440e7c:
    watch_list.number = iVar8;
    pcVar3 = puVar4 + 1;
    puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);
  } while( true );
}



void FUN_00440cc0(int param_1)

{
  undefined *puVar1;
  undefined1 *puVar2;
  undefined1 *puVar3;
  undefined1 *puVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined2 uVar9;
  undefined4 uVar8;
  char *pcVar10;
  undefined4 *puVar11;
  int iVar12;
  int *piVar13;
  char *local_2c;
  
  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);
  if (puVar2 == (undefined1 *)0x0) {
    return;
  }
  local_2c = "history_size";
  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);
  do {
    if (puVar3 == (undefined1 *)0x0) {
      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);
      return;
    }
    if (param_1 == 4) {
      *puVar3 = 0x1e;
      iVar5 = DAT_004b156c;
    }
    else {
      iVar12 = 0;
      puVar11 = &DAT_004b3bdc;
      piVar13 = &DAT_004b3b64;
      while( true ) {
        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);
        uVar8 = DAT_004b3bdc;
        uVar6 = DAT_004b3b64;
        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;
        iVar12 = iVar12 + 1;
        *puVar11 = puVar2;
        *piVar13 = (int)puVar4 - (int)puVar2;
        puVar2 = puVar4 + 1;
        puVar11 = puVar11 + 1;
        piVar13 = piVar13 + 1;
        if (iVar12 == 0x1e) {
          return;
        }
      }
      if (param_1 == 2) {
        FUN_00440904(&PTR_LOOP_004b1564,iVar12);
        iVar5 = DAT_004b156c;
      }
      else {
        if (param_1 < 3) {
          if (param_1 == 1) {
            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);
            iVar5 = FUN_00438550(uVar6);
            (*(code *)PTR_free_004b239c)(uVar6);
            if (iVar5 != 0) {
              uVar6 = *(undefined4 *)(iVar5 + 0xc);
              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);
              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&
                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&
                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {
                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);
                uVar6 = DAT_004b3be8;
                puVar1 = PTR_strtol_004b2188;
                *(undefined2 *)(iVar7 + 0x40) = uVar9;
                uVar8 = (*(code *)puVar1)(uVar6,0,0);
                uVar6 = DAT_004b3bec;
                puVar1 = PTR_strtol_004b2188;
                *(undefined4 *)(iVar7 + 0xc) = uVar8;
                uVar8 = (*(code *)puVar1)(uVar6,0,0);
                uVar6 = DAT_004b3bf0;
                puVar1 = PTR_strtol_004b2188;
                *(undefined4 *)(iVar7 + 0x10) = uVar8;
                iVar5 = (*(code *)puVar1)(uVar6,0,0);
                *(int *)(iVar7 + 8) = iVar5;
                if (6 < iVar12) {
                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {
                    FUN_00440894();
                  }
                  if (iVar12 != 7) {
                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);
                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);
                    if (iVar5 != 0) {
                      (*(code *)PTR_free_004b239c)(uVar6);
                    }
                  }
                  iVar5 = *(int *)(iVar7 + 8);
                }
                if (DAT_004b156c < iVar5) goto LAB_00440e7c;
              }
            }
          }
        }
        else {
          if (param_1 == 3) {
            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);
            iVar5 = DAT_004b156c;
            goto LAB_00440e7c;
          }
          if (param_1 == 5) {
            piVar13 = (int *)&UNK_004afabc;
            pcVar10 = local_2c;
            do {
              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);
              if (iVar5 == 0) {
                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);
                (*(code *)piVar13[3])(uVar6);
                (*(code *)PTR_free_004b239c)(uVar6);
                break;
              }
              piVar13 = piVar13 + 5;
              pcVar10 = (char *)*piVar13;
            } while (pcVar10 != (char *)0x0);
          }
        }
        iVar5 = DAT_004b156c;
      }
    }
LAB_00440e7c:
    DAT_004b156c = iVar5;
    puVar2 = puVar3 + 1;
    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);
  } while( true );
}


addiu sp,sp,-0x60
sll v1,a0,0x2
lui gp,0x4c
sw s2,0x40(sp)
lui s2,0x4b
addiu gp,gp,-0x64e0
sw s1,0x3c(sp)
addiu v0,s2,-0x4a4
sw ra,0x5c(sp)
or s1,a0,zero
sw gp,0x10(sp)
sw v0,0x28(sp)
addu v0,v0,v1
sw s8,0x58(sp)
sw s7,0x54(sp)
sw s6,0x50(sp)
sw s5,0x4c(sp)
sw s4,0x48(sp)
sw s3,0x44(sp)
sw s0,0x38(sp)
sw v1,0x24(sp)
lw t9,-0x7844(gp)
jalr t9
_lw a0,0x0(v0)
beq v0,zero,0x00440eec
_lw gp,0x10(sp)
or s6,v0,zero
lw t9,-0x787c(gp)
lui v0,0x4b
lui v1,0x4b
sw v0,0x1c(sp)
addiu s3,v0,0x3bdc
lui v0,0x4b
sw v1,0x20(sp)
li a1,0x1e
sw v0,0x2c(sp)
lui v0,0x4b
or a0,s6,zero
sw v0,0x30(sp)
lui v0,0x49
addiu s4,v1,0x3b64
addiu v0,v0,0x7f68
jalr t9
_sw v0,0x34(sp)
lw gp,0x10(sp)
beq v0,zero,0x00440e98
_or s0,v0,zero
li v0,0x4
beq s1,v0,0x00440edc
_or s2,s3,zero
or s7,s4,zero
or s8,zero,zero
b 0x00440dc0
_li s5,0x1e
sltu a1,v0,s0
beq a1,zero,0x00440ddc
_nop
addiu s8,s8,0x1
sw s6,0x0(s2)
sw a0,0x0(s7)
addiu s6,v0,0x1
addiu s2,s2,0x4
beq s8,s5,0x00440eec
_addiu s7,s7,0x4
lw t9,-0x787c(gp)
li a1,0x1f
jalr t9
_or a0,s6,zero
lw gp,0x10(sp)
bne v0,zero,0x00440d98
_subu a0,v0,s6
li v0,0x2
beq s1,v0,0x004410d0
_slti v0,s1,0x3
bne v0,zero,0x00440f38
_li v0,0x3
beq s1,v0,0x00440f1c
_li v0,0x5
bne s1,v0,0x00440e78
_lw v0,0x1c(sp)
lui v1,0x4b
lw a1,0x34(sp)
addiu s8,v1,-0x544
lw s6,0x3bdc(v0)
lw v0,0x20(sp)
b 0x00440e2c
_lw s5,0x3b64(v0)
addiu s8,s8,0x14
lw a1,0x0(s8)
beq a1,zero,0x00440e78
_nop
lw t9,-0x7970(gp)
or a2,s5,zero
jalr t9
_or a0,s6,zero
bne v0,zero,0x00440e1c
_lw gp,0x10(sp)
lw t9,-0x7f80(gp)
lw a1,0x4(s4)
jalr t9
_lw a0,0x4(s3)
lw t9,0xc(s8)
or a0,v0,zero
jalr t9
_or s5,v0,zero
lw gp,0x10(sp)
lw t9,-0x7784(gp)
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
addiu s6,s0,0x1
lw t9,-0x787c(gp)
li a1,0x1e
jalr t9
_or a0,s6,zero
lw gp,0x10(sp)
bne v0,zero,0x00440d7c
_or s0,v0,zero
lw v0,0x28(sp)
lw v1,0x24(sp)
lw ra,0x5c(sp)
lw s8,0x58(sp)
addu s2,v0,v1
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
lw a0,0x0(s2)
lw t9,-0x7728(gp)
lw s2,0x40(sp)
jr t9
_addiu sp,sp,0x60
li v0,0x1e
addiu s6,s0,0x1
b 0x00440e7c
_sb v0,0x0(s0)
lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
lw v0,0x30(sp)
or a1,s8,zero
addiu s6,s0,0x1
jal 0x00440904
_addiu a0,v0,0x15b4
b 0x00440e7c
_lw gp,0x10(sp)
li v0,0x1
bne s1,v0,0x00440e78
_lw v0,0x20(sp)
lw t9,-0x7f80(gp)
lw a1,0x3b64(v0)
lw v0,0x1c(sp)
jalr t9
_lw a0,0x3bdc(v0)
or a0,v0,zero
jal 0x00438550
_or s5,v0,zero
lw gp,0x10(sp)
or a0,s5,zero
lw t9,-0x7784(gp)
jalr t9
_or s5,v0,zero
beq s5,zero,0x00440e78
_lw gp,0x10(sp)
lw t9,-0x7998(gp)
or a2,zero,zero
lw a0,0x4(s3)
or a1,zero,zero
jalr t9
_lw s6,0xc(s5)
lw gp,0x10(sp)
blez v0,0x00440e78
_or a3,v0,zero
lw v0,0xb8(s5)
slt v0,v0,a3
bne v0,zero,0x00440e78
_or a1,a3,zero
jal 0x00434ccc
_or a0,s6,zero
beq v0,zero,0x00440e78
_lw gp,0x10(sp)
li a2,0x1
jal 0x00437890
_or a0,v0,zero
lw gp,0x10(sp)
beq v0,zero,0x00440e78
_or s5,v0,zero
lw t9,-0x7998(gp)
or a2,zero,zero
lw a0,0x8(s3)
jalr t9
_or a1,zero,zero
or a2,zero,zero
lw gp,0x10(sp)
or a1,zero,zero
lw a0,0xc(s3)
lw t9,-0x7998(gp)
jalr t9
_sh v0,0x40(s5)
or a2,zero,zero
lw gp,0x10(sp)
or a1,zero,zero
lw a0,0x10(s3)
lw t9,-0x7998(gp)
jalr t9
_sw v0,0xc(s5)
or a2,zero,zero
lw gp,0x10(sp)
or a1,zero,zero
lw a0,0x14(s3)
lw t9,-0x7998(gp)
jalr t9
_sw v0,0x10(s5)
slti a0,s8,0x7
lw gp,0x10(sp)
bne a0,zero,0x004410b0
_sw v0,0x8(s5)
lw a1,0x18(s4)
blez a1,0x0044107c
_li v0,0x7
lw a0,0x18(s3)
beq a0,zero,0x0044107c
_nop
jal 0x00440894
_nop
lw gp,0x10(sp)
li v0,0x7
beq s8,v0,0x004410ac
_lw t9,-0x7f80(gp)
lw a1,0x1c(s4)
jalr t9
_lw a0,0x1c(s3)
li a0,0x2
lw a1,0x8(s5)
or a2,v0,zero
jal 0x00434d64
_or s6,v0,zero
bne v0,zero,0x004410ec
_lw gp,0x10(sp)
lw v0,0x8(s5)
lw v1,0x2c(sp)
addiu a0,v1,0x1564
lw v1,0x8(a0)
slt v1,v1,v0
beq v1,zero,0x00440e78
_addiu s6,s0,0x1
b 0x00440e7c
_sw v0,0x8(a0)
lw v0,0x2c(sp)
or a1,s8,zero
addiu s6,s0,0x1
jal 0x00440904
_addiu a0,v0,0x1564
b 0x00440e7c
_lw gp,0x10(sp)
lw t9,-0x7784(gp)
jalr t9
_or a0,s6,zero
b 0x004410ac
_lw gp,0x10(sp)
(translation_unit "void FUN_00440cc0(int param_1)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}\n\n" (function_definition "void FUN_00440cc0(int param_1)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00440cc0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined2 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" (parenthesized_expression "(*(code *)PTR_getenv_004b22dc)" ( (pointer_expression "*(code *)PTR_getenv_004b22dc" * (cast_expression "(code *)PTR_getenv_004b22dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((&PTR_s__004afb5c)[param_1])" ( (subscript_expression "(&PTR_s__004afb5c)[param_1]" (parenthesized_expression "(&PTR_s__004afb5c)" ( (pointer_expression "&PTR_s__004afb5c" & identifier) )) [ identifier ]) ))))) ;) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "local_2c = "history_size";" (assignment_expression "local_2c = "history_size"" identifier = (string_literal ""history_size"" " string_content ")) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,0x1e)" ( identifier , number_literal ))))) ;) (do_statement "do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );" do (compound_statement "{\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  }" { (if_statement "if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }" if (parenthesized_expression "(puVar3 == (undefined1 *)0x0)" ( (binary_expression "puVar3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }" { (expression_statement "(*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);" (call_expression "(*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1])" (parenthesized_expression "(*(code *)PTR_unsetenv_004b23f8)" ( (pointer_expression "*(code *)PTR_unsetenv_004b23f8" * (cast_expression "(code *)PTR_unsetenv_004b23f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((&PTR_s__004afb5c)[param_1])" ( (subscript_expression "(&PTR_s__004afb5c)[param_1]" (parenthesized_expression "(&PTR_s__004afb5c)" ( (pointer_expression "&PTR_s__004afb5c" & identifier) )) [ identifier ]) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" if (parenthesized_expression "(param_1 == 4)" ( (binary_expression "param_1 == 4" identifier == number_literal) )) (compound_statement "{\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }" { (expression_statement "*puVar3 = 0x1e;" (assignment_expression "*puVar3 = 0x1e" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) }) (else_clause "else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" else (compound_statement "{\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "puVar11 = &DAT_004b3bdc;" (assignment_expression "puVar11 = &DAT_004b3bdc" identifier = (pointer_expression "&DAT_004b3bdc" & identifier)) ;) (expression_statement "piVar13 = &DAT_004b3b64;" (assignment_expression "piVar13 = &DAT_004b3b64" identifier = (pointer_expression "&DAT_004b3b64" & identifier)) ;) (while_statement "while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }" { (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,0x1f)" ( identifier , number_literal ))))) ;) (expression_statement "uVar8 = DAT_004b3bdc;" (assignment_expression "uVar8 = DAT_004b3bdc" identifier = identifier) ;) (expression_statement "uVar6 = DAT_004b3b64;" (assignment_expression "uVar6 = DAT_004b3b64" identifier = identifier) ;) (if_statement "if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;" if (parenthesized_expression "((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4))" ( (binary_expression "(puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)" (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" ( (binary_expression "puVar4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar3 <= puVar4)" ( (binary_expression "puVar3 <= puVar4" identifier <= identifier) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = puVar2;" (assignment_expression "*puVar11 = puVar2" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "*piVar13 = (int)puVar4 - (int)puVar2;" (assignment_expression "*piVar13 = (int)puVar4 - (int)puVar2" (pointer_expression "*piVar13" * identifier) = (binary_expression "(int)puVar4 - (int)puVar2" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar2 = puVar4 + 1;" (assignment_expression "puVar2 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "piVar13 = piVar13 + 1;" (assignment_expression "piVar13 = piVar13 + 1" identifier = (binary_expression "piVar13 + 1" identifier + number_literal)) ;) (if_statement "if (iVar12 == 0x1e) {\n          return;\n        }" if (parenthesized_expression "(iVar12 == 0x1e)" ( (binary_expression "iVar12 == 0x1e" identifier == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (if_statement "if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" if (parenthesized_expression "(param_1 == 2)" ( (binary_expression "param_1 == 2" identifier == number_literal) )) (compound_statement "{\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }" { (expression_statement "FUN_00440904(&PTR_LOOP_004b1564,iVar12);" (call_expression "FUN_00440904(&PTR_LOOP_004b1564,iVar12)" identifier (argument_list "(&PTR_LOOP_004b1564,iVar12)" ( (pointer_expression "&PTR_LOOP_004b1564" & identifier) , identifier ))) ;) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) }) (else_clause "else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" else (compound_statement "{\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" { (if_statement "if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" if (parenthesized_expression "(param_1 < 3)" ( (binary_expression "param_1 < 3" identifier < number_literal) )) (compound_statement "{\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }" { (if_statement "if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }" { (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64)" identifier = (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3bdc,DAT_004b3b64)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = FUN_00438550(uVar6);" (assignment_expression "iVar5 = FUN_00438550(uVar6)" identifier = (call_expression "FUN_00438550(uVar6)" identifier (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (if_statement "if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }" { (expression_statement "uVar6 = *(undefined4 *)(iVar5 + 0xc);" (assignment_expression "uVar6 = *(undefined4 *)(iVar5 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar5 + 0xc)" * (cast_expression "(undefined4 *)(iVar5 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);" (assignment_expression "iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0)" identifier = (call_expression "(*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" ( (pointer_expression "*(code *)PTR_strtol_004b2188" * (cast_expression "(code *)PTR_strtol_004b2188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3be0,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }" if (parenthesized_expression "((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0))" ( (binary_expression "(((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)" (parenthesized_expression "(((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0))" ( (binary_expression "((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)" (parenthesized_expression "((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8)))" ( (binary_expression "(0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))" (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) && (parenthesized_expression "(iVar7 <= *(int *)(iVar5 + 0xb8))" ( (binary_expression "iVar7 <= *(int *)(iVar5 + 0xb8)" identifier <= (pointer_expression "*(int *)(iVar5 + 0xb8)" * (cast_expression "(int *)(iVar5 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xb8)" ( (binary_expression "iVar5 + 0xb8" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)" ( (comma_expression "iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0" (assignment_expression "iVar5 = FUN_00434ccc(uVar6,iVar7)" identifier = (call_expression "FUN_00434ccc(uVar6,iVar7)" identifier (argument_list "(uVar6,iVar7)" ( identifier , identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar7 = FUN_00437890(iVar5), iVar7 != 0)" ( (comma_expression "iVar7 = FUN_00437890(iVar5), iVar7 != 0" (assignment_expression "iVar7 = FUN_00437890(iVar5)" identifier = (call_expression "FUN_00437890(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }" { (expression_statement "uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);" (assignment_expression "uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0)" identifier = (call_expression "(*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" ( (pointer_expression "*(code *)PTR_strtol_004b2188" * (cast_expression "(code *)PTR_strtol_004b2188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3be4,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar6 = DAT_004b3be8;" (assignment_expression "uVar6 = DAT_004b3be8" identifier = identifier) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "*(undefined2 *)(iVar7 + 0x40) = uVar9;" (assignment_expression "*(undefined2 *)(iVar7 + 0x40) = uVar9" (pointer_expression "*(undefined2 *)(iVar7 + 0x40)" * (cast_expression "(undefined2 *)(iVar7 + 0x40)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x40)" ( (binary_expression "iVar7 + 0x40" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "uVar8 = (*(code *)puVar1)(uVar6,0,0)" identifier = (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar6 = DAT_004b3bec;" (assignment_expression "uVar6 = DAT_004b3bec" identifier = identifier) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0xc) = uVar8;" (assignment_expression "*(undefined4 *)(iVar7 + 0xc) = uVar8" (pointer_expression "*(undefined4 *)(iVar7 + 0xc)" * (cast_expression "(undefined4 *)(iVar7 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xc)" ( (binary_expression "iVar7 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "uVar8 = (*(code *)puVar1)(uVar6,0,0)" identifier = (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar6 = DAT_004b3bf0;" (assignment_expression "uVar6 = DAT_004b3bf0" identifier = identifier) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x10) = uVar8;" (assignment_expression "*(undefined4 *)(iVar7 + 0x10) = uVar8" (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) )))) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "iVar5 = (*(code *)puVar1)(uVar6,0,0)" identifier = (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "*(int *)(iVar7 + 8) = iVar5;" (assignment_expression "*(int *)(iVar7 + 8) = iVar5" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }" if (parenthesized_expression "(6 < iVar12)" ( (binary_expression "6 < iVar12" number_literal < identifier) )) (compound_statement "{\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }" { (if_statement "if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }" if (parenthesized_expression "((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0))" ( (binary_expression "(0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)" (parenthesized_expression "(0 < DAT_004b3b7c)" ( (binary_expression "0 < DAT_004b3b7c" number_literal < identifier) )) && (parenthesized_expression "(DAT_004b3bf4 != 0)" ( (binary_expression "DAT_004b3bf4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    FUN_00440894();\n                  }" { (expression_statement "FUN_00440894();" (call_expression "FUN_00440894()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }" if (parenthesized_expression "(iVar12 != 7)" ( (binary_expression "iVar12 != 7" identifier != number_literal) )) (compound_statement "{\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }" { (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80)" identifier = (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3bf8,DAT_004b3b80)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);" (assignment_expression "iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6)" identifier = (call_expression "FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6)" identifier (argument_list "(2,*(undefined4 *)(iVar7 + 8),uVar6)" ( number_literal , (pointer_expression "*(undefined4 *)(iVar7 + 8)" * (cast_expression "(undefined4 *)(iVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }" { (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) })) })) (expression_statement "iVar5 = *(int *)(iVar7 + 8);" (assignment_expression "iVar5 = *(int *)(iVar7 + 8)" identifier = (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) ))))) ;) })) (if_statement "if (DAT_004b156c < iVar5) goto LAB_00440e7c;" if (parenthesized_expression "(DAT_004b156c < iVar5)" ( (binary_expression "DAT_004b156c < iVar5" identifier < identifier) )) (goto_statement "goto LAB_00440e7c;" goto statement_identifier ;)) })) })) })) }) (else_clause "else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" else (compound_statement "{\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" { (if_statement "if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }" if (parenthesized_expression "(param_1 == 3)" ( (binary_expression "param_1 == 3" identifier == number_literal) )) (compound_statement "{\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }" { (expression_statement "FUN_00440904(&PTR_LOOP_004b15b4,iVar12);" (call_expression "FUN_00440904(&PTR_LOOP_004b15b4,iVar12)" identifier (argument_list "(&PTR_LOOP_004b15b4,iVar12)" ( (pointer_expression "&PTR_LOOP_004b15b4" & identifier) , identifier ))) ;) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) (goto_statement "goto LAB_00440e7c;" goto statement_identifier ;) })) (if_statement "if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }" if (parenthesized_expression "(param_1 == 5)" ( (binary_expression "param_1 == 5" identifier == number_literal) )) (compound_statement "{\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }" { (expression_statement "piVar13 = (int *)&UNK_004afabc;" (assignment_expression "piVar13 = (int *)&UNK_004afabc" identifier = (cast_expression "(int *)&UNK_004afabc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&UNK_004afabc" & identifier))) ;) (expression_statement "pcVar10 = local_2c;" (assignment_expression "pcVar10 = local_2c" identifier = identifier) ;) (do_statement "do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);" do (compound_statement "{\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            }" { (expression_statement "iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);" (assignment_expression "iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6)" identifier = (call_expression "(*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6)" (parenthesized_expression "(*(code *)PTR_strncmp_004b21b0)" ( (pointer_expression "*(code *)PTR_strncmp_004b21b0" * (cast_expression "(code *)PTR_strncmp_004b21b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,pcVar10,uVar6)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }" { (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68)" identifier = (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3be0,DAT_004b3b68)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)piVar13[3])(uVar6);" (call_expression "(*(code *)piVar13[3])(uVar6)" (parenthesized_expression "(*(code *)piVar13[3])" ( (pointer_expression "*(code *)piVar13[3]" * (cast_expression "(code *)piVar13[3]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar13[3]" identifier [ number_literal ]))) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "piVar13 = piVar13 + 5;" (assignment_expression "piVar13 = piVar13 + 5" identifier = (binary_expression "piVar13 + 5" identifier + number_literal)) ;) (expression_statement "pcVar10 = (char *)*piVar13;" (assignment_expression "pcVar10 = (char *)*piVar13" identifier = (cast_expression "(char *)*piVar13" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) }) while (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) }))) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) }))) }))) (labeled_statement "LAB_00440e7c:\n    DAT_004b156c = iVar5;" statement_identifier : (expression_statement "DAT_004b156c = iVar5;" (assignment_expression "DAT_004b156c = iVar5" identifier = identifier) ;)) (expression_statement "puVar2 = puVar3 + 1;" (assignment_expression "puVar2 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,0x1e)" ( identifier , number_literal ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid unserialize_list(int type)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  SRCFILE *pSVar7;\n  int iVar8;\n  INSTRUCTION *rp;\n  BREAKPOINT *pBVar9;\n  short sVar12;\n  long lVar10;\n  int *piVar11;\n  int *in_a2;\n  int in_a3;\n  char **ppcVar13;\n  char **pstr;\n  dbg_option *pdVar14;\n  char *local_2c;\n  \n  pcVar3 = (char *)(*(code *)PTR_getenv_004b22dc)(env_variable[type]);\n  if (pcVar3 == (char *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  do {\n    if (puVar4 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);\n      return;\n    }\n    if (type == 4) {\n      *puVar4 = 0x1e;\n      iVar8 = watch_list.number;\n    }\n    else {\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }\nLAB_00440e7c:\n    watch_list.number = iVar8;\n    pcVar3 = puVar4 + 1;\n    puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  } while( true );\n}\n\n" comment (function_definition "void unserialize_list(int type)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  SRCFILE *pSVar7;\n  int iVar8;\n  INSTRUCTION *rp;\n  BREAKPOINT *pBVar9;\n  short sVar12;\n  long lVar10;\n  int *piVar11;\n  int *in_a2;\n  int in_a3;\n  char **ppcVar13;\n  char **pstr;\n  dbg_option *pdVar14;\n  char *local_2c;\n  \n  pcVar3 = (char *)(*(code *)PTR_getenv_004b22dc)(env_variable[type]);\n  if (pcVar3 == (char *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  do {\n    if (puVar4 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);\n      return;\n    }\n    if (type == 4) {\n      *puVar4 = 0x1e;\n      iVar8 = watch_list.number;\n    }\n    else {\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }\nLAB_00440e7c:\n    watch_list.number = iVar8;\n    pcVar3 = puVar4 + 1;\n    puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  } while( true );\n}" primitive_type (function_declarator "unserialize_list(int type)" identifier (parameter_list "(int type)" ( (parameter_declaration "int type" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  char *pcVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  SRCFILE *pSVar7;\n  int iVar8;\n  INSTRUCTION *rp;\n  BREAKPOINT *pBVar9;\n  short sVar12;\n  long lVar10;\n  int *piVar11;\n  int *in_a2;\n  int in_a3;\n  char **ppcVar13;\n  char **pstr;\n  dbg_option *pdVar14;\n  char *local_2c;\n  \n  pcVar3 = (char *)(*(code *)PTR_getenv_004b22dc)(env_variable[type]);\n  if (pcVar3 == (char *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  do {\n    if (puVar4 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);\n      return;\n    }\n    if (type == 4) {\n      *puVar4 = 0x1e;\n      iVar8 = watch_list.number;\n    }\n    else {\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }\nLAB_00440e7c:\n    watch_list.number = iVar8;\n    pcVar3 = puVar4 + 1;\n    puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "SRCFILE *pSVar7;" type_identifier (pointer_declarator "*pSVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "INSTRUCTION *rp;" type_identifier (pointer_declarator "*rp" * identifier) ;) (declaration "BREAKPOINT *pBVar9;" type_identifier (pointer_declarator "*pBVar9" * identifier) ;) (declaration "short sVar12;" (sized_type_specifier "short" short) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *in_a2;" primitive_type (pointer_declarator "*in_a2" * identifier) ;) (declaration "int in_a3;" primitive_type identifier ;) (declaration "char **ppcVar13;" primitive_type (pointer_declarator "**ppcVar13" * (pointer_declarator "*ppcVar13" * identifier)) ;) (declaration "char **pstr;" primitive_type (pointer_declarator "**pstr" * (pointer_declarator "*pstr" * identifier)) ;) (declaration "dbg_option *pdVar14;" type_identifier (pointer_declarator "*pdVar14" * identifier) ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "pcVar3 = (char *)(*(code *)PTR_getenv_004b22dc)(env_variable[type]);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_getenv_004b22dc)(env_variable[type])" identifier = (cast_expression "(char *)(*(code *)PTR_getenv_004b22dc)(env_variable[type])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getenv_004b22dc)(env_variable[type])" (parenthesized_expression "(*(code *)PTR_getenv_004b22dc)" ( (pointer_expression "*(code *)PTR_getenv_004b22dc" * (cast_expression "(code *)PTR_getenv_004b22dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(env_variable[type])" ( (subscript_expression "env_variable[type]" identifier [ identifier ]) ))))) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "local_2c = "history_size";" (assignment_expression "local_2c = "history_size"" identifier = (string_literal ""history_size"" " string_content ")) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,0x1e)" ( identifier , number_literal ))))) ;) (do_statement "do {\n    if (puVar4 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);\n      return;\n    }\n    if (type == 4) {\n      *puVar4 = 0x1e;\n      iVar8 = watch_list.number;\n    }\n    else {\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }\nLAB_00440e7c:\n    watch_list.number = iVar8;\n    pcVar3 = puVar4 + 1;\n    puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  } while( true );" do (compound_statement "{\n    if (puVar4 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);\n      return;\n    }\n    if (type == 4) {\n      *puVar4 = 0x1e;\n      iVar8 = watch_list.number;\n    }\n    else {\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }\nLAB_00440e7c:\n    watch_list.number = iVar8;\n    pcVar3 = puVar4 + 1;\n    puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);\n  }" { (if_statement "if (puVar4 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);\n      return;\n    }" if (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" ( (binary_expression "puVar4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);\n      return;\n    }" { (expression_statement "(*(code *)PTR_unsetenv_004b23f8)(env_variable[type]);" (call_expression "(*(code *)PTR_unsetenv_004b23f8)(env_variable[type])" (parenthesized_expression "(*(code *)PTR_unsetenv_004b23f8)" ( (pointer_expression "*(code *)PTR_unsetenv_004b23f8" * (cast_expression "(code *)PTR_unsetenv_004b23f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(env_variable[type])" ( (subscript_expression "env_variable[type]" identifier [ identifier ]) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (type == 4) {\n      *puVar4 = 0x1e;\n      iVar8 = watch_list.number;\n    }\n    else {\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }" if (parenthesized_expression "(type == 4)" ( (binary_expression "type == 4" identifier == number_literal) )) (compound_statement "{\n      *puVar4 = 0x1e;\n      iVar8 = watch_list.number;\n    }" { (expression_statement "*puVar4 = 0x1e;" (assignment_expression "*puVar4 = 0x1e" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "iVar8 = watch_list.number;" (assignment_expression "iVar8 = watch_list.number" identifier = (field_expression "watch_list.number" identifier . field_identifier)) ;) }) (else_clause "else {\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }" else (compound_statement "{\n      pstr = (char **)0x0;\n      ppcVar13 = unserialize_list::pstr;\n      piVar11 = unserialize_list::pstr_len;\n      while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }\n      if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }\n    }" { (expression_statement "pstr = (char **)0x0;" (assignment_expression "pstr = (char **)0x0" identifier = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "ppcVar13 = unserialize_list::pstr;" (assignment_expression "ppcVar13 = unserialize_list" identifier = identifier) (ERROR "::pstr" : : identifier) ;) (expression_statement "piVar11 = unserialize_list::pstr_len;" (assignment_expression "piVar11 = unserialize_list" identifier = identifier) (ERROR "::pstr_len" : : identifier) ;) (while_statement "while( true ) {\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);\n        pcVar2 = unserialize_list::pstr[0];\n        iVar8 = unserialize_list::pstr_len[0];\n        if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;\n        pstr = (char **)((int)pstr + 1);\n        *ppcVar13 = pcVar3;\n        *piVar11 = (int)puVar5 - (int)pcVar3;\n        pcVar3 = puVar5 + 1;\n        ppcVar13 = ppcVar13 + 1;\n        piVar11 = piVar11 + 1;\n        if (pstr == (char **)0x1e) {\n          return;\n        }\n      }" { (expression_statement "puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f);" (assignment_expression "puVar5 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1f)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,0x1f)" ( identifier , number_literal ))))) ;) (expression_statement "pcVar2 = unserialize_list::pstr[0];" (subscript_expression "pcVar2 = unserialize_list::pstr[0]" (assignment_expression "pcVar2 = unserialize_list" identifier = identifier) (ERROR "::pstr" : : identifier) [ number_literal ]) ;) (expression_statement "iVar8 = unserialize_list::pstr_len[0];" (subscript_expression "iVar8 = unserialize_list::pstr_len[0]" (assignment_expression "iVar8 = unserialize_list" identifier = identifier) (ERROR "::pstr_len" : : identifier) [ number_literal ]) ;) (if_statement "if ((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)) break;" if (parenthesized_expression "((puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5))" ( (binary_expression "(puVar5 == (undefined1 *)0x0) || (puVar4 <= puVar5)" (parenthesized_expression "(puVar5 == (undefined1 *)0x0)" ( (binary_expression "puVar5 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar4 <= puVar5)" ( (binary_expression "puVar4 <= puVar5" identifier <= identifier) ))) )) (break_statement "break;" break ;)) (expression_statement "pstr = (char **)((int)pstr + 1);" (assignment_expression "pstr = (char **)((int)pstr + 1)" identifier = (cast_expression "(char **)((int)pstr + 1)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pstr + 1)" ( (binary_expression "(int)pstr + 1" (cast_expression "(int)pstr" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*ppcVar13 = pcVar3;" (assignment_expression "*ppcVar13 = pcVar3" (pointer_expression "*ppcVar13" * identifier) = identifier) ;) (expression_statement "*piVar11 = (int)puVar5 - (int)pcVar3;" (assignment_expression "*piVar11 = (int)puVar5 - (int)pcVar3" (pointer_expression "*piVar11" * identifier) = (binary_expression "(int)puVar5 - (int)pcVar3" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar3 = puVar5 + 1;" (assignment_expression "pcVar3 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "ppcVar13 = ppcVar13 + 1;" (assignment_expression "ppcVar13 = ppcVar13 + 1" identifier = (binary_expression "ppcVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (if_statement "if (pstr == (char **)0x1e) {\n          return;\n        }" if (parenthesized_expression "(pstr == (char **)0x1e)" ( (binary_expression "pstr == (char **)0x1e" identifier == (cast_expression "(char **)0x1e" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (if_statement "if (type == 2) {\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }\n      else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }" if (parenthesized_expression "(type == 2)" ( (binary_expression "type == 2" identifier == number_literal) )) (compound_statement "{\n        unserialize_list_item(&watch_list,pstr,in_a2,in_a3);\n        iVar8 = watch_list.number;\n      }" { (expression_statement "unserialize_list_item(&watch_list,pstr,in_a2,in_a3);" (call_expression "unserialize_list_item(&watch_list,pstr,in_a2,in_a3)" identifier (argument_list "(&watch_list,pstr,in_a2,in_a3)" ( (pointer_expression "&watch_list" & identifier) , identifier , identifier , identifier ))) ;) (expression_statement "iVar8 = watch_list.number;" (assignment_expression "iVar8 = watch_list.number" identifier = (field_expression "watch_list.number" identifier . field_identifier)) ;) }) (else_clause "else {\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }" else (compound_statement "{\n        if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }\n        iVar8 = watch_list.number;\n      }" { (if_statement "if (type < 3) {\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }\n        else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }" if (parenthesized_expression "(type < 3)" ( (binary_expression "type < 3" identifier < number_literal) )) (compound_statement "{\n          if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }\n        }" { (if_statement "if (type == 1) {\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }" if (parenthesized_expression "(type == 1)" ( (binary_expression "type == 1" identifier == number_literal) )) (compound_statement "{\n            pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);\n            pSVar7 = source_find(pcVar3);\n            (*(code *)PTR_free_004b239c)(pcVar3);\n            if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }\n          }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0]);" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0])" identifier = (cast_expression "(char *)(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_estrdup_004b1ba0)\n                                       (unserialize_list::pstr[0],unserialize_list::pstr_len[0])" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unserialize_list::pstr[0],unserialize_list::pstr_len[0])" ( (subscript_expression "unserialize_list::pstr[0]" identifier (ERROR "::pstr" : : identifier) [ number_literal ]) , (subscript_expression "unserialize_list::pstr_len[0]" identifier (ERROR "::pstr_len" : : identifier) [ number_literal ]) ))))) ;) (expression_statement "pSVar7 = source_find(pcVar3);" (assignment_expression "pSVar7 = source_find(pcVar3)" identifier = (call_expression "source_find(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(pcVar3);" (call_expression "(*(code *)PTR_free_004b239c)(pcVar3)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) (if_statement "if (pSVar7 != (SRCFILE *)0x0) {\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }" if (parenthesized_expression "(pSVar7 != (SRCFILE *)0x0)" ( (binary_expression "pSVar7 != (SRCFILE *)0x0" identifier != (cast_expression "(SRCFILE *)0x0" ( (type_descriptor "SRCFILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              in_a2 = (int *)0x0;\n              pcVar3 = pSVar7->src;\n              iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);\n              in_a3 = iVar8;\n              if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }\n            }" { (expression_statement "in_a2 = (int *)0x0;" (assignment_expression "in_a2 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar3 = pSVar7->src;" (assignment_expression "pcVar3 = pSVar7->src" identifier = (field_expression "pSVar7->src" identifier -> field_identifier)) ;) (expression_statement "iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0);" (assignment_expression "iVar8 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0)" identifier = (call_expression "(*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[1],0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" ( (pointer_expression "*(code *)PTR_strtol_004b2188" * (cast_expression "(code *)PTR_strtol_004b2188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unserialize_list::pstr[1],0)" ( (subscript_expression "unserialize_list::pstr[1]" identifier (ERROR "::pstr" : : identifier) [ number_literal ]) , number_literal )))) ;) (expression_statement "in_a3 = iVar8;" (assignment_expression "in_a3 = iVar8" identifier = identifier) ;) (if_statement "if (((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)) {\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }" if (parenthesized_expression "(((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0))" ( (binary_expression "((0 < iVar8) && (iVar8 <= pSVar7->srclines)) &&\n                 (rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)" (parenthesized_expression "((0 < iVar8) && (iVar8 <= pSVar7->srclines))" ( (binary_expression "(0 < iVar8) && (iVar8 <= pSVar7->srclines)" (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) && (parenthesized_expression "(iVar8 <= pSVar7->srclines)" ( (binary_expression "iVar8 <= pSVar7->srclines" identifier <= (field_expression "pSVar7->srclines" identifier -> field_identifier)) ))) )) && (parenthesized_expression "(rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0)" ( (comma_expression "rp = find_rule(pcVar3,iVar8), rp != (INSTRUCTION *)0x0" (assignment_expression "rp = find_rule(pcVar3,iVar8)" identifier = (call_expression "find_rule(pcVar3,iVar8)" identifier (argument_list "(pcVar3,iVar8)" ( identifier , identifier )))) , (binary_expression "rp != (INSTRUCTION *)0x0" identifier != (cast_expression "(INSTRUCTION *)0x0" ( (type_descriptor "INSTRUCTION *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n                in_a2 = (int *)&DAT_00000001;\n                pBVar9 = set_breakpoint_at(rp,iVar8,true);\n                if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }\n              }" { (expression_statement "in_a2 = (int *)&DAT_00000001;" (assignment_expression "in_a2 = (int *)&DAT_00000001" identifier = (cast_expression "(int *)&DAT_00000001" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000001" & identifier))) ;) (expression_statement "pBVar9 = set_breakpoint_at(rp,iVar8,true);" (assignment_expression "pBVar9 = set_breakpoint_at(rp,iVar8,true)" identifier = (call_expression "set_breakpoint_at(rp,iVar8,true)" identifier (argument_list "(rp,iVar8,true)" ( identifier , identifier , true )))) ;) (if_statement "if (pBVar9 != (BREAKPOINT *)0x0) {\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }" if (parenthesized_expression "(pBVar9 != (BREAKPOINT *)0x0)" ( (binary_expression "pBVar9 != (BREAKPOINT *)0x0" identifier != (cast_expression "(BREAKPOINT *)0x0" ( (type_descriptor "BREAKPOINT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);\n                  pcVar3 = unserialize_list::pstr[3];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->flags = sVar12;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[4];\n                  puVar1 = PTR_strtol_004b2188;\n                  pBVar9->ignore_count = lVar10;\n                  lVar10 = (*(code *)puVar1)(pcVar3,0,0);\n                  pcVar3 = unserialize_list::pstr[5];\n                  puVar1 = PTR_strtol_004b2188;\n                  in_a2 = (int *)0x0;\n                  pBVar9->hit_count = lVar10;\n                  iVar8 = (*(code *)puVar1)(pcVar3,0);\n                  pBVar9->number = iVar8;\n                  if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }\n                  if (watch_list.number < iVar8) goto LAB_00440e7c;\n                }" { (expression_statement "sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0);" (assignment_expression "sVar12 = (*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0)" identifier = (call_expression "(*(code *)PTR_strtol_004b2188)(unserialize_list::pstr[2],0,0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" ( (pointer_expression "*(code *)PTR_strtol_004b2188" * (cast_expression "(code *)PTR_strtol_004b2188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unserialize_list::pstr[2],0,0)" ( (subscript_expression "unserialize_list::pstr[2]" identifier (ERROR "::pstr" : : identifier) [ number_literal ]) , number_literal , number_literal )))) ;) (expression_statement "pcVar3 = unserialize_list::pstr[3];" (subscript_expression "pcVar3 = unserialize_list::pstr[3]" (assignment_expression "pcVar3 = unserialize_list" identifier = identifier) (ERROR "::pstr" : : identifier) [ number_literal ]) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "pBVar9->flags = sVar12;" (assignment_expression "pBVar9->flags = sVar12" (field_expression "pBVar9->flags" identifier -> field_identifier) = identifier) ;) (expression_statement "lVar10 = (*(code *)puVar1)(pcVar3,0,0);" (assignment_expression "lVar10 = (*(code *)puVar1)(pcVar3,0,0)" identifier = (call_expression "(*(code *)puVar1)(pcVar3,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "pcVar3 = unserialize_list::pstr[4];" (subscript_expression "pcVar3 = unserialize_list::pstr[4]" (assignment_expression "pcVar3 = unserialize_list" identifier = identifier) (ERROR "::pstr" : : identifier) [ number_literal ]) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "pBVar9->ignore_count = lVar10;" (assignment_expression "pBVar9->ignore_count = lVar10" (field_expression "pBVar9->ignore_count" identifier -> field_identifier) = identifier) ;) (expression_statement "lVar10 = (*(code *)puVar1)(pcVar3,0,0);" (assignment_expression "lVar10 = (*(code *)puVar1)(pcVar3,0,0)" identifier = (call_expression "(*(code *)puVar1)(pcVar3,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "pcVar3 = unserialize_list::pstr[5];" (subscript_expression "pcVar3 = unserialize_list::pstr[5]" (assignment_expression "pcVar3 = unserialize_list" identifier = identifier) (ERROR "::pstr" : : identifier) [ number_literal ]) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "in_a2 = (int *)0x0;" (assignment_expression "in_a2 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pBVar9->hit_count = lVar10;" (assignment_expression "pBVar9->hit_count = lVar10" (field_expression "pBVar9->hit_count" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar8 = (*(code *)puVar1)(pcVar3,0);" (assignment_expression "iVar8 = (*(code *)puVar1)(pcVar3,0)" identifier = (call_expression "(*(code *)puVar1)(pcVar3,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,0)" ( identifier , number_literal )))) ;) (expression_statement "pBVar9->number = iVar8;" (assignment_expression "pBVar9->number = iVar8" (field_expression "pBVar9->number" identifier -> field_identifier) = identifier) ;) (if_statement "if (6 < (int)pstr) {\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }" if (parenthesized_expression "(6 < (int)pstr)" ( (binary_expression "6 < (int)pstr" number_literal < (cast_expression "(int)pstr" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                    if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }\n                    if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }\n                    iVar8 = pBVar9->number;\n                  }" { (if_statement "if ((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)) {\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }" if (parenthesized_expression "((0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0))" ( (binary_expression "(0 < unserialize_list::pstr_len[6]) &&\n                       (unserialize_list::pstr[6] != (char *)0x0)" (parenthesized_expression "(0 < unserialize_list::pstr_len[6])" ( (subscript_expression "0 < unserialize_list::pstr_len[6]" (binary_expression "0 < unserialize_list" number_literal < identifier) (ERROR "::pstr_len" : : identifier) [ number_literal ]) )) && (parenthesized_expression "(unserialize_list::pstr[6] != (char *)0x0)" ( (binary_expression "unserialize_list::pstr[6] != (char *)0x0" (subscript_expression "unserialize_list::pstr[6]" identifier (ERROR "::pstr" : : identifier) [ number_literal ]) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                      unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);\n                    }" { (labeled_statement "unserialize_commands(unserialize_list::pstr[6],unserialize_list::pstr_len[6]);" statement_identifier (ERROR "(unserialize_list::pstr[6],unserialize_list:" ( (type_descriptor "unserialize_list" type_identifier) : : (comma_expression "pstr[6],unserialize_list" (subscript_expression "pstr[6]" identifier [ number_literal ]) , identifier) :) : (expression_statement "pstr_len[6]);" (subscript_expression "pstr_len[6]" identifier [ number_literal ]) (ERROR ")" )) ;)) })) (if_statement "if (pstr != (char **)0x7) {\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }" if (parenthesized_expression "(pstr != (char **)0x7)" ( (binary_expression "pstr != (char **)0x7" identifier != (cast_expression "(char **)0x7" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n                      piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);\n                      in_a2 = piVar11;\n                      iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);\n                      if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }\n                    }" { (expression_statement "piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7]);" (assignment_expression "piVar11 = (int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7])" identifier = (cast_expression "(int *)(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7])" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_estrdup_004b1ba0)\n                                                 (unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7])" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unserialize_list::pstr[7],\n                                                  unserialize_list::pstr_len[7])" ( (subscript_expression "unserialize_list::pstr[7]" identifier (ERROR "::pstr" : : identifier) [ number_literal ]) , (subscript_expression "unserialize_list::pstr_len[7]" identifier (ERROR "::pstr_len" : : identifier) [ number_literal ]) ))))) ;) (expression_statement "in_a2 = piVar11;" (assignment_expression "in_a2 = piVar11" identifier = identifier) ;) (expression_statement "iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11);" (assignment_expression "iVar8 = parse_condition(2,pBVar9->number,(char *)piVar11)" identifier = (call_expression "parse_condition(2,pBVar9->number,(char *)piVar11)" identifier (argument_list "(2,pBVar9->number,(char *)piVar11)" ( number_literal , (field_expression "pBVar9->number" identifier -> field_identifier) , (cast_expression "(char *)piVar11" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar8 != 0) {\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_free_004b239c)(piVar11);\n                      }" { (expression_statement "(*(code *)PTR_free_004b239c)(piVar11);" (call_expression "(*(code *)PTR_free_004b239c)(piVar11)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar11)" ( identifier ))) ;) })) })) (expression_statement "iVar8 = pBVar9->number;" (assignment_expression "iVar8 = pBVar9->number" identifier = (field_expression "pBVar9->number" identifier -> field_identifier)) ;) })) (if_statement "if (watch_list.number < iVar8) goto LAB_00440e7c;" if (parenthesized_expression "(watch_list.number < iVar8)" ( (binary_expression "watch_list.number < iVar8" (field_expression "watch_list.number" identifier . field_identifier) < identifier) )) (goto_statement "goto LAB_00440e7c;" goto statement_identifier ;)) })) })) })) })) }) (else_clause "else {\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }" else (compound_statement "{\n          if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }\n          if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }\n        }" { (if_statement "if (type == 3) {\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }" if (parenthesized_expression "(type == 3)" ( (binary_expression "type == 3" identifier == number_literal) )) (compound_statement "{\n            unserialize_list_item(&display_list,pstr,in_a2,in_a3);\n            iVar8 = watch_list.number;\n            goto LAB_00440e7c;\n          }" { (expression_statement "unserialize_list_item(&display_list,pstr,in_a2,in_a3);" (call_expression "unserialize_list_item(&display_list,pstr,in_a2,in_a3)" identifier (argument_list "(&display_list,pstr,in_a2,in_a3)" ( (pointer_expression "&display_list" & identifier) , identifier , identifier , identifier ))) ;) (expression_statement "iVar8 = watch_list.number;" (assignment_expression "iVar8 = watch_list.number" identifier = (field_expression "watch_list.number" identifier . field_identifier)) ;) (goto_statement "goto LAB_00440e7c;" goto statement_identifier ;) })) (if_statement "if (type == 5) {\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }" if (parenthesized_expression "(type == 5)" ( (binary_expression "type == 5" identifier == number_literal) )) (compound_statement "{\n            pdVar14 = option_list;\n            pcVar3 = local_2c;\n            do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);\n          }" { (expression_statement "pdVar14 = option_list;" (assignment_expression "pdVar14 = option_list" identifier = identifier) ;) (expression_statement "pcVar3 = local_2c;" (assignment_expression "pcVar3 = local_2c" identifier = identifier) ;) (do_statement "do {\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            } while (pcVar3 != (char *)0x0);" do (compound_statement "{\n              in_a2 = (int *)iVar8;\n              iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);\n              if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }\n              pdVar14 = pdVar14 + 1;\n              pcVar3 = pdVar14->name;\n            }" { (expression_statement "in_a2 = (int *)iVar8;" (assignment_expression "in_a2 = (int *)iVar8" identifier = (cast_expression "(int *)iVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3);" (assignment_expression "iVar6 = (*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3)" identifier = (call_expression "(*(code *)PTR_strncmp_004b21b0)(pcVar2,pcVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_004b21b0)" ( (pointer_expression "*(code *)PTR_strncmp_004b21b0" * (cast_expression "(code *)PTR_strncmp_004b21b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2,pcVar3)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;\n                (*pdVar14->assign)(pcVar3);\n                (*(code *)PTR_free_004b239c)(pcVar3);\n                break;\n              }" { (expression_statement "pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])\n                ;" (assignment_expression "pcVar3 = (char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])" identifier = (cast_expression "(char *)(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_estrdup_004b1ba0)\n                                           (unserialize_list::pstr[1],unserialize_list::pstr_len[1])" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unserialize_list::pstr[1],unserialize_list::pstr_len[1])" ( (subscript_expression "unserialize_list::pstr[1]" identifier (ERROR "::pstr" : : identifier) [ number_literal ]) , (subscript_expression "unserialize_list::pstr_len[1]" identifier (ERROR "::pstr_len" : : identifier) [ number_literal ]) ))))) ;) (expression_statement "(*pdVar14->assign)(pcVar3);" (call_expression "(*pdVar14->assign)(pcVar3)" (parenthesized_expression "(*pdVar14->assign)" ( (pointer_expression "*pdVar14->assign" * (field_expression "pdVar14->assign" identifier -> field_identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(pcVar3);" (call_expression "(*(code *)PTR_free_004b239c)(pcVar3)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3)" ( identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "pdVar14 = pdVar14 + 1;" (assignment_expression "pdVar14 = pdVar14 + 1" identifier = (binary_expression "pdVar14 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = pdVar14->name;" (assignment_expression "pcVar3 = pdVar14->name" identifier = (field_expression "pdVar14->name" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) }))) (expression_statement "iVar8 = watch_list.number;" (assignment_expression "iVar8 = watch_list.number" identifier = (field_expression "watch_list.number" identifier . field_identifier)) ;) }))) }))) (labeled_statement "LAB_00440e7c:\n    watch_list.number = iVar8;" statement_identifier : (expression_statement "watch_list.number = iVar8;" (assignment_expression "watch_list.number = iVar8" (field_expression "watch_list.number" identifier . field_identifier) = identifier) ;)) (expression_statement "pcVar3 = puVar4 + 1;" (assignment_expression "pcVar3 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(pcVar3,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar3,0x1e)" ( identifier , number_literal ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00440cc0(int param_1)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}\n\n" (function_definition "void FUN_00440cc0(int param_1)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00440cc0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined2 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" (parenthesized_expression "(*(code *)PTR_getenv_004b22dc)" ( (pointer_expression "*(code *)PTR_getenv_004b22dc" * (cast_expression "(code *)PTR_getenv_004b22dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((&PTR_s__004afb5c)[param_1])" ( (subscript_expression "(&PTR_s__004afb5c)[param_1]" (parenthesized_expression "(&PTR_s__004afb5c)" ( (pointer_expression "&PTR_s__004afb5c" & identifier) )) [ identifier ]) ))))) ;) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "local_2c = "history_size";" (assignment_expression "local_2c = "history_size"" identifier = (string_literal ""history_size"" " string_content ")) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,0x1e)" ( identifier , number_literal ))))) ;) (do_statement "do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );" do (compound_statement "{\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  }" { (if_statement "if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }" if (parenthesized_expression "(puVar3 == (undefined1 *)0x0)" ( (binary_expression "puVar3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }" { (expression_statement "(*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);" (call_expression "(*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1])" (parenthesized_expression "(*(code *)PTR_unsetenv_004b23f8)" ( (pointer_expression "*(code *)PTR_unsetenv_004b23f8" * (cast_expression "(code *)PTR_unsetenv_004b23f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((&PTR_s__004afb5c)[param_1])" ( (subscript_expression "(&PTR_s__004afb5c)[param_1]" (parenthesized_expression "(&PTR_s__004afb5c)" ( (pointer_expression "&PTR_s__004afb5c" & identifier) )) [ identifier ]) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" if (parenthesized_expression "(param_1 == 4)" ( (binary_expression "param_1 == 4" identifier == number_literal) )) (compound_statement "{\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }" { (expression_statement "*puVar3 = 0x1e;" (assignment_expression "*puVar3 = 0x1e" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) }) (else_clause "else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" else (compound_statement "{\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "puVar11 = &DAT_004b3bdc;" (assignment_expression "puVar11 = &DAT_004b3bdc" identifier = (pointer_expression "&DAT_004b3bdc" & identifier)) ;) (expression_statement "piVar13 = &DAT_004b3b64;" (assignment_expression "piVar13 = &DAT_004b3b64" identifier = (pointer_expression "&DAT_004b3b64" & identifier)) ;) (while_statement "while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }" { (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,0x1f)" ( identifier , number_literal ))))) ;) (expression_statement "uVar8 = DAT_004b3bdc;" (assignment_expression "uVar8 = DAT_004b3bdc" identifier = identifier) ;) (expression_statement "uVar6 = DAT_004b3b64;" (assignment_expression "uVar6 = DAT_004b3b64" identifier = identifier) ;) (if_statement "if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;" if (parenthesized_expression "((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4))" ( (binary_expression "(puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)" (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" ( (binary_expression "puVar4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar3 <= puVar4)" ( (binary_expression "puVar3 <= puVar4" identifier <= identifier) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = puVar2;" (assignment_expression "*puVar11 = puVar2" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "*piVar13 = (int)puVar4 - (int)puVar2;" (assignment_expression "*piVar13 = (int)puVar4 - (int)puVar2" (pointer_expression "*piVar13" * identifier) = (binary_expression "(int)puVar4 - (int)puVar2" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar2 = puVar4 + 1;" (assignment_expression "puVar2 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "piVar13 = piVar13 + 1;" (assignment_expression "piVar13 = piVar13 + 1" identifier = (binary_expression "piVar13 + 1" identifier + number_literal)) ;) (if_statement "if (iVar12 == 0x1e) {\n          return;\n        }" if (parenthesized_expression "(iVar12 == 0x1e)" ( (binary_expression "iVar12 == 0x1e" identifier == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (if_statement "if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" if (parenthesized_expression "(param_1 == 2)" ( (binary_expression "param_1 == 2" identifier == number_literal) )) (compound_statement "{\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }" { (expression_statement "FUN_00440904(&PTR_LOOP_004b1564,iVar12);" (call_expression "FUN_00440904(&PTR_LOOP_004b1564,iVar12)" identifier (argument_list "(&PTR_LOOP_004b1564,iVar12)" ( (pointer_expression "&PTR_LOOP_004b1564" & identifier) , identifier ))) ;) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) }) (else_clause "else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" else (compound_statement "{\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" { (if_statement "if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" if (parenthesized_expression "(param_1 < 3)" ( (binary_expression "param_1 < 3" identifier < number_literal) )) (compound_statement "{\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }" { (if_statement "if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }" { (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64)" identifier = (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3bdc,DAT_004b3b64)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = FUN_00438550(uVar6);" (assignment_expression "iVar5 = FUN_00438550(uVar6)" identifier = (call_expression "FUN_00438550(uVar6)" identifier (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (if_statement "if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }" { (expression_statement "uVar6 = *(undefined4 *)(iVar5 + 0xc);" (assignment_expression "uVar6 = *(undefined4 *)(iVar5 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar5 + 0xc)" * (cast_expression "(undefined4 *)(iVar5 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);" (assignment_expression "iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0)" identifier = (call_expression "(*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" ( (pointer_expression "*(code *)PTR_strtol_004b2188" * (cast_expression "(code *)PTR_strtol_004b2188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3be0,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }" if (parenthesized_expression "((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0))" ( (binary_expression "(((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)" (parenthesized_expression "(((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0))" ( (binary_expression "((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)" (parenthesized_expression "((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8)))" ( (binary_expression "(0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))" (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) && (parenthesized_expression "(iVar7 <= *(int *)(iVar5 + 0xb8))" ( (binary_expression "iVar7 <= *(int *)(iVar5 + 0xb8)" identifier <= (pointer_expression "*(int *)(iVar5 + 0xb8)" * (cast_expression "(int *)(iVar5 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xb8)" ( (binary_expression "iVar5 + 0xb8" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)" ( (comma_expression "iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0" (assignment_expression "iVar5 = FUN_00434ccc(uVar6,iVar7)" identifier = (call_expression "FUN_00434ccc(uVar6,iVar7)" identifier (argument_list "(uVar6,iVar7)" ( identifier , identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar7 = FUN_00437890(iVar5), iVar7 != 0)" ( (comma_expression "iVar7 = FUN_00437890(iVar5), iVar7 != 0" (assignment_expression "iVar7 = FUN_00437890(iVar5)" identifier = (call_expression "FUN_00437890(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }" { (expression_statement "uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);" (assignment_expression "uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0)" identifier = (call_expression "(*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" ( (pointer_expression "*(code *)PTR_strtol_004b2188" * (cast_expression "(code *)PTR_strtol_004b2188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3be4,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar6 = DAT_004b3be8;" (assignment_expression "uVar6 = DAT_004b3be8" identifier = identifier) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "*(undefined2 *)(iVar7 + 0x40) = uVar9;" (assignment_expression "*(undefined2 *)(iVar7 + 0x40) = uVar9" (pointer_expression "*(undefined2 *)(iVar7 + 0x40)" * (cast_expression "(undefined2 *)(iVar7 + 0x40)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x40)" ( (binary_expression "iVar7 + 0x40" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "uVar8 = (*(code *)puVar1)(uVar6,0,0)" identifier = (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar6 = DAT_004b3bec;" (assignment_expression "uVar6 = DAT_004b3bec" identifier = identifier) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0xc) = uVar8;" (assignment_expression "*(undefined4 *)(iVar7 + 0xc) = uVar8" (pointer_expression "*(undefined4 *)(iVar7 + 0xc)" * (cast_expression "(undefined4 *)(iVar7 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xc)" ( (binary_expression "iVar7 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "uVar8 = (*(code *)puVar1)(uVar6,0,0)" identifier = (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar6 = DAT_004b3bf0;" (assignment_expression "uVar6 = DAT_004b3bf0" identifier = identifier) ;) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x10) = uVar8;" (assignment_expression "*(undefined4 *)(iVar7 + 0x10) = uVar8" (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) )))) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "iVar5 = (*(code *)puVar1)(uVar6,0,0)" identifier = (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "*(int *)(iVar7 + 8) = iVar5;" (assignment_expression "*(int *)(iVar7 + 8) = iVar5" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }" if (parenthesized_expression "(6 < iVar12)" ( (binary_expression "6 < iVar12" number_literal < identifier) )) (compound_statement "{\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }" { (if_statement "if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }" if (parenthesized_expression "((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0))" ( (binary_expression "(0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)" (parenthesized_expression "(0 < DAT_004b3b7c)" ( (binary_expression "0 < DAT_004b3b7c" number_literal < identifier) )) && (parenthesized_expression "(DAT_004b3bf4 != 0)" ( (binary_expression "DAT_004b3bf4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    FUN_00440894();\n                  }" { (expression_statement "FUN_00440894();" (call_expression "FUN_00440894()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }" if (parenthesized_expression "(iVar12 != 7)" ( (binary_expression "iVar12 != 7" identifier != number_literal) )) (compound_statement "{\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }" { (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80)" identifier = (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3bf8,DAT_004b3b80)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);" (assignment_expression "iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6)" identifier = (call_expression "FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6)" identifier (argument_list "(2,*(undefined4 *)(iVar7 + 8),uVar6)" ( number_literal , (pointer_expression "*(undefined4 *)(iVar7 + 8)" * (cast_expression "(undefined4 *)(iVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }" { (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) })) })) (expression_statement "iVar5 = *(int *)(iVar7 + 8);" (assignment_expression "iVar5 = *(int *)(iVar7 + 8)" identifier = (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) ))))) ;) })) (if_statement "if (DAT_004b156c < iVar5) goto LAB_00440e7c;" if (parenthesized_expression "(DAT_004b156c < iVar5)" ( (binary_expression "DAT_004b156c < iVar5" identifier < identifier) )) (goto_statement "goto LAB_00440e7c;" goto statement_identifier ;)) })) })) })) }) (else_clause "else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" else (compound_statement "{\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" { (if_statement "if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }" if (parenthesized_expression "(param_1 == 3)" ( (binary_expression "param_1 == 3" identifier == number_literal) )) (compound_statement "{\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }" { (expression_statement "FUN_00440904(&PTR_LOOP_004b15b4,iVar12);" (call_expression "FUN_00440904(&PTR_LOOP_004b15b4,iVar12)" identifier (argument_list "(&PTR_LOOP_004b15b4,iVar12)" ( (pointer_expression "&PTR_LOOP_004b15b4" & identifier) , identifier ))) ;) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) (goto_statement "goto LAB_00440e7c;" goto statement_identifier ;) })) (if_statement "if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }" if (parenthesized_expression "(param_1 == 5)" ( (binary_expression "param_1 == 5" identifier == number_literal) )) (compound_statement "{\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }" { (expression_statement "piVar13 = (int *)&UNK_004afabc;" (assignment_expression "piVar13 = (int *)&UNK_004afabc" identifier = (cast_expression "(int *)&UNK_004afabc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&UNK_004afabc" & identifier))) ;) (expression_statement "pcVar10 = local_2c;" (assignment_expression "pcVar10 = local_2c" identifier = identifier) ;) (do_statement "do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);" do (compound_statement "{\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            }" { (expression_statement "iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);" (assignment_expression "iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6)" identifier = (call_expression "(*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6)" (parenthesized_expression "(*(code *)PTR_strncmp_004b21b0)" ( (pointer_expression "*(code *)PTR_strncmp_004b21b0" * (cast_expression "(code *)PTR_strncmp_004b21b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,pcVar10,uVar6)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }" { (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68)" identifier = (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" ( (pointer_expression "*(code *)PTR_estrdup_004b1ba0" * (cast_expression "(code *)PTR_estrdup_004b1ba0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(DAT_004b3be0,DAT_004b3b68)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)piVar13[3])(uVar6);" (call_expression "(*(code *)piVar13[3])(uVar6)" (parenthesized_expression "(*(code *)piVar13[3])" ( (pointer_expression "*(code *)piVar13[3]" * (cast_expression "(code *)piVar13[3]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar13[3]" identifier [ number_literal ]))) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (break_statement "break;" break ;) })) (expression_statement "piVar13 = piVar13 + 5;" (assignment_expression "piVar13 = piVar13 + 5" identifier = (binary_expression "piVar13 + 5" identifier + number_literal)) ;) (expression_statement "pcVar10 = (char *)*piVar13;" (assignment_expression "pcVar10 = (char *)*piVar13" identifier = (cast_expression "(char *)*piVar13" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) }) while (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) }))) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" identifier = identifier) ;) }))) }))) (labeled_statement "LAB_00440e7c:\n    DAT_004b156c = iVar5;" statement_identifier : (expression_statement "DAT_004b156c = iVar5;" (assignment_expression "DAT_004b156c = iVar5" identifier = identifier) ;)) (expression_statement "puVar2 = puVar3 + 1;" (assignment_expression "puVar2 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" ( (pointer_expression "*(code *)PTR_strchr_004b22a4" * (cast_expression "(code *)PTR_strchr_004b22a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,0x1e)" ( identifier , number_literal ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (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 ( (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (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 ( IDENT , LIT ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression 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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 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 , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (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 , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 = (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) })) })) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (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 , 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 )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 ( IDENT , LIT ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00440cc0(int param_1)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00440cc0(int param_1)" (identifier "FUN_00440cc0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined2 uVar9;\n  undefined4 uVar8;\n  char *pcVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int *piVar13;\n  char *local_2c;\n  \n  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);\n  if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }\n  local_2c = "history_size";\n  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined2 uVar9;" (type_identifier "undefined2") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "char *local_2c;" (primitive_type "char") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1])" (parenthesized_expression "(*(code *)PTR_getenv_004b22dc)" (( "(") (pointer_expression "*(code *)PTR_getenv_004b22dc" (* "*") (cast_expression "(code *)PTR_getenv_004b22dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_004b22dc"))) () ")")) (argument_list "((&PTR_s__004afb5c)[param_1])" (( "(") (subscript_expression "(&PTR_s__004afb5c)[param_1]" (parenthesized_expression "(&PTR_s__004afb5c)" (( "(") (pointer_expression "&PTR_s__004afb5c" (& "&") (identifier "PTR_s__004afb5c")) () ")")) ([ "[") (identifier "param_1") (] "]")) () ")"))))) (; ";")) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined1 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_2c = "history_size";" (assignment_expression "local_2c = "history_size"" (identifier "local_2c") (= "=") (string_literal ""history_size"" (" """) (string_content "history_size") (" """))) (; ";")) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" (( "(") (pointer_expression "*(code *)PTR_strchr_004b22a4" (* "*") (cast_expression "(code *)PTR_strchr_004b22a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_004b22a4"))) () ")")) (argument_list "(puVar2,0x1e)" (( "(") (identifier "puVar2") (, ",") (number_literal "0x1e") () ")"))))) (; ";")) (do_statement "do {\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  } while( true );" (do "do") (compound_statement "{\n    if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }\n    if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }\nLAB_00440e7c:\n    DAT_004b156c = iVar5;\n    puVar2 = puVar3 + 1;\n    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);\n  }" ({ "{") (if_statement "if (puVar3 == (undefined1 *)0x0) {\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }" (if "if") (parenthesized_expression "(puVar3 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined1 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);" (call_expression "(*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1])" (parenthesized_expression "(*(code *)PTR_unsetenv_004b23f8)" (( "(") (pointer_expression "*(code *)PTR_unsetenv_004b23f8" (* "*") (cast_expression "(code *)PTR_unsetenv_004b23f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_unsetenv_004b23f8"))) () ")")) (argument_list "((&PTR_s__004afb5c)[param_1])" (( "(") (subscript_expression "(&PTR_s__004afb5c)[param_1]" (parenthesized_expression "(&PTR_s__004afb5c)" (( "(") (pointer_expression "&PTR_s__004afb5c" (& "&") (identifier "PTR_s__004afb5c")) () ")")) ([ "[") (identifier "param_1") (] "]")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_1 == 4) {\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }\n    else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" (if "if") (parenthesized_expression "(param_1 == 4)" (( "(") (binary_expression "param_1 == 4" (identifier "param_1") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n      *puVar3 = 0x1e;\n      iVar5 = DAT_004b156c;\n    }" ({ "{") (expression_statement "*puVar3 = 0x1e;" (assignment_expression "*puVar3 = 0x1e" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0x1e")) (; ";")) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" (identifier "iVar5") (= "=") (identifier "DAT_004b156c")) (; ";")) (} "}")) (else_clause "else {\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" (else "else") (compound_statement "{\n      iVar12 = 0;\n      puVar11 = &DAT_004b3bdc;\n      piVar13 = &DAT_004b3b64;\n      while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }\n      if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }\n    }" ({ "{") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar11 = &DAT_004b3bdc;" (assignment_expression "puVar11 = &DAT_004b3bdc" (identifier "puVar11") (= "=") (pointer_expression "&DAT_004b3bdc" (& "&") (identifier "DAT_004b3bdc"))) (; ";")) (expression_statement "piVar13 = &DAT_004b3b64;" (assignment_expression "piVar13 = &DAT_004b3b64" (identifier "piVar13") (= "=") (pointer_expression "&DAT_004b3b64" (& "&") (identifier "DAT_004b3b64"))) (; ";")) (while_statement "while( true ) {\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);\n        uVar8 = DAT_004b3bdc;\n        uVar6 = DAT_004b3b64;\n        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;\n        iVar12 = iVar12 + 1;\n        *puVar11 = puVar2;\n        *piVar13 = (int)puVar4 - (int)puVar2;\n        puVar2 = puVar4 + 1;\n        puVar11 = puVar11 + 1;\n        piVar13 = piVar13 + 1;\n        if (iVar12 == 0x1e) {\n          return;\n        }\n      }" ({ "{") (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" (( "(") (pointer_expression "*(code *)PTR_strchr_004b22a4" (* "*") (cast_expression "(code *)PTR_strchr_004b22a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_004b22a4"))) () ")")) (argument_list "(puVar2,0x1f)" (( "(") (identifier "puVar2") (, ",") (number_literal "0x1f") () ")"))))) (; ";")) (expression_statement "uVar8 = DAT_004b3bdc;" (assignment_expression "uVar8 = DAT_004b3bdc" (identifier "uVar8") (= "=") (identifier "DAT_004b3bdc")) (; ";")) (expression_statement "uVar6 = DAT_004b3b64;" (assignment_expression "uVar6 = DAT_004b3b64" (identifier "uVar6") (= "=") (identifier "DAT_004b3b64")) (; ";")) (if_statement "if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;" (if "if") (parenthesized_expression "((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4))" (( "(") (binary_expression "(puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)" (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined1 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(puVar3 <= puVar4)" (( "(") (binary_expression "puVar3 <= puVar4" (identifier "puVar3") (<= "<=") (identifier "puVar4")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar11 = puVar2;" (assignment_expression "*puVar11 = puVar2" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*piVar13 = (int)puVar4 - (int)puVar2;" (assignment_expression "*piVar13 = (int)puVar4 - (int)puVar2" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (= "=") (binary_expression "(int)puVar4 - (int)puVar2" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (- "-") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")))) (; ";")) (expression_statement "puVar2 = puVar4 + 1;" (assignment_expression "puVar2 = puVar4 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar13 = piVar13 + 1;" (assignment_expression "piVar13 = piVar13 + 1" (identifier "piVar13") (= "=") (binary_expression "piVar13 + 1" (identifier "piVar13") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar12 == 0x1e) {\n          return;\n        }" (if "if") (parenthesized_expression "(iVar12 == 0x1e)" (( "(") (binary_expression "iVar12 == 0x1e" (identifier "iVar12") (== "==") (number_literal "0x1e")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (if_statement "if (param_1 == 2) {\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }\n      else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" (if "if") (parenthesized_expression "(param_1 == 2)" (( "(") (binary_expression "param_1 == 2" (identifier "param_1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        FUN_00440904(&PTR_LOOP_004b1564,iVar12);\n        iVar5 = DAT_004b156c;\n      }" ({ "{") (expression_statement "FUN_00440904(&PTR_LOOP_004b1564,iVar12);" (call_expression "FUN_00440904(&PTR_LOOP_004b1564,iVar12)" (identifier "FUN_00440904") (argument_list "(&PTR_LOOP_004b1564,iVar12)" (( "(") (pointer_expression "&PTR_LOOP_004b1564" (& "&") (identifier "PTR_LOOP_004b1564")) (, ",") (identifier "iVar12") () ")"))) (; ";")) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" (identifier "iVar5") (= "=") (identifier "DAT_004b156c")) (; ";")) (} "}")) (else_clause "else {\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" (else "else") (compound_statement "{\n        if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }\n        iVar5 = DAT_004b156c;\n      }" ({ "{") (if_statement "if (param_1 < 3) {\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }\n        else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" (if "if") (parenthesized_expression "(param_1 < 3)" (( "(") (binary_expression "param_1 < 3" (identifier "param_1") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n          if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }\n        }" ({ "{") (if_statement "if (param_1 == 1) {\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }" (if "if") (parenthesized_expression "(param_1 == 1)" (( "(") (binary_expression "param_1 == 1" (identifier "param_1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);\n            iVar5 = FUN_00438550(uVar6);\n            (*(code *)PTR_free_004b239c)(uVar6);\n            if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }\n          }" ({ "{") (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" (( "(") (pointer_expression "*(code *)PTR_estrdup_004b1ba0" (* "*") (cast_expression "(code *)PTR_estrdup_004b1ba0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_estrdup_004b1ba0"))) () ")")) (argument_list "(DAT_004b3bdc,DAT_004b3b64)" (( "(") (identifier "DAT_004b3bdc") (, ",") (identifier "DAT_004b3b64") () ")")))) (; ";")) (expression_statement "iVar5 = FUN_00438550(uVar6);" (assignment_expression "iVar5 = FUN_00438550(uVar6)" (identifier "iVar5") (= "=") (call_expression "FUN_00438550(uVar6)" (identifier "FUN_00438550") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" (( "(") (pointer_expression "*(code *)PTR_free_004b239c" (* "*") (cast_expression "(code *)PTR_free_004b239c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004b239c"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (if_statement "if (iVar5 != 0) {\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              uVar6 = *(undefined4 *)(iVar5 + 0xc);\n              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);\n              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }\n            }" ({ "{") (expression_statement "uVar6 = *(undefined4 *)(iVar5 + 0xc);" (assignment_expression "uVar6 = *(undefined4 *)(iVar5 + 0xc)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(iVar5 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);" (assignment_expression "iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" (( "(") (pointer_expression "*(code *)PTR_strtol_004b2188" (* "*") (cast_expression "(code *)PTR_strtol_004b2188" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtol_004b2188"))) () ")")) (argument_list "(DAT_004b3be0,0,0)" (( "(") (identifier "DAT_004b3be0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }" (if "if") (parenthesized_expression "((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0))" (( "(") (binary_expression "(((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&\n                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)" (parenthesized_expression "(((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0))" (( "(") (binary_expression "((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&\n                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)" (parenthesized_expression "((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8)))" (( "(") (binary_expression "(0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))" (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 <= *(int *)(iVar5 + 0xb8))" (( "(") (binary_expression "iVar7 <= *(int *)(iVar5 + 0xb8)" (identifier "iVar7") (<= "<=") (pointer_expression "*(int *)(iVar5 + 0xb8)" (* "*") (cast_expression "(int *)(iVar5 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xb8)" (( "(") (binary_expression "iVar5 + 0xb8" (identifier "iVar5") (+ "+") (number_literal "0xb8")) () ")"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)" (( "(") (comma_expression "iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0" (assignment_expression "iVar5 = FUN_00434ccc(uVar6,iVar7)" (identifier "iVar5") (= "=") (call_expression "FUN_00434ccc(uVar6,iVar7)" (identifier "FUN_00434ccc") (argument_list "(uVar6,iVar7)" (( "(") (identifier "uVar6") (, ",") (identifier "iVar7") () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = FUN_00437890(iVar5), iVar7 != 0)" (( "(") (comma_expression "iVar7 = FUN_00437890(iVar5), iVar7 != 0" (assignment_expression "iVar7 = FUN_00437890(iVar5)" (identifier "iVar7") (= "=") (call_expression "FUN_00437890(iVar5)" (identifier "FUN_00437890") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (, ",") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);\n                uVar6 = DAT_004b3be8;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined2 *)(iVar7 + 0x40) = uVar9;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bec;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0xc) = uVar8;\n                uVar8 = (*(code *)puVar1)(uVar6,0,0);\n                uVar6 = DAT_004b3bf0;\n                puVar1 = PTR_strtol_004b2188;\n                *(undefined4 *)(iVar7 + 0x10) = uVar8;\n                iVar5 = (*(code *)puVar1)(uVar6,0,0);\n                *(int *)(iVar7 + 8) = iVar5;\n                if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }\n                if (DAT_004b156c < iVar5) goto LAB_00440e7c;\n              }" ({ "{") (expression_statement "uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);" (assignment_expression "uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0)" (identifier "uVar9") (= "=") (call_expression "(*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0)" (parenthesized_expression "(*(code *)PTR_strtol_004b2188)" (( "(") (pointer_expression "*(code *)PTR_strtol_004b2188" (* "*") (cast_expression "(code *)PTR_strtol_004b2188" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtol_004b2188"))) () ")")) (argument_list "(DAT_004b3be4,0,0)" (( "(") (identifier "DAT_004b3be4") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar6 = DAT_004b3be8;" (assignment_expression "uVar6 = DAT_004b3be8" (identifier "uVar6") (= "=") (identifier "DAT_004b3be8")) (; ";")) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" (identifier "puVar1") (= "=") (identifier "PTR_strtol_004b2188")) (; ";")) (expression_statement "*(undefined2 *)(iVar7 + 0x40) = uVar9;" (assignment_expression "*(undefined2 *)(iVar7 + 0x40) = uVar9" (pointer_expression "*(undefined2 *)(iVar7 + 0x40)" (* "*") (cast_expression "(undefined2 *)(iVar7 + 0x40)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x40)" (( "(") (binary_expression "iVar7 + 0x40" (identifier "iVar7") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "uVar8 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "uVar8 = (*(code *)puVar1)(uVar6,0,0)" (identifier "uVar8") (= "=") (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(uVar6,0,0)" (( "(") (identifier "uVar6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar6 = DAT_004b3bec;" (assignment_expression "uVar6 = DAT_004b3bec" (identifier "uVar6") (= "=") (identifier "DAT_004b3bec")) (; ";")) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" (identifier "puVar1") (= "=") (identifier "PTR_strtol_004b2188")) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0xc) = uVar8;" (assignment_expression "*(undefined4 *)(iVar7 + 0xc) = uVar8" (pointer_expression "*(undefined4 *)(iVar7 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xc)" (( "(") (binary_expression "iVar7 + 0xc" (identifier "iVar7") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "uVar8 = (*(code *)puVar1)(uVar6,0,0)" (identifier "uVar8") (= "=") (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(uVar6,0,0)" (( "(") (identifier "uVar6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar6 = DAT_004b3bf0;" (assignment_expression "uVar6 = DAT_004b3bf0" (identifier "uVar6") (= "=") (identifier "DAT_004b3bf0")) (; ";")) (expression_statement "puVar1 = PTR_strtol_004b2188;" (assignment_expression "puVar1 = PTR_strtol_004b2188" (identifier "puVar1") (= "=") (identifier "PTR_strtol_004b2188")) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0x10) = uVar8;" (assignment_expression "*(undefined4 *)(iVar7 + 0x10) = uVar8" (pointer_expression "*(undefined4 *)(iVar7 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "iVar5 = (*(code *)puVar1)(uVar6,0,0);" (assignment_expression "iVar5 = (*(code *)puVar1)(uVar6,0,0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar1)(uVar6,0,0)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(uVar6,0,0)" (( "(") (identifier "uVar6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(int *)(iVar7 + 8) = iVar5;" (assignment_expression "*(int *)(iVar7 + 8) = iVar5" (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (6 < iVar12) {\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }" (if "if") (parenthesized_expression "(6 < iVar12)" (( "(") (binary_expression "6 < iVar12" (number_literal "6") (< "<") (identifier "iVar12")) () ")")) (compound_statement "{\n                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }\n                  if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }\n                  iVar5 = *(int *)(iVar7 + 8);\n                }" ({ "{") (if_statement "if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {\n                    FUN_00440894();\n                  }" (if "if") (parenthesized_expression "((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0))" (( "(") (binary_expression "(0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)" (parenthesized_expression "(0 < DAT_004b3b7c)" (( "(") (binary_expression "0 < DAT_004b3b7c" (number_literal "0") (< "<") (identifier "DAT_004b3b7c")) () ")")) (&& "&&") (parenthesized_expression "(DAT_004b3bf4 != 0)" (( "(") (binary_expression "DAT_004b3bf4 != 0" (identifier "DAT_004b3bf4") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    FUN_00440894();\n                  }" ({ "{") (expression_statement "FUN_00440894();" (call_expression "FUN_00440894()" (identifier "FUN_00440894") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar12 != 7) {\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }" (if "if") (parenthesized_expression "(iVar12 != 7)" (( "(") (binary_expression "iVar12 != 7" (identifier "iVar12") (!= "!=") (number_literal "7")) () ")")) (compound_statement "{\n                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);\n                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);\n                    if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }\n                  }" ({ "{") (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" (( "(") (pointer_expression "*(code *)PTR_estrdup_004b1ba0" (* "*") (cast_expression "(code *)PTR_estrdup_004b1ba0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_estrdup_004b1ba0"))) () ")")) (argument_list "(DAT_004b3bf8,DAT_004b3b80)" (( "(") (identifier "DAT_004b3bf8") (, ",") (identifier "DAT_004b3b80") () ")")))) (; ";")) (expression_statement "iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);" (assignment_expression "iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6)" (identifier "iVar5") (= "=") (call_expression "FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6)" (identifier "FUN_00434d64") (argument_list "(2,*(undefined4 *)(iVar7 + 8),uVar6)" (( "(") (number_literal "2") (, ",") (pointer_expression "*(undefined4 *)(iVar7 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_free_004b239c)(uVar6);\n                    }" ({ "{") (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" (( "(") (pointer_expression "*(code *)PTR_free_004b239c" (* "*") (cast_expression "(code *)PTR_free_004b239c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004b239c"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar5 = *(int *)(iVar7 + 8);" (assignment_expression "iVar5 = *(int *)(iVar7 + 8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (DAT_004b156c < iVar5) goto LAB_00440e7c;" (if "if") (parenthesized_expression "(DAT_004b156c < iVar5)" (( "(") (binary_expression "DAT_004b156c < iVar5" (identifier "DAT_004b156c") (< "<") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_00440e7c;" (goto "goto") (statement_identifier "LAB_00440e7c") (; ";"))) (} "}"))) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" (else "else") (compound_statement "{\n          if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }\n          if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }\n        }" ({ "{") (if_statement "if (param_1 == 3) {\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }" (if "if") (parenthesized_expression "(param_1 == 3)" (( "(") (binary_expression "param_1 == 3" (identifier "param_1") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);\n            iVar5 = DAT_004b156c;\n            goto LAB_00440e7c;\n          }" ({ "{") (expression_statement "FUN_00440904(&PTR_LOOP_004b15b4,iVar12);" (call_expression "FUN_00440904(&PTR_LOOP_004b15b4,iVar12)" (identifier "FUN_00440904") (argument_list "(&PTR_LOOP_004b15b4,iVar12)" (( "(") (pointer_expression "&PTR_LOOP_004b15b4" (& "&") (identifier "PTR_LOOP_004b15b4")) (, ",") (identifier "iVar12") () ")"))) (; ";")) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" (identifier "iVar5") (= "=") (identifier "DAT_004b156c")) (; ";")) (goto_statement "goto LAB_00440e7c;" (goto "goto") (statement_identifier "LAB_00440e7c") (; ";")) (} "}"))) (if_statement "if (param_1 == 5) {\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }" (if "if") (parenthesized_expression "(param_1 == 5)" (( "(") (binary_expression "param_1 == 5" (identifier "param_1") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n            piVar13 = (int *)&UNK_004afabc;\n            pcVar10 = local_2c;\n            do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);\n          }" ({ "{") (expression_statement "piVar13 = (int *)&UNK_004afabc;" (assignment_expression "piVar13 = (int *)&UNK_004afabc" (identifier "piVar13") (= "=") (cast_expression "(int *)&UNK_004afabc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&UNK_004afabc" (& "&") (identifier "UNK_004afabc")))) (; ";")) (expression_statement "pcVar10 = local_2c;" (assignment_expression "pcVar10 = local_2c" (identifier "pcVar10") (= "=") (identifier "local_2c")) (; ";")) (do_statement "do {\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            } while (pcVar10 != (char *)0x0);" (do "do") (compound_statement "{\n              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);\n              if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }\n              piVar13 = piVar13 + 5;\n              pcVar10 = (char *)*piVar13;\n            }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);" (assignment_expression "iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6)" (parenthesized_expression "(*(code *)PTR_strncmp_004b21b0)" (( "(") (pointer_expression "*(code *)PTR_strncmp_004b21b0" (* "*") (cast_expression "(code *)PTR_strncmp_004b21b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_004b21b0"))) () ")")) (argument_list "(uVar8,pcVar10,uVar6)" (( "(") (identifier "uVar8") (, ",") (identifier "pcVar10") (, ",") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);\n                (*(code *)piVar13[3])(uVar6);\n                (*(code *)PTR_free_004b239c)(uVar6);\n                break;\n              }" ({ "{") (expression_statement "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);" (assignment_expression "uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68)" (parenthesized_expression "(*(code *)PTR_estrdup_004b1ba0)" (( "(") (pointer_expression "*(code *)PTR_estrdup_004b1ba0" (* "*") (cast_expression "(code *)PTR_estrdup_004b1ba0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_estrdup_004b1ba0"))) () ")")) (argument_list "(DAT_004b3be0,DAT_004b3b68)" (( "(") (identifier "DAT_004b3be0") (, ",") (identifier "DAT_004b3b68") () ")")))) (; ";")) (expression_statement "(*(code *)piVar13[3])(uVar6);" (call_expression "(*(code *)piVar13[3])(uVar6)" (parenthesized_expression "(*(code *)piVar13[3])" (( "(") (pointer_expression "*(code *)piVar13[3]" (* "*") (cast_expression "(code *)piVar13[3]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar13[3]" (identifier "piVar13") ([ "[") (number_literal "3") (] "]")))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_004b239c)(uVar6);" (call_expression "(*(code *)PTR_free_004b239c)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" (( "(") (pointer_expression "*(code *)PTR_free_004b239c" (* "*") (cast_expression "(code *)PTR_free_004b239c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004b239c"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "piVar13 = piVar13 + 5;" (assignment_expression "piVar13 = piVar13 + 5" (identifier "piVar13") (= "=") (binary_expression "piVar13 + 5" (identifier "piVar13") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "pcVar10 = (char *)*piVar13;" (assignment_expression "pcVar10 = (char *)*piVar13" (identifier "pcVar10") (= "=") (cast_expression "(char *)*piVar13" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar10 != (char *)0x0)" (( "(") (binary_expression "pcVar10 != (char *)0x0" (identifier "pcVar10") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar5 = DAT_004b156c;" (assignment_expression "iVar5 = DAT_004b156c" (identifier "iVar5") (= "=") (identifier "DAT_004b156c")) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_00440e7c:\n    DAT_004b156c = iVar5;" (statement_identifier "LAB_00440e7c") (: ":") (expression_statement "DAT_004b156c = iVar5;" (assignment_expression "DAT_004b156c = iVar5" (identifier "DAT_004b156c") (= "=") (identifier "iVar5")) (; ";"))) (expression_statement "puVar2 = puVar3 + 1;" (assignment_expression "puVar2 = puVar3 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e)" (parenthesized_expression "(*(code *)PTR_strchr_004b22a4)" (( "(") (pointer_expression "*(code *)PTR_strchr_004b22a4" (* "*") (cast_expression "(code *)PTR_strchr_004b22a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_004b22a4"))) () ")")) (argument_list "(puVar2,0x1e)" (( "(") (identifier "puVar2") (, ",") (number_literal "0x1e") () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(int var_3)

{
  type_1 *puVar1;
  char *pcVar2;
  char *var_1;
  type_2 *var_2;
  type_2 *var_4;
  int var_17;
  type_3 *var_10;
  int var_11;
  type_4 *var_13;
  type_5 *var_15;
  short sVar12;
  long lVar10;
  int *var_6;
  int *in_a2;
  int in_a3;
  char **var_5;
  char **var_7;
  type_6 *var_18;
  char *local_2c;
  
  var_1 = (char *)(*(type_7 *)PTR_getenv_004b22dc)(env_variable[var_3]);
  if (var_1 == (char *)0x0) {
    return;
  }
  local_2c = "history_size";
  var_2 = (type_2 *)(*(type_7 *)PTR_strchr_004b22a4)(var_1,0x1e);
  do {
    if (var_2 == (type_2 *)0x0) {
      (*(type_7 *)PTR_unsetenv_004b23f8)(env_variable[var_3]);
      return;
    }
    if (var_3 == 4) {
      *var_2 = 0x1e;
      var_11 = watch_list.number;
    }
    else {
      var_7 = (char **)0x0;
      var_5 = function_1::var_7;
      var_6 = function_1::pstr_len;
      while( true ) {
        var_4 = (type_2 *)(*(type_7 *)PTR_strchr_004b22a4)(var_1,0x1f);
        pcVar2 = function_1::var_7[0];
        var_11 = function_1::pstr_len[0];
        if ((var_4 == (type_2 *)0x0) || (var_2 <= var_4)) break;
        var_7 = (char **)((int)var_7 + 1);
        *var_5 = var_1;
        *var_6 = (int)var_4 - (int)var_1;
        var_1 = var_4 + 1;
        var_5 = var_5 + 1;
        var_6 = var_6 + 1;
        if (var_7 == (char **)0x1e) {
          return;
        }
      }
      if (var_3 == 2) {
        var_8(&watch_list,var_7,in_a2,in_a3);
        var_11 = watch_list.number;
      }
      else {
        if (var_3 < 3) {
          if (var_3 == 1) {
            var_1 = (char *)(*(type_7 *)PTR_estrdup_004b1ba0)
                                       (function_1::var_7[0],function_1::pstr_len[0]);
            var_10 = var_9(var_1);
            (*(type_7 *)PTR_free_004b239c)(var_1);
            if (var_10 != (type_3 *)0x0) {
              in_a2 = (int *)0x0;
              var_1 = var_10->src;
              var_11 = (*(type_7 *)PTR_strtol_004b2188)(function_1::var_7[1],0);
              in_a3 = var_11;
              if (((0 < var_11) && (var_11 <= var_10->srclines)) &&
                 (var_13 = var_12(var_1,var_11), var_13 != (type_4 *)0x0)) {
                in_a2 = (int *)&DAT_00000001;
                var_15 = var_14(var_13,var_11,true);
                if (var_15 != (type_5 *)0x0) {
                  sVar12 = (*(type_7 *)PTR_strtol_004b2188)(function_1::var_7[2],0,0);
                  var_1 = function_1::var_7[3];
                  puVar1 = PTR_strtol_004b2188;
                  var_15->flags = sVar12;
                  lVar10 = (*(type_7 *)puVar1)(var_1,0,0);
                  var_1 = function_1::var_7[4];
                  puVar1 = PTR_strtol_004b2188;
                  var_15->ignore_count = lVar10;
                  lVar10 = (*(type_7 *)puVar1)(var_1,0,0);
                  var_1 = function_1::var_7[5];
                  puVar1 = PTR_strtol_004b2188;
                  in_a2 = (int *)0x0;
                  var_15->hit_count = lVar10;
                  var_11 = (*(type_7 *)puVar1)(var_1,0);
                  var_15->number = var_11;
                  if (6 < (int)var_7) {
                    if ((0 < function_1::pstr_len[6]) &&
                       (function_1::var_7[6] != (char *)0x0)) {
                      unserialize_commands(function_1::var_7[6],function_1::pstr_len[6]);
                    }
                    if (var_7 != (char **)0x7) {
                      var_6 = (int *)(*(type_7 *)PTR_estrdup_004b1ba0)
                                                 (function_1::var_7[7],
                                                  function_1::pstr_len[7]);
                      in_a2 = var_6;
                      var_11 = var_16(2,var_15->number,(char *)var_6);
                      if (var_11 != 0) {
                        (*(type_7 *)PTR_free_004b239c)(var_6);
                      }
                    }
                    var_11 = var_15->number;
                  }
                  if (watch_list.number < var_11) goto LAB_00440e7c;
                }
              }
            }
          }
        }
        else {
          if (var_3 == 3) {
            var_8(&display_list,var_7,in_a2,in_a3);
            var_11 = watch_list.number;
            goto LAB_00440e7c;
          }
          if (var_3 == 5) {
            var_18 = option_list;
            var_1 = local_2c;
            do {
              in_a2 = (int *)var_11;
              var_17 = (*(type_7 *)PTR_strncmp_004b21b0)(pcVar2,var_1);
              if (var_17 == 0) {
                var_1 = (char *)(*(type_7 *)PTR_estrdup_004b1ba0)
                                           (function_1::var_7[1],function_1::pstr_len[1])
                ;
                (*var_18->assign)(var_1);
                (*(type_7 *)PTR_free_004b239c)(var_1);
                break;
              }
              var_18 = var_18 + 1;
              var_1 = var_18->name;
            } while (var_1 != (char *)0x0);
          }
        }
        var_11 = watch_list.number;
      }
    }
LAB_00440e7c:
    watch_list.number = var_11;
    var_1 = var_2 + 1;
    var_2 = (type_2 *)(*(type_7 *)PTR_strchr_004b22a4)(var_1,0x1e);
  } while( true );
}


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

void MASKED(int param_1)

{
  undefined *puVar1;
  undefined1 *puVar2;
  undefined1 *puVar3;
  undefined1 *puVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined2 uVar9;
  undefined4 uVar8;
  char *pcVar10;
  undefined4 *puVar11;
  int iVar12;
  int *piVar13;
  char *local_2c;
  
  puVar2 = (undefined1 *)(*(code *)PTR_getenv_004b22dc)((&PTR_s__004afb5c)[param_1]);
  if (puVar2 == (undefined1 *)0x0) {
    return;
  }
  local_2c = "history_size";
  puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);
  do {
    if (puVar3 == (undefined1 *)0x0) {
      (*(code *)PTR_unsetenv_004b23f8)((&PTR_s__004afb5c)[param_1]);
      return;
    }
    if (param_1 == 4) {
      *puVar3 = 0x1e;
      iVar5 = DAT_004b156c;
    }
    else {
      iVar12 = 0;
      puVar11 = &DAT_004b3bdc;
      piVar13 = &DAT_004b3b64;
      while( true ) {
        puVar4 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1f);
        uVar8 = DAT_004b3bdc;
        uVar6 = DAT_004b3b64;
        if ((puVar4 == (undefined1 *)0x0) || (puVar3 <= puVar4)) break;
        iVar12 = iVar12 + 1;
        *puVar11 = puVar2;
        *piVar13 = (int)puVar4 - (int)puVar2;
        puVar2 = puVar4 + 1;
        puVar11 = puVar11 + 1;
        piVar13 = piVar13 + 1;
        if (iVar12 == 0x1e) {
          return;
        }
      }
      if (param_1 == 2) {
        FUN_00440904(&PTR_LOOP_004b1564,iVar12);
        iVar5 = DAT_004b156c;
      }
      else {
        if (param_1 < 3) {
          if (param_1 == 1) {
            uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bdc,DAT_004b3b64);
            iVar5 = FUN_00438550(uVar6);
            (*(code *)PTR_free_004b239c)(uVar6);
            if (iVar5 != 0) {
              uVar6 = *(undefined4 *)(iVar5 + 0xc);
              iVar7 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be0,0,0);
              if ((((0 < iVar7) && (iVar7 <= *(int *)(iVar5 + 0xb8))) &&
                  (iVar5 = FUN_00434ccc(uVar6,iVar7), iVar5 != 0)) &&
                 (iVar7 = FUN_00437890(iVar5), iVar7 != 0)) {
                uVar9 = (*(code *)PTR_strtol_004b2188)(DAT_004b3be4,0,0);
                uVar6 = DAT_004b3be8;
                puVar1 = PTR_strtol_004b2188;
                *(undefined2 *)(iVar7 + 0x40) = uVar9;
                uVar8 = (*(code *)puVar1)(uVar6,0,0);
                uVar6 = DAT_004b3bec;
                puVar1 = PTR_strtol_004b2188;
                *(undefined4 *)(iVar7 + 0xc) = uVar8;
                uVar8 = (*(code *)puVar1)(uVar6,0,0);
                uVar6 = DAT_004b3bf0;
                puVar1 = PTR_strtol_004b2188;
                *(undefined4 *)(iVar7 + 0x10) = uVar8;
                iVar5 = (*(code *)puVar1)(uVar6,0,0);
                *(int *)(iVar7 + 8) = iVar5;
                if (6 < iVar12) {
                  if ((0 < DAT_004b3b7c) && (DAT_004b3bf4 != 0)) {
                    FUN_00440894();
                  }
                  if (iVar12 != 7) {
                    uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3bf8,DAT_004b3b80);
                    iVar5 = FUN_00434d64(2,*(undefined4 *)(iVar7 + 8),uVar6);
                    if (iVar5 != 0) {
                      (*(code *)PTR_free_004b239c)(uVar6);
                    }
                  }
                  iVar5 = *(int *)(iVar7 + 8);
                }
                if (DAT_004b156c < iVar5) goto LAB_00440e7c;
              }
            }
          }
        }
        else {
          if (param_1 == 3) {
            FUN_00440904(&PTR_LOOP_004b15b4,iVar12);
            iVar5 = DAT_004b156c;
            goto LAB_00440e7c;
          }
          if (param_1 == 5) {
            piVar13 = (int *)&UNK_004afabc;
            pcVar10 = local_2c;
            do {
              iVar5 = (*(code *)PTR_strncmp_004b21b0)(uVar8,pcVar10,uVar6);
              if (iVar5 == 0) {
                uVar6 = (*(code *)PTR_estrdup_004b1ba0)(DAT_004b3be0,DAT_004b3b68);
                (*(code *)piVar13[3])(uVar6);
                (*(code *)PTR_free_004b239c)(uVar6);
                break;
              }
              piVar13 = piVar13 + 5;
              pcVar10 = (char *)*piVar13;
            } while (pcVar10 != (char *)0x0);
          }
        }
        iVar5 = DAT_004b156c;
      }
    }
LAB_00440e7c:
    DAT_004b156c = iVar5;
    puVar2 = puVar3 + 1;
    puVar3 = (undefined1 *)(*(code *)PTR_strchr_004b22a4)(puVar2,0x1e);
  } while( true );
}

