
int rc2_setup(uchar *key,int keylen,int num_rounds,symmetric_key *skey)

{
  int iVar1;
  
  iVar1 = rc2_setup_ex(key,keylen,keylen * 8,num_rounds,skey);
  return iVar1;
}



void rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)

{
  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);
  return;
}


LEA EAX,[RSI*0x8]
MOV R8,RCX
MOV ECX,EDX
MOV EDX,EAX
JMP 0x001145f0
(translation_unit "void rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}\n\n" (function_definition "void rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}" primitive_type (function_declarator "rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}" { (expression_statement "rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);" (call_expression "rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4)" identifier (argument_list "(param_1,param_2,(int)param_2 * 8,param_3,param_4)" ( identifier , identifier , (binary_expression "(int)param_2 * 8" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int rc2_setup(uchar *key,int keylen,int num_rounds,symmetric_key *skey)\n\n{\n  int iVar1;\n  \n  iVar1 = rc2_setup_ex(key,keylen,keylen * 8,num_rounds,skey);\n  return iVar1;\n}\n\n" (function_definition "int rc2_setup(uchar *key,int keylen,int num_rounds,symmetric_key *skey)\n\n{\n  int iVar1;\n  \n  iVar1 = rc2_setup_ex(key,keylen,keylen * 8,num_rounds,skey);\n  return iVar1;\n}" primitive_type (function_declarator "rc2_setup(uchar *key,int keylen,int num_rounds,symmetric_key *skey)" identifier (parameter_list "(uchar *key,int keylen,int num_rounds,symmetric_key *skey)" ( (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "int keylen" primitive_type identifier) , (parameter_declaration "int num_rounds" primitive_type identifier) , (parameter_declaration "symmetric_key *skey" type_identifier (pointer_declarator "*skey" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = rc2_setup_ex(key,keylen,keylen * 8,num_rounds,skey);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = rc2_setup_ex(key,keylen,keylen * 8,num_rounds,skey);" (assignment_expression "iVar1 = rc2_setup_ex(key,keylen,keylen * 8,num_rounds,skey)" identifier = (call_expression "rc2_setup_ex(key,keylen,keylen * 8,num_rounds,skey)" identifier (argument_list "(key,keylen,keylen * 8,num_rounds,skey)" ( identifier , identifier , (binary_expression "keylen * 8" identifier * number_literal) , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}\n\n" (function_definition "void rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}" primitive_type (function_declarator "rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}" { (expression_statement "rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);" (call_expression "rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4)" identifier (argument_list "(param_1,param_2,(int)param_2 * 8,param_3,param_4)" ( identifier , identifier , (binary_expression "(int)param_2 * 8" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}" (primitive_type "void") (function_declarator "rc2_setup(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)" (identifier "rc2_setup") (parameter_list "(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);\n  return;\n}" ({ "{") (expression_statement "rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);" (call_expression "rc2_setup_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4)" (identifier "rc2_setup_ex") (argument_list "(param_1,param_2,(int)param_2 * 8,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "(int)param_2 * 8" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (* "*") (number_literal "8")) (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(type_1 *key,int var_2,int num_rounds,type_2 *skey)

{
  int iVar1;
  
  iVar1 = var_1(key,var_2,var_2 * 8,num_rounds,skey);
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)

{
  MASKED_ex(param_1,param_2,(int)param_2 * 8,param_3,param_4);
  return;
}

