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

int warc_cmp_sha1_digest(void *digest1,void *digest2)

{
  int iVar1;
  
  iVar1 = memcmp(digest1,digest2,0x14);
  return (uint)(iVar1 == 0);
}



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

bool FUN_00046f90(void *param_1,void *param_2)

{
  int iVar1;
  
  iVar1 = memcmp(param_1,param_2,0x14);
  return iVar1 == 0;
}


PUSH EBX
CALL 0x00019070
ADD EBX,0x59c3a
SUB ESP,0xc
PUSH 0x14
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x00016180
TEST EAX,EAX
SETZ AL
ADD ESP,0x18
MOVZX EAX,AL
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_00046f90(void *param_1,void *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}\n\n" comment (function_definition "bool FUN_00046f90(void *param_1,void *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_00046f90(void *param_1,void *param_2)" identifier (parameter_list "(void *param_1,void *param_2)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = memcmp(param_1,param_2,0x14);" (assignment_expression "iVar1 = memcmp(param_1,param_2,0x14)" identifier = (call_expression "memcmp(param_1,param_2,0x14)" identifier (argument_list "(param_1,param_2,0x14)" ( identifier , identifier , number_literal )))) ;) (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 warc_cmp_sha1_digest(void *digest1,void *digest2)\n\n{\n  int iVar1;\n  \n  iVar1 = memcmp(digest1,digest2,0x14);\n  return (uint)(iVar1 == 0);\n}\n\n" comment comment (function_definition "int warc_cmp_sha1_digest(void *digest1,void *digest2)\n\n{\n  int iVar1;\n  \n  iVar1 = memcmp(digest1,digest2,0x14);\n  return (uint)(iVar1 == 0);\n}" primitive_type (function_declarator "warc_cmp_sha1_digest(void *digest1,void *digest2)" identifier (parameter_list "(void *digest1,void *digest2)" ( (parameter_declaration "void *digest1" primitive_type (pointer_declarator "*digest1" * identifier)) , (parameter_declaration "void *digest2" primitive_type (pointer_declarator "*digest2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = memcmp(digest1,digest2,0x14);\n  return (uint)(iVar1 == 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = memcmp(digest1,digest2,0x14);" (assignment_expression "iVar1 = memcmp(digest1,digest2,0x14)" identifier = (call_expression "memcmp(digest1,digest2,0x14)" identifier (argument_list "(digest1,digest2,0x14)" ( identifier , identifier , number_literal )))) ;) (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_00046f90(void *param_1,void *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}\n\n" (function_definition "bool FUN_00046f90(void *param_1,void *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_00046f90(void *param_1,void *param_2)" identifier (parameter_list "(void *param_1,void *param_2)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = memcmp(param_1,param_2,0x14);" (assignment_expression "iVar1 = memcmp(param_1,param_2,0x14)" identifier = (call_expression "memcmp(param_1,param_2,0x14)" identifier (argument_list "(param_1,param_2,0x14)" ( identifier , identifier , number_literal )))) ;) (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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (return_statement return (binary_expression IDENT == LIT) ;) })))
(function_definition "bool FUN_00046f90(void *param_1,void *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}" (primitive_type "bool") (function_declarator "FUN_00046f90(void *param_1,void *param_2)" (identifier "FUN_00046f90") (parameter_list "(void *param_1,void *param_2)" (( "(") (parameter_declaration "void *param_1" (primitive_type "void") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = memcmp(param_1,param_2,0x14);\n  return iVar1 == 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = memcmp(param_1,param_2,0x14);" (assignment_expression "iVar1 = memcmp(param_1,param_2,0x14)" (identifier "iVar1") (= "=") (call_expression "memcmp(param_1,param_2,0x14)" (identifier "memcmp") (argument_list "(param_1,param_2,0x14)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0x14") () ")")))) (; ";")) (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(void *digest1,void *digest2)

{
  int var_2;
  
  var_2 = var_1(digest1,digest2,0x14);
  return (uint)(var_2 == 0);
}


(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: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))) (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(void *param_1,void *param_2)

{
  int iVar1;
  
  iVar1 = memcmp(param_1,param_2,0x14);
  return iVar1 == 0;
}

