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

void __regparm3 freemust(must *mp)

{
  char *__ptr;
  char **__ptr_00;
  
  __ptr_00 = mp->in;
  __ptr = *__ptr_00;
  if (__ptr != (char *)0x0) {
    do {
      __ptr_00 = __ptr_00 + 1;
      free(__ptr);
      __ptr = *__ptr_00;
    } while (__ptr != (char *)0x0);
    __ptr_00 = mp->in;
  }
  free(__ptr_00);
  free(mp->left);
  free(mp->right);
  free(mp->is);
  free(mp);
  return;
}



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

void __regparm3 FUN_0001b6b0(undefined4 *param_1)

{
  void *__ptr;
  int *__ptr_00;
  
  __ptr_00 = (int *)*param_1;
  __ptr = (void *)*__ptr_00;
  if (__ptr != (void *)0x0) {
    do {
      __ptr_00 = __ptr_00 + 1;
      free(__ptr);
      __ptr = (void *)*__ptr_00;
    } while (__ptr != (void *)0x0);
    __ptr_00 = (int *)*param_1;
  }
  free(__ptr_00);
  free((void *)param_1[1]);
  free((void *)param_1[2]);
  free((void *)param_1[3]);
  free(param_1);
  return;
}


PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [EAX]
CALL 0x00012c30
ADD EBX,0x15944
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x0001b6e7
LEA ESI,[ESI]
NOP
SUB ESP,0xc
ADD ESI,0x4
PUSH EAX
CALL 0x00012700
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001b6d0
MOV ESI,dword ptr [EDI]
SUB ESP,0xc
PUSH ESI
CALL 0x00012700
POP EAX
PUSH dword ptr [EDI + 0x4]
CALL 0x00012700
POP EDX
PUSH dword ptr [EDI + 0x8]
CALL 0x00012700
POP ECX
PUSH dword ptr [EDI + 0xc]
CALL 0x00012700
MOV dword ptr [ESP],EDI
CALL 0x00012700
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001b6b0(undefined4 *param_1)\n\n{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0001b6b0(undefined4 *param_1)\n\n{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001b6b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "int *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (expression_statement "__ptr_00 = (int *)*param_1;" (assignment_expression "__ptr_00 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__ptr = (void *)*__ptr_00;" (assignment_expression "__ptr = (void *)*__ptr_00" identifier = (cast_expression "(void *)*__ptr_00" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr_00" * identifier))) ;) (if_statement "if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }" { (do_statement "do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);" do (compound_statement "{\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    }" { (expression_statement "__ptr_00 = __ptr_00 + 1;" (assignment_expression "__ptr_00 = __ptr_00 + 1" identifier = (binary_expression "__ptr_00 + 1" identifier + number_literal)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = (void *)*__ptr_00;" (assignment_expression "__ptr = (void *)*__ptr_00" identifier = (cast_expression "(void *)*__ptr_00" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr_00" * identifier))) ;) }) while (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "__ptr_00 = (int *)*param_1;" (assignment_expression "__ptr_00 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "free((void *)param_1[1]);" (call_expression "free((void *)param_1[1])" identifier (argument_list "((void *)param_1[1])" ( (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" identifier (argument_list "((void *)param_1[2])" ( (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[3]);" (call_expression "free((void *)param_1[3])" identifier (argument_list "((void *)param_1[3])" ( (cast_expression "(void *)param_1[3]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) ))) ;) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 freemust(must *mp)\n\n{\n  char *__ptr;\n  char **__ptr_00;\n  \n  __ptr_00 = mp->in;\n  __ptr = *__ptr_00;\n  if (__ptr != (char *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = *__ptr_00;\n    } while (__ptr != (char *)0x0);\n    __ptr_00 = mp->in;\n  }\n  free(__ptr_00);\n  free(mp->left);\n  free(mp->right);\n  free(mp->is);\n  free(mp);\n  return;\n}\n\n" comment (function_definition "void __regparm3 freemust(must *mp)\n\n{\n  char *__ptr;\n  char **__ptr_00;\n  \n  __ptr_00 = mp->in;\n  __ptr = *__ptr_00;\n  if (__ptr != (char *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = *__ptr_00;\n    } while (__ptr != (char *)0x0);\n    __ptr_00 = mp->in;\n  }\n  free(__ptr_00);\n  free(mp->left);\n  free(mp->right);\n  free(mp->is);\n  free(mp);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "freemust(must *mp)" identifier (parameter_list "(must *mp)" ( (parameter_declaration "must *mp" type_identifier (pointer_declarator "*mp" * identifier)) ))) (compound_statement "{\n  char *__ptr;\n  char **__ptr_00;\n  \n  __ptr_00 = mp->in;\n  __ptr = *__ptr_00;\n  if (__ptr != (char *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = *__ptr_00;\n    } while (__ptr != (char *)0x0);\n    __ptr_00 = mp->in;\n  }\n  free(__ptr_00);\n  free(mp->left);\n  free(mp->right);\n  free(mp->is);\n  free(mp);\n  return;\n}" { (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char **__ptr_00;" primitive_type (pointer_declarator "**__ptr_00" * (pointer_declarator "*__ptr_00" * identifier)) ;) (expression_statement "__ptr_00 = mp->in;" (assignment_expression "__ptr_00 = mp->in" identifier = (field_expression "mp->in" identifier -> field_identifier)) ;) (expression_statement "__ptr = *__ptr_00;" (assignment_expression "__ptr = *__ptr_00" identifier = (pointer_expression "*__ptr_00" * identifier)) ;) (if_statement "if (__ptr != (char *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = *__ptr_00;\n    } while (__ptr != (char *)0x0);\n    __ptr_00 = mp->in;\n  }" if (parenthesized_expression "(__ptr != (char *)0x0)" ( (binary_expression "__ptr != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = *__ptr_00;\n    } while (__ptr != (char *)0x0);\n    __ptr_00 = mp->in;\n  }" { (do_statement "do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = *__ptr_00;\n    } while (__ptr != (char *)0x0);" do (compound_statement "{\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = *__ptr_00;\n    }" { (expression_statement "__ptr_00 = __ptr_00 + 1;" (assignment_expression "__ptr_00 = __ptr_00 + 1" identifier = (binary_expression "__ptr_00 + 1" identifier + number_literal)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = *__ptr_00;" (assignment_expression "__ptr = *__ptr_00" identifier = (pointer_expression "*__ptr_00" * identifier)) ;) }) while (parenthesized_expression "(__ptr != (char *)0x0)" ( (binary_expression "__ptr != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "__ptr_00 = mp->in;" (assignment_expression "__ptr_00 = mp->in" identifier = (field_expression "mp->in" identifier -> field_identifier)) ;) })) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "free(mp->left);" (call_expression "free(mp->left)" identifier (argument_list "(mp->left)" ( (field_expression "mp->left" identifier -> field_identifier) ))) ;) (expression_statement "free(mp->right);" (call_expression "free(mp->right)" identifier (argument_list "(mp->right)" ( (field_expression "mp->right" identifier -> field_identifier) ))) ;) (expression_statement "free(mp->is);" (call_expression "free(mp->is)" identifier (argument_list "(mp->is)" ( (field_expression "mp->is" identifier -> field_identifier) ))) ;) (expression_statement "free(mp);" (call_expression "free(mp)" identifier (argument_list "(mp)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001b6b0(undefined4 *param_1)\n\n{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001b6b0(undefined4 *param_1)\n\n{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001b6b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "int *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (expression_statement "__ptr_00 = (int *)*param_1;" (assignment_expression "__ptr_00 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__ptr = (void *)*__ptr_00;" (assignment_expression "__ptr = (void *)*__ptr_00" identifier = (cast_expression "(void *)*__ptr_00" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr_00" * identifier))) ;) (if_statement "if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }" { (do_statement "do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);" do (compound_statement "{\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    }" { (expression_statement "__ptr_00 = __ptr_00 + 1;" (assignment_expression "__ptr_00 = __ptr_00 + 1" identifier = (binary_expression "__ptr_00 + 1" identifier + number_literal)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = (void *)*__ptr_00;" (assignment_expression "__ptr = (void *)*__ptr_00" identifier = (cast_expression "(void *)*__ptr_00" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr_00" * identifier))) ;) }) while (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "__ptr_00 = (int *)*param_1;" (assignment_expression "__ptr_00 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "free((void *)param_1[1]);" (call_expression "free((void *)param_1[1])" identifier (argument_list "((void *)param_1[1])" ( (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" identifier (argument_list "((void *)param_1[2])" ( (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[3]);" (call_expression "free((void *)param_1[3])" identifier (argument_list "((void *)param_1[3])" ( (cast_expression "(void *)param_1[3]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) ))) ;) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001b6b0(undefined4 *param_1)\n\n{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001b6b0(undefined4 *param_1)" (identifier "FUN_0001b6b0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  void *__ptr;\n  int *__ptr_00;\n  \n  __ptr_00 = (int *)*param_1;\n  __ptr = (void *)*__ptr_00;\n  if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }\n  free(__ptr_00);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  free((void *)param_1[3]);\n  free(param_1);\n  return;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "int *__ptr_00;" (primitive_type "int") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (expression_statement "__ptr_00 = (int *)*param_1;" (assignment_expression "__ptr_00 = (int *)*param_1" (identifier "__ptr_00") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "__ptr = (void *)*__ptr_00;" (assignment_expression "__ptr = (void *)*__ptr_00" (identifier "__ptr") (= "=") (cast_expression "(void *)*__ptr_00" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*__ptr_00" (* "*") (identifier "__ptr_00")))) (; ";")) (if_statement "if (__ptr != (void *)0x0) {\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }" (if "if") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);\n    __ptr_00 = (int *)*param_1;\n  }" ({ "{") (do_statement "do {\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    } while (__ptr != (void *)0x0);" (do "do") (compound_statement "{\n      __ptr_00 = __ptr_00 + 1;\n      free(__ptr);\n      __ptr = (void *)*__ptr_00;\n    }" ({ "{") (expression_statement "__ptr_00 = __ptr_00 + 1;" (assignment_expression "__ptr_00 = __ptr_00 + 1" (identifier "__ptr_00") (= "=") (binary_expression "__ptr_00 + 1" (identifier "__ptr_00") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "__ptr = (void *)*__ptr_00;" (assignment_expression "__ptr = (void *)*__ptr_00" (identifier "__ptr") (= "=") (cast_expression "(void *)*__ptr_00" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*__ptr_00" (* "*") (identifier "__ptr_00")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "__ptr_00 = (int *)*param_1;" (assignment_expression "__ptr_00 = (int *)*param_1" (identifier "__ptr_00") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (expression_statement "free((void *)param_1[1]);" (call_expression "free((void *)param_1[1])" (identifier "free") (argument_list "((void *)param_1[1])" (( "(") (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" (identifier "free") (argument_list "((void *)param_1[2])" (( "(") (cast_expression "(void *)param_1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)param_1[3]);" (call_expression "free((void *)param_1[3])" (identifier "free") (argument_list "((void *)param_1[3])" (( "(") (cast_expression "(void *)param_1[3]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) () ")"))) (; ";")) (expression_statement "free(param_1);" (call_expression "free(param_1)" (identifier "free") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *mp)

{
  char *var_1;
  char **var_2;
  
  var_2 = mp->in;
  var_1 = *var_2;
  if (var_1 != (char *)0x0) {
    do {
      var_2 = var_2 + 1;
      var_3(var_1);
      var_1 = *var_2;
    } while (var_1 != (char *)0x0);
    var_2 = mp->in;
  }
  var_3(var_2);
  var_3(mp->left);
  var_3(mp->right);
  var_3(mp->is);
  var_3(mp);
  return;
}


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

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

void __regparm3 MASKED(undefined4 *param_1)

{
  void *__ptr;
  int *__ptr_00;
  
  __ptr_00 = (int *)*param_1;
  __ptr = (void *)*__ptr_00;
  if (__ptr != (void *)0x0) {
    do {
      __ptr_00 = __ptr_00 + 1;
      free(__ptr);
      __ptr = (void *)*__ptr_00;
    } while (__ptr != (void *)0x0);
    __ptr_00 = (int *)*param_1;
  }
  free(__ptr_00);
  free((void *)param_1[1]);
  free((void *)param_1[2]);
  free((void *)param_1[3]);
  free(param_1);
  return;
}

