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

void __deregister_frame(int *param_1)

{
  void *__ptr;
  
  if (*param_1 == 0) {
    return;
  }
  __ptr = (void *)__deregister_frame_info_bases(param_1);
  free(__ptr);
  return;
}



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

void FUN_0027f8d0(int *param_1)

{
  void *__ptr;
  
  if (*param_1 == 0) {
    return;
  }
  __ptr = (void *)FUN_0027f7a0(param_1);
  free(__ptr);
  return;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x10f72a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JNZ 0x0027f8f0
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
PUSH EAX
CALL 0x0027f7a0
MOV dword ptr [ESP],EAX
CALL 0x00029410
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0027f8d0(int *param_1)\n\n{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}\n\n" comment (function_definition "void FUN_0027f8d0(int *param_1)\n\n{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}" primitive_type (function_declarator "FUN_0027f8d0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (if_statement "if (*param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__ptr = (void *)FUN_0027f7a0(param_1);" (assignment_expression "__ptr = (void *)FUN_0027f7a0(param_1)" identifier = (cast_expression "(void *)FUN_0027f7a0(param_1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0027f7a0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __deregister_frame(int *param_1)\n\n{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)__deregister_frame_info_bases(param_1);\n  free(__ptr);\n  return;\n}\n\n" comment (function_definition "void __deregister_frame(int *param_1)\n\n{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)__deregister_frame_info_bases(param_1);\n  free(__ptr);\n  return;\n}" primitive_type (function_declarator "__deregister_frame(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)__deregister_frame_info_bases(param_1);\n  free(__ptr);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (if_statement "if (*param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__ptr = (void *)__deregister_frame_info_bases(param_1);" (assignment_expression "__ptr = (void *)__deregister_frame_info_bases(param_1)" identifier = (cast_expression "(void *)__deregister_frame_info_bases(param_1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__deregister_frame_info_bases(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0027f8d0(int *param_1)\n\n{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}\n\n" (function_definition "void FUN_0027f8d0(int *param_1)\n\n{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}" primitive_type (function_declarator "FUN_0027f8d0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (if_statement "if (*param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__ptr = (void *)FUN_0027f7a0(param_1);" (assignment_expression "__ptr = (void *)FUN_0027f7a0(param_1)" identifier = (cast_expression "(void *)FUN_0027f7a0(param_1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0027f7a0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0027f8d0(int *param_1)\n\n{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0027f8d0(int *param_1)" (identifier "FUN_0027f8d0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  void *__ptr;\n  \n  if (*param_1 == 0) {\n    return;\n  }\n  __ptr = (void *)FUN_0027f7a0(param_1);\n  free(__ptr);\n  return;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (if_statement "if (*param_1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__ptr = (void *)FUN_0027f7a0(param_1);" (assignment_expression "__ptr = (void *)FUN_0027f7a0(param_1)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_0027f7a0(param_1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0027f7a0(param_1)" (identifier "FUN_0027f7a0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int *param_1)

{
  void *__ptr;
  
  if (*param_1 == 0) {
    return;
  }
  __ptr = (void *)var_1(param_1);
  var_2(__ptr);
  return;
}


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

{
  void *__ptr;
  
  if (*param_1 == 0) {
    return;
  }
  __ptr = (void *)FUN_0027f7a0(param_1);
  free(__ptr);
  return;
}

