
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void die_if_ferror_stdout(void)

{
  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {
                    /* WARNING: Subroutine does not return */
    bb_error_msg_and_die("%s: I/O error","standard output");
  }
  return;
}



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

void FUN_00019f4a(void)

{
  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000191a6("%s: I/O error","standard output");
  }
  return;
}


CALL 0x0001a685
ADD EAX,0xb6ad1
MOV EDX,dword ptr [EAX + 0x594]
MOV EDX,dword ptr [EDX]
TEST byte ptr [EDX],0x20
JZ 0x00019f77
SUB ESP,0x14
LEA EDX,[EAX + 0xffff2944]
PUSH EDX
LEA EAX,[EAX + 0xffff2afb]
PUSH EAX
CALL 0x000191a6
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00019f4a(void)\n\n{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00019f4a(void)\n\n{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00019f4a(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}" { (if_statement "if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000191a6("%s: I/O error","standard output");\n  }" if (parenthesized_expression "((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0)" ( (binary_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0" (parenthesized_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20)" ( (binary_expression "**(byte **)PTR_stdout_000d0fb4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_000d0fb4" * (pointer_expression "*(byte **)PTR_stdout_000d0fb4" * (cast_expression "(byte **)PTR_stdout_000d0fb4" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000191a6("%s: I/O error","standard output");\n  }" { comment (expression_statement "FUN_000191a6("%s: I/O error","standard output");" (call_expression "FUN_000191a6("%s: I/O error","standard output")" identifier (argument_list "("%s: I/O error","standard output")" ( (string_literal ""%s: I/O error"" " string_content ") , (string_literal ""standard output"" " string_content ") ))) ;) })) (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 -- yet parameter storage is locked */\n\nvoid die_if_ferror_stdout(void)\n\n{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s: I/O error","standard output");\n  }\n  return;\n}\n\n" comment comment (function_definition "void die_if_ferror_stdout(void)\n\n{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s: I/O error","standard output");\n  }\n  return;\n}" primitive_type (function_declarator "die_if_ferror_stdout(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s: I/O error","standard output");\n  }\n  return;\n}" { (if_statement "if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s: I/O error","standard output");\n  }" if (parenthesized_expression "((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0)" ( (binary_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0" (parenthesized_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20)" ( (binary_expression "**(byte **)PTR_stdout_000d0fb4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_000d0fb4" * (pointer_expression "*(byte **)PTR_stdout_000d0fb4" * (cast_expression "(byte **)PTR_stdout_000d0fb4" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    bb_error_msg_and_die("%s: I/O error","standard output");\n  }" { comment (expression_statement "bb_error_msg_and_die("%s: I/O error","standard output");" (call_expression "bb_error_msg_and_die("%s: I/O error","standard output")" identifier (argument_list "("%s: I/O error","standard output")" ( (string_literal ""%s: I/O error"" " string_content ") , (string_literal ""standard output"" " string_content ") ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00019f4a(void)\n\n{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}\n\n" (function_definition "void FUN_00019f4a(void)\n\n{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00019f4a(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}" { (if_statement "if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }" if (parenthesized_expression "((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0)" ( (binary_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0" (parenthesized_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20)" ( (binary_expression "**(byte **)PTR_stdout_000d0fb4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_000d0fb4" * (pointer_expression "*(byte **)PTR_stdout_000d0fb4" * (cast_expression "(byte **)PTR_stdout_000d0fb4" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }" { (expression_statement "FUN_000191a6("%s: I/O error","standard output");" (call_expression "FUN_000191a6("%s: I/O error","standard output")" identifier (argument_list "("%s: I/O error","standard output")" ( (string_literal ""%s: I/O error"" " string_content ") , (string_literal ""standard output"" " string_content ") ))) ;) })) (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 (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00019f4a(void)\n\n{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00019f4a(void)" (identifier "FUN_00019f4a") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }\n  return;\n}" ({ "{") (if_statement "if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }" (if "if") (parenthesized_expression "((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0)" (( "(") (binary_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0" (parenthesized_expression "(**(byte **)PTR_stdout_000d0fb4 & 0x20)" (( "(") (binary_expression "**(byte **)PTR_stdout_000d0fb4 & 0x20" (pointer_expression "**(byte **)PTR_stdout_000d0fb4" (* "*") (pointer_expression "*(byte **)PTR_stdout_000d0fb4" (* "*") (cast_expression "(byte **)PTR_stdout_000d0fb4" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_000d0fb4")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_000191a6("%s: I/O error","standard output");\n  }" ({ "{") (expression_statement "FUN_000191a6("%s: I/O error","standard output");" (call_expression "FUN_000191a6("%s: I/O error","standard output")" (identifier "FUN_000191a6") (argument_list "("%s: I/O error","standard output")" (( "(") (string_literal ""%s: I/O error"" (" """) (string_content "%s: I/O error") (" """)) (, ",") (string_literal ""standard output"" (" """) (string_content "standard output") (" """)) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if ((**(type_1 **)PTR_stdout_000d0fb4 & 0x20) != 0) {
                    /* WARNING: Subroutine does not return */
    var_1("%s: I/O error","standard output");
  }
  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: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content))))))) (return_statement))))

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

void MASKED(void)

{
  if ((**(byte **)PTR_stdout_000d0fb4 & 0x20) != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000191a6("%s: I/O error","standard output");
  }
  return;
}

