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

void crcda_free_context(void *handle)

{
  if (handle != (void *)0x0) {
                    /* WARNING: Load size is inaccurate */
    safefree(*handle);
    *(undefined4 *)handle = 0;
    safefree(handle);
  }
  return;
}



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

void FUN_00067b40(undefined4 *param_1)

{
  if (param_1 != (undefined4 *)0x0) {
    FUN_00032b40(*param_1);
    *param_1 = 0;
    FUN_00032b40(param_1);
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x0001c520
ADD EBX,0xd2c09
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x00067b73
SUB ESP,0xc
PUSH dword ptr [ESI]
CALL 0x00032b40
MOV dword ptr [ESI],0x0
MOV dword ptr [ESP],ESI
CALL 0x00032b40
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00067b40(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00067b40(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00067b40(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }" { (expression_statement "FUN_00032b40(*param_1);" (call_expression "FUN_00032b40(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "FUN_00032b40(param_1);" (call_expression "FUN_00032b40(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 crcda_free_context(void *handle)\n\n{\n  if (handle != (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    safefree(*handle);\n    *(undefined4 *)handle = 0;\n    safefree(handle);\n  }\n  return;\n}\n\n" comment comment (function_definition "void crcda_free_context(void *handle)\n\n{\n  if (handle != (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    safefree(*handle);\n    *(undefined4 *)handle = 0;\n    safefree(handle);\n  }\n  return;\n}" primitive_type (function_declarator "crcda_free_context(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  if (handle != (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    safefree(*handle);\n    *(undefined4 *)handle = 0;\n    safefree(handle);\n  }\n  return;\n}" { (if_statement "if (handle != (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n    safefree(*handle);\n    *(undefined4 *)handle = 0;\n    safefree(handle);\n  }" if (parenthesized_expression "(handle != (void *)0x0)" ( (binary_expression "handle != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    safefree(*handle);\n    *(undefined4 *)handle = 0;\n    safefree(handle);\n  }" { comment (expression_statement "safefree(*handle);" (call_expression "safefree(*handle)" identifier (argument_list "(*handle)" ( (pointer_expression "*handle" * identifier) ))) ;) (expression_statement "*(undefined4 *)handle = 0;" (assignment_expression "*(undefined4 *)handle = 0" (pointer_expression "*(undefined4 *)handle" * (cast_expression "(undefined4 *)handle" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "safefree(handle);" (call_expression "safefree(handle)" identifier (argument_list "(handle)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00067b40(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00067b40(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00067b40(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }" { (expression_statement "FUN_00032b40(*param_1);" (call_expression "FUN_00032b40(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "FUN_00032b40(param_1);" (call_expression "FUN_00032b40(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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00067b40(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00067b40(undefined4 *param_1)" (identifier "FUN_00067b40") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }\n  return;\n}" ({ "{") (if_statement "if (param_1 != (undefined4 *)0x0) {\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_00032b40(*param_1);\n    *param_1 = 0;\n    FUN_00032b40(param_1);\n  }" ({ "{") (expression_statement "FUN_00032b40(*param_1);" (call_expression "FUN_00032b40(*param_1)" (identifier "FUN_00032b40") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00032b40(param_1);" (call_expression "FUN_00032b40(param_1)" (identifier "FUN_00032b40") (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 *var_1)

{
  if (var_1 != (void *)0x0) {
                    /* WARNING: Load size is inaccurate */
    var_2(*var_1);
    *(type_1 *)var_1 = 0;
    var_2(var_1);
  }
  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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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 MASKED(undefined4 *param_1)

{
  if (param_1 != (undefined4 *)0x0) {
    FUN_00032b40(*param_1);
    *param_1 = 0;
    FUN_00032b40(param_1);
  }
  return;
}

