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

int __regparm3 compare_names(char *name1,char *name2)

{
  int iVar1;
  
  if ((!locale_specific_sorting) ||
     ((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)))) {
    iVar1 = strcmp(name1,name2);
  }
  return iVar1;
}



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

void __regparm3 FUN_00017cd0(char *param_1,char *param_2)

{
  int iVar1;
  
  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {
    strcmp(param_1,param_2);
  }
  return;
}


PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00013b20
ADD EBX,0x35324
CMP byte ptr [EBX + 0x37c],0x0
JNZ 0x00017d00
SUB ESP,0x8
PUSH EDI
PUSH ESI
CALL 0x000120a0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
CALL 0x00017c20
TEST EAX,EAX
JNZ 0x00017cf8
LEA EDX,[EBX + 0x680]
CMP byte ptr [EDX],0x0
JZ 0x00017ceb
JMP 0x00017cf8
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00017cd0(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00017cd0(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017cd0(char *param_1,char *param_2)" identifier (parameter_list "(char *param_1,char *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }" if (parenthesized_expression "((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0'))))" ( (binary_expression "(DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))" (parenthesized_expression "(DAT_0004d37c == '\0')" ( (binary_expression "DAT_0004d37c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))" ( (parenthesized_expression "(iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0'))" ( (comma_expression "iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')" (assignment_expression "iVar1 = FUN_00017c20()" identifier = (call_expression "FUN_00017c20()" identifier (argument_list "()" ( )))) , (binary_expression "iVar1 == 0 && (DAT_0004d680 == '\0')" (binary_expression "iVar1 == 0" identifier == number_literal) && (parenthesized_expression "(DAT_0004d680 == '\0')" ( (binary_expression "DAT_0004d680 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )))) )) ))) )) (compound_statement "{\n    strcmp(param_1,param_2);\n  }" { (expression_statement "strcmp(param_1,param_2);" (call_expression "strcmp(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 compare_names(char *name1,char *name2)\n\n{\n  int iVar1;\n  \n  if ((!locale_specific_sorting) ||\n     ((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)))) {\n    iVar1 = strcmp(name1,name2);\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int __regparm3 compare_names(char *name1,char *name2)\n\n{\n  int iVar1;\n  \n  if ((!locale_specific_sorting) ||\n     ((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)))) {\n    iVar1 = strcmp(name1,name2);\n  }\n  return iVar1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "compare_names(char *name1,char *name2)" identifier (parameter_list "(char *name1,char *name2)" ( (parameter_declaration "char *name1" primitive_type (pointer_declarator "*name1" * identifier)) , (parameter_declaration "char *name2" primitive_type (pointer_declarator "*name2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((!locale_specific_sorting) ||\n     ((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)))) {\n    iVar1 = strcmp(name1,name2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((!locale_specific_sorting) ||\n     ((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)))) {\n    iVar1 = strcmp(name1,name2);\n  }" if (parenthesized_expression "((!locale_specific_sorting) ||\n     ((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false))))" ( (binary_expression "(!locale_specific_sorting) ||\n     ((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)))" (parenthesized_expression "(!locale_specific_sorting)" ( (unary_expression "!locale_specific_sorting" ! identifier) )) || (parenthesized_expression "((iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)))" ( (parenthesized_expression "(iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false))" ( (comma_expression "iVar1 = compare_collated(name1,name2), iVar1 == 0 && (ignore_file_name_case == false)" (assignment_expression "iVar1 = compare_collated(name1,name2)" identifier = (call_expression "compare_collated(name1,name2)" identifier (argument_list "(name1,name2)" ( identifier , identifier )))) , (binary_expression "iVar1 == 0 && (ignore_file_name_case == false)" (binary_expression "iVar1 == 0" identifier == number_literal) && (parenthesized_expression "(ignore_file_name_case == false)" ( (binary_expression "ignore_file_name_case == false" identifier == false) )))) )) ))) )) (compound_statement "{\n    iVar1 = strcmp(name1,name2);\n  }" { (expression_statement "iVar1 = strcmp(name1,name2);" (assignment_expression "iVar1 = strcmp(name1,name2)" identifier = (call_expression "strcmp(name1,name2)" identifier (argument_list "(name1,name2)" ( identifier , identifier )))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void __regparm3 FUN_00017cd0(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00017cd0(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00017cd0(char *param_1,char *param_2)" identifier (parameter_list "(char *param_1,char *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }" if (parenthesized_expression "((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0'))))" ( (binary_expression "(DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))" (parenthesized_expression "(DAT_0004d37c == '\0')" ( (binary_expression "DAT_0004d37c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))" ( (parenthesized_expression "(iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0'))" ( (comma_expression "iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')" (assignment_expression "iVar1 = FUN_00017c20()" identifier = (call_expression "FUN_00017c20()" identifier (argument_list "()" ( )))) , (binary_expression "iVar1 == 0 && (DAT_0004d680 == '\0')" (binary_expression "iVar1 == 0" identifier == number_literal) && (parenthesized_expression "(DAT_0004d680 == '\0')" ( (binary_expression "DAT_0004d680 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )))) )) ))) )) (compound_statement "{\n    strcmp(param_1,param_2);\n  }" { (expression_statement "strcmp(param_1,param_2);" (call_expression "strcmp(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00017cd0(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00017cd0(char *param_1,char *param_2)" (identifier "FUN_00017cd0") (parameter_list "(char *param_1,char *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {\n    strcmp(param_1,param_2);\n  }" (if "if") (parenthesized_expression "((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0'))))" (( "(") (binary_expression "(DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))" (parenthesized_expression "(DAT_0004d37c == '\0')" (( "(") (binary_expression "DAT_0004d37c == '\0'" (identifier "DAT_0004d37c") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))" (( "(") (parenthesized_expression "(iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0'))" (( "(") (comma_expression "iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')" (assignment_expression "iVar1 = FUN_00017c20()" (identifier "iVar1") (= "=") (call_expression "FUN_00017c20()" (identifier "FUN_00017c20") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar1 == 0 && (DAT_0004d680 == '\0')" (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(DAT_0004d680 == '\0')" (( "(") (binary_expression "DAT_0004d680 == '\0'" (identifier "DAT_0004d680") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    strcmp(param_1,param_2);\n  }" ({ "{") (expression_statement "strcmp(param_1,param_2);" (call_expression "strcmp(param_1,param_2)" (identifier "strcmp") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

int __regparm3 function_1(char *name1,char *name2)

{
  int var_2;
  
  if ((!locale_specific_sorting) ||
     ((var_2 = var_1(name1,name2), var_2 == 0 && (var_3 == false)))) {
    var_2 = var_4(name1,name2);
  }
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) (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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (return_statement))))

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

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

{
  int iVar1;
  
  if ((DAT_0004d37c == '\0') || ((iVar1 = FUN_00017c20(), iVar1 == 0 && (DAT_0004d680 == '\0')))) {
    strcmp(param_1,param_2);
  }
  return;
}

