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

void quotearg_free(void)

{
  char *__ptr;
  slotvec *psVar1;
  slotvec *__ptr_00;
  char **ppcVar2;
  
  __ptr_00 = slotvec;
  if (1 < nslots) {
    ppcVar2 = &slotvec[1].val;
    psVar1 = slotvec + nslots;
    do {
      __ptr = *ppcVar2;
      ppcVar2 = ppcVar2 + 2;
      free(__ptr);
    } while (ppcVar2 != &psVar1->val);
  }
  if (__ptr_00->val != slot0) {
    free(__ptr_00->val);
    slotvec0.val = slot0;
    slotvec0.size = 0x100;
  }
  if (__ptr_00 != &slotvec0) {
    free(__ptr_00);
    slotvec = &slotvec0;
  }
  nslots = 1;
  return;
}



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

void FUN_0001c130(void)

{
  undefined4 *puVar1;
  void *__ptr;
  undefined *__ptr_00;
  undefined4 *puVar2;
  
  __ptr_00 = PTR_DAT_0003e0f4;
  if (1 < DAT_0003e0f0) {
    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);
    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);
    do {
      __ptr = (void *)*puVar2;
      puVar2 = puVar2 + 2;
      free(__ptr);
    } while (puVar2 != puVar1);
  }
  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {
    free(*(undefined **)(__ptr_00 + 4));
    PTR_DAT_0003e0fc = &DAT_0003e1c0;
    DAT_0003e0f8 = 0x100;
  }
  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {
    free(__ptr_00);
    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;
  }
  DAT_0003e0f0 = 1;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000134d0
ADD EBX,0x21ccb
SUB ESP,0xc
MOV EAX,dword ptr [EBX + 0x2ec]
MOV EBP,dword ptr [EBX + 0x2f0]
CMP EAX,0x1
JLE 0x0001c174
LEA ESI,[EBP + 0xc]
LEA EDI,[EBP + EAX*0x8 + 0x4]
LEA ESI,[ESI]
SUB ESP,0xc
PUSH dword ptr [ESI]
ADD ESI,0x8
CALL 0x000120f0
ADD ESP,0x10
CMP ESI,EDI
JNZ 0x0001c160
MOV EAX,dword ptr [EBP + 0x4]
LEA ESI,[EBX + 0x3bc]
CMP EAX,ESI
JZ 0x0001c19d
SUB ESP,0xc
PUSH EAX
CALL 0x000120f0
MOV dword ptr [EBX + 0x2f8],ESI
ADD ESP,0x10
MOV dword ptr [EBX + 0x2f4],0x100
LEA ESI,[EBX + 0x2f4]
CMP EBP,ESI
JZ 0x0001c1b9
SUB ESP,0xc
PUSH EBP
CALL 0x000120f0
MOV dword ptr [EBX + 0x2f0],ESI
ADD ESP,0x10
MOV dword ptr [EBX + 0x2ec],0x1
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001c130(void)\n\n{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_0001c130(void)\n\n{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0001c130(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined *__ptr_00;" type_identifier (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "__ptr_00 = PTR_DAT_0003e0f4;" (assignment_expression "__ptr_00 = PTR_DAT_0003e0f4" identifier = identifier) ;) (if_statement "if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }" if (parenthesized_expression "(1 < DAT_0003e0f0)" ( (binary_expression "1 < DAT_0003e0f0" number_literal < identifier) )) (compound_statement "{\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }" { (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0003e0f4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0003e0f4 + 0xc)" ( (binary_expression "PTR_DAT_0003e0f4 + 0xc" identifier + number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" ( (binary_expression "PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4" (binary_expression "PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8" identifier + (binary_expression "DAT_0003e0f0 * 8" identifier * number_literal)) + number_literal) )))) ;) (do_statement "do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);" do (compound_statement "{\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    }" { (expression_statement "__ptr = (void *)*puVar2;" (assignment_expression "__ptr = (void *)*puVar2" identifier = (cast_expression "(void *)*puVar2" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 2;" (assignment_expression "puVar2 = puVar2 + 2" identifier = (binary_expression "puVar2 + 2" identifier + number_literal)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }) while (parenthesized_expression "(puVar2 != puVar1)" ( (binary_expression "puVar2 != puVar1" identifier != identifier) )) ;) })) (if_statement "if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }" if (parenthesized_expression "(*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0)" ( (binary_expression "*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0" (pointer_expression "*(undefined **)(__ptr_00 + 4)" * (cast_expression "(undefined **)(__ptr_00 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__ptr_00 + 4)" ( (binary_expression "__ptr_00 + 4" identifier + number_literal) )))) != (pointer_expression "&DAT_0003e1c0" & identifier)) )) (compound_statement "{\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }" { (expression_statement "free(*(undefined **)(__ptr_00 + 4));" (call_expression "free(*(undefined **)(__ptr_00 + 4))" identifier (argument_list "(*(undefined **)(__ptr_00 + 4))" ( (pointer_expression "*(undefined **)(__ptr_00 + 4)" * (cast_expression "(undefined **)(__ptr_00 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__ptr_00 + 4)" ( (binary_expression "__ptr_00 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "PTR_DAT_0003e0fc = &DAT_0003e1c0;" (assignment_expression "PTR_DAT_0003e0fc = &DAT_0003e1c0" identifier = (pointer_expression "&DAT_0003e1c0" & identifier)) ;) (expression_statement "DAT_0003e0f8 = 0x100;" (assignment_expression "DAT_0003e0f8 = 0x100" identifier = number_literal) ;) })) (if_statement "if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }" if (parenthesized_expression "((undefined4 *)__ptr_00 != &DAT_0003e0f8)" ( (binary_expression "(undefined4 *)__ptr_00 != &DAT_0003e0f8" (cast_expression "(undefined4 *)__ptr_00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (pointer_expression "&DAT_0003e0f8" & identifier)) )) (compound_statement "{\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }" { (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;" (assignment_expression "PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8" identifier = (cast_expression "(undefined *)&DAT_0003e0f8" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0003e0f8" & identifier))) ;) })) (expression_statement "DAT_0003e0f0 = 1;" (assignment_expression "DAT_0003e0f0 = 1" identifier = number_literal) ;) (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 quotearg_free(void)\n\n{\n  char *__ptr;\n  slotvec *psVar1;\n  slotvec *__ptr_00;\n  char **ppcVar2;\n  \n  __ptr_00 = slotvec;\n  if (1 < nslots) {\n    ppcVar2 = &slotvec[1].val;\n    psVar1 = slotvec + nslots;\n    do {\n      __ptr = *ppcVar2;\n      ppcVar2 = ppcVar2 + 2;\n      free(__ptr);\n    } while (ppcVar2 != &psVar1->val);\n  }\n  if (__ptr_00->val != slot0) {\n    free(__ptr_00->val);\n    slotvec0.val = slot0;\n    slotvec0.size = 0x100;\n  }\n  if (__ptr_00 != &slotvec0) {\n    free(__ptr_00);\n    slotvec = &slotvec0;\n  }\n  nslots = 1;\n  return;\n}\n\n" comment comment (function_definition "void quotearg_free(void)\n\n{\n  char *__ptr;\n  slotvec *psVar1;\n  slotvec *__ptr_00;\n  char **ppcVar2;\n  \n  __ptr_00 = slotvec;\n  if (1 < nslots) {\n    ppcVar2 = &slotvec[1].val;\n    psVar1 = slotvec + nslots;\n    do {\n      __ptr = *ppcVar2;\n      ppcVar2 = ppcVar2 + 2;\n      free(__ptr);\n    } while (ppcVar2 != &psVar1->val);\n  }\n  if (__ptr_00->val != slot0) {\n    free(__ptr_00->val);\n    slotvec0.val = slot0;\n    slotvec0.size = 0x100;\n  }\n  if (__ptr_00 != &slotvec0) {\n    free(__ptr_00);\n    slotvec = &slotvec0;\n  }\n  nslots = 1;\n  return;\n}" primitive_type (function_declarator "quotearg_free(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *__ptr;\n  slotvec *psVar1;\n  slotvec *__ptr_00;\n  char **ppcVar2;\n  \n  __ptr_00 = slotvec;\n  if (1 < nslots) {\n    ppcVar2 = &slotvec[1].val;\n    psVar1 = slotvec + nslots;\n    do {\n      __ptr = *ppcVar2;\n      ppcVar2 = ppcVar2 + 2;\n      free(__ptr);\n    } while (ppcVar2 != &psVar1->val);\n  }\n  if (__ptr_00->val != slot0) {\n    free(__ptr_00->val);\n    slotvec0.val = slot0;\n    slotvec0.size = 0x100;\n  }\n  if (__ptr_00 != &slotvec0) {\n    free(__ptr_00);\n    slotvec = &slotvec0;\n  }\n  nslots = 1;\n  return;\n}" { (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "slotvec *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "slotvec *__ptr_00;" type_identifier (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (expression_statement "__ptr_00 = slotvec;" (assignment_expression "__ptr_00 = slotvec" identifier = identifier) ;) (if_statement "if (1 < nslots) {\n    ppcVar2 = &slotvec[1].val;\n    psVar1 = slotvec + nslots;\n    do {\n      __ptr = *ppcVar2;\n      ppcVar2 = ppcVar2 + 2;\n      free(__ptr);\n    } while (ppcVar2 != &psVar1->val);\n  }" if (parenthesized_expression "(1 < nslots)" ( (binary_expression "1 < nslots" number_literal < identifier) )) (compound_statement "{\n    ppcVar2 = &slotvec[1].val;\n    psVar1 = slotvec + nslots;\n    do {\n      __ptr = *ppcVar2;\n      ppcVar2 = ppcVar2 + 2;\n      free(__ptr);\n    } while (ppcVar2 != &psVar1->val);\n  }" { (expression_statement "ppcVar2 = &slotvec[1].val;" (assignment_expression "ppcVar2 = &slotvec[1].val" identifier = (pointer_expression "&slotvec[1].val" & (field_expression "slotvec[1].val" (subscript_expression "slotvec[1]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "psVar1 = slotvec + nslots;" (assignment_expression "psVar1 = slotvec + nslots" identifier = (binary_expression "slotvec + nslots" identifier + identifier)) ;) (do_statement "do {\n      __ptr = *ppcVar2;\n      ppcVar2 = ppcVar2 + 2;\n      free(__ptr);\n    } while (ppcVar2 != &psVar1->val);" do (compound_statement "{\n      __ptr = *ppcVar2;\n      ppcVar2 = ppcVar2 + 2;\n      free(__ptr);\n    }" { (expression_statement "__ptr = *ppcVar2;" (assignment_expression "__ptr = *ppcVar2" identifier = (pointer_expression "*ppcVar2" * identifier)) ;) (expression_statement "ppcVar2 = ppcVar2 + 2;" (assignment_expression "ppcVar2 = ppcVar2 + 2" identifier = (binary_expression "ppcVar2 + 2" identifier + number_literal)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }) while (parenthesized_expression "(ppcVar2 != &psVar1->val)" ( (binary_expression "ppcVar2 != &psVar1->val" identifier != (pointer_expression "&psVar1->val" & (field_expression "psVar1->val" identifier -> field_identifier))) )) ;) })) (if_statement "if (__ptr_00->val != slot0) {\n    free(__ptr_00->val);\n    slotvec0.val = slot0;\n    slotvec0.size = 0x100;\n  }" if (parenthesized_expression "(__ptr_00->val != slot0)" ( (binary_expression "__ptr_00->val != slot0" (field_expression "__ptr_00->val" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    free(__ptr_00->val);\n    slotvec0.val = slot0;\n    slotvec0.size = 0x100;\n  }" { (expression_statement "free(__ptr_00->val);" (call_expression "free(__ptr_00->val)" identifier (argument_list "(__ptr_00->val)" ( (field_expression "__ptr_00->val" identifier -> field_identifier) ))) ;) (expression_statement "slotvec0.val = slot0;" (assignment_expression "slotvec0.val = slot0" (field_expression "slotvec0.val" identifier . field_identifier) = identifier) ;) (expression_statement "slotvec0.size = 0x100;" (assignment_expression "slotvec0.size = 0x100" (field_expression "slotvec0.size" identifier . field_identifier) = number_literal) ;) })) (if_statement "if (__ptr_00 != &slotvec0) {\n    free(__ptr_00);\n    slotvec = &slotvec0;\n  }" if (parenthesized_expression "(__ptr_00 != &slotvec0)" ( (binary_expression "__ptr_00 != &slotvec0" identifier != (pointer_expression "&slotvec0" & identifier)) )) (compound_statement "{\n    free(__ptr_00);\n    slotvec = &slotvec0;\n  }" { (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "slotvec = &slotvec0;" (assignment_expression "slotvec = &slotvec0" identifier = (pointer_expression "&slotvec0" & identifier)) ;) })) (expression_statement "nslots = 1;" (assignment_expression "nslots = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001c130(void)\n\n{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}\n\n" (function_definition "void FUN_0001c130(void)\n\n{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0001c130(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined *__ptr_00;" type_identifier (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "__ptr_00 = PTR_DAT_0003e0f4;" (assignment_expression "__ptr_00 = PTR_DAT_0003e0f4" identifier = identifier) ;) (if_statement "if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }" if (parenthesized_expression "(1 < DAT_0003e0f0)" ( (binary_expression "1 < DAT_0003e0f0" number_literal < identifier) )) (compound_statement "{\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }" { (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0003e0f4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0003e0f4 + 0xc)" ( (binary_expression "PTR_DAT_0003e0f4 + 0xc" identifier + number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" ( (binary_expression "PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4" (binary_expression "PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8" identifier + (binary_expression "DAT_0003e0f0 * 8" identifier * number_literal)) + number_literal) )))) ;) (do_statement "do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);" do (compound_statement "{\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    }" { (expression_statement "__ptr = (void *)*puVar2;" (assignment_expression "__ptr = (void *)*puVar2" identifier = (cast_expression "(void *)*puVar2" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 2;" (assignment_expression "puVar2 = puVar2 + 2" identifier = (binary_expression "puVar2 + 2" identifier + number_literal)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }) while (parenthesized_expression "(puVar2 != puVar1)" ( (binary_expression "puVar2 != puVar1" identifier != identifier) )) ;) })) (if_statement "if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }" if (parenthesized_expression "(*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0)" ( (binary_expression "*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0" (pointer_expression "*(undefined **)(__ptr_00 + 4)" * (cast_expression "(undefined **)(__ptr_00 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__ptr_00 + 4)" ( (binary_expression "__ptr_00 + 4" identifier + number_literal) )))) != (pointer_expression "&DAT_0003e1c0" & identifier)) )) (compound_statement "{\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }" { (expression_statement "free(*(undefined **)(__ptr_00 + 4));" (call_expression "free(*(undefined **)(__ptr_00 + 4))" identifier (argument_list "(*(undefined **)(__ptr_00 + 4))" ( (pointer_expression "*(undefined **)(__ptr_00 + 4)" * (cast_expression "(undefined **)(__ptr_00 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__ptr_00 + 4)" ( (binary_expression "__ptr_00 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "PTR_DAT_0003e0fc = &DAT_0003e1c0;" (assignment_expression "PTR_DAT_0003e0fc = &DAT_0003e1c0" identifier = (pointer_expression "&DAT_0003e1c0" & identifier)) ;) (expression_statement "DAT_0003e0f8 = 0x100;" (assignment_expression "DAT_0003e0f8 = 0x100" identifier = number_literal) ;) })) (if_statement "if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }" if (parenthesized_expression "((undefined4 *)__ptr_00 != &DAT_0003e0f8)" ( (binary_expression "(undefined4 *)__ptr_00 != &DAT_0003e0f8" (cast_expression "(undefined4 *)__ptr_00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (pointer_expression "&DAT_0003e0f8" & identifier)) )) (compound_statement "{\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }" { (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;" (assignment_expression "PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8" identifier = (cast_expression "(undefined *)&DAT_0003e0f8" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0003e0f8" & identifier))) ;) })) (expression_statement "DAT_0003e0f0 = 1;" (assignment_expression "DAT_0003e0f0 = 1" identifier = number_literal) ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0001c130(void)\n\n{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001c130(void)" (identifier "FUN_0001c130") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  void *__ptr;\n  undefined *__ptr_00;\n  undefined4 *puVar2;\n  \n  __ptr_00 = PTR_DAT_0003e0f4;\n  if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }\n  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }\n  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }\n  DAT_0003e0f0 = 1;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined *__ptr_00;" (type_identifier "undefined") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "__ptr_00 = PTR_DAT_0003e0f4;" (assignment_expression "__ptr_00 = PTR_DAT_0003e0f4" (identifier "__ptr_00") (= "=") (identifier "PTR_DAT_0003e0f4")) (; ";")) (if_statement "if (1 < DAT_0003e0f0) {\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }" (if "if") (parenthesized_expression "(1 < DAT_0003e0f0)" (( "(") (binary_expression "1 < DAT_0003e0f0" (number_literal "1") (< "<") (identifier "DAT_0003e0f0")) () ")")) (compound_statement "{\n    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);\n    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);\n    do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);\n  }" ({ "{") (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_0003e0f4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0003e0f4 + 0xc)" (( "(") (binary_expression "PTR_DAT_0003e0f4 + 0xc" (identifier "PTR_DAT_0003e0f4") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4)" (( "(") (binary_expression "PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4" (binary_expression "PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8" (identifier "PTR_DAT_0003e0f4") (+ "+") (binary_expression "DAT_0003e0f0 * 8" (identifier "DAT_0003e0f0") (* "*") (number_literal "8"))) (+ "+") (number_literal "4")) () ")")))) (; ";")) (do_statement "do {\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    } while (puVar2 != puVar1);" (do "do") (compound_statement "{\n      __ptr = (void *)*puVar2;\n      puVar2 = puVar2 + 2;\n      free(__ptr);\n    }" ({ "{") (expression_statement "__ptr = (void *)*puVar2;" (assignment_expression "__ptr = (void *)*puVar2" (identifier "__ptr") (= "=") (cast_expression "(void *)*puVar2" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "puVar2 = puVar2 + 2;" (assignment_expression "puVar2 = puVar2 + 2" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != puVar1)" (( "(") (binary_expression "puVar2 != puVar1" (identifier "puVar2") (!= "!=") (identifier "puVar1")) () ")")) (; ";")) (} "}"))) (if_statement "if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }" (if "if") (parenthesized_expression "(*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0)" (( "(") (binary_expression "*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0" (pointer_expression "*(undefined **)(__ptr_00 + 4)" (* "*") (cast_expression "(undefined **)(__ptr_00 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(__ptr_00 + 4)" (( "(") (binary_expression "__ptr_00 + 4" (identifier "__ptr_00") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (pointer_expression "&DAT_0003e1c0" (& "&") (identifier "DAT_0003e1c0"))) () ")")) (compound_statement "{\n    free(*(undefined **)(__ptr_00 + 4));\n    PTR_DAT_0003e0fc = &DAT_0003e1c0;\n    DAT_0003e0f8 = 0x100;\n  }" ({ "{") (expression_statement "free(*(undefined **)(__ptr_00 + 4));" (call_expression "free(*(undefined **)(__ptr_00 + 4))" (identifier "free") (argument_list "(*(undefined **)(__ptr_00 + 4))" (( "(") (pointer_expression "*(undefined **)(__ptr_00 + 4)" (* "*") (cast_expression "(undefined **)(__ptr_00 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(__ptr_00 + 4)" (( "(") (binary_expression "__ptr_00 + 4" (identifier "__ptr_00") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (expression_statement "PTR_DAT_0003e0fc = &DAT_0003e1c0;" (assignment_expression "PTR_DAT_0003e0fc = &DAT_0003e1c0" (identifier "PTR_DAT_0003e0fc") (= "=") (pointer_expression "&DAT_0003e1c0" (& "&") (identifier "DAT_0003e1c0"))) (; ";")) (expression_statement "DAT_0003e0f8 = 0x100;" (assignment_expression "DAT_0003e0f8 = 0x100" (identifier "DAT_0003e0f8") (= "=") (number_literal "0x100")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }" (if "if") (parenthesized_expression "((undefined4 *)__ptr_00 != &DAT_0003e0f8)" (( "(") (binary_expression "(undefined4 *)__ptr_00 != &DAT_0003e0f8" (cast_expression "(undefined4 *)__ptr_00" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__ptr_00")) (!= "!=") (pointer_expression "&DAT_0003e0f8" (& "&") (identifier "DAT_0003e0f8"))) () ")")) (compound_statement "{\n    free(__ptr_00);\n    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;\n  }" ({ "{") (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (expression_statement "PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;" (assignment_expression "PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8" (identifier "PTR_DAT_0003e0f4") (= "=") (cast_expression "(undefined *)&DAT_0003e0f8" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0003e0f8" (& "&") (identifier "DAT_0003e0f8")))) (; ";")) (} "}"))) (expression_statement "DAT_0003e0f0 = 1;" (assignment_expression "DAT_0003e0f0 = 1" (identifier "DAT_0003e0f0") (= "=") (number_literal "1")) (; ";")) (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)

{
  char *__ptr;
  type_1 *psVar1;
  type_1 *var_5;
  char **var_2;
  
  var_5 = type_1;
  if (1 < var_1) {
    var_2 = &type_1[1].val;
    psVar1 = type_1 + var_1;
    do {
      __ptr = *var_2;
      var_2 = var_2 + 2;
      var_3(__ptr);
    } while (var_2 != &psVar1->val);
  }
  if (var_5->val != var_4) {
    var_3(var_5->val);
    slotvec0.val = var_4;
    slotvec0.size = 0x100;
  }
  if (var_5 != &slotvec0) {
    var_3(var_5);
    type_1 = &slotvec0;
  }
  var_1 = 1;
  return;
}


(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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_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: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))))

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

void MASKED(void)

{
  undefined4 *puVar1;
  void *__ptr;
  undefined *__ptr_00;
  undefined4 *puVar2;
  
  __ptr_00 = PTR_DAT_0003e0f4;
  if (1 < DAT_0003e0f0) {
    puVar2 = (undefined4 *)(PTR_DAT_0003e0f4 + 0xc);
    puVar1 = (undefined4 *)(PTR_DAT_0003e0f4 + DAT_0003e0f0 * 8 + 4);
    do {
      __ptr = (void *)*puVar2;
      puVar2 = puVar2 + 2;
      free(__ptr);
    } while (puVar2 != puVar1);
  }
  if (*(undefined **)(__ptr_00 + 4) != &DAT_0003e1c0) {
    free(*(undefined **)(__ptr_00 + 4));
    PTR_DAT_0003e0fc = &DAT_0003e1c0;
    DAT_0003e0f8 = 0x100;
  }
  if ((undefined4 *)__ptr_00 != &DAT_0003e0f8) {
    free(__ptr_00);
    PTR_DAT_0003e0f4 = (undefined *)&DAT_0003e0f8;
  }
  DAT_0003e0f0 = 1;
  return;
}

