
void ecc_free(ecc_key *key)

{
  if (key != (ecc_key *)0x0) {
    ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0);
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);
}



void ecc_free(long param_1)

{
  if (param_1 != 0) {
    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),
                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);
}


TEST RDI,RDI
JZ 0x0017cd7f
MOV RCX,qword ptr [RDI + 0x28]
MOV RDX,qword ptr [RDI + 0x20]
XOR R8D,R8D
XOR EAX,EAX
MOV RSI,qword ptr [RDI + 0x18]
MOV RDI,qword ptr [RDI + 0x10]
JMP 0x00113330
PUSH RAX
MOV EDX,0x1e
LEA RSI,[0x1c6bcc]
LEA RDI,[0x1c5e5d]
CALL 0x00114270
(translation_unit "void ecc_free(long param_1)\n\n{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}\n\n" (function_definition "void ecc_free(long param_1)\n\n{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" primitive_type (function_declarator "ecc_free(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" { (if_statement "if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }" { (expression_statement "ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);" (call_expression "ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(param_1 + 0x18)" * (cast_expression "(undefined8 *)(param_1 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , number_literal ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);" (call_expression "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" identifier (argument_list "("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/pk/ecc/ecc_free.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "void ecc_free(ecc_key *key)\n\n{\n  if (key != (ecc_key *)0x0) {\n    ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}\n\n" (function_definition "void ecc_free(ecc_key *key)\n\n{\n  if (key != (ecc_key *)0x0) {\n    ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" primitive_type (function_declarator "ecc_free(ecc_key *key)" identifier (parameter_list "(ecc_key *key)" ( (parameter_declaration "ecc_key *key" type_identifier (pointer_declarator "*key" * identifier)) ))) (compound_statement "{\n  if (key != (ecc_key *)0x0) {\n    ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" { (if_statement "if (key != (ecc_key *)0x0) {\n    ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0);\n    return;\n  }" if (parenthesized_expression "(key != (ecc_key *)0x0)" ( (binary_expression "key != (ecc_key *)0x0" identifier != (cast_expression "(ecc_key *)0x0" ( (type_descriptor "ecc_key *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0);\n    return;\n  }" { (expression_statement "ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0);" (call_expression "ltc_deinit_multi((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0)" identifier (argument_list "((key->pubkey).x,(key->pubkey).y,(key->pubkey).z,key->k,0)" ( (field_expression "(key->pubkey).x" (parenthesized_expression "(key->pubkey)" ( (field_expression "key->pubkey" identifier -> field_identifier) )) . field_identifier) , (field_expression "(key->pubkey).y" (parenthesized_expression "(key->pubkey)" ( (field_expression "key->pubkey" identifier -> field_identifier) )) . field_identifier) , (field_expression "(key->pubkey).z" (parenthesized_expression "(key->pubkey)" ( (field_expression "key->pubkey" identifier -> field_identifier) )) . field_identifier) , (field_expression "key->k" identifier -> field_identifier) , number_literal ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);" (call_expression "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" identifier (argument_list "("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/pk/ecc/ecc_free.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "void ecc_free(long param_1)\n\n{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}\n\n" (function_definition "void ecc_free(long param_1)\n\n{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" primitive_type (function_declarator "ecc_free(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" { (if_statement "if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }" { (expression_statement "ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);" (call_expression "ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(param_1 + 0x18)" * (cast_expression "(undefined8 *)(param_1 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);" (call_expression "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" identifier (argument_list "("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" ( (string_literal ""key != NULL"" " string_content ") , (string_literal ""src/pk/ecc/ecc_free.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (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) )))) , (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) )))) , LIT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "void ecc_free(long param_1)\n\n{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" (primitive_type "void") (function_declarator "ecc_free(long param_1)" (identifier "ecc_free") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }\n                    \n  crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);\n    return;\n  }" ({ "{") (expression_statement "ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);" (call_expression "ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0)" (identifier "ltc_deinit_multi") (argument_list "(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),\n                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0)" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e);" (call_expression "crypt_argchk("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" (identifier "crypt_argchk") (argument_list "("key != NULL","src/pk/ecc/ecc_free.c",0x1e)" (( "(") (string_literal ""key != NULL"" (" """) (string_content "key != NULL") (" """)) (, ",") (string_literal ""src/pk/ecc/ecc_free.c"" (" """) (string_content "src/pk/ecc/ecc_free.c") (" """)) (, ",") (number_literal "0x1e") () ")"))) (; ";")) (} "}")))

void function_1(type_1 *var_1)

{
  if (var_1 != (type_1 *)0x0) {
    var_2((var_1->pubkey).x,(var_1->pubkey).y,(var_1->pubkey).z,var_1->k,0);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("key != NULL","src/pk/ecc/ecc_free.c",0x1e);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (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))))) (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))))) (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))))) (number_literal)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal)))))))

void MASKED(long param_1)

{
  if (param_1 != 0) {
    ltc_deinit_multi(*(undefined8 *)(param_1 + 0x10),*(undefined8 *)(param_1 + 0x18),
                     *(undefined8 *)(param_1 + 0x20),*(undefined8 *)(param_1 + 0x28),0);
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("key != NULL","src/pk/ecc/MASKED.c",0x1e);
}

