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

char * __regparm3 output_invalid(int c)

{
  char *__format;
  uint uVar1;
  
  uVar1 = c & 0xff;
  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {
    __format = "(0x%x)";
  }
  else {
    __format = "\'%c\'";
    uVar1 = c;
  }
  snprintf(output_invalid_buf,8,__format,uVar1);
  return output_invalid_buf;
}



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

undefined * __regparm3 FUN_00043af0(uint param_1)

{
  char *__format;
  uint uVar1;
  
  uVar1 = param_1 & 0xff;
  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {
    __format = "(0x%x)";
  }
  else {
    __format = "\'%c\'";
    uVar1 = param_1;
  }
  snprintf(&DAT_00083e54,8,__format,uVar1);
  return &DAT_00083e54;
}


PUSH ESI
MOVZX EDX,AL
PUSH EBX
CALL 0x00016020
ADD EBX,0x37506
SUB ESP,0x4
MOV ECX,dword ptr [EBX + 0xffffff74]
TEST byte ptr [ECX + EDX*0x2],0x10
JZ 0x00043b30
PUSH EAX
LEA EAX,[EBX + 0xfffdeb91]
LEA ESI,[EBX + 0x8e54]
PUSH EAX
PUSH 0x8
PUSH ESI
CALL 0x000144c0
ADD ESP,0x10
MOV EAX,ESI
ADD ESP,0x4
POP EBX
POP ESI
RET
PUSH EDX
LEA EAX,[EBX + 0xfffe4c13]
JMP 0x00043b16
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined * __regparm3 FUN_00043af0(uint param_1)\n\n{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = param_1 & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }\n  snprintf(&DAT_00083e54,8,__format,uVar1);\n  return &DAT_00083e54;\n}\n\n" comment (ERROR "undefined * __regparm3 FUN_00043af0(uint param_1)" (binary_expression "undefined * __regparm3 FUN_00043af0(uint param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00043af0(uint param_1)" identifier (argument_list "(uint param_1)" ( (ERROR "uint" identifier) identifier ))))) (compound_statement "{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = param_1 & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }\n  snprintf(&DAT_00083e54,8,__format,uVar1);\n  return &DAT_00083e54;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = param_1 & 0xff;" (assignment_expression "uVar1 = param_1 & 0xff" identifier = (binary_expression "param_1 & 0xff" identifier & number_literal)) ;) (if_statement "if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" if (parenthesized_expression "((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0)" ( (binary_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0" (parenthesized_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10)" ( (binary_expression "PTR__sch_istable_0007af74[uVar1 * 2] & 0x10" (subscript_expression "PTR__sch_istable_0007af74[uVar1 * 2]" identifier [ (binary_expression "uVar1 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    __format = "(0x%x)";\n  }" { (expression_statement "__format = "(0x%x)";" (assignment_expression "__format = "(0x%x)"" identifier = (string_literal ""(0x%x)"" " string_content ")) ;) }) (else_clause "else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" else (compound_statement "{\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" { (expression_statement "__format = "\'%c\'";" (assignment_expression "__format = "\'%c\'"" identifier = (string_literal ""\'%c\'"" " escape_sequence string_content escape_sequence ")) ;) (expression_statement "uVar1 = param_1;" (assignment_expression "uVar1 = param_1" identifier = identifier) ;) }))) (expression_statement "snprintf(&DAT_00083e54,8,__format,uVar1);" (call_expression "snprintf(&DAT_00083e54,8,__format,uVar1)" identifier (argument_list "(&DAT_00083e54,8,__format,uVar1)" ( (pointer_expression "&DAT_00083e54" & identifier) , number_literal , identifier , identifier ))) ;) (return_statement "return &DAT_00083e54;" return (pointer_expression "&DAT_00083e54" & identifier) ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 output_invalid(int c)\n\n{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = c & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = c;\n  }\n  snprintf(output_invalid_buf,8,__format,uVar1);\n  return output_invalid_buf;\n}\n\n" comment (function_definition "char * __regparm3 output_invalid(int c)\n\n{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = c & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = c;\n  }\n  snprintf(output_invalid_buf,8,__format,uVar1);\n  return output_invalid_buf;\n}" primitive_type (pointer_declarator "* __regparm3 output_invalid(int c)" * (ERROR "__regparm3" identifier) (function_declarator "output_invalid(int c)" identifier (parameter_list "(int c)" ( (parameter_declaration "int c" primitive_type identifier) )))) (compound_statement "{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = c & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = c;\n  }\n  snprintf(output_invalid_buf,8,__format,uVar1);\n  return output_invalid_buf;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = c & 0xff;" (assignment_expression "uVar1 = c & 0xff" identifier = (binary_expression "c & 0xff" identifier & number_literal)) ;) (if_statement "if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = c;\n  }" if (parenthesized_expression "((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0)" ( (binary_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0" (parenthesized_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10)" ( (binary_expression "PTR__sch_istable_0007af74[uVar1 * 2] & 0x10" (subscript_expression "PTR__sch_istable_0007af74[uVar1 * 2]" identifier [ (binary_expression "uVar1 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    __format = "(0x%x)";\n  }" { (expression_statement "__format = "(0x%x)";" (assignment_expression "__format = "(0x%x)"" identifier = (string_literal ""(0x%x)"" " string_content ")) ;) }) (else_clause "else {\n    __format = "\'%c\'";\n    uVar1 = c;\n  }" else (compound_statement "{\n    __format = "\'%c\'";\n    uVar1 = c;\n  }" { (expression_statement "__format = "\'%c\'";" (assignment_expression "__format = "\'%c\'"" identifier = (string_literal ""\'%c\'"" " escape_sequence string_content escape_sequence ")) ;) (expression_statement "uVar1 = c;" (assignment_expression "uVar1 = c" identifier = identifier) ;) }))) (expression_statement "snprintf(output_invalid_buf,8,__format,uVar1);" (call_expression "snprintf(output_invalid_buf,8,__format,uVar1)" identifier (argument_list "(output_invalid_buf,8,__format,uVar1)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return output_invalid_buf;" return identifier ;) })))
(translation_unit "undefined * __regparm3 FUN_00043af0(uint param_1)\n\n{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = param_1 & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }\n  snprintf(&DAT_00083e54,8,__format,uVar1);\n  return &DAT_00083e54;\n}\n\n" (ERROR "undefined * __regparm3 FUN_00043af0(uint param_1)" (binary_expression "undefined * __regparm3 FUN_00043af0(uint param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00043af0(uint param_1)" identifier (argument_list "(uint param_1)" ( (ERROR "uint" identifier) identifier ))))) (compound_statement "{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = param_1 & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }\n  snprintf(&DAT_00083e54,8,__format,uVar1);\n  return &DAT_00083e54;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = param_1 & 0xff;" (assignment_expression "uVar1 = param_1 & 0xff" identifier = (binary_expression "param_1 & 0xff" identifier & number_literal)) ;) (if_statement "if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" if (parenthesized_expression "((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0)" ( (binary_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0" (parenthesized_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10)" ( (binary_expression "PTR__sch_istable_0007af74[uVar1 * 2] & 0x10" (subscript_expression "PTR__sch_istable_0007af74[uVar1 * 2]" identifier [ (binary_expression "uVar1 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    __format = "(0x%x)";\n  }" { (expression_statement "__format = "(0x%x)";" (assignment_expression "__format = "(0x%x)"" identifier = (string_literal ""(0x%x)"" " string_content ")) ;) }) (else_clause "else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" else (compound_statement "{\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" { (expression_statement "__format = "\'%c\'";" (assignment_expression "__format = "\'%c\'"" identifier = (string_literal ""\'%c\'"" " escape_sequence string_content escape_sequence ")) ;) (expression_statement "uVar1 = param_1;" (assignment_expression "uVar1 = param_1" identifier = identifier) ;) }))) (expression_statement "snprintf(&DAT_00083e54,8,__format,uVar1);" (call_expression "snprintf(&DAT_00083e54,8,__format,uVar1)" identifier (argument_list "(&DAT_00083e54,8,__format,uVar1)" ( (pointer_expression "&DAT_00083e54" & identifier) , number_literal , identifier , identifier ))) ;) (return_statement "return &DAT_00083e54;" return (pointer_expression "&DAT_00083e54" & identifier) ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " escape_sequence string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , IDENT , IDENT ))) ;) (return_statement return (pointer_expression & IDENT) ;) }))
(ERROR "undefined * __regparm3 FUN_00043af0(uint param_1)" (binary_expression "undefined * __regparm3 FUN_00043af0(uint param_1)" (identifier "undefined") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_00043af0(uint param_1)" (identifier "FUN_00043af0") (argument_list "(uint param_1)" (( "(") (ERROR "uint" (identifier "uint")) (identifier "param_1") () ")"))))) (compound_statement "{\n  char *__format;\n  uint uVar1;\n  \n  uVar1 = param_1 & 0xff;\n  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }\n  snprintf(&DAT_00083e54,8,__format,uVar1);\n  return &DAT_00083e54;\n}" ({ "{") (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = param_1 & 0xff;" (assignment_expression "uVar1 = param_1 & 0xff" (identifier "uVar1") (= "=") (binary_expression "param_1 & 0xff" (identifier "param_1") (& "&") (number_literal "0xff"))) (; ";")) (if_statement "if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {\n    __format = "(0x%x)";\n  }\n  else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" (if "if") (parenthesized_expression "((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0)" (( "(") (binary_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0" (parenthesized_expression "(PTR__sch_istable_0007af74[uVar1 * 2] & 0x10)" (( "(") (binary_expression "PTR__sch_istable_0007af74[uVar1 * 2] & 0x10" (subscript_expression "PTR__sch_istable_0007af74[uVar1 * 2]" (identifier "PTR__sch_istable_0007af74") ([ "[") (binary_expression "uVar1 * 2" (identifier "uVar1") (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __format = "(0x%x)";\n  }" ({ "{") (expression_statement "__format = "(0x%x)";" (assignment_expression "__format = "(0x%x)"" (identifier "__format") (= "=") (string_literal ""(0x%x)"" (" """) (string_content "(0x%x)") (" """))) (; ";")) (} "}")) (else_clause "else {\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" (else "else") (compound_statement "{\n    __format = "\'%c\'";\n    uVar1 = param_1;\n  }" ({ "{") (expression_statement "__format = "\'%c\'";" (assignment_expression "__format = "\'%c\'"" (identifier "__format") (= "=") (string_literal ""\'%c\'"" (" """) (escape_sequence "\'") (string_content "%c") (escape_sequence "\'") (" """))) (; ";")) (expression_statement "uVar1 = param_1;" (assignment_expression "uVar1 = param_1" (identifier "uVar1") (= "=") (identifier "param_1")) (; ";")) (} "}")))) (expression_statement "snprintf(&DAT_00083e54,8,__format,uVar1);" (call_expression "snprintf(&DAT_00083e54,8,__format,uVar1)" (identifier "snprintf") (argument_list "(&DAT_00083e54,8,__format,uVar1)" (( "(") (pointer_expression "&DAT_00083e54" (& "&") (identifier "DAT_00083e54")) (, ",") (number_literal "8") (, ",") (identifier "__format") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return &DAT_00083e54;" (return "return") (pointer_expression "&DAT_00083e54" (& "&") (identifier "DAT_00083e54")) (; ";")) (} "}"))

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

char * __regparm3 function_1(int var_1)

{
  char *__format;
  type_1 var_2;
  
  var_2 = var_1 & 0xff;
  if ((PTR__sch_istable_0007af74[var_2 * 2] & 0x10) == 0) {
    __format = "(0x%x)";
  }
  else {
    __format = "\'%c\'";
    var_2 = var_1;
  }
  var_3(output_invalid_buf,8,__format,var_2);
  return output_invalid_buf;
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (ERROR (identifier)) (identifier))))) (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (escape_sequence) (string_content) (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (identifier) (identifier)))) (return_statement (pointer_expression argument: (identifier)))))

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

undefined * __regparm3 MASKED(uint param_1)

{
  char *__format;
  uint uVar1;
  
  uVar1 = param_1 & 0xff;
  if ((PTR__sch_istable_0007af74[uVar1 * 2] & 0x10) == 0) {
    __format = "(0x%x)";
  }
  else {
    __format = "\'%c\'";
    uVar1 = param_1;
  }
  snprintf(&DAT_00083e54,8,__format,uVar1);
  return &DAT_00083e54;
}

