
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void Curl_ossl_cleanup(void)

{
  if (keylog_file_fp != (FILE *)0x0) {
    fclose((FILE *)keylog_file_fp);
    keylog_file_fp = (FILE *)0x0;
    return;
  }
  return;
}



void FUN_00165d9b(void)

{
  if (DAT_0018c410 != (FILE *)0x0) {
    fclose(DAT_0018c410);
    DAT_0018c410 = (FILE *)0x0;
    return;
  }
  return;
}


MOV RDI,qword ptr [0x0018c410]
TEST RDI,RDI
JZ 0x00165dc0
SUB RSP,0x8
CALL 0x0010dfa0
MOV qword ptr [0x0018c410],0x0
ADD RSP,0x8
RET
RET
(translation_unit "void FUN_00165d9b(void)\n\n{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00165d9b(void)\n\n{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00165d9b(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }" if (parenthesized_expression "(DAT_0018c410 != (FILE *)0x0)" ( (binary_expression "DAT_0018c410 != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }" { (expression_statement "fclose(DAT_0018c410);" (call_expression "fclose(DAT_0018c410)" identifier (argument_list "(DAT_0018c410)" ( identifier ))) ;) (expression_statement "DAT_0018c410 = (FILE *)0x0;" (assignment_expression "DAT_0018c410 = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid Curl_ossl_cleanup(void)\n\n{\n  if (keylog_file_fp != (FILE *)0x0) {\n    fclose((FILE *)keylog_file_fp);\n    keylog_file_fp = (FILE *)0x0;\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void Curl_ossl_cleanup(void)\n\n{\n  if (keylog_file_fp != (FILE *)0x0) {\n    fclose((FILE *)keylog_file_fp);\n    keylog_file_fp = (FILE *)0x0;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "Curl_ossl_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (keylog_file_fp != (FILE *)0x0) {\n    fclose((FILE *)keylog_file_fp);\n    keylog_file_fp = (FILE *)0x0;\n    return;\n  }\n  return;\n}" { (if_statement "if (keylog_file_fp != (FILE *)0x0) {\n    fclose((FILE *)keylog_file_fp);\n    keylog_file_fp = (FILE *)0x0;\n    return;\n  }" if (parenthesized_expression "(keylog_file_fp != (FILE *)0x0)" ( (binary_expression "keylog_file_fp != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    fclose((FILE *)keylog_file_fp);\n    keylog_file_fp = (FILE *)0x0;\n    return;\n  }" { (expression_statement "fclose((FILE *)keylog_file_fp);" (call_expression "fclose((FILE *)keylog_file_fp)" identifier (argument_list "((FILE *)keylog_file_fp)" ( (cast_expression "(FILE *)keylog_file_fp" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "keylog_file_fp = (FILE *)0x0;" (assignment_expression "keylog_file_fp = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00165d9b(void)\n\n{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00165d9b(void)\n\n{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00165d9b(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }" if (parenthesized_expression "(DAT_0018c410 != (FILE *)0x0)" ( (binary_expression "DAT_0018c410 != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }" { (expression_statement "fclose(DAT_0018c410);" (call_expression "fclose(DAT_0018c410)" identifier (argument_list "(DAT_0018c410)" ( identifier ))) ;) (expression_statement "DAT_0018c410 = (FILE *)0x0;" (assignment_expression "DAT_0018c410 = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00165d9b(void)\n\n{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00165d9b(void)" (identifier "FUN_00165d9b") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_0018c410 != (FILE *)0x0) {\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_0018c410 != (FILE *)0x0)" (( "(") (binary_expression "DAT_0018c410 != (FILE *)0x0" (identifier "DAT_0018c410") (!= "!=") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    fclose(DAT_0018c410);\n    DAT_0018c410 = (FILE *)0x0;\n    return;\n  }" ({ "{") (expression_statement "fclose(DAT_0018c410);" (call_expression "fclose(DAT_0018c410)" (identifier "fclose") (argument_list "(DAT_0018c410)" (( "(") (identifier "DAT_0018c410") () ")"))) (; ";")) (expression_statement "DAT_0018c410 = (FILE *)0x0;" (assignment_expression "DAT_0018c410 = (FILE *)0x0" (identifier "DAT_0018c410") (= "=") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if (var_1 != (type_1 *)0x0) {
    var_2((type_1 *)var_1);
    var_1 = (type_1 *)0x0;
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (return_statement))) (return_statement))))

void MASKED(void)

{
  if (DAT_0018c410 != (FILE *)0x0) {
    fclose(DAT_0018c410);
    DAT_0018c410 = (FILE *)0x0;
    return;
  }
  return;
}

