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

void pa_check_eof(void)

{
  char *pcVar1;
  
  if (within_entry_exit == 0) {
    if (within_procedure == 0) {
      return;
    }
    pcVar1 = "Missing .procend\n";
  }
  else {
    pcVar1 = "Missing .exit\n";
  }
  pcVar1 = (char *)dcgettext(0,pcVar1,5);
                    /* WARNING: Subroutine does not return */
  as_fatal(pcVar1);
}



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

void FUN_00047520(void)

{
  char *pcVar1;
  undefined4 uVar2;
  undefined4 in_ECX;
  
  if (DAT_00088be4 == 0) {
    if (DAT_00088be0 == 0) {
      return;
    }
    pcVar1 = "Missing .procend\n";
    in_ECX = 0;
  }
  else {
    pcVar1 = "Missing .exit\n";
  }
  uVar2 = dcgettext(0,pcVar1,5,in_ECX);
                    /* WARNING: Subroutine does not return */
  FUN_0002ed30(uVar2);
}


PUSH EBX
CALL 0x00018ff0
ADD EBX,0x38ada
SUB ESP,0x8
MOV EAX,dword ptr [EBX + 0x8be4]
TEST EAX,EAX
JNZ 0x00047548
MOV EDX,dword ptr [EBX + 0x8be0]
TEST EDX,EDX
JNZ 0x00047561
ADD ESP,0x8
POP EBX
RET
PUSH ECX
LEA EAX,[EBX + 0xfffdff6e]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000171a0
MOV dword ptr [ESP],EAX
CALL 0x0002ed30
PUSH EAX
LEA EAX,[EBX + 0xfffdff7d]
PUSH 0x5
JMP 0x00047551
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00047520(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002ed30(uVar2);\n}\n\n" comment (function_definition "void FUN_00047520(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002ed30(uVar2);\n}" primitive_type (function_declarator "FUN_00047520(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n  FUN_0002ed30(uVar2);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (if_statement "if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }" if (parenthesized_expression "(DAT_00088be4 == 0)" ( (binary_expression "DAT_00088be4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }" { (if_statement "if (DAT_00088be0 == 0) {\n      return;\n    }" if (parenthesized_expression "(DAT_00088be0 == 0)" ( (binary_expression "DAT_00088be0 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "pcVar1 = "Missing .procend\n";" (assignment_expression "pcVar1 = "Missing .procend\n"" identifier = (string_literal ""Missing .procend\n"" " string_content escape_sequence ")) ;) (expression_statement "in_ECX = 0;" (assignment_expression "in_ECX = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar1 = "Missing .exit\n";\n  }" else (compound_statement "{\n    pcVar1 = "Missing .exit\n";\n  }" { (expression_statement "pcVar1 = "Missing .exit\n";" (assignment_expression "pcVar1 = "Missing .exit\n"" identifier = (string_literal ""Missing .exit\n"" " string_content escape_sequence ")) ;) }))) (expression_statement "uVar2 = dcgettext(0,pcVar1,5,in_ECX);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5,in_ECX)" identifier = (call_expression "dcgettext(0,pcVar1,5,in_ECX)" identifier (argument_list "(0,pcVar1,5,in_ECX)" ( number_literal , identifier , number_literal , identifier )))) ;) comment (expression_statement "FUN_0002ed30(uVar2);" (call_expression "FUN_0002ed30(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid pa_check_eof(void)\n\n{\n  char *pcVar1;\n  \n  if (within_entry_exit == 0) {\n    if (within_procedure == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1);\n}\n\n" comment comment (function_definition "void pa_check_eof(void)\n\n{\n  char *pcVar1;\n  \n  if (within_entry_exit == 0) {\n    if (within_procedure == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1);\n}" primitive_type (function_declarator "pa_check_eof(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if (within_entry_exit == 0) {\n    if (within_procedure == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n                    /* WARNING: Subroutine does not return */\n  as_fatal(pcVar1);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (within_entry_exit == 0) {\n    if (within_procedure == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }" if (parenthesized_expression "(within_entry_exit == 0)" ( (binary_expression "within_entry_exit == 0" identifier == number_literal) )) (compound_statement "{\n    if (within_procedure == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n  }" { (if_statement "if (within_procedure == 0) {\n      return;\n    }" if (parenthesized_expression "(within_procedure == 0)" ( (binary_expression "within_procedure == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "pcVar1 = "Missing .procend\n";" (assignment_expression "pcVar1 = "Missing .procend\n"" identifier = (string_literal ""Missing .procend\n"" " string_content escape_sequence ")) ;) }) (else_clause "else {\n    pcVar1 = "Missing .exit\n";\n  }" else (compound_statement "{\n    pcVar1 = "Missing .exit\n";\n  }" { (expression_statement "pcVar1 = "Missing .exit\n";" (assignment_expression "pcVar1 = "Missing .exit\n"" identifier = (string_literal ""Missing .exit\n"" " string_content escape_sequence ")) ;) }))) (expression_statement "pcVar1 = (char *)dcgettext(0,pcVar1,5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,pcVar1,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar1,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar1,5)" identifier (argument_list "(0,pcVar1,5)" ( number_literal , identifier , number_literal ))))) ;) comment (expression_statement "as_fatal(pcVar1);" (call_expression "as_fatal(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) })))
(translation_unit "void FUN_00047520(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    \n  FUN_0002ed30(uVar2);\n}\n\n" (function_definition "void FUN_00047520(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    \n  FUN_0002ed30(uVar2);\n}" primitive_type (function_declarator "FUN_00047520(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    \n  FUN_0002ed30(uVar2);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (if_statement "if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }" if (parenthesized_expression "(DAT_00088be4 == 0)" ( (binary_expression "DAT_00088be4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }" { (if_statement "if (DAT_00088be0 == 0) {\n      return;\n    }" if (parenthesized_expression "(DAT_00088be0 == 0)" ( (binary_expression "DAT_00088be0 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "pcVar1 = "Missing .procend\n";" (assignment_expression "pcVar1 = "Missing .procend\n"" identifier = (string_literal ""Missing .procend\n"" " string_content escape_sequence ")) ;) (expression_statement "in_ECX = 0;" (assignment_expression "in_ECX = 0" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar1 = "Missing .exit\n";\n  }" else (compound_statement "{\n    pcVar1 = "Missing .exit\n";\n  }" { (expression_statement "pcVar1 = "Missing .exit\n";" (assignment_expression "pcVar1 = "Missing .exit\n"" identifier = (string_literal ""Missing .exit\n"" " string_content escape_sequence ")) ;) }))) (expression_statement "uVar2 = dcgettext(0,pcVar1,5,in_ECX);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5,in_ECX)" identifier = (call_expression "dcgettext(0,pcVar1,5,in_ECX)" identifier (argument_list "(0,pcVar1,5,in_ECX)" ( number_literal , identifier , number_literal , identifier )))) ;) (expression_statement "FUN_0002ed30(uVar2);" (call_expression "FUN_0002ed30(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })))
(function_definition "void FUN_00047520(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    \n  FUN_0002ed30(uVar2);\n}" (primitive_type "void") (function_declarator "FUN_00047520(void)" (identifier "FUN_00047520") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined4 in_ECX;\n  \n  if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }\n  uVar2 = dcgettext(0,pcVar1,5,in_ECX);\n                    \n  FUN_0002ed30(uVar2);\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 in_ECX;" (type_identifier "undefined4") (identifier "in_ECX") (; ";")) (if_statement "if (DAT_00088be4 == 0) {\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }\n  else {\n    pcVar1 = "Missing .exit\n";\n  }" (if "if") (parenthesized_expression "(DAT_00088be4 == 0)" (( "(") (binary_expression "DAT_00088be4 == 0" (identifier "DAT_00088be4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_00088be0 == 0) {\n      return;\n    }\n    pcVar1 = "Missing .procend\n";\n    in_ECX = 0;\n  }" ({ "{") (if_statement "if (DAT_00088be0 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(DAT_00088be0 == 0)" (( "(") (binary_expression "DAT_00088be0 == 0" (identifier "DAT_00088be0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar1 = "Missing .procend\n";" (assignment_expression "pcVar1 = "Missing .procend\n"" (identifier "pcVar1") (= "=") (string_literal ""Missing .procend\n"" (" """) (string_content "Missing .procend") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "in_ECX = 0;" (assignment_expression "in_ECX = 0" (identifier "in_ECX") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    pcVar1 = "Missing .exit\n";\n  }" (else "else") (compound_statement "{\n    pcVar1 = "Missing .exit\n";\n  }" ({ "{") (expression_statement "pcVar1 = "Missing .exit\n";" (assignment_expression "pcVar1 = "Missing .exit\n"" (identifier "pcVar1") (= "=") (string_literal ""Missing .exit\n"" (" """) (string_content "Missing .exit") (escape_sequence "\n") (" """))) (; ";")) (} "}")))) (expression_statement "uVar2 = dcgettext(0,pcVar1,5,in_ECX);" (assignment_expression "uVar2 = dcgettext(0,pcVar1,5,in_ECX)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,pcVar1,5,in_ECX)" (identifier "dcgettext") (argument_list "(0,pcVar1,5,in_ECX)" (( "(") (number_literal "0") (, ",") (identifier "pcVar1") (, ",") (number_literal "5") (, ",") (identifier "in_ECX") () ")")))) (; ";")) (expression_statement "FUN_0002ed30(uVar2);" (call_expression "FUN_0002ed30(uVar2)" (identifier "FUN_0002ed30") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (} "}")))

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

void function_1(void)

{
  char *pcVar1;
  
  if (var_1 == 0) {
    if (var_2 == 0) {
      return;
    }
    pcVar1 = "Missing .procend\n";
  }
  else {
    pcVar1 = "Missing .exit\n";
  }
  pcVar1 = (char *)var_3(0,pcVar1,5);
                    /* WARNING: Subroutine does not return */
  var_4(pcVar1);
}


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

{
  char *pcVar1;
  undefined4 uVar2;
  undefined4 in_ECX;
  
  if (DAT_00088be4 == 0) {
    if (DAT_00088be0 == 0) {
      return;
    }
    pcVar1 = "Missing .procend\n";
    in_ECX = 0;
  }
  else {
    pcVar1 = "Missing .exit\n";
  }
  uVar2 = dcgettext(0,pcVar1,5,in_ECX);
                    /* WARNING: Subroutine does not return */
  FUN_0002ed30(uVar2);
}

