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

int ConfigureInfoCompare(void *x,void *y)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  
                    /* WARNING: Load size is inaccurate */
  puVar1 = *y;
                    /* WARNING: Load size is inaccurate */
  puVar2 = *x;
  iVar3 = LocaleCompare((char *)*puVar2,(char *)*puVar1);
  if (iVar3 == 0) {
    iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1]);
  }
  return iVar3;
}



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

void FUN_00075440(int *param_1,int *param_2)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  
  puVar1 = (undefined4 *)*param_2;
  puVar2 = (undefined4 *)*param_1;
  iVar3 = LocaleCompare(*puVar2,*puVar1);
  if (iVar3 == 0) {
    LocaleCompare(puVar2[1],puVar1[1]);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00038830
ADD EBX,0x363bb4
SUB ESP,0x8
MOV EDI,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [EAX]
PUSH dword ptr [EDI]
PUSH dword ptr [ESI]
CALL 0x000326f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0007547e
SUB ESP,0x8
PUSH dword ptr [EDI + 0x4]
PUSH dword ptr [ESI + 0x4]
CALL 0x000326f0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00075440(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00075440(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00075440(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)*param_2;" (assignment_expression "puVar1 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "puVar2 = (undefined4 *)*param_1;" (assignment_expression "puVar2 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar3 = LocaleCompare(*puVar2,*puVar1);" (assignment_expression "iVar3 = LocaleCompare(*puVar2,*puVar1)" identifier = (call_expression "LocaleCompare(*puVar2,*puVar1)" identifier (argument_list "(*puVar2,*puVar1)" ( (pointer_expression "*puVar2" * identifier) , (pointer_expression "*puVar1" * identifier) )))) ;) (if_statement "if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }" { (expression_statement "LocaleCompare(puVar2[1],puVar1[1]);" (call_expression "LocaleCompare(puVar2[1],puVar1[1])" identifier (argument_list "(puVar2[1],puVar1[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint ConfigureInfoCompare(void *x,void *y)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n                    /* WARNING: Load size is inaccurate */\n  puVar1 = *y;\n                    /* WARNING: Load size is inaccurate */\n  puVar2 = *x;\n  iVar3 = LocaleCompare((char *)*puVar2,(char *)*puVar1);\n  if (iVar3 == 0) {\n    iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1]);\n  }\n  return iVar3;\n}\n\n" comment comment (function_definition "int ConfigureInfoCompare(void *x,void *y)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n                    /* WARNING: Load size is inaccurate */\n  puVar1 = *y;\n                    /* WARNING: Load size is inaccurate */\n  puVar2 = *x;\n  iVar3 = LocaleCompare((char *)*puVar2,(char *)*puVar1);\n  if (iVar3 == 0) {\n    iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1]);\n  }\n  return iVar3;\n}" primitive_type (function_declarator "ConfigureInfoCompare(void *x,void *y)" identifier (parameter_list "(void *x,void *y)" ( (parameter_declaration "void *x" primitive_type (pointer_declarator "*x" * identifier)) , (parameter_declaration "void *y" primitive_type (pointer_declarator "*y" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n                    /* WARNING: Load size is inaccurate */\n  puVar1 = *y;\n                    /* WARNING: Load size is inaccurate */\n  puVar2 = *x;\n  iVar3 = LocaleCompare((char *)*puVar2,(char *)*puVar1);\n  if (iVar3 == 0) {\n    iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1]);\n  }\n  return iVar3;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) comment (expression_statement "puVar1 = *y;" (assignment_expression "puVar1 = *y" identifier = (pointer_expression "*y" * identifier)) ;) comment (expression_statement "puVar2 = *x;" (assignment_expression "puVar2 = *x" identifier = (pointer_expression "*x" * identifier)) ;) (expression_statement "iVar3 = LocaleCompare((char *)*puVar2,(char *)*puVar1);" (assignment_expression "iVar3 = LocaleCompare((char *)*puVar2,(char *)*puVar1)" identifier = (call_expression "LocaleCompare((char *)*puVar2,(char *)*puVar1)" identifier (argument_list "((char *)*puVar2,(char *)*puVar1)" ( (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) , (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) )))) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1]);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1]);\n  }" { (expression_statement "iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1]);" (assignment_expression "iVar3 = LocaleCompare((char *)puVar2[1],(char *)puVar1[1])" identifier = (call_expression "LocaleCompare((char *)puVar2[1],(char *)puVar1[1])" identifier (argument_list "((char *)puVar2[1],(char *)puVar1[1])" ( (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ])) , (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) )))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "void FUN_00075440(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00075440(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00075440(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)*param_2;" (assignment_expression "puVar1 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "puVar2 = (undefined4 *)*param_1;" (assignment_expression "puVar2 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar3 = LocaleCompare(*puVar2,*puVar1);" (assignment_expression "iVar3 = LocaleCompare(*puVar2,*puVar1)" identifier = (call_expression "LocaleCompare(*puVar2,*puVar1)" identifier (argument_list "(*puVar2,*puVar1)" ( (pointer_expression "*puVar2" * identifier) , (pointer_expression "*puVar1" * identifier) )))) ;) (if_statement "if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }" { (expression_statement "LocaleCompare(puVar2[1],puVar1[1]);" (call_expression "LocaleCompare(puVar2[1],puVar1[1])" identifier (argument_list "(puVar2[1],puVar1[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[1]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00075440(int *param_1,int *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00075440(int *param_1,int *param_2)" (identifier "FUN_00075440") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  \n  puVar1 = (undefined4 *)*param_2;\n  puVar2 = (undefined4 *)*param_1;\n  iVar3 = LocaleCompare(*puVar2,*puVar1);\n  if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "puVar1 = (undefined4 *)*param_2;" (assignment_expression "puVar1 = (undefined4 *)*param_2" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*param_2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)*param_1;" (assignment_expression "puVar2 = (undefined4 *)*param_1" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar3 = LocaleCompare(*puVar2,*puVar1);" (assignment_expression "iVar3 = LocaleCompare(*puVar2,*puVar1)" (identifier "iVar3") (= "=") (call_expression "LocaleCompare(*puVar2,*puVar1)" (identifier "LocaleCompare") (argument_list "(*puVar2,*puVar1)" (( "(") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    LocaleCompare(puVar2[1],puVar1[1]);\n  }" ({ "{") (expression_statement "LocaleCompare(puVar2[1],puVar1[1]);" (call_expression "LocaleCompare(puVar2[1],puVar1[1])" (identifier "LocaleCompare") (argument_list "(puVar2[1],puVar1[1])" (( "(") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

int function_1(void *x,void *y)

{
  type_1 *puVar1;
  type_1 *puVar2;
  int var_2;
  
                    /* WARNING: Load size is inaccurate */
  puVar1 = *y;
                    /* WARNING: Load size is inaccurate */
  puVar2 = *x;
  var_2 = var_1((char *)*puVar2,(char *)*puVar1);
  if (var_2 == 0) {
    var_2 = var_1((char *)puVar2[1],(char *)puVar1[1]);
  }
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))))) (return_statement))))

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

void MASKED(int *param_1,int *param_2)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  
  puVar1 = (undefined4 *)*param_2;
  puVar2 = (undefined4 *)*param_1;
  iVar3 = LocaleCompare(*puVar2,*puVar1);
  if (iVar3 == 0) {
    LocaleCompare(puVar2[1],puVar1[1]);
  }
  return;
}

