
/* WARNING: Unknown calling convention */

void des_key(uchar *key)

{
  uint uVar1;
  uint uVar2;
  DESContext *keys;
  
  uVar1 = *(uint *)(key + 4);
  uVar2 = *(uint *)key;
  des_key_setup(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18,
                uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,keys
               );
  return;
}



void FUN_00046740(void)

{
  FUN_000452f0();
  return;
}


MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX]
BSWAP EDX
BSWAP EAX
JMP 0x000452f0
(translation_unit "void FUN_00046740(void)\n\n{\n  FUN_000452f0();\n  return;\n}\n\n" (function_definition "void FUN_00046740(void)\n\n{\n  FUN_000452f0();\n  return;\n}" primitive_type (function_declarator "FUN_00046740(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  FUN_000452f0();\n  return;\n}" { (expression_statement "FUN_000452f0();" (call_expression "FUN_000452f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid des_key(uchar *key)\n\n{\n  uint uVar1;\n  uint uVar2;\n  DESContext *keys;\n  \n  uVar1 = *(uint *)(key + 4);\n  uVar2 = *(uint *)key;\n  des_key_setup(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18,\n                uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,keys\n               );\n  return;\n}\n\n" comment (function_definition "void des_key(uchar *key)\n\n{\n  uint uVar1;\n  uint uVar2;\n  DESContext *keys;\n  \n  uVar1 = *(uint *)(key + 4);\n  uVar2 = *(uint *)key;\n  des_key_setup(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18,\n                uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,keys\n               );\n  return;\n}" primitive_type (function_declarator "des_key(uchar *key)" identifier (parameter_list "(uchar *key)" ( (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  DESContext *keys;\n  \n  uVar1 = *(uint *)(key + 4);\n  uVar2 = *(uint *)key;\n  des_key_setup(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18,\n                uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,keys\n               );\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "DESContext *keys;" type_identifier (pointer_declarator "*keys" * identifier) ;) (expression_statement "uVar1 = *(uint *)(key + 4);" (assignment_expression "uVar1 = *(uint *)(key + 4)" identifier = (pointer_expression "*(uint *)(key + 4)" * (cast_expression "(uint *)(key + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(key + 4)" ( (binary_expression "key + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)key;" (assignment_expression "uVar2 = *(uint *)key" identifier = (pointer_expression "*(uint *)key" * (cast_expression "(uint *)key" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "des_key_setup(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18,\n                uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,keys\n               );" (call_expression "des_key_setup(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18,\n                uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,keys\n               )" identifier (argument_list "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18,\n                uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,keys\n               )" ( (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal)) , (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00046740(void)\n\n{\n  FUN_000452f0();\n  return;\n}\n\n" (function_definition "void FUN_00046740(void)\n\n{\n  FUN_000452f0();\n  return;\n}" primitive_type (function_declarator "FUN_00046740(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  FUN_000452f0();\n  return;\n}" { (expression_statement "FUN_000452f0();" (call_expression "FUN_000452f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00046740(void)\n\n{\n  FUN_000452f0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00046740(void)" (identifier "FUN_00046740") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  FUN_000452f0();\n  return;\n}" ({ "{") (expression_statement "FUN_000452f0();" (call_expression "FUN_000452f0()" (identifier "FUN_000452f0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *var_1)

{
  type_2 var_4;
  type_2 var_3;
  type_3 *keys;
  
  var_4 = *(type_2 *)(var_1 + 4);
  var_3 = *(type_2 *)var_1;
  var_2(var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18,
                var_4 >> 0x18 | (var_4 & 0xff0000) >> 8 | (var_4 & 0xff00) << 8 | var_4 << 0x18,keys
               );
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(void)

{
  FUN_000452f0();
  return;
}

