
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void ar_emul_usage(FILE *fp)

{
  if (bin_vanilla_emulation.ar_usage != (_func_void_FILE_ptr *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*bin_vanilla_emulation.ar_usage)(fp);
    return;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_00017820(void)

{
  if (PTR_FUN_00021218 != (undefined *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_FUN_00021218)();
    return;
  }
  return;
}


CALL 0x0001674d
ADD EAX,0x97db
LEA EAX,[EAX + 0x218]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00017840
JMP EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00017820(void)\n\n{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00017820(void)\n\n{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00017820(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}" { (if_statement "if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }" if (parenthesized_expression "(PTR_FUN_00021218 != (undefined *)0x0)" ( (binary_expression "PTR_FUN_00021218 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }" { comment comment (expression_statement "(*(code *)PTR_FUN_00021218)();" (call_expression "(*(code *)PTR_FUN_00021218)()" (parenthesized_expression "(*(code *)PTR_FUN_00021218)" ( (pointer_expression "*(code *)PTR_FUN_00021218" * (cast_expression "(code *)PTR_FUN_00021218" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nvoid ar_emul_usage(FILE *fp)\n\n{\n  if (bin_vanilla_emulation.ar_usage != (_func_void_FILE_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*bin_vanilla_emulation.ar_usage)(fp);\n    return;\n  }\n  return;\n}\n\n" comment comment (function_definition "void ar_emul_usage(FILE *fp)\n\n{\n  if (bin_vanilla_emulation.ar_usage != (_func_void_FILE_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*bin_vanilla_emulation.ar_usage)(fp);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "ar_emul_usage(FILE *fp)" identifier (parameter_list "(FILE *fp)" ( (parameter_declaration "FILE *fp" type_identifier (pointer_declarator "*fp" * identifier)) ))) (compound_statement "{\n  if (bin_vanilla_emulation.ar_usage != (_func_void_FILE_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*bin_vanilla_emulation.ar_usage)(fp);\n    return;\n  }\n  return;\n}" { (if_statement "if (bin_vanilla_emulation.ar_usage != (_func_void_FILE_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*bin_vanilla_emulation.ar_usage)(fp);\n    return;\n  }" if (parenthesized_expression "(bin_vanilla_emulation.ar_usage != (_func_void_FILE_ptr *)0x0)" ( (binary_expression "bin_vanilla_emulation.ar_usage != (_func_void_FILE_ptr *)0x0" (field_expression "bin_vanilla_emulation.ar_usage" identifier . field_identifier) != (cast_expression "(_func_void_FILE_ptr *)0x0" ( (type_descriptor "_func_void_FILE_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*bin_vanilla_emulation.ar_usage)(fp);\n    return;\n  }" { comment comment (expression_statement "(*bin_vanilla_emulation.ar_usage)(fp);" (call_expression "(*bin_vanilla_emulation.ar_usage)(fp)" (parenthesized_expression "(*bin_vanilla_emulation.ar_usage)" ( (pointer_expression "*bin_vanilla_emulation.ar_usage" * (field_expression "bin_vanilla_emulation.ar_usage" identifier . field_identifier)) )) (argument_list "(fp)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00017820(void)\n\n{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00017820(void)\n\n{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00017820(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}" { (if_statement "if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }" if (parenthesized_expression "(PTR_FUN_00021218 != (undefined *)0x0)" ( (binary_expression "PTR_FUN_00021218 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }" { (expression_statement "(*(code *)PTR_FUN_00021218)();" (call_expression "(*(code *)PTR_FUN_00021218)()" (parenthesized_expression "(*(code *)PTR_FUN_00021218)" ( (pointer_expression "*(code *)PTR_FUN_00021218" * (cast_expression "(code *)PTR_FUN_00021218" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00017820(void)\n\n{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00017820(void)" (identifier "FUN_00017820") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (PTR_FUN_00021218 != (undefined *)0x0) {\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }" (if "if") (parenthesized_expression "(PTR_FUN_00021218 != (undefined *)0x0)" (( "(") (binary_expression "PTR_FUN_00021218 != (undefined *)0x0" (identifier "PTR_FUN_00021218") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)PTR_FUN_00021218)();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_FUN_00021218)();" (call_expression "(*(code *)PTR_FUN_00021218)()" (parenthesized_expression "(*(code *)PTR_FUN_00021218)" (( "(") (pointer_expression "*(code *)PTR_FUN_00021218" (* "*") (cast_expression "(code *)PTR_FUN_00021218" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_00021218"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void function_1(type_1 *fp)

{
  if (bin_vanilla_emulation.ar_usage != (type_2 *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*bin_vanilla_emulation.ar_usage)(fp);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) 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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (return_statement))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(void)

{
  if (PTR_FUN_00021218 != (undefined *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00017836. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_FUN_00021218)();
    return;
  }
  return;
}

