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

void zlib_compress_cleanup(void *handle)

{
  safefree(*(void **)((int)handle + 4));
                    /* WARNING: Load size is inaccurate */
  safefree(*handle);
  safefree(handle);
  return;
}



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

void FUN_0006f6d0(undefined4 *param_1)

{
  FUN_0002f010(param_1[1]);
  FUN_0002f010(*param_1);
  FUN_0002f010(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0001c4f0
ADD EBX,0xa1079
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
PUSH dword ptr [ESI + 0x4]
CALL 0x0002f010
POP EAX
PUSH dword ptr [ESI]
CALL 0x0002f010
MOV dword ptr [ESP],ESI
CALL 0x0002f010
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0006f6d0(undefined4 *param_1)\n\n{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_0006f6d0(undefined4 *param_1)\n\n{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0006f6d0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}" { (expression_statement "FUN_0002f010(param_1[1]);" (call_expression "FUN_0002f010(param_1[1])" identifier (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0002f010(*param_1);" (call_expression "FUN_0002f010(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "FUN_0002f010(param_1);" (call_expression "FUN_0002f010(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/* WARNING: Unknown calling convention */\n\nvoid zlib_compress_cleanup(void *handle)\n\n{\n  safefree(*(void **)((int)handle + 4));\n                    /* WARNING: Load size is inaccurate */\n  safefree(*handle);\n  safefree(handle);\n  return;\n}\n\n" comment comment (function_definition "void zlib_compress_cleanup(void *handle)\n\n{\n  safefree(*(void **)((int)handle + 4));\n                    /* WARNING: Load size is inaccurate */\n  safefree(*handle);\n  safefree(handle);\n  return;\n}" primitive_type (function_declarator "zlib_compress_cleanup(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  safefree(*(void **)((int)handle + 4));\n                    /* WARNING: Load size is inaccurate */\n  safefree(*handle);\n  safefree(handle);\n  return;\n}" { (expression_statement "safefree(*(void **)((int)handle + 4));" (call_expression "safefree(*(void **)((int)handle + 4))" identifier (argument_list "(*(void **)((int)handle + 4))" ( (pointer_expression "*(void **)((int)handle + 4)" * (cast_expression "(void **)((int)handle + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) comment (expression_statement "safefree(*handle);" (call_expression "safefree(*handle)" identifier (argument_list "(*handle)" ( (pointer_expression "*handle" * identifier) ))) ;) (expression_statement "safefree(handle);" (call_expression "safefree(handle)" identifier (argument_list "(handle)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006f6d0(undefined4 *param_1)\n\n{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0006f6d0(undefined4 *param_1)\n\n{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0006f6d0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}" { (expression_statement "FUN_0002f010(param_1[1]);" (call_expression "FUN_0002f010(param_1[1])" identifier (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_0002f010(*param_1);" (call_expression "FUN_0002f010(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "FUN_0002f010(param_1);" (call_expression "FUN_0002f010(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0006f6d0(undefined4 *param_1)\n\n{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006f6d0(undefined4 *param_1)" (identifier "FUN_0006f6d0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  FUN_0002f010(param_1[1]);\n  FUN_0002f010(*param_1);\n  FUN_0002f010(param_1);\n  return;\n}" ({ "{") (expression_statement "FUN_0002f010(param_1[1]);" (call_expression "FUN_0002f010(param_1[1])" (identifier "FUN_0002f010") (argument_list "(param_1[1])" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "FUN_0002f010(*param_1);" (call_expression "FUN_0002f010(*param_1)" (identifier "FUN_0002f010") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "FUN_0002f010(param_1);" (call_expression "FUN_0002f010(param_1)" (identifier "FUN_0002f010") (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 */
/* WARNING: Unknown calling convention */

void function_1(void *handle)

{
  var_1(*(void **)((int)handle + 4));
                    /* WARNING: Load size is inaccurate */
  var_1(*handle);
  var_1(handle);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (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(undefined4 *param_1)

{
  FUN_0002f010(param_1[1]);
  FUN_0002f010(*param_1);
  FUN_0002f010(param_1);
  return;
}

