
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void abformat_init(void)

{
  undefined4 in_a2;
  size_t width;
  char *pb [2];
  char abmon [12] [128];
  
  FUN_00014090(PTR_DAT_0004a208 + -0x5fa0,0x25,in_a2,pb);
  return;
}



void FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)

{
  bool bVar1;
  undefined *puVar2;
  char *pcVar3;
  undefined4 *puVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  char cVar8;
  undefined4 *puVar9;
  int *piVar10;
  undefined1 uVar11;
  int *piVar12;
  int iVar13;
  uint uVar14;
  undefined4 *puVar15;
  int *piVar16;
  undefined *puVar17;
  int local_634 [386];
  int local_2c;
  
  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;
  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);
  piVar16 = local_634;
  piVar10 = (int *)0x25;
  piVar12 = piVar16;
  do {
    cVar8 = *(char *)*puVar9;
    pcVar3 = (char *)*puVar9;
    if (cVar8 == '\0') {
      pcVar3 = (char *)0x0;
    }
    else {
      do {
        if (cVar8 == '%') {
          cVar8 = pcVar3[1];
          if (cVar8 == '%') {
            pcVar3 = pcVar3 + 1;
            goto LAB_00014054;
          }
          if (cVar8 == 'b') goto LAB_00014080;
        }
        else {
LAB_00014054:
          cVar8 = pcVar3[1];
        }
        param_3 = pcVar3 + 1;
        pcVar3 = param_3;
      } while (cVar8 != '\0');
      pcVar3 = (char *)0x0;
    }
LAB_00014080:
    uVar11 = SUB41(param_3,0);
    *piVar12 = (int)pcVar3;
    puVar9 = puVar9 + 1;
    piVar12 = piVar12 + 1;
  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));
  uVar7 = 0xc;
  if ((local_634[0] != 0) || (local_634[1] != 0)) {
    do {
      iVar13 = 0x2000e;
      uVar14 = 0;
      piVar12 = local_634 + 2;
      do {
        uVar11 = SUB41(param_3,0);
        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);
        piVar10 = (int *)0x25;
        puVar9 = puVar4;
        iVar5 = (*(code *)PTR_strchr_0004a540)();
        if (iVar5 != 0) goto LAB_00014274;
        param_3 = (char *)0x80;
        piVar10 = piVar12;
        uVar6 = mbsalign();
        puVar2 = PTR_LAB_0004a218;
        puVar17 = PTR_DAT_0004a208;
        uVar11 = SUB41(param_3,0);
        puVar9 = puVar4;
        if (0x7f < uVar6) goto LAB_00014274;
        if (uVar14 < uVar7) {
          uVar14 = uVar7;
        }
        iVar13 = iVar13 + 1;
        piVar12 = piVar12 + 0x20;
      } while (iVar13 != 0x2001a);
      bVar1 = uVar14 < uVar7;
      uVar7 = uVar14;
    } while (bVar1);
    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);
    iVar13 = 0;
    do {
      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);
      piVar12 = local_634 + 2;
      puVar15 = puVar4;
      do {
        uVar11 = SUB41(param_3,0);
        puVar9 = puVar15;
        if (*piVar16 == 0) {
          piVar10 = (int *)0x80;
          param_3 = puVar2 + 0x78f8;
          uVar7 = (*(code *)PTR_snprintf_0004a51c)();
        }
        else {
          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);
          if (piVar10 == (int *)0x0) goto LAB_00014274;
          param_3 = (char *)0x1;
          piVar10 = (int *)0x80;
          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();
        }
        uVar11 = SUB41(param_3,0);
        piVar12 = piVar12 + 0x20;
        if (0x7f < uVar7) goto LAB_00014274;
        puVar15 = puVar15 + 0x20;
      } while (&local_2c != piVar12);
      puVar4 = puVar4 + 0x180;
      iVar13 = iVar13 + 4;
      piVar16 = piVar16 + 1;
    } while (iVar13 != 8);
    PTR_DAT_0004a208[-0x5880] = 1;
  }
LAB_00014274:
  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {
    puVar17 = PTR___stack_chk_fail_0004a5d0;
    (*(code *)PTR___stack_chk_fail_0004a5d0)();
    puVar4 = (undefined4 *)xmalloc(0x10);
    if (piVar10 != (int *)0x0) {
      piVar10 = (int *)xstrdup(piVar10);
    }
    puVar4[1] = piVar10;
    if (puVar9 != (undefined4 *)0x0) {
      puVar9 = (undefined4 *)xstrdup(puVar9);
    }
    *puVar4 = puVar9;
    *(undefined1 *)(puVar4 + 2) = uVar11;
    iVar13 = *(int *)(puVar17 + 0x35f48);
    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);
    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;
    return;
  }
  return;
}


lui gp,0x4
addiu gp,gp,-0x1e08
addu gp,gp,t9
addiu sp,sp,-0x678
sw ra,0x674(sp)
sw s8,0x670(sp)
sw s7,0x66c(sp)
sw s6,0x668(sp)
sw s5,0x664(sp)
sw s4,0x660(sp)
sw s3,0x65c(sp)
sw s2,0x658(sp)
sw s1,0x654(sp)
sw s0,0x650(sp)
sw gp,0x28(sp)
lw v0,-0x7be4(gp)
lw v0,0x0(v0)
sw v0,0x64c(sp)
lw a0,-0x7fd8(gp)
addiu a0,a0,-0x5fa0
addiu s5,sp,0x44
addiu t1,a0,0x8
or a3,s5,zero
li a1,0x25
b 0x00014090
_li t0,0x62
addiu v0,v0,0x1
lb v1,0x1(v0)
beq v1,zero,0x000140a8
_addiu a2,v0,0x1
or v0,a2,zero
bne v1,a1,0x00014054
_nop
lb v1,0x1(v0)
beq v1,a1,0x00014050
_nop
bne v1,t0,0x00014058
_nop
sw v0,0x0(a3)
addiu a0,a0,0x4
beq a0,t1,0x000140b0
_addiu a3,a3,0x4
lw v0,0x0(a0)
lb v1,0x0(v0)
bne v1,zero,0x00014064
_nop
b 0x00014080
_or v0,zero,zero
b 0x00014080
_or v0,zero,zero
lw v0,0x44(sp)
beq v0,zero,0x000140cc
_li s4,0xc
lui s8,0x2
addiu s7,s8,0x1a
b 0x000140e4
_addiu s6,sp,0x40
lw v0,0x48(sp)
beq v0,zero,0x00014274
_lui s8,0x2
b 0x000140c0
_nop
or s4,s1,zero
addiu v0,sp,0x4c
sw v0,0x34(sp)
or s2,v0,zero
addiu s0,s8,0xe
or s1,zero,zero
sw s4,0x40(sp)
or a0,s0,zero
lw t9,-0x7d00(gp)
jalr t9
_nop
lw gp,0x28(sp)
or s3,v0,zero
li a1,0x25
or a0,v0,zero
lw t9,-0x7ca0(gp)
jalr t9
_nop
lw gp,0x28(sp)
bne v0,zero,0x00014274
_or a3,s6,zero
sw zero,0x14(sp)
sw zero,0x10(sp)
li a2,0x80
or a1,s2,zero
or a0,s3,zero
lw t9,-0x7fb4(gp)
bal 0x000247a0
_nop
lw gp,0x28(sp)
sltiu v0,v0,0x80
beq v0,zero,0x00014274
_lw v0,0x40(sp)
sltu v1,s1,v0
movn s1,v0,v1
addiu s0,s0,0x1
bne s0,s7,0x000140f8
_addiu s2,s2,0x80
sltu s4,s1,s4
bne s4,zero,0x000140e0
_lw v0,-0x7fd8(gp)
lw s7,-0x7fd8(gp)
addiu s7,s7,-0x587c
or s6,zero,zero
addiu v0,v0,-0x5fa0
sw v0,0x38(sp)
lw v0,-0x7fc8(gp)
sw v0,0x3c(sp)
lw s4,-0x7fc8(gp)
b 0x00014244
_addiu s4,s4,0x57b4
or a3,s2,zero
or a2,s8,zero
li a1,0x80
lw t9,-0x7cc4(gp)
jalr t9
_nop
lw gp,0x28(sp)
sltiu v0,v0,0x80
beq v0,zero,0x00014274
_addiu s0,s0,0x80
beq s3,s0,0x00014230
_addiu s1,s1,0x80
lw v0,0x0(s5)
beq v0,zero,0x000141ac
_or a0,s1,zero
subu v1,v0,s2
slti a1,v1,0x81
beq a1,zero,0x00014274
_addiu v0,v0,0x2
sw v0,0x20(sp)
sw s0,0x1c(sp)
sw s2,0x18(sp)
sw v1,0x14(sp)
sw s4,0x10(sp)
li a3,-0x1
li a2,0x1
li a1,0x80
lw t9,-0x7ba0(gp)
jalr t9
_nop
lw gp,0x28(sp)
b 0x000141cc
_sltiu v0,v0,0x80
addiu s7,s7,0x600
addiu s6,s6,0x4
li v0,0x8
beq s6,v0,0x00014268
_addiu s5,s5,0x4
lw v0,0x38(sp)
addu v0,v0,s6
lw s2,0x0(v0)
lw s0,0x34(sp)
addiu s3,s0,0x600
or s1,s7,zero
lw v0,0x3c(sp)
b 0x000141dc
_addiu s8,v0,0x78f8
lw v0,-0x7fd8(gp)
li v1,0x1
sb v1,-0x5880(v0)
lw v1,0x64c(sp)
lw v0,-0x7be4(gp)
lw v0,0x0(v0)
bne v1,v0,0x000142b4
_lw ra,0x674(sp)
lw s8,0x670(sp)
lw s7,0x66c(sp)
lw s6,0x668(sp)
lw s5,0x664(sp)
lw s4,0x660(sp)
lw s3,0x65c(sp)
lw s2,0x658(sp)
lw s1,0x654(sp)
lw s0,0x650(sp)
jr ra
_addiu sp,sp,0x678
lw t9,-0x7c10(gp)
jalr t9
_nop
(translation_unit "void FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,char *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined1 uVar11;" type_identifier identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int local_634 [386];" primitive_type (array_declarator "local_634 [386]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0004a5fc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0004a5fc" * (cast_expression "(int *)PTR___stack_chk_guard_0004a5fc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);" (assignment_expression "puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x5fa0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004a208 + -0x5fa0)" ( (binary_expression "PTR_DAT_0004a208 + -0x5fa0" identifier + number_literal) )))) ;) (expression_statement "piVar16 = local_634;" (assignment_expression "piVar16 = local_634" identifier = identifier) ;) (expression_statement "piVar10 = (int *)0x25;" (assignment_expression "piVar10 = (int *)0x25" identifier = (cast_expression "(int *)0x25" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar12 = piVar16;" (assignment_expression "piVar12 = piVar16" identifier = identifier) ;) (do_statement "do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));" do (compound_statement "{\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  }" { (expression_statement "cVar8 = *(char *)*puVar9;" (assignment_expression "cVar8 = *(char *)*puVar9" identifier = (pointer_expression "*(char *)*puVar9" * (cast_expression "(char *)*puVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier)))) ;) (expression_statement "pcVar3 = (char *)*puVar9;" (assignment_expression "pcVar3 = (char *)*puVar9" identifier = (cast_expression "(char *)*puVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (if_statement "if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar3 = (char *)0x0;\n    }" { (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" else (compound_statement "{\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" { (do_statement "do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');" do (compound_statement "{\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      }" { (if_statement "if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" if (parenthesized_expression "(cVar8 == '%')" ( (binary_expression "cVar8 == '%'" identifier == (char_literal "'%'" ' character ')) )) (compound_statement "{\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }" { (expression_statement "cVar8 = pcVar3[1];" (assignment_expression "cVar8 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }" if (parenthesized_expression "(cVar8 == '%')" ( (binary_expression "cVar8 == '%'" identifier == (char_literal "'%'" ' character ')) )) (compound_statement "{\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }" { (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00014054;" goto statement_identifier ;) })) (if_statement "if (cVar8 == 'b') goto LAB_00014080;" if (parenthesized_expression "(cVar8 == 'b')" ( (binary_expression "cVar8 == 'b'" identifier == (char_literal "'b'" ' character ')) )) (goto_statement "goto LAB_00014080;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" else (compound_statement "{\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" { (labeled_statement "LAB_00014054:\n          cVar8 = pcVar3[1];" statement_identifier : (expression_statement "cVar8 = pcVar3[1];" (assignment_expression "cVar8 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;)) }))) (expression_statement "param_3 = pcVar3 + 1;" (assignment_expression "param_3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = param_3;" (assignment_expression "pcVar3 = param_3" identifier = identifier) ;) }) while (parenthesized_expression "(cVar8 != '\0')" ( (binary_expression "cVar8 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_00014080:\n    uVar11 = SUB41(param_3,0);" statement_identifier : (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;)) (expression_statement "*piVar12 = (int)pcVar3;" (assignment_expression "*piVar12 = (int)pcVar3" (pointer_expression "*piVar12" * identifier) = (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "piVar12 = piVar12 + 1;" (assignment_expression "piVar12 = piVar12 + 1" identifier = (binary_expression "piVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98))" ( (binary_expression "puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98)" identifier != (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x5f98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004a208 + -0x5f98)" ( (binary_expression "PTR_DAT_0004a208 + -0x5f98" identifier + number_literal) )))) )) ;) (expression_statement "uVar7 = 0xc;" (assignment_expression "uVar7 = 0xc" identifier = number_literal) ;) (if_statement "if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }" if (parenthesized_expression "((local_634[0] != 0) || (local_634[1] != 0))" ( (binary_expression "(local_634[0] != 0) || (local_634[1] != 0)" (parenthesized_expression "(local_634[0] != 0)" ( (binary_expression "local_634[0] != 0" (subscript_expression "local_634[0]" identifier [ number_literal ]) != number_literal) )) || (parenthesized_expression "(local_634[1] != 0)" ( (binary_expression "local_634[1] != 0" (subscript_expression "local_634[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }" { (do_statement "do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);" do (compound_statement "{\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    }" { (expression_statement "iVar13 = 0x2000e;" (assignment_expression "iVar13 = 0x2000e" identifier = number_literal) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "piVar12 = local_634 + 2;" (assignment_expression "piVar12 = local_634 + 2" identifier = (binary_expression "local_634 + 2" identifier + number_literal)) ;) (do_statement "do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);" do (compound_statement "{\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      }" { (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" (parenthesized_expression "(*(code *)PTR_nl_langinfo_0004a4e0)" ( (pointer_expression "*(code *)PTR_nl_langinfo_0004a4e0" * (cast_expression "(code *)PTR_nl_langinfo_0004a4e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13)" ( identifier ))))) ;) (expression_statement "piVar10 = (int *)0x25;" (assignment_expression "piVar10 = (int *)0x25" identifier = (cast_expression "(int *)0x25" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" identifier = identifier) ;) (expression_statement "iVar5 = (*(code *)PTR_strchr_0004a540)();" (assignment_expression "iVar5 = (*(code *)PTR_strchr_0004a540)()" identifier = (call_expression "(*(code *)PTR_strchr_0004a540)()" (parenthesized_expression "(*(code *)PTR_strchr_0004a540)" ( (pointer_expression "*(code *)PTR_strchr_0004a540" * (cast_expression "(code *)PTR_strchr_0004a540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) goto LAB_00014274;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (expression_statement "param_3 = (char *)0x80;" (assignment_expression "param_3 = (char *)0x80" identifier = (cast_expression "(char *)0x80" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar10 = piVar12;" (assignment_expression "piVar10 = piVar12" identifier = identifier) ;) (expression_statement "uVar6 = mbsalign();" (assignment_expression "uVar6 = mbsalign()" identifier = (call_expression "mbsalign()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2 = PTR_LAB_0004a218;" (assignment_expression "puVar2 = PTR_LAB_0004a218" identifier = identifier) ;) (expression_statement "puVar17 = PTR_DAT_0004a208;" (assignment_expression "puVar17 = PTR_DAT_0004a208" identifier = identifier) ;) (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" identifier = identifier) ;) (if_statement "if (0x7f < uVar6) goto LAB_00014274;" if (parenthesized_expression "(0x7f < uVar6)" ( (binary_expression "0x7f < uVar6" number_literal < identifier) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (if_statement "if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }" if (parenthesized_expression "(uVar14 < uVar7)" ( (binary_expression "uVar14 < uVar7" identifier < identifier) )) (compound_statement "{\n          uVar14 = uVar7;\n        }" { (expression_statement "uVar14 = uVar7;" (assignment_expression "uVar14 = uVar7" identifier = identifier) ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar12 = piVar12 + 0x20;" (assignment_expression "piVar12 = piVar12 + 0x20" identifier = (binary_expression "piVar12 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar13 != 0x2001a)" ( (binary_expression "iVar13 != 0x2001a" identifier != number_literal) )) ;) (expression_statement "bVar1 = uVar14 < uVar7;" (assignment_expression "bVar1 = uVar14 < uVar7" identifier = (binary_expression "uVar14 < uVar7" identifier < identifier)) ;) (expression_statement "uVar7 = uVar14;" (assignment_expression "uVar7 = uVar14" identifier = identifier) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x587c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004a208 + -0x587c)" ( (binary_expression "PTR_DAT_0004a208 + -0x587c" identifier + number_literal) )))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);" do (compound_statement "{\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    }" { (expression_statement "iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);" (assignment_expression "iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0)" identifier = (pointer_expression "*(int *)(puVar17 + iVar13 + -0x5fa0)" * (cast_expression "(int *)(puVar17 + iVar13 + -0x5fa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar17 + iVar13 + -0x5fa0)" ( (binary_expression "puVar17 + iVar13 + -0x5fa0" (binary_expression "puVar17 + iVar13" identifier + identifier) + number_literal) ))))) ;) (expression_statement "piVar12 = local_634 + 2;" (assignment_expression "piVar12 = local_634 + 2" identifier = (binary_expression "local_634 + 2" identifier + number_literal)) ;) (expression_statement "puVar15 = puVar4;" (assignment_expression "puVar15 = puVar4" identifier = identifier) ;) (do_statement "do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);" do (compound_statement "{\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      }" { (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar9 = puVar15;" (assignment_expression "puVar9 = puVar15" identifier = identifier) ;) (if_statement "if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" if (parenthesized_expression "(*piVar16 == 0)" ( (binary_expression "*piVar16 == 0" (pointer_expression "*piVar16" * identifier) == number_literal) )) (compound_statement "{\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }" { (expression_statement "piVar10 = (int *)0x80;" (assignment_expression "piVar10 = (int *)0x80" identifier = (cast_expression "(int *)0x80" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_3 = puVar2 + 0x78f8;" (assignment_expression "param_3 = puVar2 + 0x78f8" identifier = (binary_expression "puVar2 + 0x78f8" identifier + number_literal)) ;) (expression_statement "uVar7 = (*(code *)PTR_snprintf_0004a51c)();" (assignment_expression "uVar7 = (*(code *)PTR_snprintf_0004a51c)()" identifier = (call_expression "(*(code *)PTR_snprintf_0004a51c)()" (parenthesized_expression "(*(code *)PTR_snprintf_0004a51c)" ( (pointer_expression "*(code *)PTR_snprintf_0004a51c" * (cast_expression "(code *)PTR_snprintf_0004a51c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" else (compound_statement "{\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" { (expression_statement "piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);" (assignment_expression "piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81)" identifier = (cast_expression "(int *)(uint)(*piVar16 - iVar5 < 0x81)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(*piVar16 - iVar5 < 0x81)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar16 - iVar5 < 0x81)" ( (binary_expression "*piVar16 - iVar5 < 0x81" (binary_expression "*piVar16 - iVar5" (pointer_expression "*piVar16" * identifier) - identifier) < number_literal) ))))) ;) (if_statement "if (piVar10 == (int *)0x0) goto LAB_00014274;" if (parenthesized_expression "(piVar10 == (int *)0x0)" ( (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (expression_statement "param_3 = (char *)0x1;" (assignment_expression "param_3 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar10 = (int *)0x80;" (assignment_expression "piVar10 = (int *)0x80" identifier = (cast_expression "(int *)0x80" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();" (assignment_expression "uVar7 = (*(code *)PTR___snprintf_chk_0004a640)()" identifier = (call_expression "(*(code *)PTR___snprintf_chk_0004a640)()" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0004a640)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0004a640" * (cast_expression "(code *)PTR___snprintf_chk_0004a640" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "piVar12 = piVar12 + 0x20;" (assignment_expression "piVar12 = piVar12 + 0x20" identifier = (binary_expression "piVar12 + 0x20" identifier + number_literal)) ;) (if_statement "if (0x7f < uVar7) goto LAB_00014274;" if (parenthesized_expression "(0x7f < uVar7)" ( (binary_expression "0x7f < uVar7" number_literal < identifier) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (expression_statement "puVar15 = puVar15 + 0x20;" (assignment_expression "puVar15 = puVar15 + 0x20" identifier = (binary_expression "puVar15 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(&local_2c != piVar12)" ( (binary_expression "&local_2c != piVar12" (pointer_expression "&local_2c" & identifier) != identifier) )) ;) (expression_statement "puVar4 = puVar4 + 0x180;" (assignment_expression "puVar4 = puVar4 + 0x180" identifier = (binary_expression "puVar4 + 0x180" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar13 + 4;" (assignment_expression "iVar13 = iVar13 + 4" identifier = (binary_expression "iVar13 + 4" identifier + number_literal)) ;) (expression_statement "piVar16 = piVar16 + 1;" (assignment_expression "piVar16 = piVar16 + 1" identifier = (binary_expression "piVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar13 != 8)" ( (binary_expression "iVar13 != 8" identifier != number_literal) )) ;) (expression_statement "PTR_DAT_0004a208[-0x5880] = 1;" (assignment_expression "PTR_DAT_0004a208[-0x5880] = 1" (subscript_expression "PTR_DAT_0004a208[-0x5880]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" if (parenthesized_expression "(local_2c != *(int *)PTR___stack_chk_guard_0004a5fc)" ( (binary_expression "local_2c != *(int *)PTR___stack_chk_guard_0004a5fc" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0004a5fc" * (cast_expression "(int *)PTR___stack_chk_guard_0004a5fc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" { (expression_statement "puVar17 = PTR___stack_chk_fail_0004a5d0;" (assignment_expression "puVar17 = PTR___stack_chk_fail_0004a5d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0004a5d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0004a5d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0004a5d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0004a5d0" * (cast_expression "(code *)PTR___stack_chk_fail_0004a5d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar4 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar4 = (undefined4 *)xmalloc(0x10)" identifier = (cast_expression "(undefined4 *)xmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (if_statement "if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar10 = (int *)xstrdup(piVar10);\n    }" { (expression_statement "piVar10 = (int *)xstrdup(piVar10);" (assignment_expression "piVar10 = (int *)xstrdup(piVar10)" identifier = (cast_expression "(int *)xstrdup(piVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(piVar10)" identifier (argument_list "(piVar10)" ( identifier ))))) ;) })) (expression_statement "puVar4[1] = piVar10;" (assignment_expression "puVar4[1] = piVar10" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }" if (parenthesized_expression "(puVar9 != (undefined4 *)0x0)" ( (binary_expression "puVar9 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }" { (expression_statement "puVar9 = (undefined4 *)xstrdup(puVar9);" (assignment_expression "puVar9 = (undefined4 *)xstrdup(puVar9)" identifier = (cast_expression "(undefined4 *)xstrdup(puVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(puVar9)" identifier (argument_list "(puVar9)" ( identifier ))))) ;) })) (expression_statement "*puVar4 = puVar9;" (assignment_expression "*puVar4 = puVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(puVar4 + 2) = uVar11;" (assignment_expression "*(undefined1 *)(puVar4 + 2) = uVar11" (pointer_expression "*(undefined1 *)(puVar4 + 2)" * (cast_expression "(undefined1 *)(puVar4 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 2)" ( (binary_expression "puVar4 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar13 = *(int *)(puVar17 + 0x35f48);" (assignment_expression "iVar13 = *(int *)(puVar17 + 0x35f48)" identifier = (pointer_expression "*(int *)(puVar17 + 0x35f48)" * (cast_expression "(int *)(puVar17 + 0x35f48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar17 + 0x35f48)" ( (binary_expression "puVar17 + 0x35f48" identifier + number_literal) ))))) ;) (expression_statement "puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);" (assignment_expression "puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0)" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar13 + -0x49c0)" * (cast_expression "(undefined4 *)(iVar13 + -0x49c0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + -0x49c0)" ( (binary_expression "iVar13 + -0x49c0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(iVar13 + -0x49c0) = puVar4;" (assignment_expression "*(undefined4 **)(iVar13 + -0x49c0) = puVar4" (pointer_expression "*(undefined4 **)(iVar13 + -0x49c0)" * (cast_expression "(undefined4 **)(iVar13 + -0x49c0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + -0x49c0)" ( (binary_expression "iVar13 + -0x49c0" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid abformat_init(void)\n\n{\n  undefined4 in_a2;\n  size_t width;\n  char *pb [2];\n  char abmon [12] [128];\n  \n  FUN_00014090(PTR_DAT_0004a208 + -0x5fa0,0x25,in_a2,pb);\n  return;\n}\n\n" comment (function_definition "void abformat_init(void)\n\n{\n  undefined4 in_a2;\n  size_t width;\n  char *pb [2];\n  char abmon [12] [128];\n  \n  FUN_00014090(PTR_DAT_0004a208 + -0x5fa0,0x25,in_a2,pb);\n  return;\n}" primitive_type (function_declarator "abformat_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 in_a2;\n  size_t width;\n  char *pb [2];\n  char abmon [12] [128];\n  \n  FUN_00014090(PTR_DAT_0004a208 + -0x5fa0,0x25,in_a2,pb);\n  return;\n}" { (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "size_t width;" primitive_type identifier ;) (declaration "char *pb [2];" primitive_type (pointer_declarator "*pb [2]" * (array_declarator "pb [2]" identifier [ number_literal ])) ;) (declaration "char abmon [12] [128];" primitive_type (array_declarator "abmon [12] [128]" (array_declarator "abmon [12]" identifier [ number_literal ]) [ number_literal ]) ;) (expression_statement "FUN_00014090(PTR_DAT_0004a208 + -0x5fa0,0x25,in_a2,pb);" (call_expression "FUN_00014090(PTR_DAT_0004a208 + -0x5fa0,0x25,in_a2,pb)" identifier (argument_list "(PTR_DAT_0004a208 + -0x5fa0,0x25,in_a2,pb)" ( (binary_expression "PTR_DAT_0004a208 + -0x5fa0" identifier + number_literal) , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,char *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "undefined1 uVar11;" type_identifier identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int *piVar16;" primitive_type (pointer_declarator "*piVar16" * identifier) ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int local_634 [386];" primitive_type (array_declarator "local_634 [386]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0004a5fc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0004a5fc" * (cast_expression "(int *)PTR___stack_chk_guard_0004a5fc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);" (assignment_expression "puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x5fa0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004a208 + -0x5fa0)" ( (binary_expression "PTR_DAT_0004a208 + -0x5fa0" identifier + number_literal) )))) ;) (expression_statement "piVar16 = local_634;" (assignment_expression "piVar16 = local_634" identifier = identifier) ;) (expression_statement "piVar10 = (int *)0x25;" (assignment_expression "piVar10 = (int *)0x25" identifier = (cast_expression "(int *)0x25" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar12 = piVar16;" (assignment_expression "piVar12 = piVar16" identifier = identifier) ;) (do_statement "do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));" do (compound_statement "{\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  }" { (expression_statement "cVar8 = *(char *)*puVar9;" (assignment_expression "cVar8 = *(char *)*puVar9" identifier = (pointer_expression "*(char *)*puVar9" * (cast_expression "(char *)*puVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier)))) ;) (expression_statement "pcVar3 = (char *)*puVar9;" (assignment_expression "pcVar3 = (char *)*puVar9" identifier = (cast_expression "(char *)*puVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (if_statement "if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar3 = (char *)0x0;\n    }" { (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" else (compound_statement "{\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" { (do_statement "do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');" do (compound_statement "{\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      }" { (if_statement "if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" if (parenthesized_expression "(cVar8 == '%')" ( (binary_expression "cVar8 == '%'" identifier == (char_literal "'%'" ' character ')) )) (compound_statement "{\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }" { (expression_statement "cVar8 = pcVar3[1];" (assignment_expression "cVar8 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }" if (parenthesized_expression "(cVar8 == '%')" ( (binary_expression "cVar8 == '%'" identifier == (char_literal "'%'" ' character ')) )) (compound_statement "{\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }" { (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_00014054;" goto statement_identifier ;) })) (if_statement "if (cVar8 == 'b') goto LAB_00014080;" if (parenthesized_expression "(cVar8 == 'b')" ( (binary_expression "cVar8 == 'b'" identifier == (char_literal "'b'" ' character ')) )) (goto_statement "goto LAB_00014080;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" else (compound_statement "{\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" { (labeled_statement "LAB_00014054:\n          cVar8 = pcVar3[1];" statement_identifier : (expression_statement "cVar8 = pcVar3[1];" (assignment_expression "cVar8 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;)) }))) (expression_statement "param_3 = pcVar3 + 1;" (assignment_expression "param_3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = param_3;" (assignment_expression "pcVar3 = param_3" identifier = identifier) ;) }) while (parenthesized_expression "(cVar8 != '\0')" ( (binary_expression "cVar8 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_00014080:\n    uVar11 = SUB41(param_3,0);" statement_identifier : (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;)) (expression_statement "*piVar12 = (int)pcVar3;" (assignment_expression "*piVar12 = (int)pcVar3" (pointer_expression "*piVar12" * identifier) = (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "piVar12 = piVar12 + 1;" (assignment_expression "piVar12 = piVar12 + 1" identifier = (binary_expression "piVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98))" ( (binary_expression "puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98)" identifier != (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x5f98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004a208 + -0x5f98)" ( (binary_expression "PTR_DAT_0004a208 + -0x5f98" identifier + number_literal) )))) )) ;) (expression_statement "uVar7 = 0xc;" (assignment_expression "uVar7 = 0xc" identifier = number_literal) ;) (if_statement "if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }" if (parenthesized_expression "((local_634[0] != 0) || (local_634[1] != 0))" ( (binary_expression "(local_634[0] != 0) || (local_634[1] != 0)" (parenthesized_expression "(local_634[0] != 0)" ( (binary_expression "local_634[0] != 0" (subscript_expression "local_634[0]" identifier [ number_literal ]) != number_literal) )) || (parenthesized_expression "(local_634[1] != 0)" ( (binary_expression "local_634[1] != 0" (subscript_expression "local_634[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }" { (do_statement "do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);" do (compound_statement "{\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    }" { (expression_statement "iVar13 = 0x2000e;" (assignment_expression "iVar13 = 0x2000e" identifier = number_literal) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "piVar12 = local_634 + 2;" (assignment_expression "piVar12 = local_634 + 2" identifier = (binary_expression "local_634 + 2" identifier + number_literal)) ;) (do_statement "do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);" do (compound_statement "{\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      }" { (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" (parenthesized_expression "(*(code *)PTR_nl_langinfo_0004a4e0)" ( (pointer_expression "*(code *)PTR_nl_langinfo_0004a4e0" * (cast_expression "(code *)PTR_nl_langinfo_0004a4e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13)" ( identifier ))))) ;) (expression_statement "piVar10 = (int *)0x25;" (assignment_expression "piVar10 = (int *)0x25" identifier = (cast_expression "(int *)0x25" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" identifier = identifier) ;) (expression_statement "iVar5 = (*(code *)PTR_strchr_0004a540)();" (assignment_expression "iVar5 = (*(code *)PTR_strchr_0004a540)()" identifier = (call_expression "(*(code *)PTR_strchr_0004a540)()" (parenthesized_expression "(*(code *)PTR_strchr_0004a540)" ( (pointer_expression "*(code *)PTR_strchr_0004a540" * (cast_expression "(code *)PTR_strchr_0004a540" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) goto LAB_00014274;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (expression_statement "param_3 = (char *)0x80;" (assignment_expression "param_3 = (char *)0x80" identifier = (cast_expression "(char *)0x80" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar10 = piVar12;" (assignment_expression "piVar10 = piVar12" identifier = identifier) ;) (expression_statement "uVar6 = mbsalign();" (assignment_expression "uVar6 = mbsalign()" identifier = (call_expression "mbsalign()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2 = PTR_LAB_0004a218;" (assignment_expression "puVar2 = PTR_LAB_0004a218" identifier = identifier) ;) (expression_statement "puVar17 = PTR_DAT_0004a208;" (assignment_expression "puVar17 = PTR_DAT_0004a208" identifier = identifier) ;) (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" identifier = identifier) ;) (if_statement "if (0x7f < uVar6) goto LAB_00014274;" if (parenthesized_expression "(0x7f < uVar6)" ( (binary_expression "0x7f < uVar6" number_literal < identifier) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (if_statement "if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }" if (parenthesized_expression "(uVar14 < uVar7)" ( (binary_expression "uVar14 < uVar7" identifier < identifier) )) (compound_statement "{\n          uVar14 = uVar7;\n        }" { (expression_statement "uVar14 = uVar7;" (assignment_expression "uVar14 = uVar7" identifier = identifier) ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar12 = piVar12 + 0x20;" (assignment_expression "piVar12 = piVar12 + 0x20" identifier = (binary_expression "piVar12 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar13 != 0x2001a)" ( (binary_expression "iVar13 != 0x2001a" identifier != number_literal) )) ;) (expression_statement "bVar1 = uVar14 < uVar7;" (assignment_expression "bVar1 = uVar14 < uVar7" identifier = (binary_expression "uVar14 < uVar7" identifier < identifier)) ;) (expression_statement "uVar7 = uVar14;" (assignment_expression "uVar7 = uVar14" identifier = identifier) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x587c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004a208 + -0x587c)" ( (binary_expression "PTR_DAT_0004a208 + -0x587c" identifier + number_literal) )))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);" do (compound_statement "{\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    }" { (expression_statement "iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);" (assignment_expression "iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0)" identifier = (pointer_expression "*(int *)(puVar17 + iVar13 + -0x5fa0)" * (cast_expression "(int *)(puVar17 + iVar13 + -0x5fa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar17 + iVar13 + -0x5fa0)" ( (binary_expression "puVar17 + iVar13 + -0x5fa0" (binary_expression "puVar17 + iVar13" identifier + identifier) + number_literal) ))))) ;) (expression_statement "piVar12 = local_634 + 2;" (assignment_expression "piVar12 = local_634 + 2" identifier = (binary_expression "local_634 + 2" identifier + number_literal)) ;) (expression_statement "puVar15 = puVar4;" (assignment_expression "puVar15 = puVar4" identifier = identifier) ;) (do_statement "do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);" do (compound_statement "{\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      }" { (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "puVar9 = puVar15;" (assignment_expression "puVar9 = puVar15" identifier = identifier) ;) (if_statement "if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" if (parenthesized_expression "(*piVar16 == 0)" ( (binary_expression "*piVar16 == 0" (pointer_expression "*piVar16" * identifier) == number_literal) )) (compound_statement "{\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }" { (expression_statement "piVar10 = (int *)0x80;" (assignment_expression "piVar10 = (int *)0x80" identifier = (cast_expression "(int *)0x80" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_3 = puVar2 + 0x78f8;" (assignment_expression "param_3 = puVar2 + 0x78f8" identifier = (binary_expression "puVar2 + 0x78f8" identifier + number_literal)) ;) (expression_statement "uVar7 = (*(code *)PTR_snprintf_0004a51c)();" (assignment_expression "uVar7 = (*(code *)PTR_snprintf_0004a51c)()" identifier = (call_expression "(*(code *)PTR_snprintf_0004a51c)()" (parenthesized_expression "(*(code *)PTR_snprintf_0004a51c)" ( (pointer_expression "*(code *)PTR_snprintf_0004a51c" * (cast_expression "(code *)PTR_snprintf_0004a51c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" else (compound_statement "{\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" { (expression_statement "piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);" (assignment_expression "piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81)" identifier = (cast_expression "(int *)(uint)(*piVar16 - iVar5 < 0x81)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(*piVar16 - iVar5 < 0x81)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar16 - iVar5 < 0x81)" ( (binary_expression "*piVar16 - iVar5 < 0x81" (binary_expression "*piVar16 - iVar5" (pointer_expression "*piVar16" * identifier) - identifier) < number_literal) ))))) ;) (if_statement "if (piVar10 == (int *)0x0) goto LAB_00014274;" if (parenthesized_expression "(piVar10 == (int *)0x0)" ( (binary_expression "piVar10 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (expression_statement "param_3 = (char *)0x1;" (assignment_expression "param_3 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar10 = (int *)0x80;" (assignment_expression "piVar10 = (int *)0x80" identifier = (cast_expression "(int *)0x80" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();" (assignment_expression "uVar7 = (*(code *)PTR___snprintf_chk_0004a640)()" identifier = (call_expression "(*(code *)PTR___snprintf_chk_0004a640)()" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0004a640)" ( (pointer_expression "*(code *)PTR___snprintf_chk_0004a640" * (cast_expression "(code *)PTR___snprintf_chk_0004a640" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" identifier = (call_expression "SUB41(param_3,0)" identifier (argument_list "(param_3,0)" ( identifier , number_literal )))) ;) (expression_statement "piVar12 = piVar12 + 0x20;" (assignment_expression "piVar12 = piVar12 + 0x20" identifier = (binary_expression "piVar12 + 0x20" identifier + number_literal)) ;) (if_statement "if (0x7f < uVar7) goto LAB_00014274;" if (parenthesized_expression "(0x7f < uVar7)" ( (binary_expression "0x7f < uVar7" number_literal < identifier) )) (goto_statement "goto LAB_00014274;" goto statement_identifier ;)) (expression_statement "puVar15 = puVar15 + 0x20;" (assignment_expression "puVar15 = puVar15 + 0x20" identifier = (binary_expression "puVar15 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(&local_2c != piVar12)" ( (binary_expression "&local_2c != piVar12" (pointer_expression "&local_2c" & identifier) != identifier) )) ;) (expression_statement "puVar4 = puVar4 + 0x180;" (assignment_expression "puVar4 = puVar4 + 0x180" identifier = (binary_expression "puVar4 + 0x180" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar13 + 4;" (assignment_expression "iVar13 = iVar13 + 4" identifier = (binary_expression "iVar13 + 4" identifier + number_literal)) ;) (expression_statement "piVar16 = piVar16 + 1;" (assignment_expression "piVar16 = piVar16 + 1" identifier = (binary_expression "piVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar13 != 8)" ( (binary_expression "iVar13 != 8" identifier != number_literal) )) ;) (expression_statement "PTR_DAT_0004a208[-0x5880] = 1;" (assignment_expression "PTR_DAT_0004a208[-0x5880] = 1" (subscript_expression "PTR_DAT_0004a208[-0x5880]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" if (parenthesized_expression "(local_2c != *(int *)PTR___stack_chk_guard_0004a5fc)" ( (binary_expression "local_2c != *(int *)PTR___stack_chk_guard_0004a5fc" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0004a5fc" * (cast_expression "(int *)PTR___stack_chk_guard_0004a5fc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" { (expression_statement "puVar17 = PTR___stack_chk_fail_0004a5d0;" (assignment_expression "puVar17 = PTR___stack_chk_fail_0004a5d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0004a5d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0004a5d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0004a5d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0004a5d0" * (cast_expression "(code *)PTR___stack_chk_fail_0004a5d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar4 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar4 = (undefined4 *)xmalloc(0x10)" identifier = (cast_expression "(undefined4 *)xmalloc(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (if_statement "if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }" if (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar10 = (int *)xstrdup(piVar10);\n    }" { (expression_statement "piVar10 = (int *)xstrdup(piVar10);" (assignment_expression "piVar10 = (int *)xstrdup(piVar10)" identifier = (cast_expression "(int *)xstrdup(piVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(piVar10)" identifier (argument_list "(piVar10)" ( identifier ))))) ;) })) (expression_statement "puVar4[1] = piVar10;" (assignment_expression "puVar4[1] = piVar10" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }" if (parenthesized_expression "(puVar9 != (undefined4 *)0x0)" ( (binary_expression "puVar9 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }" { (expression_statement "puVar9 = (undefined4 *)xstrdup(puVar9);" (assignment_expression "puVar9 = (undefined4 *)xstrdup(puVar9)" identifier = (cast_expression "(undefined4 *)xstrdup(puVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(puVar9)" identifier (argument_list "(puVar9)" ( identifier ))))) ;) })) (expression_statement "*puVar4 = puVar9;" (assignment_expression "*puVar4 = puVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(puVar4 + 2) = uVar11;" (assignment_expression "*(undefined1 *)(puVar4 + 2) = uVar11" (pointer_expression "*(undefined1 *)(puVar4 + 2)" * (cast_expression "(undefined1 *)(puVar4 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 2)" ( (binary_expression "puVar4 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar13 = *(int *)(puVar17 + 0x35f48);" (assignment_expression "iVar13 = *(int *)(puVar17 + 0x35f48)" identifier = (pointer_expression "*(int *)(puVar17 + 0x35f48)" * (cast_expression "(int *)(puVar17 + 0x35f48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar17 + 0x35f48)" ( (binary_expression "puVar17 + 0x35f48" identifier + number_literal) ))))) ;) (expression_statement "puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);" (assignment_expression "puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0)" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar13 + -0x49c0)" * (cast_expression "(undefined4 *)(iVar13 + -0x49c0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + -0x49c0)" ( (binary_expression "iVar13 + -0x49c0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(iVar13 + -0x49c0) = puVar4;" (assignment_expression "*(undefined4 **)(iVar13 + -0x49c0) = puVar4" (pointer_expression "*(undefined4 **)(iVar13 + -0x49c0)" * (cast_expression "(undefined4 **)(iVar13 + -0x49c0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + -0x49c0)" ( (binary_expression "iVar13 + -0x49c0" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;)) (expression_statement (assignment_expression (pointer_expression * 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)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * IDENT) - IDENT) < LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) != 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)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) }))) (return_statement return ;) })))
(function_definition "void FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00013fe8(undefined4 param_1,undefined4 param_2,char *param_3)" (identifier "FUN_00013fe8") (parameter_list "(undefined4 param_1,undefined4 param_2,char *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  undefined4 *puVar9;\n  int *piVar10;\n  undefined1 uVar11;\n  int *piVar12;\n  int iVar13;\n  uint uVar14;\n  undefined4 *puVar15;\n  int *piVar16;\n  undefined *puVar17;\n  int local_634 [386];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;\n  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);\n  piVar16 = local_634;\n  piVar10 = (int *)0x25;\n  piVar12 = piVar16;\n  do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));\n  uVar7 = 0xc;\n  if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }\nLAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "char cVar8;" (primitive_type "char") (identifier "cVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "undefined1 uVar11;" (type_identifier "undefined1") (identifier "uVar11") (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "undefined4 *puVar15;" (type_identifier "undefined4") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "int *piVar16;" (primitive_type "int") (pointer_declarator "*piVar16" (* "*") (identifier "piVar16")) (; ";")) (declaration "undefined *puVar17;" (type_identifier "undefined") (pointer_declarator "*puVar17" (* "*") (identifier "puVar17")) (; ";")) (declaration "int local_634 [386];" (primitive_type "int") (array_declarator "local_634 [386]" (identifier "local_634") ([ "[") (number_literal "386") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0004a5fc" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0004a5fc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0004a5fc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0004a5fc")))) (; ";")) (expression_statement "puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);" (assignment_expression "puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x5fa0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004a208 + -0x5fa0)" (( "(") (binary_expression "PTR_DAT_0004a208 + -0x5fa0" (identifier "PTR_DAT_0004a208") (+ "+") (number_literal "-0x5fa0")) () ")")))) (; ";")) (expression_statement "piVar16 = local_634;" (assignment_expression "piVar16 = local_634" (identifier "piVar16") (= "=") (identifier "local_634")) (; ";")) (expression_statement "piVar10 = (int *)0x25;" (assignment_expression "piVar10 = (int *)0x25" (identifier "piVar10") (= "=") (cast_expression "(int *)0x25" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x25"))) (; ";")) (expression_statement "piVar12 = piVar16;" (assignment_expression "piVar12 = piVar16" (identifier "piVar12") (= "=") (identifier "piVar16")) (; ";")) (do_statement "do {\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));" (do "do") (compound_statement "{\n    cVar8 = *(char *)*puVar9;\n    pcVar3 = (char *)*puVar9;\n    if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }\nLAB_00014080:\n    uVar11 = SUB41(param_3,0);\n    *piVar12 = (int)pcVar3;\n    puVar9 = puVar9 + 1;\n    piVar12 = piVar12 + 1;\n  }" ({ "{") (expression_statement "cVar8 = *(char *)*puVar9;" (assignment_expression "cVar8 = *(char *)*puVar9" (identifier "cVar8") (= "=") (pointer_expression "*(char *)*puVar9" (* "*") (cast_expression "(char *)*puVar9" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))))) (; ";")) (expression_statement "pcVar3 = (char *)*puVar9;" (assignment_expression "pcVar3 = (char *)*puVar9" (identifier "pcVar3") (= "=") (cast_expression "(char *)*puVar9" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar9" (* "*") (identifier "puVar9")))) (; ";")) (if_statement "if (cVar8 == '\0') {\n      pcVar3 = (char *)0x0;\n    }\n    else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" (if "if") (parenthesized_expression "(cVar8 == '\0')" (( "(") (binary_expression "cVar8 == '\0'" (identifier "cVar8") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pcVar3 = (char *)0x0;\n    }" ({ "{") (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" (identifier "pcVar3") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" (else "else") (compound_statement "{\n      do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');\n      pcVar3 = (char *)0x0;\n    }" ({ "{") (do_statement "do {\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      } while (cVar8 != '\0');" (do "do") (compound_statement "{\n        if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }\n        param_3 = pcVar3 + 1;\n        pcVar3 = param_3;\n      }" ({ "{") (if_statement "if (cVar8 == '%') {\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }\n        else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" (if "if") (parenthesized_expression "(cVar8 == '%')" (( "(") (binary_expression "cVar8 == '%'" (identifier "cVar8") (== "==") (char_literal "'%'" (' "'") (character "%") (' "'"))) () ")")) (compound_statement "{\n          cVar8 = pcVar3[1];\n          if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }\n          if (cVar8 == 'b') goto LAB_00014080;\n        }" ({ "{") (expression_statement "cVar8 = pcVar3[1];" (assignment_expression "cVar8 = pcVar3[1]" (identifier "cVar8") (= "=") (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (cVar8 == '%') {\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }" (if "if") (parenthesized_expression "(cVar8 == '%')" (( "(") (binary_expression "cVar8 == '%'" (identifier "cVar8") (== "==") (char_literal "'%'" (' "'") (character "%") (' "'"))) () ")")) (compound_statement "{\n            pcVar3 = pcVar3 + 1;\n            goto LAB_00014054;\n          }" ({ "{") (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_00014054;" (goto "goto") (statement_identifier "LAB_00014054") (; ";")) (} "}"))) (if_statement "if (cVar8 == 'b') goto LAB_00014080;" (if "if") (parenthesized_expression "(cVar8 == 'b')" (( "(") (binary_expression "cVar8 == 'b'" (identifier "cVar8") (== "==") (char_literal "'b'" (' "'") (character "b") (' "'"))) () ")")) (goto_statement "goto LAB_00014080;" (goto "goto") (statement_identifier "LAB_00014080") (; ";"))) (} "}")) (else_clause "else {\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" (else "else") (compound_statement "{\nLAB_00014054:\n          cVar8 = pcVar3[1];\n        }" ({ "{") (labeled_statement "LAB_00014054:\n          cVar8 = pcVar3[1];" (statement_identifier "LAB_00014054") (: ":") (expression_statement "cVar8 = pcVar3[1];" (assignment_expression "cVar8 = pcVar3[1]" (identifier "cVar8") (= "=") (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (} "}")))) (expression_statement "param_3 = pcVar3 + 1;" (assignment_expression "param_3 = pcVar3 + 1" (identifier "param_3") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar3 = param_3;" (assignment_expression "pcVar3 = param_3" (identifier "pcVar3") (= "=") (identifier "param_3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar8 != '\0')" (( "(") (binary_expression "cVar8 != '\0'" (identifier "cVar8") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" (identifier "pcVar3") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (labeled_statement "LAB_00014080:\n    uVar11 = SUB41(param_3,0);" (statement_identifier "LAB_00014080") (: ":") (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" (identifier "uVar11") (= "=") (call_expression "SUB41(param_3,0)" (identifier "SUB41") (argument_list "(param_3,0)" (( "(") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";"))) (expression_statement "*piVar12 = (int)pcVar3;" (assignment_expression "*piVar12 = (int)pcVar3" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (cast_expression "(int)pcVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar3"))) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar12 = piVar12 + 1;" (assignment_expression "piVar12 = piVar12 + 1" (identifier "piVar12") (= "=") (binary_expression "piVar12 + 1" (identifier "piVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98))" (( "(") (binary_expression "puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98)" (identifier "puVar9") (!= "!=") (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x5f98)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004a208 + -0x5f98)" (( "(") (binary_expression "PTR_DAT_0004a208 + -0x5f98" (identifier "PTR_DAT_0004a208") (+ "+") (number_literal "-0x5f98")) () ")")))) () ")")) (; ";")) (expression_statement "uVar7 = 0xc;" (assignment_expression "uVar7 = 0xc" (identifier "uVar7") (= "=") (number_literal "0xc")) (; ";")) (if_statement "if ((local_634[0] != 0) || (local_634[1] != 0)) {\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }" (if "if") (parenthesized_expression "((local_634[0] != 0) || (local_634[1] != 0))" (( "(") (binary_expression "(local_634[0] != 0) || (local_634[1] != 0)" (parenthesized_expression "(local_634[0] != 0)" (( "(") (binary_expression "local_634[0] != 0" (subscript_expression "local_634[0]" (identifier "local_634") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_634[1] != 0)" (( "(") (binary_expression "local_634[1] != 0" (subscript_expression "local_634[1]" (identifier "local_634") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);\n    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);\n    iVar13 = 0;\n    do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);\n    PTR_DAT_0004a208[-0x5880] = 1;\n  }" ({ "{") (do_statement "do {\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    } while (bVar1);" (do "do") (compound_statement "{\n      iVar13 = 0x2000e;\n      uVar14 = 0;\n      piVar12 = local_634 + 2;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);\n      bVar1 = uVar14 < uVar7;\n      uVar7 = uVar14;\n    }" ({ "{") (expression_statement "iVar13 = 0x2000e;" (assignment_expression "iVar13 = 0x2000e" (identifier "iVar13") (= "=") (number_literal "0x2000e")) (; ";")) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar12 = local_634 + 2;" (assignment_expression "piVar12 = local_634 + 2" (identifier "piVar12") (= "=") (binary_expression "local_634 + 2" (identifier "local_634") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      } while (iVar13 != 0x2001a);" (do "do") (compound_statement "{\n        uVar11 = SUB41(param_3,0);\n        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);\n        piVar10 = (int *)0x25;\n        puVar9 = puVar4;\n        iVar5 = (*(code *)PTR_strchr_0004a540)();\n        if (iVar5 != 0) goto LAB_00014274;\n        param_3 = (char *)0x80;\n        piVar10 = piVar12;\n        uVar6 = mbsalign();\n        puVar2 = PTR_LAB_0004a218;\n        puVar17 = PTR_DAT_0004a208;\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar4;\n        if (0x7f < uVar6) goto LAB_00014274;\n        if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }\n        iVar13 = iVar13 + 1;\n        piVar12 = piVar12 + 0x20;\n      }" ({ "{") (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" (identifier "uVar11") (= "=") (call_expression "SUB41(param_3,0)" (identifier "SUB41") (argument_list "(param_3,0)" (( "(") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13)" (parenthesized_expression "(*(code *)PTR_nl_langinfo_0004a4e0)" (( "(") (pointer_expression "*(code *)PTR_nl_langinfo_0004a4e0" (* "*") (cast_expression "(code *)PTR_nl_langinfo_0004a4e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nl_langinfo_0004a4e0"))) () ")")) (argument_list "(iVar13)" (( "(") (identifier "iVar13") () ")"))))) (; ";")) (expression_statement "piVar10 = (int *)0x25;" (assignment_expression "piVar10 = (int *)0x25" (identifier "piVar10") (= "=") (cast_expression "(int *)0x25" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x25"))) (; ";")) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" (identifier "puVar9") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_strchr_0004a540)();" (assignment_expression "iVar5 = (*(code *)PTR_strchr_0004a540)()" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_strchr_0004a540)()" (parenthesized_expression "(*(code *)PTR_strchr_0004a540)" (( "(") (pointer_expression "*(code *)PTR_strchr_0004a540" (* "*") (cast_expression "(code *)PTR_strchr_0004a540" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0004a540"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) goto LAB_00014274;" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00014274;" (goto "goto") (statement_identifier "LAB_00014274") (; ";"))) (expression_statement "param_3 = (char *)0x80;" (assignment_expression "param_3 = (char *)0x80" (identifier "param_3") (= "=") (cast_expression "(char *)0x80" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x80"))) (; ";")) (expression_statement "piVar10 = piVar12;" (assignment_expression "piVar10 = piVar12" (identifier "piVar10") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "uVar6 = mbsalign();" (assignment_expression "uVar6 = mbsalign()" (identifier "uVar6") (= "=") (call_expression "mbsalign()" (identifier "mbsalign") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2 = PTR_LAB_0004a218;" (assignment_expression "puVar2 = PTR_LAB_0004a218" (identifier "puVar2") (= "=") (identifier "PTR_LAB_0004a218")) (; ";")) (expression_statement "puVar17 = PTR_DAT_0004a208;" (assignment_expression "puVar17 = PTR_DAT_0004a208" (identifier "puVar17") (= "=") (identifier "PTR_DAT_0004a208")) (; ";")) (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" (identifier "uVar11") (= "=") (call_expression "SUB41(param_3,0)" (identifier "SUB41") (argument_list "(param_3,0)" (( "(") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" (identifier "puVar9") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if (0x7f < uVar6) goto LAB_00014274;" (if "if") (parenthesized_expression "(0x7f < uVar6)" (( "(") (binary_expression "0x7f < uVar6" (number_literal "0x7f") (< "<") (identifier "uVar6")) () ")")) (goto_statement "goto LAB_00014274;" (goto "goto") (statement_identifier "LAB_00014274") (; ";"))) (if_statement "if (uVar14 < uVar7) {\n          uVar14 = uVar7;\n        }" (if "if") (parenthesized_expression "(uVar14 < uVar7)" (( "(") (binary_expression "uVar14 < uVar7" (identifier "uVar14") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n          uVar14 = uVar7;\n        }" ({ "{") (expression_statement "uVar14 = uVar7;" (assignment_expression "uVar14 = uVar7" (identifier "uVar14") (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar12 = piVar12 + 0x20;" (assignment_expression "piVar12 = piVar12 + 0x20" (identifier "piVar12") (= "=") (binary_expression "piVar12 + 0x20" (identifier "piVar12") (+ "+") (number_literal "0x20"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 != 0x2001a)" (( "(") (binary_expression "iVar13 != 0x2001a" (identifier "iVar13") (!= "!=") (number_literal "0x2001a")) () ")")) (; ";")) (expression_statement "bVar1 = uVar14 < uVar7;" (assignment_expression "bVar1 = uVar14 < uVar7" (identifier "bVar1") (= "=") (binary_expression "uVar14 < uVar7" (identifier "uVar14") (< "<") (identifier "uVar7"))) (; ";")) (expression_statement "uVar7 = uVar14;" (assignment_expression "uVar7 = uVar14" (identifier "uVar7") (= "=") (identifier "uVar14")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (; ";")) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_0004a208 + -0x587c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004a208 + -0x587c)" (( "(") (binary_expression "PTR_DAT_0004a208 + -0x587c" (identifier "PTR_DAT_0004a208") (+ "+") (number_literal "-0x587c")) () ")")))) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    } while (iVar13 != 8);" (do "do") (compound_statement "{\n      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);\n      piVar12 = local_634 + 2;\n      puVar15 = puVar4;\n      do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);\n      puVar4 = puVar4 + 0x180;\n      iVar13 = iVar13 + 4;\n      piVar16 = piVar16 + 1;\n    }" ({ "{") (expression_statement "iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);" (assignment_expression "iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(puVar17 + iVar13 + -0x5fa0)" (* "*") (cast_expression "(int *)(puVar17 + iVar13 + -0x5fa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar17 + iVar13 + -0x5fa0)" (( "(") (binary_expression "puVar17 + iVar13 + -0x5fa0" (binary_expression "puVar17 + iVar13" (identifier "puVar17") (+ "+") (identifier "iVar13")) (+ "+") (number_literal "-0x5fa0")) () ")"))))) (; ";")) (expression_statement "piVar12 = local_634 + 2;" (assignment_expression "piVar12 = local_634 + 2" (identifier "piVar12") (= "=") (binary_expression "local_634 + 2" (identifier "local_634") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar15 = puVar4;" (assignment_expression "puVar15 = puVar4" (identifier "puVar15") (= "=") (identifier "puVar4")) (; ";")) (do_statement "do {\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      } while (&local_2c != piVar12);" (do "do") (compound_statement "{\n        uVar11 = SUB41(param_3,0);\n        puVar9 = puVar15;\n        if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }\n        uVar11 = SUB41(param_3,0);\n        piVar12 = piVar12 + 0x20;\n        if (0x7f < uVar7) goto LAB_00014274;\n        puVar15 = puVar15 + 0x20;\n      }" ({ "{") (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" (identifier "uVar11") (= "=") (call_expression "SUB41(param_3,0)" (identifier "SUB41") (argument_list "(param_3,0)" (( "(") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar9 = puVar15;" (assignment_expression "puVar9 = puVar15" (identifier "puVar9") (= "=") (identifier "puVar15")) (; ";")) (if_statement "if (*piVar16 == 0) {\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }\n        else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" (if "if") (parenthesized_expression "(*piVar16 == 0)" (( "(") (binary_expression "*piVar16 == 0" (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          piVar10 = (int *)0x80;\n          param_3 = puVar2 + 0x78f8;\n          uVar7 = (*(code *)PTR_snprintf_0004a51c)();\n        }" ({ "{") (expression_statement "piVar10 = (int *)0x80;" (assignment_expression "piVar10 = (int *)0x80" (identifier "piVar10") (= "=") (cast_expression "(int *)0x80" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x80"))) (; ";")) (expression_statement "param_3 = puVar2 + 0x78f8;" (assignment_expression "param_3 = puVar2 + 0x78f8" (identifier "param_3") (= "=") (binary_expression "puVar2 + 0x78f8" (identifier "puVar2") (+ "+") (number_literal "0x78f8"))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_snprintf_0004a51c)();" (assignment_expression "uVar7 = (*(code *)PTR_snprintf_0004a51c)()" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_snprintf_0004a51c)()" (parenthesized_expression "(*(code *)PTR_snprintf_0004a51c)" (( "(") (pointer_expression "*(code *)PTR_snprintf_0004a51c" (* "*") (cast_expression "(code *)PTR_snprintf_0004a51c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_snprintf_0004a51c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" (else "else") (compound_statement "{\n          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);\n          if (piVar10 == (int *)0x0) goto LAB_00014274;\n          param_3 = (char *)0x1;\n          piVar10 = (int *)0x80;\n          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();\n        }" ({ "{") (expression_statement "piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);" (assignment_expression "piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81)" (identifier "piVar10") (= "=") (cast_expression "(int *)(uint)(*piVar16 - iVar5 < 0x81)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(uint)(*piVar16 - iVar5 < 0x81)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*piVar16 - iVar5 < 0x81)" (( "(") (binary_expression "*piVar16 - iVar5 < 0x81" (binary_expression "*piVar16 - iVar5" (pointer_expression "*piVar16" (* "*") (identifier "piVar16")) (- "-") (identifier "iVar5")) (< "<") (number_literal "0x81")) () ")"))))) (; ";")) (if_statement "if (piVar10 == (int *)0x0) goto LAB_00014274;" (if "if") (parenthesized_expression "(piVar10 == (int *)0x0)" (( "(") (binary_expression "piVar10 == (int *)0x0" (identifier "piVar10") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00014274;" (goto "goto") (statement_identifier "LAB_00014274") (; ";"))) (expression_statement "param_3 = (char *)0x1;" (assignment_expression "param_3 = (char *)0x1" (identifier "param_3") (= "=") (cast_expression "(char *)0x1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "piVar10 = (int *)0x80;" (assignment_expression "piVar10 = (int *)0x80" (identifier "piVar10") (= "=") (cast_expression "(int *)0x80" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x80"))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();" (assignment_expression "uVar7 = (*(code *)PTR___snprintf_chk_0004a640)()" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR___snprintf_chk_0004a640)()" (parenthesized_expression "(*(code *)PTR___snprintf_chk_0004a640)" (( "(") (pointer_expression "*(code *)PTR___snprintf_chk_0004a640" (* "*") (cast_expression "(code *)PTR___snprintf_chk_0004a640" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___snprintf_chk_0004a640"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (expression_statement "uVar11 = SUB41(param_3,0);" (assignment_expression "uVar11 = SUB41(param_3,0)" (identifier "uVar11") (= "=") (call_expression "SUB41(param_3,0)" (identifier "SUB41") (argument_list "(param_3,0)" (( "(") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "piVar12 = piVar12 + 0x20;" (assignment_expression "piVar12 = piVar12 + 0x20" (identifier "piVar12") (= "=") (binary_expression "piVar12 + 0x20" (identifier "piVar12") (+ "+") (number_literal "0x20"))) (; ";")) (if_statement "if (0x7f < uVar7) goto LAB_00014274;" (if "if") (parenthesized_expression "(0x7f < uVar7)" (( "(") (binary_expression "0x7f < uVar7" (number_literal "0x7f") (< "<") (identifier "uVar7")) () ")")) (goto_statement "goto LAB_00014274;" (goto "goto") (statement_identifier "LAB_00014274") (; ";"))) (expression_statement "puVar15 = puVar15 + 0x20;" (assignment_expression "puVar15 = puVar15 + 0x20" (identifier "puVar15") (= "=") (binary_expression "puVar15 + 0x20" (identifier "puVar15") (+ "+") (number_literal "0x20"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(&local_2c != piVar12)" (( "(") (binary_expression "&local_2c != piVar12" (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (!= "!=") (identifier "piVar12")) () ")")) (; ";")) (expression_statement "puVar4 = puVar4 + 0x180;" (assignment_expression "puVar4 = puVar4 + 0x180" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 0x180" (identifier "puVar4") (+ "+") (number_literal "0x180"))) (; ";")) (expression_statement "iVar13 = iVar13 + 4;" (assignment_expression "iVar13 = iVar13 + 4" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 4" (identifier "iVar13") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "piVar16 = piVar16 + 1;" (assignment_expression "piVar16 = piVar16 + 1" (identifier "piVar16") (= "=") (binary_expression "piVar16 + 1" (identifier "piVar16") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 != 8)" (( "(") (binary_expression "iVar13 != 8" (identifier "iVar13") (!= "!=") (number_literal "8")) () ")")) (; ";")) (expression_statement "PTR_DAT_0004a208[-0x5880] = 1;" (assignment_expression "PTR_DAT_0004a208[-0x5880] = 1" (subscript_expression "PTR_DAT_0004a208[-0x5880]" (identifier "PTR_DAT_0004a208") ([ "[") (number_literal "-0x5880") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (labeled_statement "LAB_00014274:\n  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" (statement_identifier "LAB_00014274") (: ":") (if_statement "if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" (if "if") (parenthesized_expression "(local_2c != *(int *)PTR___stack_chk_guard_0004a5fc)" (( "(") (binary_expression "local_2c != *(int *)PTR___stack_chk_guard_0004a5fc" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)PTR___stack_chk_guard_0004a5fc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0004a5fc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0004a5fc")))) () ")")) (compound_statement "{\n    puVar17 = PTR___stack_chk_fail_0004a5d0;\n    (*(code *)PTR___stack_chk_fail_0004a5d0)();\n    puVar4 = (undefined4 *)xmalloc(0x10);\n    if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }\n    puVar4[1] = piVar10;\n    if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }\n    *puVar4 = puVar9;\n    *(undefined1 *)(puVar4 + 2) = uVar11;\n    iVar13 = *(int *)(puVar17 + 0x35f48);\n    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);\n    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;\n    return;\n  }" ({ "{") (expression_statement "puVar17 = PTR___stack_chk_fail_0004a5d0;" (assignment_expression "puVar17 = PTR___stack_chk_fail_0004a5d0" (identifier "puVar17") (= "=") (identifier "PTR___stack_chk_fail_0004a5d0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0004a5d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0004a5d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0004a5d0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0004a5d0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0004a5d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0004a5d0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)xmalloc(0x10);" (assignment_expression "puVar4 = (undefined4 *)xmalloc(0x10)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)xmalloc(0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x10)" (identifier "xmalloc") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (if_statement "if (piVar10 != (int *)0x0) {\n      piVar10 = (int *)xstrdup(piVar10);\n    }" (if "if") (parenthesized_expression "(piVar10 != (int *)0x0)" (( "(") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      piVar10 = (int *)xstrdup(piVar10);\n    }" ({ "{") (expression_statement "piVar10 = (int *)xstrdup(piVar10);" (assignment_expression "piVar10 = (int *)xstrdup(piVar10)" (identifier "piVar10") (= "=") (cast_expression "(int *)xstrdup(piVar10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xstrdup(piVar10)" (identifier "xstrdup") (argument_list "(piVar10)" (( "(") (identifier "piVar10") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[1] = piVar10;" (assignment_expression "puVar4[1] = piVar10" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "piVar10")) (; ";")) (if_statement "if (puVar9 != (undefined4 *)0x0) {\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }" (if "if") (parenthesized_expression "(puVar9 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar9 != (undefined4 *)0x0" (identifier "puVar9") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar9 = (undefined4 *)xstrdup(puVar9);\n    }" ({ "{") (expression_statement "puVar9 = (undefined4 *)xstrdup(puVar9);" (assignment_expression "puVar9 = (undefined4 *)xstrdup(puVar9)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)xstrdup(puVar9)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xstrdup(puVar9)" (identifier "xstrdup") (argument_list "(puVar9)" (( "(") (identifier "puVar9") () ")"))))) (; ";")) (} "}"))) (expression_statement "*puVar4 = puVar9;" (assignment_expression "*puVar4 = puVar9" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar9")) (; ";")) (expression_statement "*(undefined1 *)(puVar4 + 2) = uVar11;" (assignment_expression "*(undefined1 *)(puVar4 + 2) = uVar11" (pointer_expression "*(undefined1 *)(puVar4 + 2)" (* "*") (cast_expression "(undefined1 *)(puVar4 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 2)" (( "(") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "iVar13 = *(int *)(puVar17 + 0x35f48);" (assignment_expression "iVar13 = *(int *)(puVar17 + 0x35f48)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(puVar17 + 0x35f48)" (* "*") (cast_expression "(int *)(puVar17 + 0x35f48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar17 + 0x35f48)" (( "(") (binary_expression "puVar17 + 0x35f48" (identifier "puVar17") (+ "+") (number_literal "0x35f48")) () ")"))))) (; ";")) (expression_statement "puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);" (assignment_expression "puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0)" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar13 + -0x49c0)" (* "*") (cast_expression "(undefined4 *)(iVar13 + -0x49c0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + -0x49c0)" (( "(") (binary_expression "iVar13 + -0x49c0" (identifier "iVar13") (+ "+") (number_literal "-0x49c0")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(iVar13 + -0x49c0) = puVar4;" (assignment_expression "*(undefined4 **)(iVar13 + -0x49c0) = puVar4" (pointer_expression "*(undefined4 **)(iVar13 + -0x49c0)" (* "*") (cast_expression "(undefined4 **)(iVar13 + -0x49c0)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar13 + -0x49c0)" (( "(") (binary_expression "iVar13 + -0x49c0" (identifier "iVar13") (+ "+") (number_literal "-0x49c0")) () ")")))) (= "=") (identifier "puVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (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))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (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: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (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))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2,char *param_3)

{
  bool bVar1;
  undefined *puVar2;
  char *pcVar3;
  undefined4 *puVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  char cVar8;
  undefined4 *puVar9;
  int *piVar10;
  undefined1 uVar11;
  int *piVar12;
  int iVar13;
  uint uVar14;
  undefined4 *puVar15;
  int *piVar16;
  undefined *puVar17;
  int local_634 [386];
  int local_2c;
  
  local_2c = *(int *)PTR___stack_chk_guard_0004a5fc;
  puVar9 = (undefined4 *)(PTR_DAT_0004a208 + -0x5fa0);
  piVar16 = local_634;
  piVar10 = (int *)0x25;
  piVar12 = piVar16;
  do {
    cVar8 = *(char *)*puVar9;
    pcVar3 = (char *)*puVar9;
    if (cVar8 == '\0') {
      pcVar3 = (char *)0x0;
    }
    else {
      do {
        if (cVar8 == '%') {
          cVar8 = pcVar3[1];
          if (cVar8 == '%') {
            pcVar3 = pcVar3 + 1;
            goto LAB_00014054;
          }
          if (cVar8 == 'b') goto LAB_00014080;
        }
        else {
LAB_00014054:
          cVar8 = pcVar3[1];
        }
        param_3 = pcVar3 + 1;
        pcVar3 = param_3;
      } while (cVar8 != '\0');
      pcVar3 = (char *)0x0;
    }
LAB_00014080:
    uVar11 = SUB41(param_3,0);
    *piVar12 = (int)pcVar3;
    puVar9 = puVar9 + 1;
    piVar12 = piVar12 + 1;
  } while (puVar9 != (undefined4 *)(PTR_DAT_0004a208 + -0x5f98));
  uVar7 = 0xc;
  if ((local_634[0] != 0) || (local_634[1] != 0)) {
    do {
      iVar13 = 0x2000e;
      uVar14 = 0;
      piVar12 = local_634 + 2;
      do {
        uVar11 = SUB41(param_3,0);
        puVar4 = (undefined4 *)(*(code *)PTR_nl_langinfo_0004a4e0)(iVar13);
        piVar10 = (int *)0x25;
        puVar9 = puVar4;
        iVar5 = (*(code *)PTR_strchr_0004a540)();
        if (iVar5 != 0) goto LAB_00014274;
        param_3 = (char *)0x80;
        piVar10 = piVar12;
        uVar6 = mbsalign();
        puVar2 = PTR_LAB_0004a218;
        puVar17 = PTR_DAT_0004a208;
        uVar11 = SUB41(param_3,0);
        puVar9 = puVar4;
        if (0x7f < uVar6) goto LAB_00014274;
        if (uVar14 < uVar7) {
          uVar14 = uVar7;
        }
        iVar13 = iVar13 + 1;
        piVar12 = piVar12 + 0x20;
      } while (iVar13 != 0x2001a);
      bVar1 = uVar14 < uVar7;
      uVar7 = uVar14;
    } while (bVar1);
    puVar4 = (undefined4 *)(PTR_DAT_0004a208 + -0x587c);
    iVar13 = 0;
    do {
      iVar5 = *(int *)(puVar17 + iVar13 + -0x5fa0);
      piVar12 = local_634 + 2;
      puVar15 = puVar4;
      do {
        uVar11 = SUB41(param_3,0);
        puVar9 = puVar15;
        if (*piVar16 == 0) {
          piVar10 = (int *)0x80;
          param_3 = puVar2 + 0x78f8;
          uVar7 = (*(code *)PTR_snprintf_0004a51c)();
        }
        else {
          piVar10 = (int *)(uint)(*piVar16 - iVar5 < 0x81);
          if (piVar10 == (int *)0x0) goto LAB_00014274;
          param_3 = (char *)0x1;
          piVar10 = (int *)0x80;
          uVar7 = (*(code *)PTR___snprintf_chk_0004a640)();
        }
        uVar11 = SUB41(param_3,0);
        piVar12 = piVar12 + 0x20;
        if (0x7f < uVar7) goto LAB_00014274;
        puVar15 = puVar15 + 0x20;
      } while (&local_2c != piVar12);
      puVar4 = puVar4 + 0x180;
      iVar13 = iVar13 + 4;
      piVar16 = piVar16 + 1;
    } while (iVar13 != 8);
    PTR_DAT_0004a208[-0x5880] = 1;
  }
LAB_00014274:
  if (local_2c != *(int *)PTR___stack_chk_guard_0004a5fc) {
    puVar17 = PTR___stack_chk_fail_0004a5d0;
    (*(code *)PTR___stack_chk_fail_0004a5d0)();
    puVar4 = (undefined4 *)xmalloc(0x10);
    if (piVar10 != (int *)0x0) {
      piVar10 = (int *)xstrdup(piVar10);
    }
    puVar4[1] = piVar10;
    if (puVar9 != (undefined4 *)0x0) {
      puVar9 = (undefined4 *)xstrdup(puVar9);
    }
    *puVar4 = puVar9;
    *(undefined1 *)(puVar4 + 2) = uVar11;
    iVar13 = *(int *)(puVar17 + 0x35f48);
    puVar4[3] = *(undefined4 *)(iVar13 + -0x49c0);
    *(undefined4 **)(iVar13 + -0x49c0) = puVar4;
    return;
  }
  return;
}

