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

int canonical_filename_eq(char *a,char *b)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = lrealpath(a);
  __s2 = lrealpath(b);
  iVar1 = strcmp(__s1,__s2);
  free(__s1);
  free(__s2);
  return (uint)(iVar1 == 0);
}



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

bool FUN_001a9920(undefined4 param_1,undefined4 param_2)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = (char *)FUN_001a9a30(param_1);
  __s2 = (char *)FUN_001a9a30(param_2);
  iVar1 = strcmp(__s1,__s2);
  free(__s1);
  free(__s2);
  return iVar1 == 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1956d7
SUB ESP,0x18
PUSH dword ptr [ESP + 0x2c]
CALL 0x001a9a30
MOV EDI,EAX
POP EAX
PUSH dword ptr [ESP + 0x30]
CALL 0x001a9a30
POP EDX
POP ECX
PUSH EAX
MOV ESI,EAX
PUSH EDI
CALL 0x00028b10
MOV dword ptr [ESP],EDI
MOV EBP,EAX
CALL 0x00028420
MOV dword ptr [ESP],ESI
CALL 0x00028420
XOR EAX,EAX
TEST EBP,EBP
SETZ AL
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_001a9920(undefined4 param_1,undefined4 param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}\n\n" comment (function_definition "bool FUN_001a9920(undefined4 param_1,undefined4 param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_001a9920(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = (char *)FUN_001a9a30(param_1);" (assignment_expression "__s1 = (char *)FUN_001a9a30(param_1)" identifier = (cast_expression "(char *)FUN_001a9a30(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a9a30(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "__s2 = (char *)FUN_001a9a30(param_2);" (assignment_expression "__s2 = (char *)FUN_001a9a30(param_2)" identifier = (cast_expression "(char *)FUN_001a9a30(param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a9a30(param_2)" identifier (argument_list "(param_2)" ( 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 )))) ;) (expression_statement "free(__s1);" (call_expression "free(__s1)" identifier (argument_list "(__s1)" ( identifier ))) ;) (expression_statement "free(__s2);" (call_expression "free(__s2)" identifier (argument_list "(__s2)" ( identifier ))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint canonical_filename_eq(char *a,char *b)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = lrealpath(a);\n  __s2 = lrealpath(b);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return (uint)(iVar1 == 0);\n}\n\n" comment comment (function_definition "int canonical_filename_eq(char *a,char *b)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = lrealpath(a);\n  __s2 = lrealpath(b);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return (uint)(iVar1 == 0);\n}" primitive_type (function_declarator "canonical_filename_eq(char *a,char *b)" identifier (parameter_list "(char *a,char *b)" ( (parameter_declaration "char *a" primitive_type (pointer_declarator "*a" * identifier)) , (parameter_declaration "char *b" primitive_type (pointer_declarator "*b" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = lrealpath(a);\n  __s2 = lrealpath(b);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return (uint)(iVar1 == 0);\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = lrealpath(a);" (assignment_expression "__s1 = lrealpath(a)" identifier = (call_expression "lrealpath(a)" identifier (argument_list "(a)" ( identifier )))) ;) (expression_statement "__s2 = lrealpath(b);" (assignment_expression "__s2 = lrealpath(b)" identifier = (call_expression "lrealpath(b)" identifier (argument_list "(b)" ( 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 )))) ;) (expression_statement "free(__s1);" (call_expression "free(__s1)" identifier (argument_list "(__s1)" ( identifier ))) ;) (expression_statement "free(__s2);" (call_expression "free(__s2)" identifier (argument_list "(__s2)" ( identifier ))) ;) (return_statement "return (uint)(iVar1 == 0);" return (call_expression "(uint)(iVar1 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) ))) ;) })))
(translation_unit "bool FUN_001a9920(undefined4 param_1,undefined4 param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}\n\n" (function_definition "bool FUN_001a9920(undefined4 param_1,undefined4 param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_001a9920(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "__s1 = (char *)FUN_001a9a30(param_1);" (assignment_expression "__s1 = (char *)FUN_001a9a30(param_1)" identifier = (cast_expression "(char *)FUN_001a9a30(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a9a30(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "__s2 = (char *)FUN_001a9a30(param_2);" (assignment_expression "__s2 = (char *)FUN_001a9a30(param_2)" identifier = (cast_expression "(char *)FUN_001a9a30(param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a9a30(param_2)" identifier (argument_list "(param_2)" ( 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 )))) ;) (expression_statement "free(__s1);" (call_expression "free(__s1)" identifier (argument_list "(__s1)" ( identifier ))) ;) (expression_statement "free(__s2);" (call_expression "free(__s2)" identifier (argument_list "(__s2)" ( identifier ))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE 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 *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return (binary_expression IDENT == LIT) ;) })))
(function_definition "bool FUN_001a9920(undefined4 param_1,undefined4 param_2)\n\n{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}" (primitive_type "bool") (function_declarator "FUN_001a9920(undefined4 param_1,undefined4 param_2)" (identifier "FUN_001a9920") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  char *__s1;\n  char *__s2;\n  int iVar1;\n  \n  __s1 = (char *)FUN_001a9a30(param_1);\n  __s2 = (char *)FUN_001a9a30(param_2);\n  iVar1 = strcmp(__s1,__s2);\n  free(__s1);\n  free(__s2);\n  return iVar1 == 0;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "__s1 = (char *)FUN_001a9a30(param_1);" (assignment_expression "__s1 = (char *)FUN_001a9a30(param_1)" (identifier "__s1") (= "=") (cast_expression "(char *)FUN_001a9a30(param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001a9a30(param_1)" (identifier "FUN_001a9a30") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "__s2 = (char *)FUN_001a9a30(param_2);" (assignment_expression "__s2 = (char *)FUN_001a9a30(param_2)" (identifier "__s2") (= "=") (cast_expression "(char *)FUN_001a9a30(param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001a9a30(param_2)" (identifier "FUN_001a9a30") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))))) (; ";")) (expression_statement "iVar1 = strcmp(__s1,__s2);" (assignment_expression "iVar1 = strcmp(__s1,__s2)" (identifier "iVar1") (= "=") (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")")))) (; ";")) (expression_statement "free(__s1);" (call_expression "free(__s1)" (identifier "free") (argument_list "(__s1)" (( "(") (identifier "__s1") () ")"))) (; ";")) (expression_statement "free(__s2);" (call_expression "free(__s2)" (identifier "free") (argument_list "(__s2)" (( "(") (identifier "__s2") () ")"))) (; ";")) (return_statement "return iVar1 == 0;" (return "return") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) (; ";")) (} "}")))

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

int function_1(char *a,char *b)

{
  char *__s1;
  char *__s2;
  int var_4;
  
  __s1 = var_1(a);
  __s2 = var_1(b);
  var_4 = var_2(__s1,__s2);
  var_3(__s1);
  var_3(__s2);
  return (uint)(var_4 == 0);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (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 (identifier)))))) (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 (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

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

bool MASKED(undefined4 param_1,undefined4 param_2)

{
  char *__s1;
  char *__s2;
  int iVar1;
  
  __s1 = (char *)FUN_001a9a30(param_1);
  __s2 = (char *)FUN_001a9a30(param_2);
  iVar1 = strcmp(__s1,__s2);
  free(__s1);
  free(__s2);
  return iVar1 == 0;
}

