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

char * __regparm3 get_TAG_name(ulong tag)

{
  char *pcVar1;
  
  pcVar1 = get_DW_TAG_name(tag);
  if (pcVar1 != (char *)0x0) {
    return pcVar1;
  }
  if (tag - 0x4080 < 0xbf80) {
    pcVar1 = "User TAG value: %#lx";
  }
  else {
    pcVar1 = "Unknown TAG value: %#lx";
  }
  pcVar1 = (char *)dcgettext(0,pcVar1,5);
  snprintf(buffer_10356,100,pcVar1,tag);
  return buffer_10356;
}



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

undefined * __regparm3 FUN_0004e780(int param_1)

{
  undefined *puVar1;
  char *pcVar2;
  
  puVar1 = (undefined *)FUN_00068720(param_1);
  if (puVar1 != (undefined *)0x0) {
    return puVar1;
  }
  if (param_1 - 0x4080U < 0xbf80) {
    pcVar2 = "User TAG value: %#lx";
  }
  else {
    pcVar2 = "Unknown TAG value: %#lx";
  }
  pcVar2 = (char *)dcgettext(0,pcVar2,5);
  snprintf(&DAT_000b7820,100,pcVar2,param_1);
  return &DAT_000b7820;
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00013f70
ADD EBX,0x65877
SUB ESP,0x10
PUSH EAX
CALL 0x00068720
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004e7a8
ADD ESP,0x4
POP EBX
POP ESI
RET
LEA EAX,[ESI + 0xffffbf80]
CMP EAX,0xbf7f
JA 0x0004e7e8
SUB ESP,0x4
LEA EAX,[EBX + 0xfffde4a7]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
PUSH ESI
LEA ESI,[EBX + 0x3820]
PUSH EAX
PUSH 0x64
PUSH ESI
CALL 0x000132c0
ADD ESP,0x20
MOV EAX,ESI
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffde4bc]
PUSH 0x5
JMP 0x0004e7c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined * __regparm3 FUN_0004e780(int param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = (undefined *)FUN_00068720(param_1);\n  if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }\n  if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_000b7820,100,pcVar2,param_1);\n  return &DAT_000b7820;\n}\n\n" comment (ERROR "undefined * __regparm3 FUN_0004e780(int param_1)" (binary_expression "undefined * __regparm3 FUN_0004e780(int param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_0004e780(int param_1)" identifier (argument_list "(int param_1)" ( (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = (undefined *)FUN_00068720(param_1);\n  if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }\n  if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_000b7820,100,pcVar2,param_1);\n  return &DAT_000b7820;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "puVar1 = (undefined *)FUN_00068720(param_1);" (assignment_expression "puVar1 = (undefined *)FUN_00068720(param_1)" identifier = (cast_expression "(undefined *)FUN_00068720(param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00068720(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }" if (parenthesized_expression "(puVar1 != (undefined *)0x0)" ( (binary_expression "puVar1 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return puVar1;\n  }" { (return_statement "return puVar1;" return identifier ;) })) (if_statement "if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" if (parenthesized_expression "(param_1 - 0x4080U < 0xbf80)" ( (binary_expression "param_1 - 0x4080U < 0xbf80" (binary_expression "param_1 - 0x4080U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    pcVar2 = "User TAG value: %#lx";\n  }" { (expression_statement "pcVar2 = "User TAG value: %#lx";" (assignment_expression "pcVar2 = "User TAG value: %#lx"" identifier = (string_literal ""User TAG value: %#lx"" " string_content ")) ;) }) (else_clause "else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" else (compound_statement "{\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" { (expression_statement "pcVar2 = "Unknown TAG value: %#lx";" (assignment_expression "pcVar2 = "Unknown TAG value: %#lx"" identifier = (string_literal ""Unknown TAG value: %#lx"" " string_content ")) ;) }))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "snprintf(&DAT_000b7820,100,pcVar2,param_1);" (call_expression "snprintf(&DAT_000b7820,100,pcVar2,param_1)" identifier (argument_list "(&DAT_000b7820,100,pcVar2,param_1)" ( (pointer_expression "&DAT_000b7820" & identifier) , number_literal , identifier , identifier ))) ;) (return_statement "return &DAT_000b7820;" return (pointer_expression "&DAT_000b7820" & identifier) ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 get_TAG_name(ulong tag)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = get_DW_TAG_name(tag);\n  if (pcVar1 != (char *)0x0) {\n    return pcVar1;\n  }\n  if (tag - 0x4080 < 0xbf80) {\n    pcVar1 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar1 = "Unknown TAG value: %#lx";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(buffer_10356,100,pcVar1,tag);\n  return buffer_10356;\n}\n\n" comment (function_definition "char * __regparm3 get_TAG_name(ulong tag)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = get_DW_TAG_name(tag);\n  if (pcVar1 != (char *)0x0) {\n    return pcVar1;\n  }\n  if (tag - 0x4080 < 0xbf80) {\n    pcVar1 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar1 = "Unknown TAG value: %#lx";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(buffer_10356,100,pcVar1,tag);\n  return buffer_10356;\n}" primitive_type (pointer_declarator "* __regparm3 get_TAG_name(ulong tag)" * (ERROR "__regparm3" identifier) (function_declarator "get_TAG_name(ulong tag)" identifier (parameter_list "(ulong tag)" ( (parameter_declaration "ulong tag" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = get_DW_TAG_name(tag);\n  if (pcVar1 != (char *)0x0) {\n    return pcVar1;\n  }\n  if (tag - 0x4080 < 0xbf80) {\n    pcVar1 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar1 = "Unknown TAG value: %#lx";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(buffer_10356,100,pcVar1,tag);\n  return buffer_10356;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = get_DW_TAG_name(tag);" (assignment_expression "pcVar1 = get_DW_TAG_name(tag)" identifier = (call_expression "get_DW_TAG_name(tag)" identifier (argument_list "(tag)" ( identifier )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    return pcVar1;\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 pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) (if_statement "if (tag - 0x4080 < 0xbf80) {\n    pcVar1 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar1 = "Unknown TAG value: %#lx";\n  }" if (parenthesized_expression "(tag - 0x4080 < 0xbf80)" ( (binary_expression "tag - 0x4080 < 0xbf80" (binary_expression "tag - 0x4080" identifier - number_literal) < number_literal) )) (compound_statement "{\n    pcVar1 = "User TAG value: %#lx";\n  }" { (expression_statement "pcVar1 = "User TAG value: %#lx";" (assignment_expression "pcVar1 = "User TAG value: %#lx"" identifier = (string_literal ""User TAG value: %#lx"" " string_content ")) ;) }) (else_clause "else {\n    pcVar1 = "Unknown TAG value: %#lx";\n  }" else (compound_statement "{\n    pcVar1 = "Unknown TAG value: %#lx";\n  }" { (expression_statement "pcVar1 = "Unknown TAG value: %#lx";" (assignment_expression "pcVar1 = "Unknown TAG value: %#lx"" identifier = (string_literal ""Unknown TAG value: %#lx"" " string_content ")) ;) }))) (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 ))))) ;) (expression_statement "snprintf(buffer_10356,100,pcVar1,tag);" (call_expression "snprintf(buffer_10356,100,pcVar1,tag)" identifier (argument_list "(buffer_10356,100,pcVar1,tag)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return buffer_10356;" return identifier ;) })))
(translation_unit "undefined * __regparm3 FUN_0004e780(int param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = (undefined *)FUN_00068720(param_1);\n  if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }\n  if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_000b7820,100,pcVar2,param_1);\n  return &DAT_000b7820;\n}\n\n" (ERROR "undefined * __regparm3 FUN_0004e780(int param_1)" (binary_expression "undefined * __regparm3 FUN_0004e780(int param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_0004e780(int param_1)" identifier (argument_list "(int param_1)" ( (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = (undefined *)FUN_00068720(param_1);\n  if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }\n  if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_000b7820,100,pcVar2,param_1);\n  return &DAT_000b7820;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "puVar1 = (undefined *)FUN_00068720(param_1);" (assignment_expression "puVar1 = (undefined *)FUN_00068720(param_1)" identifier = (cast_expression "(undefined *)FUN_00068720(param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00068720(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }" if (parenthesized_expression "(puVar1 != (undefined *)0x0)" ( (binary_expression "puVar1 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return puVar1;\n  }" { (return_statement "return puVar1;" return identifier ;) })) (if_statement "if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" if (parenthesized_expression "(param_1 - 0x4080U < 0xbf80)" ( (binary_expression "param_1 - 0x4080U < 0xbf80" (binary_expression "param_1 - 0x4080U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    pcVar2 = "User TAG value: %#lx";\n  }" { (expression_statement "pcVar2 = "User TAG value: %#lx";" (assignment_expression "pcVar2 = "User TAG value: %#lx"" identifier = (string_literal ""User TAG value: %#lx"" " string_content ")) ;) }) (else_clause "else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" else (compound_statement "{\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" { (expression_statement "pcVar2 = "Unknown TAG value: %#lx";" (assignment_expression "pcVar2 = "Unknown TAG value: %#lx"" identifier = (string_literal ""Unknown TAG value: %#lx"" " string_content ")) ;) }))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "snprintf(&DAT_000b7820,100,pcVar2,param_1);" (call_expression "snprintf(&DAT_000b7820,100,pcVar2,param_1)" identifier (argument_list "(&DAT_000b7820,100,pcVar2,param_1)" ( (pointer_expression "&DAT_000b7820" & identifier) , number_literal , identifier , identifier ))) ;) (return_statement "return &DAT_000b7820;" return (pointer_expression "&DAT_000b7820" & 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 (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - 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 " string_content ")) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , IDENT , IDENT ))) ;) (return_statement return (pointer_expression & IDENT) ;) }))
(ERROR "undefined * __regparm3 FUN_0004e780(int param_1)" (binary_expression "undefined * __regparm3 FUN_0004e780(int param_1)" (identifier "undefined") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_0004e780(int param_1)" (identifier "FUN_0004e780") (argument_list "(int param_1)" (( "(") (ERROR "int" (identifier "int")) (identifier "param_1") () ")"))))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  puVar1 = (undefined *)FUN_00068720(param_1);\n  if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }\n  if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_000b7820,100,pcVar2,param_1);\n  return &DAT_000b7820;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (expression_statement "puVar1 = (undefined *)FUN_00068720(param_1);" (assignment_expression "puVar1 = (undefined *)FUN_00068720(param_1)" (identifier "puVar1") (= "=") (cast_expression "(undefined *)FUN_00068720(param_1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00068720(param_1)" (identifier "FUN_00068720") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (if_statement "if (puVar1 != (undefined *)0x0) {\n    return puVar1;\n  }" (if "if") (parenthesized_expression "(puVar1 != (undefined *)0x0)" (( "(") (binary_expression "puVar1 != (undefined *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return puVar1;\n  }" ({ "{") (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (if_statement "if (param_1 - 0x4080U < 0xbf80) {\n    pcVar2 = "User TAG value: %#lx";\n  }\n  else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" (if "if") (parenthesized_expression "(param_1 - 0x4080U < 0xbf80)" (( "(") (binary_expression "param_1 - 0x4080U < 0xbf80" (binary_expression "param_1 - 0x4080U" (identifier "param_1") (- "-") (number_literal "0x4080U")) (< "<") (number_literal "0xbf80")) () ")")) (compound_statement "{\n    pcVar2 = "User TAG value: %#lx";\n  }" ({ "{") (expression_statement "pcVar2 = "User TAG value: %#lx";" (assignment_expression "pcVar2 = "User TAG value: %#lx"" (identifier "pcVar2") (= "=") (string_literal ""User TAG value: %#lx"" (" """) (string_content "User TAG value: %#lx") (" """))) (; ";")) (} "}")) (else_clause "else {\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" (else "else") (compound_statement "{\n    pcVar2 = "Unknown TAG value: %#lx";\n  }" ({ "{") (expression_statement "pcVar2 = "Unknown TAG value: %#lx";" (assignment_expression "pcVar2 = "Unknown TAG value: %#lx"" (identifier "pcVar2") (= "=") (string_literal ""Unknown TAG value: %#lx"" (" """) (string_content "Unknown TAG value: %#lx") (" """))) (; ";")) (} "}")))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,pcVar2,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,pcVar2,5)" (identifier "dcgettext") (argument_list "(0,pcVar2,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar2") (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "snprintf(&DAT_000b7820,100,pcVar2,param_1);" (call_expression "snprintf(&DAT_000b7820,100,pcVar2,param_1)" (identifier "snprintf") (argument_list "(&DAT_000b7820,100,pcVar2,param_1)" (( "(") (pointer_expression "&DAT_000b7820" (& "&") (identifier "DAT_000b7820")) (, ",") (number_literal "100") (, ",") (identifier "pcVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return &DAT_000b7820;" (return "return") (pointer_expression "&DAT_000b7820" (& "&") (identifier "DAT_000b7820")) (; ";")) (} "}"))

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

char * __regparm3 function_1(type_1 var_3)

{
  char *var_2;
  
  var_2 = var_1(var_3);
  if (var_2 != (char *)0x0) {
    return var_2;
  }
  if (var_3 - 0x4080 < 0xbf80) {
    var_2 = "User TAG value: %#lx";
  }
  else {
    var_2 = "Unknown TAG value: %#lx";
  }
  var_2 = (char *)var_4(0,var_2,5);
  var_5(buffer_10356,100,var_2,var_3);
  return buffer_10356;
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (ERROR (identifier)) (identifier))))) (compound_statement (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) 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 (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal)))))) (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(int param_1)

{
  undefined *puVar1;
  char *pcVar2;
  
  puVar1 = (undefined *)FUN_00068720(param_1);
  if (puVar1 != (undefined *)0x0) {
    return puVar1;
  }
  if (param_1 - 0x4080U < 0xbf80) {
    pcVar2 = "User TAG value: %#lx";
  }
  else {
    pcVar2 = "Unknown TAG value: %#lx";
  }
  pcVar2 = (char *)dcgettext(0,pcVar2,5);
  snprintf(&DAT_000b7820,100,pcVar2,param_1);
  return &DAT_000b7820;
}

