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

char * __regparm3 get_symbol_binding(Filedata *filedata,uint binding)

{
  char *pcVar1;
  
  pcVar1 = "GLOBAL";
  if (((binding == 1) || (pcVar1 = "LOCAL", binding == 0)) || (pcVar1 = "WEAK", binding == 2)) {
    return pcVar1;
  }
  if (binding - 0xd < 3) {
    pcVar1 = "<processor specific>: %d";
  }
  else if (binding - 10 < 3) {
    if ((binding == 10) &&
       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {
      return "UNIQUE";
    }
    pcVar1 = "<OS specific>: %d";
  }
  else {
    pcVar1 = "<unknown>: %d";
  }
  pcVar1 = (char *)dcgettext(0,pcVar1,5);
  snprintf(buff_18650,0x20,pcVar1,binding);
  return buff_18650;
}



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

char * __regparm3 FUN_00025a40(char *param_1,int param_2)

{
  char *pcVar1;
  
  pcVar1 = "GLOBAL";
  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {
    return pcVar1;
  }
  if (param_2 - 0xdU < 3) {
    pcVar1 = "<processor specific>: %d";
  }
  else if (param_2 - 10U < 3) {
    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {
      return "UNIQUE";
    }
    pcVar1 = "<OS specific>: %d";
  }
  else {
    pcVar1 = "<unknown>: %d";
  }
  pcVar1 = (char *)dcgettext(0,pcVar1,5);
  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);
  return &DAT_000b5680;
}


PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x8e5b9
SUB ESP,0x4
LEA ESI,[EBX + 0xfffc422c]
CMP EDX,0x1
JZ 0x00025a98
LEA ESI,[EBX + 0xfffbe0d1]
TEST EDX,EDX
JZ 0x00025a98
LEA ESI,[EBX + 0xfffc4022]
CMP EDX,0x2
JZ 0x00025a98
MOV ESI,EDX
LEA EDX,[EDX + -0xd]
CMP EDX,0x2
JBE 0x00025aa0
LEA EDX,[ESI + -0xa]
CMP EDX,0x2
JA 0x00025ae0
CMP ESI,0xa
JNZ 0x00025ad0
MOVZX EAX,byte ptr [EAX]
CMP AL,0x3
JZ 0x00025a92
TEST AL,AL
JNZ 0x00025ad0
LEA ESI,[EBX + 0xfffc4027]
ADD ESP,0x4
MOV EAX,ESI
POP EBX
POP ESI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc328b]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
PUSH ESI
LEA ESI,[EBX + 0x1680]
PUSH EAX
PUSH 0x20
PUSH ESI
CALL 0x000132c0
ADD ESP,0x20
MOV EAX,ESI
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc32a4]
PUSH 0x5
JMP 0x00025aab
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc32b6]
PUSH 0x5
JMP 0x00025aab
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 FUN_00025a40(char *param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}\n\n" comment (function_definition "char * __regparm3 FUN_00025a40(char *param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00025a40(char *param_1,int param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00025a40(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = "GLOBAL";" (assignment_expression "pcVar1 = "GLOBAL"" identifier = (string_literal ""GLOBAL"" " string_content ")) ;) (if_statement "if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }" if (parenthesized_expression "(((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2))" ( (binary_expression "((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)" (parenthesized_expression "((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0))" ( (binary_expression "(param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)" (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) || (parenthesized_expression "(pcVar1 = "LOCAL", param_2 == 0)" ( (comma_expression "pcVar1 = "LOCAL", param_2 == 0" (assignment_expression "pcVar1 = "LOCAL"" identifier = (string_literal ""LOCAL"" " string_content ")) , (binary_expression "param_2 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(pcVar1 = "WEAK", param_2 == 2)" ( (comma_expression "pcVar1 = "WEAK", param_2 == 2" (assignment_expression "pcVar1 = "WEAK"" identifier = (string_literal ""WEAK"" " string_content ")) , (binary_expression "param_2 == 2" identifier == number_literal)) ))) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) (if_statement "if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" if (parenthesized_expression "(param_2 - 0xdU < 3)" ( (binary_expression "param_2 - 0xdU < 3" (binary_expression "param_2 - 0xdU" identifier - number_literal) < number_literal) )) (compound_statement "{\n    pcVar1 = "<processor specific>: %d";\n  }" { (expression_statement "pcVar1 = "<processor specific>: %d";" (assignment_expression "pcVar1 = "<processor specific>: %d"" identifier = (string_literal ""<processor specific>: %d"" " string_content ")) ;) }) (else_clause "else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" else (if_statement "if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" if (parenthesized_expression "(param_2 - 10U < 3)" ( (binary_expression "param_2 - 10U < 3" (binary_expression "param_2 - 10U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }" { (if_statement "if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }" if (parenthesized_expression "((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0'))))" ( (binary_expression "(param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))" (parenthesized_expression "(param_2 == 10)" ( (binary_expression "param_2 == 10" identifier == number_literal) )) && (parenthesized_expression "((*param_1 == '\x03' || (*param_1 == '\0')))" ( (parenthesized_expression "(*param_1 == '\x03' || (*param_1 == '\0'))" ( (binary_expression "*param_1 == '\x03' || (*param_1 == '\0')" (binary_expression "*param_1 == '\x03'" (pointer_expression "*param_1" * identifier) == (char_literal "'\x03'" ' escape_sequence ')) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      return "UNIQUE";\n    }" { (return_statement "return "UNIQUE";" return (string_literal ""UNIQUE"" " string_content ") ;) })) (expression_statement "pcVar1 = "<OS specific>: %d";" (assignment_expression "pcVar1 = "<OS specific>: %d"" identifier = (string_literal ""<OS specific>: %d"" " string_content ")) ;) }) (else_clause "else {\n    pcVar1 = "<unknown>: %d";\n  }" else (compound_statement "{\n    pcVar1 = "<unknown>: %d";\n  }" { (expression_statement "pcVar1 = "<unknown>: %d";" (assignment_expression "pcVar1 = "<unknown>: %d"" identifier = (string_literal ""<unknown>: %d"" " 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(&DAT_000b5680,0x20,pcVar1,param_2);" (call_expression "snprintf(&DAT_000b5680,0x20,pcVar1,param_2)" identifier (argument_list "(&DAT_000b5680,0x20,pcVar1,param_2)" ( (pointer_expression "&DAT_000b5680" & identifier) , number_literal , identifier , identifier ))) ;) (return_statement "return &DAT_000b5680;" return (pointer_expression "&DAT_000b5680" & identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 get_symbol_binding(Filedata *filedata,uint binding)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((binding == 1) || (pcVar1 = "LOCAL", binding == 0)) || (pcVar1 = "WEAK", binding == 2)) {\n    return pcVar1;\n  }\n  if (binding - 0xd < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (binding - 10 < 3) {\n    if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(buff_18650,0x20,pcVar1,binding);\n  return buff_18650;\n}\n\n" comment (function_definition "char * __regparm3 get_symbol_binding(Filedata *filedata,uint binding)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((binding == 1) || (pcVar1 = "LOCAL", binding == 0)) || (pcVar1 = "WEAK", binding == 2)) {\n    return pcVar1;\n  }\n  if (binding - 0xd < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (binding - 10 < 3) {\n    if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(buff_18650,0x20,pcVar1,binding);\n  return buff_18650;\n}" primitive_type (pointer_declarator "* __regparm3 get_symbol_binding(Filedata *filedata,uint binding)" * (ERROR "__regparm3" identifier) (function_declarator "get_symbol_binding(Filedata *filedata,uint binding)" identifier (parameter_list "(Filedata *filedata,uint binding)" ( (parameter_declaration "Filedata *filedata" type_identifier (pointer_declarator "*filedata" * identifier)) , (parameter_declaration "uint binding" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((binding == 1) || (pcVar1 = "LOCAL", binding == 0)) || (pcVar1 = "WEAK", binding == 2)) {\n    return pcVar1;\n  }\n  if (binding - 0xd < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (binding - 10 < 3) {\n    if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(buff_18650,0x20,pcVar1,binding);\n  return buff_18650;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = "GLOBAL";" (assignment_expression "pcVar1 = "GLOBAL"" identifier = (string_literal ""GLOBAL"" " string_content ")) ;) (if_statement "if (((binding == 1) || (pcVar1 = "LOCAL", binding == 0)) || (pcVar1 = "WEAK", binding == 2)) {\n    return pcVar1;\n  }" if (parenthesized_expression "(((binding == 1) || (pcVar1 = "LOCAL", binding == 0)) || (pcVar1 = "WEAK", binding == 2))" ( (binary_expression "((binding == 1) || (pcVar1 = "LOCAL", binding == 0)) || (pcVar1 = "WEAK", binding == 2)" (parenthesized_expression "((binding == 1) || (pcVar1 = "LOCAL", binding == 0))" ( (binary_expression "(binding == 1) || (pcVar1 = "LOCAL", binding == 0)" (parenthesized_expression "(binding == 1)" ( (binary_expression "binding == 1" identifier == number_literal) )) || (parenthesized_expression "(pcVar1 = "LOCAL", binding == 0)" ( (comma_expression "pcVar1 = "LOCAL", binding == 0" (assignment_expression "pcVar1 = "LOCAL"" identifier = (string_literal ""LOCAL"" " string_content ")) , (binary_expression "binding == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(pcVar1 = "WEAK", binding == 2)" ( (comma_expression "pcVar1 = "WEAK", binding == 2" (assignment_expression "pcVar1 = "WEAK"" identifier = (string_literal ""WEAK"" " string_content ")) , (binary_expression "binding == 2" identifier == number_literal)) ))) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) (if_statement "if (binding - 0xd < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (binding - 10 < 3) {\n    if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" if (parenthesized_expression "(binding - 0xd < 3)" ( (binary_expression "binding - 0xd < 3" (binary_expression "binding - 0xd" identifier - number_literal) < number_literal) )) (compound_statement "{\n    pcVar1 = "<processor specific>: %d";\n  }" { (expression_statement "pcVar1 = "<processor specific>: %d";" (assignment_expression "pcVar1 = "<processor specific>: %d"" identifier = (string_literal ""<processor specific>: %d"" " string_content ")) ;) }) (else_clause "else if (binding - 10 < 3) {\n    if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" else (if_statement "if (binding - 10 < 3) {\n    if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" if (parenthesized_expression "(binding - 10 < 3)" ( (binary_expression "binding - 10 < 3" (binary_expression "binding - 10" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }" { (if_statement "if ((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {\n      return "UNIQUE";\n    }" if (parenthesized_expression "((binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0'))))" ( (binary_expression "(binding == 10) &&\n       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))" (parenthesized_expression "(binding == 10)" ( (binary_expression "binding == 10" identifier == number_literal) )) && (parenthesized_expression "((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))" ( (parenthesized_expression "(*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0'))" ( (binary_expression "*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')" (binary_expression "*(char *)&filedata->file_name == '\x03'" (pointer_expression "*(char *)&filedata->file_name" * (cast_expression "(char *)&filedata->file_name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&filedata->file_name" & (field_expression "filedata->file_name" identifier -> field_identifier)))) == (char_literal "'\x03'" ' escape_sequence ')) || (parenthesized_expression "(*(char *)&filedata->file_name == '\0')" ( (binary_expression "*(char *)&filedata->file_name == '\0'" (pointer_expression "*(char *)&filedata->file_name" * (cast_expression "(char *)&filedata->file_name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&filedata->file_name" & (field_expression "filedata->file_name" identifier -> field_identifier)))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      return "UNIQUE";\n    }" { (return_statement "return "UNIQUE";" return (string_literal ""UNIQUE"" " string_content ") ;) })) (expression_statement "pcVar1 = "<OS specific>: %d";" (assignment_expression "pcVar1 = "<OS specific>: %d"" identifier = (string_literal ""<OS specific>: %d"" " string_content ")) ;) }) (else_clause "else {\n    pcVar1 = "<unknown>: %d";\n  }" else (compound_statement "{\n    pcVar1 = "<unknown>: %d";\n  }" { (expression_statement "pcVar1 = "<unknown>: %d";" (assignment_expression "pcVar1 = "<unknown>: %d"" identifier = (string_literal ""<unknown>: %d"" " 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(buff_18650,0x20,pcVar1,binding);" (call_expression "snprintf(buff_18650,0x20,pcVar1,binding)" identifier (argument_list "(buff_18650,0x20,pcVar1,binding)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return buff_18650;" return identifier ;) })))
(translation_unit "char * __regparm3 FUN_00025a40(char *param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}\n\n" (function_definition "char * __regparm3 FUN_00025a40(char *param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00025a40(char *param_1,int param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00025a40(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = "GLOBAL";" (assignment_expression "pcVar1 = "GLOBAL"" identifier = (string_literal ""GLOBAL"" " string_content ")) ;) (if_statement "if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }" if (parenthesized_expression "(((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2))" ( (binary_expression "((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)" (parenthesized_expression "((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0))" ( (binary_expression "(param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)" (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) || (parenthesized_expression "(pcVar1 = "LOCAL", param_2 == 0)" ( (comma_expression "pcVar1 = "LOCAL", param_2 == 0" (assignment_expression "pcVar1 = "LOCAL"" identifier = (string_literal ""LOCAL"" " string_content ")) , (binary_expression "param_2 == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(pcVar1 = "WEAK", param_2 == 2)" ( (comma_expression "pcVar1 = "WEAK", param_2 == 2" (assignment_expression "pcVar1 = "WEAK"" identifier = (string_literal ""WEAK"" " string_content ")) , (binary_expression "param_2 == 2" identifier == number_literal)) ))) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) })) (if_statement "if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" if (parenthesized_expression "(param_2 - 0xdU < 3)" ( (binary_expression "param_2 - 0xdU < 3" (binary_expression "param_2 - 0xdU" identifier - number_literal) < number_literal) )) (compound_statement "{\n    pcVar1 = "<processor specific>: %d";\n  }" { (expression_statement "pcVar1 = "<processor specific>: %d";" (assignment_expression "pcVar1 = "<processor specific>: %d"" identifier = (string_literal ""<processor specific>: %d"" " string_content ")) ;) }) (else_clause "else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" else (if_statement "if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" if (parenthesized_expression "(param_2 - 10U < 3)" ( (binary_expression "param_2 - 10U < 3" (binary_expression "param_2 - 10U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }" { (if_statement "if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }" if (parenthesized_expression "((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0'))))" ( (binary_expression "(param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))" (parenthesized_expression "(param_2 == 10)" ( (binary_expression "param_2 == 10" identifier == number_literal) )) && (parenthesized_expression "((*param_1 == '\x03' || (*param_1 == '\0')))" ( (parenthesized_expression "(*param_1 == '\x03' || (*param_1 == '\0'))" ( (binary_expression "*param_1 == '\x03' || (*param_1 == '\0')" (binary_expression "*param_1 == '\x03'" (pointer_expression "*param_1" * identifier) == (char_literal "'\x03'" ' escape_sequence ')) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      return "UNIQUE";\n    }" { (return_statement "return "UNIQUE";" return (string_literal ""UNIQUE"" " string_content ") ;) })) (expression_statement "pcVar1 = "<OS specific>: %d";" (assignment_expression "pcVar1 = "<OS specific>: %d"" identifier = (string_literal ""<OS specific>: %d"" " string_content ")) ;) }) (else_clause "else {\n    pcVar1 = "<unknown>: %d";\n  }" else (compound_statement "{\n    pcVar1 = "<unknown>: %d";\n  }" { (expression_statement "pcVar1 = "<unknown>: %d";" (assignment_expression "pcVar1 = "<unknown>: %d"" identifier = (string_literal ""<unknown>: %d"" " 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(&DAT_000b5680,0x20,pcVar1,param_2);" (call_expression "snprintf(&DAT_000b5680,0x20,pcVar1,param_2)" identifier (argument_list "(&DAT_000b5680,0x20,pcVar1,param_2)" ( (pointer_expression "&DAT_000b5680" & identifier) , number_literal , identifier , identifier ))) ;) (return_statement "return &DAT_000b5680;" return (pointer_expression "&DAT_000b5680" & identifier) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (string_literal " string_content ")) , (binary_expression IDENT == LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (string_literal " string_content ")) , (binary_expression IDENT == 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 (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) ))) )) (compound_statement { (return_statement return (string_literal " string_content ") ;) })) (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) ;) })))
(function_definition "char * __regparm3 FUN_00025a40(char *param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}" (primitive_type "char") (pointer_declarator "* __regparm3 FUN_00025a40(char *param_1,int param_2)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00025a40(char *param_1,int param_2)" (identifier "FUN_00025a40") (parameter_list "(char *param_1,int param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "GLOBAL";\n  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }\n  if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);\n  return &DAT_000b5680;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = "GLOBAL";" (assignment_expression "pcVar1 = "GLOBAL"" (identifier "pcVar1") (= "=") (string_literal ""GLOBAL"" (" """) (string_content "GLOBAL") (" """))) (; ";")) (if_statement "if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {\n    return pcVar1;\n  }" (if "if") (parenthesized_expression "(((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2))" (( "(") (binary_expression "((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)" (parenthesized_expression "((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0))" (( "(") (binary_expression "(param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)" (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(pcVar1 = "LOCAL", param_2 == 0)" (( "(") (comma_expression "pcVar1 = "LOCAL", param_2 == 0" (assignment_expression "pcVar1 = "LOCAL"" (identifier "pcVar1") (= "=") (string_literal ""LOCAL"" (" """) (string_content "LOCAL") (" """))) (, ",") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar1 = "WEAK", param_2 == 2)" (( "(") (comma_expression "pcVar1 = "WEAK", param_2 == 2" (assignment_expression "pcVar1 = "WEAK"" (identifier "pcVar1") (= "=") (string_literal ""WEAK"" (" """) (string_content "WEAK") (" """))) (, ",") (binary_expression "param_2 == 2" (identifier "param_2") (== "==") (number_literal "2"))) () ")"))) () ")")) (compound_statement "{\n    return pcVar1;\n  }" ({ "{") (return_statement "return pcVar1;" (return "return") (identifier "pcVar1") (; ";")) (} "}"))) (if_statement "if (param_2 - 0xdU < 3) {\n    pcVar1 = "<processor specific>: %d";\n  }\n  else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" (if "if") (parenthesized_expression "(param_2 - 0xdU < 3)" (( "(") (binary_expression "param_2 - 0xdU < 3" (binary_expression "param_2 - 0xdU" (identifier "param_2") (- "-") (number_literal "0xdU")) (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    pcVar1 = "<processor specific>: %d";\n  }" ({ "{") (expression_statement "pcVar1 = "<processor specific>: %d";" (assignment_expression "pcVar1 = "<processor specific>: %d"" (identifier "pcVar1") (= "=") (string_literal ""<processor specific>: %d"" (" """) (string_content "<processor specific>: %d") (" """))) (; ";")) (} "}")) (else_clause "else if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" (else "else") (if_statement "if (param_2 - 10U < 3) {\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }\n  else {\n    pcVar1 = "<unknown>: %d";\n  }" (if "if") (parenthesized_expression "(param_2 - 10U < 3)" (( "(") (binary_expression "param_2 - 10U < 3" (binary_expression "param_2 - 10U" (identifier "param_2") (- "-") (number_literal "10U")) (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }\n    pcVar1 = "<OS specific>: %d";\n  }" ({ "{") (if_statement "if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {\n      return "UNIQUE";\n    }" (if "if") (parenthesized_expression "((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0'))))" (( "(") (binary_expression "(param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))" (parenthesized_expression "(param_2 == 10)" (( "(") (binary_expression "param_2 == 10" (identifier "param_2") (== "==") (number_literal "10")) () ")")) (&& "&&") (parenthesized_expression "((*param_1 == '\x03' || (*param_1 == '\0')))" (( "(") (parenthesized_expression "(*param_1 == '\x03' || (*param_1 == '\0'))" (( "(") (binary_expression "*param_1 == '\x03' || (*param_1 == '\0')" (binary_expression "*param_1 == '\x03'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) (|| "||") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      return "UNIQUE";\n    }" ({ "{") (return_statement "return "UNIQUE";" (return "return") (string_literal ""UNIQUE"" (" """) (string_content "UNIQUE") (" """)) (; ";")) (} "}"))) (expression_statement "pcVar1 = "<OS specific>: %d";" (assignment_expression "pcVar1 = "<OS specific>: %d"" (identifier "pcVar1") (= "=") (string_literal ""<OS specific>: %d"" (" """) (string_content "<OS specific>: %d") (" """))) (; ";")) (} "}")) (else_clause "else {\n    pcVar1 = "<unknown>: %d";\n  }" (else "else") (compound_statement "{\n    pcVar1 = "<unknown>: %d";\n  }" ({ "{") (expression_statement "pcVar1 = "<unknown>: %d";" (assignment_expression "pcVar1 = "<unknown>: %d"" (identifier "pcVar1") (= "=") (string_literal ""<unknown>: %d"" (" """) (string_content "<unknown>: %d") (" """))) (; ";")) (} "}")))))) (expression_statement "pcVar1 = (char *)dcgettext(0,pcVar1,5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,pcVar1,5)" (identifier "pcVar1") (= "=") (cast_expression "(char *)dcgettext(0,pcVar1,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,pcVar1,5)" (identifier "dcgettext") (argument_list "(0,pcVar1,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar1") (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "snprintf(&DAT_000b5680,0x20,pcVar1,param_2);" (call_expression "snprintf(&DAT_000b5680,0x20,pcVar1,param_2)" (identifier "snprintf") (argument_list "(&DAT_000b5680,0x20,pcVar1,param_2)" (( "(") (pointer_expression "&DAT_000b5680" (& "&") (identifier "DAT_000b5680")) (, ",") (number_literal "0x20") (, ",") (identifier "pcVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return &DAT_000b5680;" (return "return") (pointer_expression "&DAT_000b5680" (& "&") (identifier "DAT_000b5680")) (; ";")) (} "}")))

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

char * __regparm3 function_1(type_1 *filedata,type_2 var_1)

{
  char *pcVar1;
  
  pcVar1 = "GLOBAL";
  if (((var_1 == 1) || (pcVar1 = "LOCAL", var_1 == 0)) || (pcVar1 = "WEAK", var_1 == 2)) {
    return pcVar1;
  }
  if (var_1 - 0xd < 3) {
    pcVar1 = "<processor specific>: %d";
  }
  else if (var_1 - 10 < 3) {
    if ((var_1 == 10) &&
       ((*(char *)&filedata->file_name == '\x03' || (*(char *)&filedata->file_name == '\0')))) {
      return "UNIQUE";
    }
    pcVar1 = "<OS specific>: %d";
  }
  else {
    pcVar1 = "<unknown>: %d";
  }
  pcVar1 = (char *)var_2(0,pcVar1,5);
  var_3(buff_18650,0x20,pcVar1,var_1);
  return buff_18650;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (string_literal (string_content))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (string_literal (string_content))) right: (binary_expression left: (identifier) right: (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 (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence))))))))) consequence: (compound_statement (return_statement (string_literal (string_content))))) (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 */

char * __regparm3 MASKED(char *param_1,int param_2)

{
  char *pcVar1;
  
  pcVar1 = "GLOBAL";
  if (((param_2 == 1) || (pcVar1 = "LOCAL", param_2 == 0)) || (pcVar1 = "WEAK", param_2 == 2)) {
    return pcVar1;
  }
  if (param_2 - 0xdU < 3) {
    pcVar1 = "<processor specific>: %d";
  }
  else if (param_2 - 10U < 3) {
    if ((param_2 == 10) && ((*param_1 == '\x03' || (*param_1 == '\0')))) {
      return "UNIQUE";
    }
    pcVar1 = "<OS specific>: %d";
  }
  else {
    pcVar1 = "<unknown>: %d";
  }
  pcVar1 = (char *)dcgettext(0,pcVar1,5);
  snprintf(&DAT_000b5680,0x20,pcVar1,param_2);
  return &DAT_000b5680;
}

