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

char * pr_string(void)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  char *pcVar6;
  char *proto;
  
  iVar3 = so_e_width;
  iVar2 = sc_width;
  iVar1 = so_s_width;
  uVar4 = pr_type;
  if (less_is_more != 0) {
    uVar4 = (uint)(pr_type == 0);
  }
  uVar5 = ch_getflags();
  proto = hproto;
  if ((uVar5 & 8) == 0) {
    proto = prproto[uVar4];
  }
  mp = message;
  pcVar6 = "";
  if (*proto != '\0') {
    pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2);
  }
  new_file = 0;
  return pcVar6;
}



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

undefined1 * FUN_000279b0(void)

{
  uint uVar1;
  uint uVar2;
  undefined1 *puVar3;
  char *pcVar4;
  
  uVar1 = DAT_000419b0;
  if (DAT_00040b38 != 0) {
    uVar1 = (uint)(DAT_000419b0 == 0);
  }
  uVar2 = FUN_00015b90();
  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;
  if ((uVar2 & 8) == 0) {
    pcVar4 = (char *)(&DAT_000419ec)[uVar1];
  }
  DAT_00041020 = &DAT_00041040;
  puVar3 = &DAT_0002c172;
  if (*pcVar4 != '\0') {
    puVar3 = (undefined1 *)FUN_00027550();
  }
  DAT_000418c4 = 0;
  return puVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000129a0
ADD EBX,0x144df
SUB ESP,0x1c
LEA EAX,[EBX + 0x5b18]
MOV EDI,dword ptr [EAX]
LEA EAX,[EBX + 0x4ca0]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x000279df
XOR EAX,EAX
TEST EDI,EDI
SETZ AL
MOV EDI,EAX
LEA EAX,[EBX + 0x5a58]
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0x5a40]
MOV EBP,dword ptr [EAX]
LEA EAX,[EBX + 0x5a5c]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
CALL 0x00015b90
TEST AL,0x8
JNZ 0x00027a50
LEA EAX,[EBX + 0x5b54]
MOV ECX,dword ptr [EAX + EDI*0x4]
LEA EAX,[EBX + 0x51a8]
CMP byte ptr [ECX],0x0
MOV dword ptr [EBX + 0x5188],EAX
LEA EAX,[EBX + 0xffff02da]
JZ 0x00027a34
SUB ESI,EBP
SUB ESI,dword ptr [ESP + 0xc]
MOV EAX,ECX
LEA EDX,[ESI + -0x2]
CALL 0x00027550
LEA EDX,[EBX + 0x5a2c]
MOV dword ptr [EDX],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [EBX + 0x1d10]
JMP 0x00027a0d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined1 * FUN_000279b0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}\n\n" comment (function_definition "undefined1 * FUN_000279b0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}" type_identifier (pointer_declarator "* FUN_000279b0(void)" * (function_declarator "FUN_000279b0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "uVar1 = DAT_000419b0;" (assignment_expression "uVar1 = DAT_000419b0" identifier = identifier) ;) (if_statement "if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }" if (parenthesized_expression "(DAT_00040b38 != 0)" ( (binary_expression "DAT_00040b38 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }" { (expression_statement "uVar1 = (uint)(DAT_000419b0 == 0);" (assignment_expression "uVar1 = (uint)(DAT_000419b0 == 0)" identifier = (call_expression "(uint)(DAT_000419b0 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_000419b0 == 0)" ( (binary_expression "DAT_000419b0 == 0" identifier == number_literal) )))) ;) })) (expression_statement "uVar2 = FUN_00015b90();" (assignment_expression "uVar2 = FUN_00015b90()" identifier = (call_expression "FUN_00015b90()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;" (assignment_expression "pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8" identifier = identifier) ;) (if_statement "if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }" if (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }" { (expression_statement "pcVar4 = (char *)(&DAT_000419ec)[uVar1];" (assignment_expression "pcVar4 = (char *)(&DAT_000419ec)[uVar1]" identifier = (cast_expression "(char *)(&DAT_000419ec)[uVar1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&DAT_000419ec)[uVar1]" (parenthesized_expression "(&DAT_000419ec)" ( (pointer_expression "&DAT_000419ec" & identifier) )) [ identifier ]))) ;) })) (expression_statement "DAT_00041020 = &DAT_00041040;" (assignment_expression "DAT_00041020 = &DAT_00041040" identifier = (pointer_expression "&DAT_00041040" & identifier)) ;) (expression_statement "puVar3 = &DAT_0002c172;" (assignment_expression "puVar3 = &DAT_0002c172" identifier = (pointer_expression "&DAT_0002c172" & identifier)) ;) (if_statement "if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }" if (parenthesized_expression "(*pcVar4 != '\0')" ( (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar3 = (undefined1 *)FUN_00027550();\n  }" { (expression_statement "puVar3 = (undefined1 *)FUN_00027550();" (assignment_expression "puVar3 = (undefined1 *)FUN_00027550()" identifier = (cast_expression "(undefined1 *)FUN_00027550()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00027550()" identifier (argument_list "()" ( ))))) ;) })) (expression_statement "DAT_000418c4 = 0;" (assignment_expression "DAT_000418c4 = 0" identifier = number_literal) ;) (return_statement "return puVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * pr_string(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  char *pcVar6;\n  char *proto;\n  \n  iVar3 = so_e_width;\n  iVar2 = sc_width;\n  iVar1 = so_s_width;\n  uVar4 = pr_type;\n  if (less_is_more != 0) {\n    uVar4 = (uint)(pr_type == 0);\n  }\n  uVar5 = ch_getflags();\n  proto = hproto;\n  if ((uVar5 & 8) == 0) {\n    proto = prproto[uVar4];\n  }\n  mp = message;\n  pcVar6 = "";\n  if (*proto != '\0') {\n    pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2);\n  }\n  new_file = 0;\n  return pcVar6;\n}\n\n" comment comment (function_definition "char * pr_string(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  char *pcVar6;\n  char *proto;\n  \n  iVar3 = so_e_width;\n  iVar2 = sc_width;\n  iVar1 = so_s_width;\n  uVar4 = pr_type;\n  if (less_is_more != 0) {\n    uVar4 = (uint)(pr_type == 0);\n  }\n  uVar5 = ch_getflags();\n  proto = hproto;\n  if ((uVar5 & 8) == 0) {\n    proto = prproto[uVar4];\n  }\n  mp = message;\n  pcVar6 = "";\n  if (*proto != '\0') {\n    pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2);\n  }\n  new_file = 0;\n  return pcVar6;\n}" primitive_type (pointer_declarator "* pr_string(void)" * (function_declarator "pr_string(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  char *pcVar6;\n  char *proto;\n  \n  iVar3 = so_e_width;\n  iVar2 = sc_width;\n  iVar1 = so_s_width;\n  uVar4 = pr_type;\n  if (less_is_more != 0) {\n    uVar4 = (uint)(pr_type == 0);\n  }\n  uVar5 = ch_getflags();\n  proto = hproto;\n  if ((uVar5 & 8) == 0) {\n    proto = prproto[uVar4];\n  }\n  mp = message;\n  pcVar6 = "";\n  if (*proto != '\0') {\n    pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2);\n  }\n  new_file = 0;\n  return pcVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *proto;" primitive_type (pointer_declarator "*proto" * identifier) ;) (expression_statement "iVar3 = so_e_width;" (assignment_expression "iVar3 = so_e_width" identifier = identifier) ;) (expression_statement "iVar2 = sc_width;" (assignment_expression "iVar2 = sc_width" identifier = identifier) ;) (expression_statement "iVar1 = so_s_width;" (assignment_expression "iVar1 = so_s_width" identifier = identifier) ;) (expression_statement "uVar4 = pr_type;" (assignment_expression "uVar4 = pr_type" identifier = identifier) ;) (if_statement "if (less_is_more != 0) {\n    uVar4 = (uint)(pr_type == 0);\n  }" if (parenthesized_expression "(less_is_more != 0)" ( (binary_expression "less_is_more != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = (uint)(pr_type == 0);\n  }" { (expression_statement "uVar4 = (uint)(pr_type == 0);" (assignment_expression "uVar4 = (uint)(pr_type == 0)" identifier = (call_expression "(uint)(pr_type == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pr_type == 0)" ( (binary_expression "pr_type == 0" identifier == number_literal) )))) ;) })) (expression_statement "uVar5 = ch_getflags();" (assignment_expression "uVar5 = ch_getflags()" identifier = (call_expression "ch_getflags()" identifier (argument_list "()" ( )))) ;) (expression_statement "proto = hproto;" (assignment_expression "proto = hproto" identifier = identifier) ;) (if_statement "if ((uVar5 & 8) == 0) {\n    proto = prproto[uVar4];\n  }" if (parenthesized_expression "((uVar5 & 8) == 0)" ( (binary_expression "(uVar5 & 8) == 0" (parenthesized_expression "(uVar5 & 8)" ( (binary_expression "uVar5 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    proto = prproto[uVar4];\n  }" { (expression_statement "proto = prproto[uVar4];" (assignment_expression "proto = prproto[uVar4]" identifier = (subscript_expression "prproto[uVar4]" identifier [ identifier ])) ;) })) (expression_statement "mp = message;" (assignment_expression "mp = message" identifier = identifier) ;) (expression_statement "pcVar6 = "";" (assignment_expression "pcVar6 = """ identifier = (string_literal """" " ")) ;) (if_statement "if (*proto != '\0') {\n    pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2);\n  }" if (parenthesized_expression "(*proto != '\0')" ( (binary_expression "*proto != '\0'" (pointer_expression "*proto" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2);\n  }" { (expression_statement "pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2);" (assignment_expression "pcVar6 = pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2)" identifier = (call_expression "pr_expand(proto,((iVar2 - iVar1) - iVar3) + -2)" identifier (argument_list "(proto,((iVar2 - iVar1) - iVar3) + -2)" ( identifier , (binary_expression "((iVar2 - iVar1) - iVar3) + -2" (parenthesized_expression "((iVar2 - iVar1) - iVar3)" ( (binary_expression "(iVar2 - iVar1) - iVar3" (parenthesized_expression "(iVar2 - iVar1)" ( (binary_expression "iVar2 - iVar1" identifier - identifier) )) - identifier) )) + number_literal) )))) ;) })) (expression_statement "new_file = 0;" (assignment_expression "new_file = 0" identifier = number_literal) ;) (return_statement "return pcVar6;" return identifier ;) })))
(translation_unit "undefined1 * FUN_000279b0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}\n\n" (function_definition "undefined1 * FUN_000279b0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}" type_identifier (pointer_declarator "* FUN_000279b0(void)" * (function_declarator "FUN_000279b0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "uVar1 = DAT_000419b0;" (assignment_expression "uVar1 = DAT_000419b0" identifier = identifier) ;) (if_statement "if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }" if (parenthesized_expression "(DAT_00040b38 != 0)" ( (binary_expression "DAT_00040b38 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }" { (expression_statement "uVar1 = (uint)(DAT_000419b0 == 0);" (assignment_expression "uVar1 = (uint)(DAT_000419b0 == 0)" identifier = (call_expression "(uint)(DAT_000419b0 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_000419b0 == 0)" ( (binary_expression "DAT_000419b0 == 0" identifier == number_literal) )))) ;) })) (expression_statement "uVar2 = FUN_00015b90();" (assignment_expression "uVar2 = FUN_00015b90()" identifier = (call_expression "FUN_00015b90()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;" (assignment_expression "pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8" identifier = identifier) ;) (if_statement "if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }" if (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }" { (expression_statement "pcVar4 = (char *)(&DAT_000419ec)[uVar1];" (assignment_expression "pcVar4 = (char *)(&DAT_000419ec)[uVar1]" identifier = (cast_expression "(char *)(&DAT_000419ec)[uVar1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(&DAT_000419ec)[uVar1]" (parenthesized_expression "(&DAT_000419ec)" ( (pointer_expression "&DAT_000419ec" & identifier) )) [ identifier ]))) ;) })) (expression_statement "DAT_00041020 = &DAT_00041040;" (assignment_expression "DAT_00041020 = &DAT_00041040" identifier = (pointer_expression "&DAT_00041040" & identifier)) ;) (expression_statement "puVar3 = &DAT_0002c172;" (assignment_expression "puVar3 = &DAT_0002c172" identifier = (pointer_expression "&DAT_0002c172" & identifier)) ;) (if_statement "if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }" if (parenthesized_expression "(*pcVar4 != '\0')" ( (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar3 = (undefined1 *)FUN_00027550();\n  }" { (expression_statement "puVar3 = (undefined1 *)FUN_00027550();" (assignment_expression "puVar3 = (undefined1 *)FUN_00027550()" identifier = (cast_expression "(undefined1 *)FUN_00027550()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00027550()" identifier (argument_list "()" ( ))))) ;) })) (expression_statement "DAT_000418c4 = 0;" (assignment_expression "DAT_000418c4 = 0" identifier = number_literal) ;) (return_statement "return puVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined1 * FUN_000279b0(void)\n\n{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}" (type_identifier "undefined1") (pointer_declarator "* FUN_000279b0(void)" (* "*") (function_declarator "FUN_000279b0(void)" (identifier "FUN_000279b0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  undefined1 *puVar3;\n  char *pcVar4;\n  \n  uVar1 = DAT_000419b0;\n  if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }\n  uVar2 = FUN_00015b90();\n  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;\n  if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }\n  DAT_00041020 = &DAT_00041040;\n  puVar3 = &DAT_0002c172;\n  if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }\n  DAT_000418c4 = 0;\n  return puVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "uVar1 = DAT_000419b0;" (assignment_expression "uVar1 = DAT_000419b0" (identifier "uVar1") (= "=") (identifier "DAT_000419b0")) (; ";")) (if_statement "if (DAT_00040b38 != 0) {\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }" (if "if") (parenthesized_expression "(DAT_00040b38 != 0)" (( "(") (binary_expression "DAT_00040b38 != 0" (identifier "DAT_00040b38") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (uint)(DAT_000419b0 == 0);\n  }" ({ "{") (expression_statement "uVar1 = (uint)(DAT_000419b0 == 0);" (assignment_expression "uVar1 = (uint)(DAT_000419b0 == 0)" (identifier "uVar1") (= "=") (call_expression "(uint)(DAT_000419b0 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_000419b0 == 0)" (( "(") (binary_expression "DAT_000419b0 == 0" (identifier "DAT_000419b0") (== "==") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_00015b90();" (assignment_expression "uVar2 = FUN_00015b90()" (identifier "uVar2") (= "=") (call_expression "FUN_00015b90()" (identifier "FUN_00015b90") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;" (assignment_expression "pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8" (identifier "pcVar4") (= "=") (identifier "PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8")) (; ";")) (if_statement "if ((uVar2 & 8) == 0) {\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }" (if "if") (parenthesized_expression "((uVar2 & 8) == 0)" (( "(") (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" (( "(") (binary_expression "uVar2 & 8" (identifier "uVar2") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar4 = (char *)(&DAT_000419ec)[uVar1];\n  }" ({ "{") (expression_statement "pcVar4 = (char *)(&DAT_000419ec)[uVar1];" (assignment_expression "pcVar4 = (char *)(&DAT_000419ec)[uVar1]" (identifier "pcVar4") (= "=") (cast_expression "(char *)(&DAT_000419ec)[uVar1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "(&DAT_000419ec)[uVar1]" (parenthesized_expression "(&DAT_000419ec)" (( "(") (pointer_expression "&DAT_000419ec" (& "&") (identifier "DAT_000419ec")) () ")")) ([ "[") (identifier "uVar1") (] "]")))) (; ";")) (} "}"))) (expression_statement "DAT_00041020 = &DAT_00041040;" (assignment_expression "DAT_00041020 = &DAT_00041040" (identifier "DAT_00041020") (= "=") (pointer_expression "&DAT_00041040" (& "&") (identifier "DAT_00041040"))) (; ";")) (expression_statement "puVar3 = &DAT_0002c172;" (assignment_expression "puVar3 = &DAT_0002c172" (identifier "puVar3") (= "=") (pointer_expression "&DAT_0002c172" (& "&") (identifier "DAT_0002c172"))) (; ";")) (if_statement "if (*pcVar4 != '\0') {\n    puVar3 = (undefined1 *)FUN_00027550();\n  }" (if "if") (parenthesized_expression "(*pcVar4 != '\0')" (( "(") (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    puVar3 = (undefined1 *)FUN_00027550();\n  }" ({ "{") (expression_statement "puVar3 = (undefined1 *)FUN_00027550();" (assignment_expression "puVar3 = (undefined1 *)FUN_00027550()" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)FUN_00027550()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00027550()" (identifier "FUN_00027550") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}"))) (expression_statement "DAT_000418c4 = 0;" (assignment_expression "DAT_000418c4 = 0" (identifier "DAT_000418c4") (= "=") (number_literal "0")) (; ";")) (return_statement "return puVar3;" (return "return") (identifier "puVar3") (; ";")) (} "}")))

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

char * function_1(void)

{
  int var_7;
  int var_6;
  int var_8;
  type_1 uVar4;
  type_1 var_4;
  char *pcVar6;
  char *proto;
  
  var_8 = so_e_width;
  var_6 = sc_width;
  var_7 = so_s_width;
  uVar4 = var_2;
  if (var_1 != 0) {
    uVar4 = (type_1)(var_2 == 0);
  }
  var_4 = var_3();
  proto = hproto;
  if ((var_4 & 8) == 0) {
    proto = prproto[uVar4];
  }
  mp = message;
  pcVar6 = "";
  if (*proto != '\0') {
    pcVar6 = var_5(proto,((var_6 - var_7) - var_8) + -2);
  }
  new_file = 0;
  return pcVar6;
}


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

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

undefined1 * MASKED(void)

{
  uint uVar1;
  uint uVar2;
  undefined1 *puVar3;
  char *pcVar4;
  
  uVar1 = DAT_000419b0;
  if (DAT_00040b38 != 0) {
    uVar1 = (uint)(DAT_000419b0 == 0);
  }
  uVar2 = FUN_00015b90();
  pcVar4 = PTR_s_HELP_____eEND____Press_g_to_see_i_0003dba8;
  if ((uVar2 & 8) == 0) {
    pcVar4 = (char *)(&DAT_000419ec)[uVar1];
  }
  DAT_00041020 = &DAT_00041040;
  puVar3 = &DAT_0002c172;
  if (*pcVar4 != '\0') {
    puVar3 = (undefined1 *)FUN_00027550();
  }
  DAT_000418c4 = 0;
  return puVar3;
}

