
int fde_unencoded_compare(undefined4 param_1,int param_2,int param_3)

{
  int iVar1;
  
  iVar1 = 1;
  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {
    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));
  }
  return iVar1;
}



int FUN_00445410(undefined4 param_1,int param_2,int param_3)

{
  int iVar1;
  
  iVar1 = 1;
  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {
    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));
  }
  return iVar1;
}


MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,0x1
MOV EDX,dword ptr [EDX + 0x8]
CMP dword ptr [ECX + 0x8],EDX
JA 0x00445427
SBB EAX,EAX
RET
(translation_unit "int FUN_00445410(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00445410(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00445410(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8))" ( (binary_expression "*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" { (expression_statement "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));" (assignment_expression "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" identifier = (unary_expression "-(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" - (call_expression "(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" ( (binary_expression "*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int fde_unencoded_compare(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}\n\n" (function_definition "int fde_unencoded_compare(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "fde_unencoded_compare(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8))" ( (binary_expression "*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" { (expression_statement "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));" (assignment_expression "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" identifier = (unary_expression "-(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" - (call_expression "(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" ( (binary_expression "*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_00445410(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00445410(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00445410(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8))" ( (binary_expression "*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" { (expression_statement "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));" (assignment_expression "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" identifier = (unary_expression "-(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" - (call_expression "(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" ( (binary_expression "*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_3 + 8)" * (cast_expression "(uint *)(param_3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00445410(undefined4 param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00445410(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_00445410") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" (identifier "iVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8))" (( "(") (binary_expression "*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(param_3 + 8)" (* "*") (cast_expression "(uint *)(param_3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));\n  }" ({ "{") (expression_statement "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));" (assignment_expression "iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" (identifier "iVar1") (= "=") (unary_expression "-(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" (- "-") (call_expression "(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8))" (( "(") (binary_expression "*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8)" (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_3 + 8)" (* "*") (cast_expression "(uint *)(param_3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) () ")"))))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

int function_1(type_1 param_1,int var_1,int var_2)

{
  int iVar1;
  
  iVar1 = 1;
  if (*(type_2 *)(var_1 + 8) <= *(type_2 *)(var_2 + 8)) {
    iVar1 = -(type_2)(*(type_2 *)(var_1 + 8) < *(type_2 *)(var_2 + 8));
  }
  return iVar1;
}


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

int MASKED(undefined4 param_1,int param_2,int param_3)

{
  int iVar1;
  
  iVar1 = 1;
  if (*(uint *)(param_2 + 8) <= *(uint *)(param_3 + 8)) {
    iVar1 = -(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_3 + 8));
  }
  return iVar1;
}

