
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void reinitialize(void)

{
}



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

void FUN_0002ac4b(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  
  puVar1 = DAT_000dc700;
  iVar2 = DAT_000dc700[0xe];
  if (iVar2 != 0) {
    uVar4 = 0;
    while( true ) {
      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));
      uVar4 = uVar4 + 1;
      if ((uint)puVar1[5] < uVar4) break;
      iVar2 = puVar1[0xe];
    }
    free((void *)puVar1[0xe]);
    puVar1[0xe] = 0;
  }
  puVar1[5] = 0xffffffff;
  *puVar1 = 0;
  puVar1[6] = 0;
  if (puVar1[0x12] == 0) {
    uVar3 = FUN_0001a30f();
    puVar1[0x12] = uVar3;
    puVar1[0x14] = 0xfffffffe;
  }
  else {
    FUN_0001a413();
    FUN_0001a544();
    puVar1[0x14] = 0xffffffff;
  }
  puVar1[0xb] = 0;
  puVar1[0xc] = 0;
  puVar1[4] = 0;
  *(undefined1 *)((int)puVar1 + 0x103) = 1;
  FUN_00029e1c();
  if (*(char *)((int)puVar1 + 0x102) != '\0') {
    __printf_chk(1,&DAT_000cf582);
  }
  FUN_0002ab59();
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017650
ADD EBX,0xb0dcd
MOV ESI,dword ptr [EBX + 0xce0]
MOV EAX,dword ptr [ESI + 0x38]
TEST EAX,EAX
JZ 0x0002ac9a
XOR EDI,EDI
SUB ESP,0xc
MOV EAX,dword ptr [EAX + EDI*0x4]
SUB EAX,0x4
PUSH EAX
CALL 0x000175a0
INC EDI
ADD ESP,0x10
CMP dword ptr [ESI + 0x14],EDI
JC 0x0002ac85
MOV EAX,dword ptr [ESI + 0x38]
JMP 0x0002ac68
SUB ESP,0xc
PUSH dword ptr [ESI + 0x38]
CALL 0x000175a0
MOV dword ptr [ESI + 0x38],0x0
ADD ESP,0x10
MOV dword ptr [ESI + 0x14],0xffffffff
MOV dword ptr [ESI],0x0
MOV dword ptr [ESI + 0x18],0x0
MOV EAX,dword ptr [ESI + 0x48]
TEST EAX,EAX
JZ 0x0002ad10
XOR EDX,EDX
CALL 0x0001a413
XOR EDX,EDX
CALL 0x0001a544
MOV dword ptr [ESI + 0x50],0xffffffff
MOV dword ptr [ESI + 0x2c],0x0
MOV dword ptr [ESI + 0x30],0x0
MOV dword ptr [ESI + 0x10],0x0
MOV byte ptr [ESI + 0x103],0x1
CALL 0x00029e1c
CMP byte ptr [ESI + 0x102],0x0
JZ 0x0002ad08
SUB ESP,0x8
LEA EAX,[EBX + 0xffff3b62]
PUSH EAX
PUSH 0x1
CALL 0x00016f40
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
JMP 0x0002ab59
LEA EAX,[EBX + 0xffff27aa]
CALL 0x0001a30f
MOV dword ptr [ESI + 0x48],EAX
MOV dword ptr [ESI + 0x50],0xfffffffe
JMP 0x0002acca
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0002ac4b(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}\n\n" comment (function_definition "void FUN_0002ac4b(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}" primitive_type (function_declarator "FUN_0002ac4b(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "puVar1 = DAT_000dc700;" (assignment_expression "puVar1 = DAT_000dc700" identifier = identifier) ;) (expression_statement "iVar2 = DAT_000dc700[0xe];" (assignment_expression "iVar2 = DAT_000dc700[0xe]" identifier = (subscript_expression "DAT_000dc700[0xe]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }" { (expression_statement "free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));" (call_expression "free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4))" identifier (argument_list "((void *)(*(int *)(iVar2 + uVar4 * 4) + -4))" ( (cast_expression "(void *)(*(int *)(iVar2 + uVar4 * 4) + -4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + uVar4 * 4) + -4)" ( (binary_expression "*(int *)(iVar2 + uVar4 * 4) + -4" (pointer_expression "*(int *)(iVar2 + uVar4 * 4)" * (cast_expression "(int *)(iVar2 + uVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 4)" ( (binary_expression "iVar2 + uVar4 * 4" identifier + (binary_expression "uVar4 * 4" identifier * number_literal)) )))) + number_literal) ))) ))) ;) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)puVar1[5] < uVar4) break;" if (parenthesized_expression "((uint)puVar1[5] < uVar4)" ( (binary_expression "(uint)puVar1[5] < uVar4" (cast_expression "(uint)puVar1[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar1[5]" identifier [ number_literal ])) < identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = puVar1[0xe];" (assignment_expression "iVar2 = puVar1[0xe]" identifier = (subscript_expression "puVar1[0xe]" identifier [ number_literal ])) ;) })) (expression_statement "free((void *)puVar1[0xe]);" (call_expression "free((void *)puVar1[0xe])" identifier (argument_list "((void *)puVar1[0xe])" ( (cast_expression "(void *)puVar1[0xe]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[0xe]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar1[0xe] = 0;" (assignment_expression "puVar1[0xe] = 0" (subscript_expression "puVar1[0xe]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "puVar1[5] = 0xffffffff;" (assignment_expression "puVar1[5] = 0xffffffff" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" if (parenthesized_expression "(puVar1[0x12] == 0)" ( (binary_expression "puVar1[0x12] == 0" (subscript_expression "puVar1[0x12]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }" { (expression_statement "uVar3 = FUN_0001a30f();" (assignment_expression "uVar3 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[0x12] = uVar3;" (assignment_expression "puVar1[0x12] = uVar3" (subscript_expression "puVar1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0x14] = 0xfffffffe;" (assignment_expression "puVar1[0x14] = 0xfffffffe" (subscript_expression "puVar1[0x14]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" else (compound_statement "{\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" { (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001a544();" (call_expression "FUN_0001a544()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1[0x14] = 0xffffffff;" (assignment_expression "puVar1[0x14] = 0xffffffff" (subscript_expression "puVar1[0x14]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0xc] = 0;" (assignment_expression "puVar1[0xc] = 0" (subscript_expression "puVar1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x103) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x103) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x103)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x103)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x103)" ( (binary_expression "(int)puVar1 + 0x103" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00029e1c();" (call_expression "FUN_00029e1c()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }" if (parenthesized_expression "(*(char *)((int)puVar1 + 0x102) != '\0')" ( (binary_expression "*(char *)((int)puVar1 + 0x102) != '\0'" (pointer_expression "*(char *)((int)puVar1 + 0x102)" * (cast_expression "(char *)((int)puVar1 + 0x102)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x102)" ( (binary_expression "(int)puVar1 + 0x102" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    __printf_chk(1,&DAT_000cf582);\n  }" { (expression_statement "__printf_chk(1,&DAT_000cf582);" (call_expression "__printf_chk(1,&DAT_000cf582)" identifier (argument_list "(1,&DAT_000cf582)" ( number_literal , (pointer_expression "&DAT_000cf582" & identifier) ))) ;) })) (expression_statement "FUN_0002ab59();" (call_expression "FUN_0002ab59()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid reinitialize(void)\n\n{\n}\n\n" comment comment (function_definition "void reinitialize(void)\n\n{\n}" primitive_type (function_declarator "reinitialize(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0002ac4b(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}\n\n" (function_definition "void FUN_0002ac4b(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}" primitive_type (function_declarator "FUN_0002ac4b(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "puVar1 = DAT_000dc700;" (assignment_expression "puVar1 = DAT_000dc700" identifier = identifier) ;) (expression_statement "iVar2 = DAT_000dc700[0xe];" (assignment_expression "iVar2 = DAT_000dc700[0xe]" identifier = (subscript_expression "DAT_000dc700[0xe]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }" { (expression_statement "free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));" (call_expression "free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4))" identifier (argument_list "((void *)(*(int *)(iVar2 + uVar4 * 4) + -4))" ( (cast_expression "(void *)(*(int *)(iVar2 + uVar4 * 4) + -4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + uVar4 * 4) + -4)" ( (binary_expression "*(int *)(iVar2 + uVar4 * 4) + -4" (pointer_expression "*(int *)(iVar2 + uVar4 * 4)" * (cast_expression "(int *)(iVar2 + uVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 4)" ( (binary_expression "iVar2 + uVar4 * 4" identifier + (binary_expression "uVar4 * 4" identifier * number_literal)) )))) + number_literal) ))) ))) ;) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)puVar1[5] < uVar4) break;" if (parenthesized_expression "((uint)puVar1[5] < uVar4)" ( (binary_expression "(uint)puVar1[5] < uVar4" (cast_expression "(uint)puVar1[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar1[5]" identifier [ number_literal ])) < identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = puVar1[0xe];" (assignment_expression "iVar2 = puVar1[0xe]" identifier = (subscript_expression "puVar1[0xe]" identifier [ number_literal ])) ;) })) (expression_statement "free((void *)puVar1[0xe]);" (call_expression "free((void *)puVar1[0xe])" identifier (argument_list "((void *)puVar1[0xe])" ( (cast_expression "(void *)puVar1[0xe]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[0xe]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar1[0xe] = 0;" (assignment_expression "puVar1[0xe] = 0" (subscript_expression "puVar1[0xe]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "puVar1[5] = 0xffffffff;" (assignment_expression "puVar1[5] = 0xffffffff" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" if (parenthesized_expression "(puVar1[0x12] == 0)" ( (binary_expression "puVar1[0x12] == 0" (subscript_expression "puVar1[0x12]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }" { (expression_statement "uVar3 = FUN_0001a30f();" (assignment_expression "uVar3 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[0x12] = uVar3;" (assignment_expression "puVar1[0x12] = uVar3" (subscript_expression "puVar1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0x14] = 0xfffffffe;" (assignment_expression "puVar1[0x14] = 0xfffffffe" (subscript_expression "puVar1[0x14]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" else (compound_statement "{\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" { (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001a544();" (call_expression "FUN_0001a544()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1[0x14] = 0xffffffff;" (assignment_expression "puVar1[0x14] = 0xffffffff" (subscript_expression "puVar1[0x14]" identifier [ number_literal ]) = number_literal) ;) }))) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0xc] = 0;" (assignment_expression "puVar1[0xc] = 0" (subscript_expression "puVar1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x103) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x103) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x103)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x103)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x103)" ( (binary_expression "(int)puVar1 + 0x103" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00029e1c();" (call_expression "FUN_00029e1c()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }" if (parenthesized_expression "(*(char *)((int)puVar1 + 0x102) != '\0')" ( (binary_expression "*(char *)((int)puVar1 + 0x102) != '\0'" (pointer_expression "*(char *)((int)puVar1 + 0x102)" * (cast_expression "(char *)((int)puVar1 + 0x102)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x102)" ( (binary_expression "(int)puVar1 + 0x102" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    __printf_chk(1,&DAT_000cf582);\n  }" { (expression_statement "__printf_chk(1,&DAT_000cf582);" (call_expression "__printf_chk(1,&DAT_000cf582)" identifier (argument_list "(1,&DAT_000cf582)" ( number_literal , (pointer_expression "&DAT_000cf582" & identifier) ))) ;) })) (expression_statement "FUN_0002ab59();" (call_expression "FUN_0002ab59()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) + LIT) ))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0002ac4b(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002ac4b(void)" (identifier "FUN_0002ac4b") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  \n  puVar1 = DAT_000dc700;\n  iVar2 = DAT_000dc700[0xe];\n  if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }\n  puVar1[5] = 0xffffffff;\n  *puVar1 = 0;\n  puVar1[6] = 0;\n  if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }\n  puVar1[0xb] = 0;\n  puVar1[0xc] = 0;\n  puVar1[4] = 0;\n  *(undefined1 *)((int)puVar1 + 0x103) = 1;\n  FUN_00029e1c();\n  if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }\n  FUN_0002ab59();\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "puVar1 = DAT_000dc700;" (assignment_expression "puVar1 = DAT_000dc700" (identifier "puVar1") (= "=") (identifier "DAT_000dc700")) (; ";")) (expression_statement "iVar2 = DAT_000dc700[0xe];" (assignment_expression "iVar2 = DAT_000dc700[0xe]" (identifier "iVar2") (= "=") (subscript_expression "DAT_000dc700[0xe]" (identifier "DAT_000dc700") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (if_statement "if (iVar2 != 0) {\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = 0;\n    while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }\n    free((void *)puVar1[0xe]);\n    puVar1[0xe] = 0;\n  }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));\n      uVar4 = uVar4 + 1;\n      if ((uint)puVar1[5] < uVar4) break;\n      iVar2 = puVar1[0xe];\n    }" ({ "{") (expression_statement "free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));" (call_expression "free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4))" (identifier "free") (argument_list "((void *)(*(int *)(iVar2 + uVar4 * 4) + -4))" (( "(") (cast_expression "(void *)(*(int *)(iVar2 + uVar4 * 4) + -4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar2 + uVar4 * 4) + -4)" (( "(") (binary_expression "*(int *)(iVar2 + uVar4 * 4) + -4" (pointer_expression "*(int *)(iVar2 + uVar4 * 4)" (* "*") (cast_expression "(int *)(iVar2 + uVar4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar4 * 4)" (( "(") (binary_expression "iVar2 + uVar4 * 4" (identifier "iVar2") (+ "+") (binary_expression "uVar4 * 4" (identifier "uVar4") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "-4")) () ")"))) () ")"))) (; ";")) (expression_statement "uVar4 = uVar4 + 1;" (assignment_expression "uVar4 = uVar4 + 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((uint)puVar1[5] < uVar4) break;" (if "if") (parenthesized_expression "((uint)puVar1[5] < uVar4)" (( "(") (binary_expression "(uint)puVar1[5] < uVar4" (cast_expression "(uint)puVar1[5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]"))) (< "<") (identifier "uVar4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = puVar1[0xe];" (assignment_expression "iVar2 = puVar1[0xe]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[0xe]" (identifier "puVar1") ([ "[") (number_literal "0xe") (] "]"))) (; ";")) (} "}"))) (expression_statement "free((void *)puVar1[0xe]);" (call_expression "free((void *)puVar1[0xe])" (identifier "free") (argument_list "((void *)puVar1[0xe])" (( "(") (cast_expression "(void *)puVar1[0xe]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[0xe]" (identifier "puVar1") ([ "[") (number_literal "0xe") (] "]"))) () ")"))) (; ";")) (expression_statement "puVar1[0xe] = 0;" (assignment_expression "puVar1[0xe] = 0" (subscript_expression "puVar1[0xe]" (identifier "puVar1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "puVar1[5] = 0xffffffff;" (assignment_expression "puVar1[5] = 0xffffffff" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (puVar1[0x12] == 0) {\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }\n  else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" (if "if") (parenthesized_expression "(puVar1[0x12] == 0)" (( "(") (binary_expression "puVar1[0x12] == 0" (subscript_expression "puVar1[0x12]" (identifier "puVar1") ([ "[") (number_literal "0x12") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = FUN_0001a30f();\n    puVar1[0x12] = uVar3;\n    puVar1[0x14] = 0xfffffffe;\n  }" ({ "{") (expression_statement "uVar3 = FUN_0001a30f();" (assignment_expression "uVar3 = FUN_0001a30f()" (identifier "uVar3") (= "=") (call_expression "FUN_0001a30f()" (identifier "FUN_0001a30f") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1[0x12] = uVar3;" (assignment_expression "puVar1[0x12] = uVar3" (subscript_expression "puVar1[0x12]" (identifier "puVar1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar1[0x14] = 0xfffffffe;" (assignment_expression "puVar1[0x14] = 0xfffffffe" (subscript_expression "puVar1[0x14]" (identifier "puVar1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (number_literal "0xfffffffe")) (; ";")) (} "}")) (else_clause "else {\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" (else "else") (compound_statement "{\n    FUN_0001a413();\n    FUN_0001a544();\n    puVar1[0x14] = 0xffffffff;\n  }" ({ "{") (expression_statement "FUN_0001a413();" (call_expression "FUN_0001a413()" (identifier "FUN_0001a413") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001a544();" (call_expression "FUN_0001a544()" (identifier "FUN_0001a544") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1[0x14] = 0xffffffff;" (assignment_expression "puVar1[0x14] = 0xffffffff" (subscript_expression "puVar1[0x14]" (identifier "puVar1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0xc] = 0;" (assignment_expression "puVar1[0xc] = 0" (subscript_expression "puVar1[0xc]" (identifier "puVar1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 0x103) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x103) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x103)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 0x103)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 0x103)" (( "(") (binary_expression "(int)puVar1 + 0x103" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x103")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_00029e1c();" (call_expression "FUN_00029e1c()" (identifier "FUN_00029e1c") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(char *)((int)puVar1 + 0x102) != '\0') {\n    __printf_chk(1,&DAT_000cf582);\n  }" (if "if") (parenthesized_expression "(*(char *)((int)puVar1 + 0x102) != '\0')" (( "(") (binary_expression "*(char *)((int)puVar1 + 0x102) != '\0'" (pointer_expression "*(char *)((int)puVar1 + 0x102)" (* "*") (cast_expression "(char *)((int)puVar1 + 0x102)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 0x102)" (( "(") (binary_expression "(int)puVar1 + 0x102" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x102")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    __printf_chk(1,&DAT_000cf582);\n  }" ({ "{") (expression_statement "__printf_chk(1,&DAT_000cf582);" (call_expression "__printf_chk(1,&DAT_000cf582)" (identifier "__printf_chk") (argument_list "(1,&DAT_000cf582)" (( "(") (number_literal "1") (, ",") (pointer_expression "&DAT_000cf582" (& "&") (identifier "DAT_000cf582")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0002ab59();" (call_expression "FUN_0002ab59()" (identifier "FUN_0002ab59") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
}


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

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

void MASKED(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  
  puVar1 = DAT_000dc700;
  iVar2 = DAT_000dc700[0xe];
  if (iVar2 != 0) {
    uVar4 = 0;
    while( true ) {
      free((void *)(*(int *)(iVar2 + uVar4 * 4) + -4));
      uVar4 = uVar4 + 1;
      if ((uint)puVar1[5] < uVar4) break;
      iVar2 = puVar1[0xe];
    }
    free((void *)puVar1[0xe]);
    puVar1[0xe] = 0;
  }
  puVar1[5] = 0xffffffff;
  *puVar1 = 0;
  puVar1[6] = 0;
  if (puVar1[0x12] == 0) {
    uVar3 = FUN_0001a30f();
    puVar1[0x12] = uVar3;
    puVar1[0x14] = 0xfffffffe;
  }
  else {
    FUN_0001a413();
    FUN_0001a544();
    puVar1[0x14] = 0xffffffff;
  }
  puVar1[0xb] = 0;
  puVar1[0xc] = 0;
  puVar1[4] = 0;
  *(undefined1 *)((int)puVar1 + 0x103) = 1;
  FUN_00029e1c();
  if (*(char *)((int)puVar1 + 0x102) != '\0') {
    __printf_chk(1,&DAT_000cf582);
  }
  FUN_0002ab59();
  return;
}

