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

void png_read_data(png_structrp png_ptr,png_bytep data,size_t length)

{
  if (png_ptr->read_data_fn != (png_rw_ptr)0x0) {
                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*png_ptr->read_data_fn)(png_ptr,data,length);
    return;
  }
                    /* WARNING: Subroutine does not return */
  png_error(png_ptr,"Call to NULL read function");
}



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

void FUN_00025490(int param_1)

{
  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(param_1 + 0xb8))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  png_error(param_1,"Call to NULL read function",0,0);
}


PUSH EBX
CALL 0x00014970
ADD EBX,0x2e8ea
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EDX + 0xb8]
TEST EAX,EAX
JZ 0x000254b3
ADD ESP,0x8
POP EBX
JMP EAX
PUSH EAX
PUSH EAX
LEA EAX,[EBX + 0xfffee5bd]
PUSH EAX
PUSH EDX
CALL 0x00014460
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00025490(int param_1)\n\n{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(param_1,"Call to NULL read function",0,0);\n}\n\n" comment (function_definition "void FUN_00025490(int param_1)\n\n{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(param_1,"Call to NULL read function",0,0);\n}" primitive_type (function_declarator "FUN_00025490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(param_1,"Call to NULL read function",0,0);\n}" { (if_statement "if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }" if (parenthesized_expression "(*(code **)(param_1 + 0xb8) != (code *)0x0)" ( (binary_expression "*(code **)(param_1 + 0xb8) != (code *)0x0" (pointer_expression "*(code **)(param_1 + 0xb8)" * (cast_expression "(code **)(param_1 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }" { comment comment (expression_statement "(**(code **)(param_1 + 0xb8))();" (call_expression "(**(code **)(param_1 + 0xb8))()" (parenthesized_expression "(**(code **)(param_1 + 0xb8))" ( (pointer_expression "**(code **)(param_1 + 0xb8)" * (pointer_expression "*(code **)(param_1 + 0xb8)" * (cast_expression "(code **)(param_1 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "png_error(param_1,"Call to NULL read function",0,0);" (call_expression "png_error(param_1,"Call to NULL read function",0,0)" identifier (argument_list "(param_1,"Call to NULL read function",0,0)" ( identifier , (string_literal ""Call to NULL read function"" " string_content ") , number_literal , number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid png_read_data(png_structrp png_ptr,png_bytep data,size_t length)\n\n{\n  if (png_ptr->read_data_fn != (png_rw_ptr)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*png_ptr->read_data_fn)(png_ptr,data,length);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(png_ptr,"Call to NULL read function");\n}\n\n" comment comment (function_definition "void png_read_data(png_structrp png_ptr,png_bytep data,size_t length)\n\n{\n  if (png_ptr->read_data_fn != (png_rw_ptr)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*png_ptr->read_data_fn)(png_ptr,data,length);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(png_ptr,"Call to NULL read function");\n}" primitive_type (function_declarator "png_read_data(png_structrp png_ptr,png_bytep data,size_t length)" identifier (parameter_list "(png_structrp png_ptr,png_bytep data,size_t length)" ( (parameter_declaration "png_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_bytep data" type_identifier identifier) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  if (png_ptr->read_data_fn != (png_rw_ptr)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*png_ptr->read_data_fn)(png_ptr,data,length);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(png_ptr,"Call to NULL read function");\n}" { (if_statement "if (png_ptr->read_data_fn != (png_rw_ptr)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*png_ptr->read_data_fn)(png_ptr,data,length);\n    return;\n  }" if (parenthesized_expression "(png_ptr->read_data_fn != (png_rw_ptr)0x0)" ( (binary_expression "png_ptr->read_data_fn != (png_rw_ptr)0x0" (field_expression "png_ptr->read_data_fn" identifier -> field_identifier) != (cast_expression "(png_rw_ptr)0x0" ( (type_descriptor "png_rw_ptr" type_identifier) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*png_ptr->read_data_fn)(png_ptr,data,length);\n    return;\n  }" { comment comment (expression_statement "(*png_ptr->read_data_fn)(png_ptr,data,length);" (call_expression "(*png_ptr->read_data_fn)(png_ptr,data,length)" (parenthesized_expression "(*png_ptr->read_data_fn)" ( (pointer_expression "*png_ptr->read_data_fn" * (field_expression "png_ptr->read_data_fn" identifier -> field_identifier)) )) (argument_list "(png_ptr,data,length)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "png_error(png_ptr,"Call to NULL read function");" (call_expression "png_error(png_ptr,"Call to NULL read function")" identifier (argument_list "(png_ptr,"Call to NULL read function")" ( identifier , (string_literal ""Call to NULL read function"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00025490(int param_1)\n\n{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    \n  png_error(param_1,"Call to NULL read function",0,0);\n}\n\n" (function_definition "void FUN_00025490(int param_1)\n\n{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    \n  png_error(param_1,"Call to NULL read function",0,0);\n}" primitive_type (function_declarator "FUN_00025490(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    \n  png_error(param_1,"Call to NULL read function",0,0);\n}" { (if_statement "if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }" if (parenthesized_expression "(*(code **)(param_1 + 0xb8) != (code *)0x0)" ( (binary_expression "*(code **)(param_1 + 0xb8) != (code *)0x0" (pointer_expression "*(code **)(param_1 + 0xb8)" * (cast_expression "(code **)(param_1 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }" { (expression_statement "(**(code **)(param_1 + 0xb8))();" (call_expression "(**(code **)(param_1 + 0xb8))()" (parenthesized_expression "(**(code **)(param_1 + 0xb8))" ( (pointer_expression "**(code **)(param_1 + 0xb8)" * (pointer_expression "*(code **)(param_1 + 0xb8)" * (cast_expression "(code **)(param_1 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xb8)" ( (binary_expression "param_1 + 0xb8" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "png_error(param_1,"Call to NULL read function",0,0);" (call_expression "png_error(param_1,"Call to NULL read function",0,0)" identifier (argument_list "(param_1,"Call to NULL read function",0,0)" ( identifier , (string_literal ""Call to NULL read function"" " string_content ") , number_literal , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT , LIT ))) ;) })))
(function_definition "void FUN_00025490(int param_1)\n\n{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    \n  png_error(param_1,"Call to NULL read function",0,0);\n}" (primitive_type "void") (function_declarator "FUN_00025490(int param_1)" (identifier "FUN_00025490") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }\n                    \n  png_error(param_1,"Call to NULL read function",0,0);\n}" ({ "{") (if_statement "if (*(code **)(param_1 + 0xb8) != (code *)0x0) {\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }" (if "if") (parenthesized_expression "(*(code **)(param_1 + 0xb8) != (code *)0x0)" (( "(") (binary_expression "*(code **)(param_1 + 0xb8) != (code *)0x0" (pointer_expression "*(code **)(param_1 + 0xb8)" (* "*") (cast_expression "(code **)(param_1 + 0xb8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xb8)" (( "(") (binary_expression "param_1 + 0xb8" (identifier "param_1") (+ "+") (number_literal "0xb8")) () ")")))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n    (**(code **)(param_1 + 0xb8))();\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(param_1 + 0xb8))();" (call_expression "(**(code **)(param_1 + 0xb8))()" (parenthesized_expression "(**(code **)(param_1 + 0xb8))" (( "(") (pointer_expression "**(code **)(param_1 + 0xb8)" (* "*") (pointer_expression "*(code **)(param_1 + 0xb8)" (* "*") (cast_expression "(code **)(param_1 + 0xb8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xb8)" (( "(") (binary_expression "param_1 + 0xb8" (identifier "param_1") (+ "+") (number_literal "0xb8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "png_error(param_1,"Call to NULL read function",0,0);" (call_expression "png_error(param_1,"Call to NULL read function",0,0)" (identifier "png_error") (argument_list "(param_1,"Call to NULL read function",0,0)" (( "(") (identifier "param_1") (, ",") (string_literal ""Call to NULL read function"" (" """) (string_content "Call to NULL read function") (" """)) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))

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

void function_1(type_1 png_ptr,type_2 data,size_t length)

{
  if (png_ptr->read_data_fn != (type_3)0x0) {
                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*png_ptr->read_data_fn)(png_ptr,data,length);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1(png_ptr,"Call to NULL read function");
}


(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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (number_literal) (number_literal)))))))

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

void MASKED(int param_1)

{
  if (*(code **)(param_1 + 0xb8) != (code *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x000254b1. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(param_1 + 0xb8))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  png_error(param_1,"Call to NULL read function",0,0);
}

