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

void xexit(int code)

{
  if (_xexit_cleanup != (_func_void *)0x0) {
    (*_xexit_cleanup)();
  }
                    /* WARNING: Subroutine does not return */
  exit(code);
}



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

void FUN_0006b090(int param_1)

{
  if (DAT_000b9de4 != (code *)0x0) {
    (*DAT_000b9de4)();
  }
                    /* WARNING: Subroutine does not return */
  exit(param_1);
}


PUSH EBX
CALL 0x00013f70
ADD EBX,0x48f6a
SUB ESP,0x8
LEA EAX,[EBX + 0x5de4]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0006b0ad
CALL EAX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x000131f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0006b090(int param_1)\n\n{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(param_1);\n}\n\n" comment (function_definition "void FUN_0006b090(int param_1)\n\n{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(param_1);\n}" primitive_type (function_declarator "FUN_0006b090(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(param_1);\n}" { (if_statement "if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }" if (parenthesized_expression "(DAT_000b9de4 != (code *)0x0)" ( (binary_expression "DAT_000b9de4 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*DAT_000b9de4)();\n  }" { (expression_statement "(*DAT_000b9de4)();" (call_expression "(*DAT_000b9de4)()" (parenthesized_expression "(*DAT_000b9de4)" ( (pointer_expression "*DAT_000b9de4" * identifier) )) (argument_list "()" ( ))) ;) })) comment (expression_statement "exit(param_1);" (call_expression "exit(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid xexit(int code)\n\n{\n  if (_xexit_cleanup != (_func_void *)0x0) {\n    (*_xexit_cleanup)();\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(code);\n}\n\n" comment comment (function_definition "void xexit(int code)\n\n{\n  if (_xexit_cleanup != (_func_void *)0x0) {\n    (*_xexit_cleanup)();\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(code);\n}" primitive_type (function_declarator "xexit(int code)" identifier (parameter_list "(int code)" ( (parameter_declaration "int code" primitive_type identifier) ))) (compound_statement "{\n  if (_xexit_cleanup != (_func_void *)0x0) {\n    (*_xexit_cleanup)();\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(code);\n}" { (if_statement "if (_xexit_cleanup != (_func_void *)0x0) {\n    (*_xexit_cleanup)();\n  }" if (parenthesized_expression "(_xexit_cleanup != (_func_void *)0x0)" ( (binary_expression "_xexit_cleanup != (_func_void *)0x0" identifier != (cast_expression "(_func_void *)0x0" ( (type_descriptor "_func_void *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*_xexit_cleanup)();\n  }" { (expression_statement "(*_xexit_cleanup)();" (call_expression "(*_xexit_cleanup)()" (parenthesized_expression "(*_xexit_cleanup)" ( (pointer_expression "*_xexit_cleanup" * identifier) )) (argument_list "()" ( ))) ;) })) comment (expression_statement "exit(code);" (call_expression "exit(code)" identifier (argument_list "(code)" ( identifier ))) ;) })))
(translation_unit "void FUN_0006b090(int param_1)\n\n{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    \n  exit(param_1);\n}\n\n" (function_definition "void FUN_0006b090(int param_1)\n\n{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    \n  exit(param_1);\n}" primitive_type (function_declarator "FUN_0006b090(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    \n  exit(param_1);\n}" { (if_statement "if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }" if (parenthesized_expression "(DAT_000b9de4 != (code *)0x0)" ( (binary_expression "DAT_000b9de4 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*DAT_000b9de4)();\n  }" { (expression_statement "(*DAT_000b9de4)();" (call_expression "(*DAT_000b9de4)()" (parenthesized_expression "(*DAT_000b9de4)" ( (pointer_expression "*DAT_000b9de4" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "exit(param_1);" (call_expression "exit(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE 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 (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })))
(function_definition "void FUN_0006b090(int param_1)\n\n{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    \n  exit(param_1);\n}" (primitive_type "void") (function_declarator "FUN_0006b090(int param_1)" (identifier "FUN_0006b090") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }\n                    \n  exit(param_1);\n}" ({ "{") (if_statement "if (DAT_000b9de4 != (code *)0x0) {\n    (*DAT_000b9de4)();\n  }" (if "if") (parenthesized_expression "(DAT_000b9de4 != (code *)0x0)" (( "(") (binary_expression "DAT_000b9de4 != (code *)0x0" (identifier "DAT_000b9de4") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*DAT_000b9de4)();\n  }" ({ "{") (expression_statement "(*DAT_000b9de4)();" (call_expression "(*DAT_000b9de4)()" (parenthesized_expression "(*DAT_000b9de4)" (( "(") (pointer_expression "*DAT_000b9de4" (* "*") (identifier "DAT_000b9de4")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "exit(param_1);" (call_expression "exit(param_1)" (identifier "exit") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}")))

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

void function_1(int code)

{
  if (var_1 != (type_1 *)0x0) {
    (*var_1)();
  }
                    /* WARNING: Subroutine does not return */
  var_2(code);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))

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

void MASKED(int param_1)

{
  if (DAT_000b9de4 != (code *)0x0) {
    (*DAT_000b9de4)();
  }
                    /* WARNING: Subroutine does not return */
  exit(param_1);
}

