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

void dfawarn(char *mesg)

{
  char *pcVar1;
  
  pcVar1 = getenv("POSIXLY_CORRECT");
  if (pcVar1 != (char *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  dfaerror(mesg);
}



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

void FUN_000197f0(undefined4 param_1)

{
  char *pcVar1;
  
  pcVar1 = getenv("POSIXLY_CORRECT");
  if (pcVar1 != (char *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000197d0(param_1);
}


PUSH EBX
CALL 0x00012c30
ADD EBX,0x1780a
SUB ESP,0x14
LEA EAX,[EBX + 0xffff636e]
PUSH EAX
CALL 0x000122b0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00019817
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x000197d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000197f0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000197d0(param_1);\n}\n\n" comment (function_definition "void FUN_000197f0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000197d0(param_1);\n}" primitive_type (function_declarator "FUN_000197f0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000197d0(param_1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar1 = getenv("POSIXLY_CORRECT")" identifier = (call_expression "getenv("POSIXLY_CORRECT")" identifier (argument_list "("POSIXLY_CORRECT")" ( (string_literal ""POSIXLY_CORRECT"" " string_content ") )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_000197d0(param_1);" (call_expression "FUN_000197d0(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 dfawarn(char *mesg)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  dfaerror(mesg);\n}\n\n" comment comment (function_definition "void dfawarn(char *mesg)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  dfaerror(mesg);\n}" primitive_type (function_declarator "dfawarn(char *mesg)" identifier (parameter_list "(char *mesg)" ( (parameter_declaration "char *mesg" primitive_type (pointer_declarator "*mesg" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  dfaerror(mesg);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar1 = getenv("POSIXLY_CORRECT")" identifier = (call_expression "getenv("POSIXLY_CORRECT")" identifier (argument_list "("POSIXLY_CORRECT")" ( (string_literal ""POSIXLY_CORRECT"" " string_content ") )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "dfaerror(mesg);" (call_expression "dfaerror(mesg)" identifier (argument_list "(mesg)" ( identifier ))) ;) })))
(translation_unit "void FUN_000197f0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    \n  FUN_000197d0(param_1);\n}\n\n" (function_definition "void FUN_000197f0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    \n  FUN_000197d0(param_1);\n}" primitive_type (function_declarator "FUN_000197f0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    \n  FUN_000197d0(param_1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar1 = getenv("POSIXLY_CORRECT")" identifier = (call_expression "getenv("POSIXLY_CORRECT")" identifier (argument_list "("POSIXLY_CORRECT")" ( (string_literal ""POSIXLY_CORRECT"" " string_content ") )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_000197d0(param_1);" (call_expression "FUN_000197d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })))
(function_definition "void FUN_000197f0(undefined4 param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    \n  FUN_000197d0(param_1);\n}" (primitive_type "void") (function_declarator "FUN_000197f0(undefined4 param_1)" (identifier "FUN_000197f0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = getenv("POSIXLY_CORRECT");\n  if (pcVar1 != (char *)0x0) {\n    return;\n  }\n                    \n  FUN_000197d0(param_1);\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar1 = getenv("POSIXLY_CORRECT")" (identifier "pcVar1") (= "=") (call_expression "getenv("POSIXLY_CORRECT")" (identifier "getenv") (argument_list "("POSIXLY_CORRECT")" (( "(") (string_literal ""POSIXLY_CORRECT"" (" """) (string_content "POSIXLY_CORRECT") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar1 != (char *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(pcVar1 != (char *)0x0)" (( "(") (binary_expression "pcVar1 != (char *)0x0" (identifier "pcVar1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000197d0(param_1);" (call_expression "FUN_000197d0(param_1)" (identifier "FUN_000197d0") (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(char *mesg)

{
  char *var_2;
  
  var_2 = var_1("POSIXLY_CORRECT");
  if (var_2 != (char *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3(mesg);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (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(undefined4 param_1)

{
  char *pcVar1;
  
  pcVar1 = getenv("POSIXLY_CORRECT");
  if (pcVar1 != (char *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000197d0(param_1);
}

