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

int pe_export_sort(void *va,void *vb)

{
  char *__s1;
  int iVar1;
  char *__s2;
  
                    /* WARNING: Load size is inaccurate */
  __s1 = *(char **)((int)va + 8);
  if (*(char **)((int)va + 8) == (char *)0x0) {
    __s1 = *va;
  }
                    /* WARNING: Load size is inaccurate */
  __s2 = *(char **)((int)vb + 8);
  if (*(char **)((int)vb + 8) == (char *)0x0) {
    __s2 = *vb;
  }
  iVar1 = strcmp(__s1,__s2);
  return iVar1;
}



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

void FUN_00061720(undefined4 *param_1,undefined4 *param_2)

{
  char *__s1;
  char *__s2;
  
  __s1 = (char *)param_1[2];
  if ((char *)param_1[2] == (char *)0x0) {
    __s1 = (char *)*param_1;
  }
  __s2 = (char *)param_2[2];
  if ((char *)param_2[2] == (char *)0x0) {
    __s2 = (char *)*param_2;
  }
  strcmp(__s1,__s2);
  return;
}


PUSH EBX
CALL 0x00017b80
ADD EBX,0x16c8da
SUB ESP,0x10
MOV EDX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EDX + 0x8]
TEST EAX,EAX
CMOVZ EAX,dword ptr [EDX]
MOV EDX,dword ptr [ECX + 0x8]
TEST EDX,EDX
CMOVZ EDX,dword ptr [ECX]
PUSH EDX
PUSH EAX
CALL 0x000160c0
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00061720(undefined4 *param_1,undefined4 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}\n\n" comment (function_definition "void FUN_00061720(undefined4 *param_1,undefined4 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}" primitive_type (function_declarator "FUN_00061720(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (expression_statement "__s1 = (char *)param_1[2];" (assignment_expression "__s1 = (char *)param_1[2]" identifier = (cast_expression "(char *)param_1[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }" if (parenthesized_expression "((char *)param_1[2] == (char *)0x0)" ( (binary_expression "(char *)param_1[2] == (char *)0x0" (cast_expression "(char *)param_1[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s1 = (char *)*param_1;\n  }" { (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "__s2 = (char *)param_2[2];" (assignment_expression "__s2 = (char *)param_2[2]" identifier = (cast_expression "(char *)param_2[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (if_statement "if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }" if (parenthesized_expression "((char *)param_2[2] == (char *)0x0)" ( (binary_expression "(char *)param_2[2] == (char *)0x0" (cast_expression "(char *)param_2[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s2 = (char *)*param_2;\n  }" { (expression_statement "__s2 = (char *)*param_2;" (assignment_expression "__s2 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) })) (expression_statement "strcmp(__s1,__s2);" (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier ))) ;) (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 pe_export_sort(void *va,void *vb)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n                    /* WARNING: Load size is inaccurate */\n  __s1 = *(char **)((int)va + 8);\n  if (*(char **)((int)va + 8) == (char *)0x0) {\n    __s1 = *va;\n  }\n                    /* WARNING: Load size is inaccurate */\n  __s2 = *(char **)((int)vb + 8);\n  if (*(char **)((int)vb + 8) == (char *)0x0) {\n    __s2 = *vb;\n  }\n  iVar1 = strcmp(__s1,__s2);\n  return iVar1;\n}\n\n" comment comment (function_definition "int pe_export_sort(void *va,void *vb)\n\n{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n                    /* WARNING: Load size is inaccurate */\n  __s1 = *(char **)((int)va + 8);\n  if (*(char **)((int)va + 8) == (char *)0x0) {\n    __s1 = *va;\n  }\n                    /* WARNING: Load size is inaccurate */\n  __s2 = *(char **)((int)vb + 8);\n  if (*(char **)((int)vb + 8) == (char *)0x0) {\n    __s2 = *vb;\n  }\n  iVar1 = strcmp(__s1,__s2);\n  return iVar1;\n}" primitive_type (function_declarator "pe_export_sort(void *va,void *vb)" identifier (parameter_list "(void *va,void *vb)" ( (parameter_declaration "void *va" primitive_type (pointer_declarator "*va" * identifier)) , (parameter_declaration "void *vb" primitive_type (pointer_declarator "*vb" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  char *__s2;\n  \n                    /* WARNING: Load size is inaccurate */\n  __s1 = *(char **)((int)va + 8);\n  if (*(char **)((int)va + 8) == (char *)0x0) {\n    __s1 = *va;\n  }\n                    /* WARNING: Load size is inaccurate */\n  __s2 = *(char **)((int)vb + 8);\n  if (*(char **)((int)vb + 8) == (char *)0x0) {\n    __s2 = *vb;\n  }\n  iVar1 = strcmp(__s1,__s2);\n  return iVar1;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) comment (expression_statement "__s1 = *(char **)((int)va + 8);" (assignment_expression "__s1 = *(char **)((int)va + 8)" identifier = (pointer_expression "*(char **)((int)va + 8)" * (cast_expression "(char **)((int)va + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)va + 8)" ( (binary_expression "(int)va + 8" (cast_expression "(int)va" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (*(char **)((int)va + 8) == (char *)0x0) {\n    __s1 = *va;\n  }" if (parenthesized_expression "(*(char **)((int)va + 8) == (char *)0x0)" ( (binary_expression "*(char **)((int)va + 8) == (char *)0x0" (pointer_expression "*(char **)((int)va + 8)" * (cast_expression "(char **)((int)va + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)va + 8)" ( (binary_expression "(int)va + 8" (cast_expression "(int)va" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s1 = *va;\n  }" { (expression_statement "__s1 = *va;" (assignment_expression "__s1 = *va" identifier = (pointer_expression "*va" * identifier)) ;) })) comment (expression_statement "__s2 = *(char **)((int)vb + 8);" (assignment_expression "__s2 = *(char **)((int)vb + 8)" identifier = (pointer_expression "*(char **)((int)vb + 8)" * (cast_expression "(char **)((int)vb + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)vb + 8)" ( (binary_expression "(int)vb + 8" (cast_expression "(int)vb" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (*(char **)((int)vb + 8) == (char *)0x0) {\n    __s2 = *vb;\n  }" if (parenthesized_expression "(*(char **)((int)vb + 8) == (char *)0x0)" ( (binary_expression "*(char **)((int)vb + 8) == (char *)0x0" (pointer_expression "*(char **)((int)vb + 8)" * (cast_expression "(char **)((int)vb + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)vb + 8)" ( (binary_expression "(int)vb + 8" (cast_expression "(int)vb" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s2 = *vb;\n  }" { (expression_statement "__s2 = *vb;" (assignment_expression "__s2 = *vb" identifier = (pointer_expression "*vb" * identifier)) ;) })) (expression_statement "iVar1 = strcmp(__s1,__s2);" (assignment_expression "iVar1 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_00061720(undefined4 *param_1,undefined4 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}\n\n" (function_definition "void FUN_00061720(undefined4 *param_1,undefined4 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}" primitive_type (function_declarator "FUN_00061720(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (expression_statement "__s1 = (char *)param_1[2];" (assignment_expression "__s1 = (char *)param_1[2]" identifier = (cast_expression "(char *)param_1[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }" if (parenthesized_expression "((char *)param_1[2] == (char *)0x0)" ( (binary_expression "(char *)param_1[2] == (char *)0x0" (cast_expression "(char *)param_1[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s1 = (char *)*param_1;\n  }" { (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "__s2 = (char *)param_2[2];" (assignment_expression "__s2 = (char *)param_2[2]" identifier = (cast_expression "(char *)param_2[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (if_statement "if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }" if (parenthesized_expression "((char *)param_2[2] == (char *)0x0)" ( (binary_expression "(char *)param_2[2] == (char *)0x0" (cast_expression "(char *)param_2[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s2 = (char *)*param_2;\n  }" { (expression_statement "__s2 = (char *)*param_2;" (assignment_expression "__s2 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) })) (expression_statement "strcmp(__s1,__s2);" (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier ))) ;) (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) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (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 *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00061720(undefined4 *param_1,undefined4 *param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00061720(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00061720") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  \n  __s1 = (char *)param_1[2];\n  if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }\n  __s2 = (char *)param_2[2];\n  if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }\n  strcmp(__s1,__s2);\n  return;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (expression_statement "__s1 = (char *)param_1[2];" (assignment_expression "__s1 = (char *)param_1[2]" (identifier "__s1") (= "=") (cast_expression "(char *)param_1[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if ((char *)param_1[2] == (char *)0x0) {\n    __s1 = (char *)*param_1;\n  }" (if "if") (parenthesized_expression "((char *)param_1[2] == (char *)0x0)" (( "(") (binary_expression "(char *)param_1[2] == (char *)0x0" (cast_expression "(char *)param_1[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    __s1 = (char *)*param_1;\n  }" ({ "{") (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" (identifier "__s1") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (expression_statement "__s2 = (char *)param_2[2];" (assignment_expression "__s2 = (char *)param_2[2]" (identifier "__s2") (= "=") (cast_expression "(char *)param_2[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if ((char *)param_2[2] == (char *)0x0) {\n    __s2 = (char *)*param_2;\n  }" (if "if") (parenthesized_expression "((char *)param_2[2] == (char *)0x0)" (( "(") (binary_expression "(char *)param_2[2] == (char *)0x0" (cast_expression "(char *)param_2[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    __s2 = (char *)*param_2;\n  }" ({ "{") (expression_statement "__s2 = (char *)*param_2;" (assignment_expression "__s2 = (char *)*param_2" (identifier "__s2") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (} "}"))) (expression_statement "strcmp(__s1,__s2);" (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")"))) (; ";")) (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 *va,void *vb)

{
  char *__s1;
  int iVar1;
  char *__s2;
  
                    /* WARNING: Load size is inaccurate */
  __s1 = *(char **)((int)va + 8);
  if (*(char **)((int)va + 8) == (char *)0x0) {
    __s1 = *va;
  }
                    /* WARNING: Load size is inaccurate */
  __s2 = *(char **)((int)vb + 8);
  if (*(char **)((int)vb + 8) == (char *)0x0) {
    __s2 = *vb;
  }
  iVar1 = var_1(__s1,__s2);
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (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 MASKED(undefined4 *param_1,undefined4 *param_2)

{
  char *__s1;
  char *__s2;
  
  __s1 = (char *)param_1[2];
  if ((char *)param_1[2] == (char *)0x0) {
    __s1 = (char *)*param_1;
  }
  __s2 = (char *)param_2[2];
  if ((char *)param_2[2] == (char *)0x0) {
    __s2 = (char *)*param_2;
  }
  strcmp(__s1,__s2);
  return;
}

