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

void png_app_warning(png_const_structrp png_ptr,png_const_charp error_message)

{
  if ((png_ptr->flags & 0x200000) != 0) {
    png_warning(png_ptr,error_message);
    return;
  }
                    /* WARNING: Subroutine does not return */
  png_error(png_ptr,error_message);
}



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

void FUN_0001a0e0(int param_1,undefined4 param_2)

{
  undefined4 in_ECX;
  
  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {
    png_warning(param_1,param_2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  png_error(param_1,param_2,in_ECX,in_ECX);
}


PUSH EBX
CALL 0x00014970
ADD EBX,0x33c9a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
TEST byte ptr [EAX + 0xd6],0x20
JZ 0x0001a10f
SUB ESP,0x8
PUSH EDX
PUSH EAX
CALL 0x000143a0
ADD ESP,0x18
POP EBX
RET
PUSH ECX
PUSH ECX
PUSH EDX
PUSH EAX
CALL 0x00014460
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001a0e0(int param_1,undefined4 param_2)\n\n{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(param_1,param_2,in_ECX,in_ECX);\n}\n\n" comment (function_definition "void FUN_0001a0e0(int param_1,undefined4 param_2)\n\n{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(param_1,param_2,in_ECX,in_ECX);\n}" primitive_type (function_declarator "FUN_0001a0e0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(param_1,param_2,in_ECX,in_ECX);\n}" { (declaration "undefined4 in_ECX;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0xd6) & 0x20) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0xd6) & 0x20) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0xd6) & 0x20)" ( (binary_expression "*(byte *)(param_1 + 0xd6) & 0x20" (pointer_expression "*(byte *)(param_1 + 0xd6)" * (cast_expression "(byte *)(param_1 + 0xd6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd6)" ( (binary_expression "param_1 + 0xd6" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    png_warning(param_1,param_2);\n    return;\n  }" { (expression_statement "png_warning(param_1,param_2);" (call_expression "png_warning(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "png_error(param_1,param_2,in_ECX,in_ECX);" (call_expression "png_error(param_1,param_2,in_ECX,in_ECX)" identifier (argument_list "(param_1,param_2,in_ECX,in_ECX)" ( identifier , identifier , identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid png_app_warning(png_const_structrp png_ptr,png_const_charp error_message)\n\n{\n  if ((png_ptr->flags & 0x200000) != 0) {\n    png_warning(png_ptr,error_message);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(png_ptr,error_message);\n}\n\n" comment comment (function_definition "void png_app_warning(png_const_structrp png_ptr,png_const_charp error_message)\n\n{\n  if ((png_ptr->flags & 0x200000) != 0) {\n    png_warning(png_ptr,error_message);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(png_ptr,error_message);\n}" primitive_type (function_declarator "png_app_warning(png_const_structrp png_ptr,png_const_charp error_message)" identifier (parameter_list "(png_const_structrp png_ptr,png_const_charp error_message)" ( (parameter_declaration "png_const_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_const_charp error_message" type_identifier identifier) ))) (compound_statement "{\n  if ((png_ptr->flags & 0x200000) != 0) {\n    png_warning(png_ptr,error_message);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  png_error(png_ptr,error_message);\n}" { (if_statement "if ((png_ptr->flags & 0x200000) != 0) {\n    png_warning(png_ptr,error_message);\n    return;\n  }" if (parenthesized_expression "((png_ptr->flags & 0x200000) != 0)" ( (binary_expression "(png_ptr->flags & 0x200000) != 0" (parenthesized_expression "(png_ptr->flags & 0x200000)" ( (binary_expression "png_ptr->flags & 0x200000" (field_expression "png_ptr->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    png_warning(png_ptr,error_message);\n    return;\n  }" { (expression_statement "png_warning(png_ptr,error_message);" (call_expression "png_warning(png_ptr,error_message)" identifier (argument_list "(png_ptr,error_message)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "png_error(png_ptr,error_message);" (call_expression "png_error(png_ptr,error_message)" identifier (argument_list "(png_ptr,error_message)" ( identifier , identifier ))) ;) })))
(translation_unit "void FUN_0001a0e0(int param_1,undefined4 param_2)\n\n{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    \n  png_error(param_1,param_2,in_ECX,in_ECX);\n}\n\n" (function_definition "void FUN_0001a0e0(int param_1,undefined4 param_2)\n\n{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    \n  png_error(param_1,param_2,in_ECX,in_ECX);\n}" primitive_type (function_declarator "FUN_0001a0e0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    \n  png_error(param_1,param_2,in_ECX,in_ECX);\n}" { (declaration "undefined4 in_ECX;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0xd6) & 0x20) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0xd6) & 0x20) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0xd6) & 0x20)" ( (binary_expression "*(byte *)(param_1 + 0xd6) & 0x20" (pointer_expression "*(byte *)(param_1 + 0xd6)" * (cast_expression "(byte *)(param_1 + 0xd6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd6)" ( (binary_expression "param_1 + 0xd6" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    png_warning(param_1,param_2);\n    return;\n  }" { (expression_statement "png_warning(param_1,param_2);" (call_expression "png_warning(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "png_error(param_1,param_2,in_ECX,in_ECX);" (call_expression "png_error(param_1,param_2,in_ECX,in_ECX)" identifier (argument_list "(param_1,param_2,in_ECX,in_ECX)" ( identifier , identifier , identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })))
(function_definition "void FUN_0001a0e0(int param_1,undefined4 param_2)\n\n{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    \n  png_error(param_1,param_2,in_ECX,in_ECX);\n}" (primitive_type "void") (function_declarator "FUN_0001a0e0(int param_1,undefined4 param_2)" (identifier "FUN_0001a0e0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 in_ECX;\n  \n  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }\n                    \n  png_error(param_1,param_2,in_ECX,in_ECX);\n}" ({ "{") (declaration "undefined4 in_ECX;" (type_identifier "undefined4") (identifier "in_ECX") (; ";")) (if_statement "if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {\n    png_warning(param_1,param_2);\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0xd6) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0xd6) & 0x20) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0xd6) & 0x20)" (( "(") (binary_expression "*(byte *)(param_1 + 0xd6) & 0x20" (pointer_expression "*(byte *)(param_1 + 0xd6)" (* "*") (cast_expression "(byte *)(param_1 + 0xd6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd6)" (( "(") (binary_expression "param_1 + 0xd6" (identifier "param_1") (+ "+") (number_literal "0xd6")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    png_warning(param_1,param_2);\n    return;\n  }" ({ "{") (expression_statement "png_warning(param_1,param_2);" (call_expression "png_warning(param_1,param_2)" (identifier "png_warning") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "png_error(param_1,param_2,in_ECX,in_ECX);" (call_expression "png_error(param_1,param_2,in_ECX,in_ECX)" (identifier "png_error") (argument_list "(param_1,param_2,in_ECX,in_ECX)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "in_ECX") (, ",") (identifier "in_ECX") () ")"))) (; ";")) (} "}")))

/* 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 error_message)

{
  if ((png_ptr->flags & 0x200000) != 0) {
    var_1(png_ptr,error_message);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2(png_ptr,error_message);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))))))

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

void MASKED(int param_1,undefined4 param_2)

{
  undefined4 in_ECX;
  
  if ((*(byte *)(param_1 + 0xd6) & 0x20) != 0) {
    png_warning(param_1,param_2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  png_error(param_1,param_2,in_ECX,in_ECX);
}

