
void des_3cbc_decrypt(uchar *blk,uint len,DESContext *scheds)

{
  des_cbc_decrypt(blk,len,scheds + 2);
  des_cbc_encrypt(blk,len,scheds + 1);
  des_cbc_decrypt(blk,len,scheds);
  return;
}



void FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)

{
  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);
  FUN_0006ef48(param_1,param_2,param_3 + 0x88);
  FUN_0006f0c4(param_1,param_2,param_3);
  return;
}


lui gp,0xb
addiu gp,gp,-0x5fa0
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x1c(sp)
sw s1,0x20(sp)
or s1,a2,zero
lw s0,-0x7910(gp)
addiu a2,a2,0x110
sw ra,0x2c(sp)
sw s3,0x28(sp)
or s3,a1,zero
addiu s0,s0,-0xf3c
sw s2,0x24(sp)
sw gp,0x10(sp)
or t9,s0,zero
bal 0x0006f0c4
_or s2,a0,zero
addiu a2,s1,0x88
lw gp,0x10(sp)
or a1,s3,zero
lw t9,-0x7910(gp)
addiu t9,t9,-0x10b8
bal 0x0006ef48
_or a0,s2,zero
or a2,s1,zero
lw gp,0x10(sp)
or a1,s3,zero
lw ra,0x2c(sp)
or a0,s2,zero
lw s3,0x28(sp)
or t9,s0,zero
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
b 0x0006f0c4
_addiu sp,sp,0x30
(translation_unit "void FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}" { (expression_statement "FUN_0006f0c4(param_1,param_2,param_3 + 0x110);" (call_expression "FUN_0006f0c4(param_1,param_2,param_3 + 0x110)" identifier (argument_list "(param_1,param_2,param_3 + 0x110)" ( identifier , identifier , (binary_expression "param_3 + 0x110" identifier + number_literal) ))) ;) (expression_statement "FUN_0006ef48(param_1,param_2,param_3 + 0x88);" (call_expression "FUN_0006ef48(param_1,param_2,param_3 + 0x88)" identifier (argument_list "(param_1,param_2,param_3 + 0x88)" ( identifier , identifier , (binary_expression "param_3 + 0x88" identifier + number_literal) ))) ;) (expression_statement "FUN_0006f0c4(param_1,param_2,param_3);" (call_expression "FUN_0006f0c4(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void des_3cbc_decrypt(uchar *blk,uint len,DESContext *scheds)\n\n{\n  des_cbc_decrypt(blk,len,scheds + 2);\n  des_cbc_encrypt(blk,len,scheds + 1);\n  des_cbc_decrypt(blk,len,scheds);\n  return;\n}\n\n" (function_definition "void des_3cbc_decrypt(uchar *blk,uint len,DESContext *scheds)\n\n{\n  des_cbc_decrypt(blk,len,scheds + 2);\n  des_cbc_encrypt(blk,len,scheds + 1);\n  des_cbc_decrypt(blk,len,scheds);\n  return;\n}" primitive_type (function_declarator "des_3cbc_decrypt(uchar *blk,uint len,DESContext *scheds)" identifier (parameter_list "(uchar *blk,uint len,DESContext *scheds)" ( (parameter_declaration "uchar *blk" type_identifier (pointer_declarator "*blk" * identifier)) , (parameter_declaration "uint len" type_identifier identifier) , (parameter_declaration "DESContext *scheds" type_identifier (pointer_declarator "*scheds" * identifier)) ))) (compound_statement "{\n  des_cbc_decrypt(blk,len,scheds + 2);\n  des_cbc_encrypt(blk,len,scheds + 1);\n  des_cbc_decrypt(blk,len,scheds);\n  return;\n}" { (expression_statement "des_cbc_decrypt(blk,len,scheds + 2);" (call_expression "des_cbc_decrypt(blk,len,scheds + 2)" identifier (argument_list "(blk,len,scheds + 2)" ( identifier , identifier , (binary_expression "scheds + 2" identifier + number_literal) ))) ;) (expression_statement "des_cbc_encrypt(blk,len,scheds + 1);" (call_expression "des_cbc_encrypt(blk,len,scheds + 1)" identifier (argument_list "(blk,len,scheds + 1)" ( identifier , identifier , (binary_expression "scheds + 1" identifier + number_literal) ))) ;) (expression_statement "des_cbc_decrypt(blk,len,scheds);" (call_expression "des_cbc_decrypt(blk,len,scheds)" identifier (argument_list "(blk,len,scheds)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}" { (expression_statement "FUN_0006f0c4(param_1,param_2,param_3 + 0x110);" (call_expression "FUN_0006f0c4(param_1,param_2,param_3 + 0x110)" identifier (argument_list "(param_1,param_2,param_3 + 0x110)" ( identifier , identifier , (binary_expression "param_3 + 0x110" identifier + number_literal) ))) ;) (expression_statement "FUN_0006ef48(param_1,param_2,param_3 + 0x88);" (call_expression "FUN_0006ef48(param_1,param_2,param_3 + 0x88)" identifier (argument_list "(param_1,param_2,param_3 + 0x88)" ( identifier , identifier , (binary_expression "param_3 + 0x88" identifier + number_literal) ))) ;) (expression_statement "FUN_0006f0c4(param_1,param_2,param_3);" (call_expression "FUN_0006f0c4(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , 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) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006f250(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_0006f250") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);\n  FUN_0006ef48(param_1,param_2,param_3 + 0x88);\n  FUN_0006f0c4(param_1,param_2,param_3);\n  return;\n}" ({ "{") (expression_statement "FUN_0006f0c4(param_1,param_2,param_3 + 0x110);" (call_expression "FUN_0006f0c4(param_1,param_2,param_3 + 0x110)" (identifier "FUN_0006f0c4") (argument_list "(param_1,param_2,param_3 + 0x110)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + 0x110" (identifier "param_3") (+ "+") (number_literal "0x110")) () ")"))) (; ";")) (expression_statement "FUN_0006ef48(param_1,param_2,param_3 + 0x88);" (call_expression "FUN_0006ef48(param_1,param_2,param_3 + 0x88)" (identifier "FUN_0006ef48") (argument_list "(param_1,param_2,param_3 + 0x88)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + 0x88" (identifier "param_3") (+ "+") (number_literal "0x88")) () ")"))) (; ";")) (expression_statement "FUN_0006f0c4(param_1,param_2,param_3);" (call_expression "FUN_0006f0c4(param_1,param_2,param_3)" (identifier "FUN_0006f0c4") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *blk,type_2 len,type_3 *var_2)

{
  var_1(blk,len,var_2 + 2);
  var_3(blk,len,var_2 + 1);
  var_1(blk,len,var_2);
  return;
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  FUN_0006f0c4(param_1,param_2,param_3 + 0x110);
  FUN_0006ef48(param_1,param_2,param_3 + 0x88);
  FUN_0006f0c4(param_1,param_2,param_3);
  return;
}

