
int EncryptVerbose(int on)

{
  char *pcVar1;
  
  if (on < 0) {
    on = encrypt_verbose ^ 1;
  }
  pcVar1 = "is";
  if (on == 0) {
    pcVar1 = "is not";
  }
  encrypt_verbose = on;
  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);
  return 1;
}



undefined8 FUN_001144e5(uint param_1)

{
  char *pcVar1;
  
  if ((int)param_1 < 0) {
    param_1 = DAT_0012d4a8 ^ 1;
  }
  pcVar1 = "is";
  if (param_1 == 0) {
    pcVar1 = "is not";
  }
  DAT_0012d4a8 = param_1;
  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);
  return 1;
}


SUB RSP,0x8
TEST EDI,EDI
JS 0x00114527
MOV dword ptr [0x0012d4a8],EDI
TEST EDI,EDI
LEA RDX,[0x1218f6]
LEA RAX,[0x1218f9]
CMOVZ RDX,RAX
LEA RSI,[0x121900]
MOV EDI,0x1
MOV EAX,0x0
CALL 0x001076a0
MOV EAX,0x1
ADD RSP,0x8
RET
MOV EDI,dword ptr [0x0012d4a8]
XOR EDI,0x1
JMP 0x001144ed
(translation_unit "undefined8 FUN_001144e5(uint param_1)\n\n{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_001144e5(uint param_1)\n\n{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" type_identifier (function_declarator "FUN_001144e5(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }" if (parenthesized_expression "((int)param_1 < 0)" ( (binary_expression "(int)param_1 < 0" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_1 = DAT_0012d4a8 ^ 1;\n  }" { (expression_statement "param_1 = DAT_0012d4a8 ^ 1;" (assignment_expression "param_1 = DAT_0012d4a8 ^ 1" identifier = (binary_expression "DAT_0012d4a8 ^ 1" identifier ^ number_literal)) ;) })) (expression_statement "pcVar1 = "is";" (assignment_expression "pcVar1 = "is"" identifier = (string_literal ""is"" " string_content ")) ;) (if_statement "if (param_1 == 0) {\n    pcVar1 = "is not";\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = "is not";\n  }" { (expression_statement "pcVar1 = "is not";" (assignment_expression "pcVar1 = "is not"" identifier = (string_literal ""is not"" " string_content ")) ;) })) (expression_statement "DAT_0012d4a8 = param_1;" (assignment_expression "DAT_0012d4a8 = param_1" identifier = identifier) ;) (expression_statement "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1);" (call_expression "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1)" identifier (argument_list "(1,"Encryption %s verbose\r\n",pcVar1)" ( number_literal , (string_literal ""Encryption %s verbose\r\n"" " string_content escape_sequence escape_sequence ") , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int EncryptVerbose(int on)\n\n{\n  char *pcVar1;\n  \n  if (on < 0) {\n    on = encrypt_verbose ^ 1;\n  }\n  pcVar1 = "is";\n  if (on == 0) {\n    pcVar1 = "is not";\n  }\n  encrypt_verbose = on;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}\n\n" (function_definition "int EncryptVerbose(int on)\n\n{\n  char *pcVar1;\n  \n  if (on < 0) {\n    on = encrypt_verbose ^ 1;\n  }\n  pcVar1 = "is";\n  if (on == 0) {\n    pcVar1 = "is not";\n  }\n  encrypt_verbose = on;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" primitive_type (function_declarator "EncryptVerbose(int on)" identifier (parameter_list "(int on)" ( (parameter_declaration "int on" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if (on < 0) {\n    on = encrypt_verbose ^ 1;\n  }\n  pcVar1 = "is";\n  if (on == 0) {\n    pcVar1 = "is not";\n  }\n  encrypt_verbose = on;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (on < 0) {\n    on = encrypt_verbose ^ 1;\n  }" if (parenthesized_expression "(on < 0)" ( (binary_expression "on < 0" identifier < number_literal) )) (compound_statement "{\n    on = encrypt_verbose ^ 1;\n  }" { (expression_statement "on = encrypt_verbose ^ 1;" (assignment_expression "on = encrypt_verbose ^ 1" identifier = (binary_expression "encrypt_verbose ^ 1" identifier ^ number_literal)) ;) })) (expression_statement "pcVar1 = "is";" (assignment_expression "pcVar1 = "is"" identifier = (string_literal ""is"" " string_content ")) ;) (if_statement "if (on == 0) {\n    pcVar1 = "is not";\n  }" if (parenthesized_expression "(on == 0)" ( (binary_expression "on == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = "is not";\n  }" { (expression_statement "pcVar1 = "is not";" (assignment_expression "pcVar1 = "is not"" identifier = (string_literal ""is not"" " string_content ")) ;) })) (expression_statement "encrypt_verbose = on;" (assignment_expression "encrypt_verbose = on" identifier = identifier) ;) (expression_statement "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1);" (call_expression "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1)" identifier (argument_list "(1,"Encryption %s verbose\r\n",pcVar1)" ( number_literal , (string_literal ""Encryption %s verbose\r\n"" " string_content escape_sequence escape_sequence ") , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined8 FUN_001144e5(uint param_1)\n\n{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_001144e5(uint param_1)\n\n{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" type_identifier (function_declarator "FUN_001144e5(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }" if (parenthesized_expression "((int)param_1 < 0)" ( (binary_expression "(int)param_1 < 0" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_1 = DAT_0012d4a8 ^ 1;\n  }" { (expression_statement "param_1 = DAT_0012d4a8 ^ 1;" (assignment_expression "param_1 = DAT_0012d4a8 ^ 1" identifier = (binary_expression "DAT_0012d4a8 ^ 1" identifier ^ number_literal)) ;) })) (expression_statement "pcVar1 = "is";" (assignment_expression "pcVar1 = "is"" identifier = (string_literal ""is"" " string_content ")) ;) (if_statement "if (param_1 == 0) {\n    pcVar1 = "is not";\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = "is not";\n  }" { (expression_statement "pcVar1 = "is not";" (assignment_expression "pcVar1 = "is not"" identifier = (string_literal ""is not"" " string_content ")) ;) })) (expression_statement "DAT_0012d4a8 = param_1;" (assignment_expression "DAT_0012d4a8 = param_1" identifier = identifier) ;) (expression_statement "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1);" (call_expression "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1)" identifier (argument_list "(1,"Encryption %s verbose\r\n",pcVar1)" ( number_literal , (string_literal ""Encryption %s verbose\r\n"" " string_content escape_sequence escape_sequence ") , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence escape_sequence ") , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_001144e5(uint param_1)\n\n{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" (type_identifier "undefined8") (function_declarator "FUN_001144e5(uint param_1)" (identifier "FUN_001144e5") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  \n  if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }\n  pcVar1 = "is";\n  if (param_1 == 0) {\n    pcVar1 = "is not";\n  }\n  DAT_0012d4a8 = param_1;\n  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);\n  return 1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (if_statement "if ((int)param_1 < 0) {\n    param_1 = DAT_0012d4a8 ^ 1;\n  }" (if "if") (parenthesized_expression "((int)param_1 < 0)" (( "(") (binary_expression "(int)param_1 < 0" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = DAT_0012d4a8 ^ 1;\n  }" ({ "{") (expression_statement "param_1 = DAT_0012d4a8 ^ 1;" (assignment_expression "param_1 = DAT_0012d4a8 ^ 1" (identifier "param_1") (= "=") (binary_expression "DAT_0012d4a8 ^ 1" (identifier "DAT_0012d4a8") (^ "^") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pcVar1 = "is";" (assignment_expression "pcVar1 = "is"" (identifier "pcVar1") (= "=") (string_literal ""is"" (" """) (string_content "is") (" """))) (; ";")) (if_statement "if (param_1 == 0) {\n    pcVar1 = "is not";\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar1 = "is not";\n  }" ({ "{") (expression_statement "pcVar1 = "is not";" (assignment_expression "pcVar1 = "is not"" (identifier "pcVar1") (= "=") (string_literal ""is not"" (" """) (string_content "is not") (" """))) (; ";")) (} "}"))) (expression_statement "DAT_0012d4a8 = param_1;" (assignment_expression "DAT_0012d4a8 = param_1" (identifier "DAT_0012d4a8") (= "=") (identifier "param_1")) (; ";")) (expression_statement "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1);" (call_expression "__printf_chk(1,"Encryption %s verbose\r\n",pcVar1)" (identifier "__printf_chk") (argument_list "(1,"Encryption %s verbose\r\n",pcVar1)" (( "(") (number_literal "1") (, ",") (string_literal ""Encryption %s verbose\r\n"" (" """) (string_content "Encryption %s verbose") (escape_sequence "\r") (escape_sequence "\n") (" """)) (, ",") (identifier "pcVar1") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(int var_1)

{
  char *pcVar1;
  
  if (var_1 < 0) {
    var_1 = var_2 ^ 1;
  }
  pcVar1 = "is";
  if (var_1 == 0) {
    pcVar1 = "is not";
  }
  var_2 = var_1;
  var_3(1,"Encryption %s verbose\r\n",pcVar1);
  return 1;
}


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

undefined8 MASKED(uint param_1)

{
  char *pcVar1;
  
  if ((int)param_1 < 0) {
    param_1 = DAT_0012d4a8 ^ 1;
  }
  pcVar1 = "is";
  if (param_1 == 0) {
    pcVar1 = "is not";
  }
  DAT_0012d4a8 = param_1;
  __printf_chk(1,"Encryption %s verbose\r\n",pcVar1);
  return 1;
}

