
void blowfish_setkey(BlowfishContext *ctx,uchar *key,short keybytes)

{
  word32 *pwVar1;
  BlowfishContext *pBVar2;
  word32 *pwVar3;
  word32 *pwVar4;
  word32 wVar5;
  word32 *pwVar6;
  int iVar7;
  word32 wVar8;
  word32 wVar9;
  word32 wVar10;
  int in_t9;
  
  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);
  pwVar3 = ctx->P;
  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184);
  wVar5 = 0x243f6a88;
  while( true ) {
    *pwVar3 = wVar5;
    pwVar3 = pwVar3 + 1;
    if (pwVar1 == (word32 *)(iVar7 + 0x41c8)) break;
    wVar5 = *pwVar1;
    pwVar1 = pwVar1 + 1;
  }
  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);
  pwVar4 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84);
  pwVar6 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184);
  wVar10 = 0x3a39ce37;
  wVar9 = 0xe93d5a68;
  wVar8 = 0x4b7a70e9;
  wVar5 = 0xd1310ba6;
  pBVar2 = ctx;
  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584);
  pwVar3 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984);
  while( true ) {
    pBVar2->S0[0] = wVar5;
    pBVar2->S1[0] = wVar8;
    pBVar2->S2[0] = wVar9;
    pBVar2->S3[0] = wVar10;
    if (pwVar4 == (word32 *)(iVar7 + 0x4180)) break;
    wVar10 = *pwVar6;
    pwVar6 = pwVar6 + 1;
    wVar8 = *pwVar3;
    wVar5 = *pwVar4;
    wVar9 = *pwVar1;
    pwVar4 = pwVar4 + 1;
    pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1);
    pwVar1 = pwVar1 + 1;
    pwVar3 = pwVar3 + 1;
  }
  blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0);
  return;
}



void FUN_0004e404(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  undefined4 *puVar9;
  
  puVar2 = param_1 + 0x400;
  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);
  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);
  uVar3 = 0x243f6a88;
  while( true ) {
    *puVar2 = uVar3;
    puVar2 = puVar2 + 1;
    if (puVar1 == puVar5) break;
    uVar3 = *puVar1;
    puVar1 = puVar1 + 1;
  }
  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);
  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);
  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);
  uVar8 = 0x3a39ce37;
  uVar7 = 0xe93d5a68;
  uVar6 = 0x4b7a70e9;
  uVar3 = 0xd1310ba6;
  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);
  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);
  while( true ) {
    *param_1 = uVar3;
    param_1[0x100] = uVar6;
    param_1[0x200] = uVar7;
    param_1[0x300] = uVar8;
    if (puVar5 == puVar9) break;
    uVar8 = *puVar4;
    puVar4 = puVar4 + 1;
    uVar6 = *puVar2;
    uVar3 = *puVar5;
    uVar7 = *puVar1;
    puVar5 = puVar5 + 1;
    param_1 = param_1 + 1;
    puVar1 = puVar1 + 1;
    puVar2 = puVar2 + 1;
  }
  blowfish_expandkey();
  return;
}


lui gp,0x6
addiu gp,gp,0x6e8c
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,-0x7fc8(gp)
lw t0,-0x7fc8(gp)
lui a3,0x243f
addiu v1,a0,0x1000
sw gp,0x18(sp)
addiu v0,v0,0x4184
sw ra,0x24(sp)
addiu t0,t0,0x41c8
b 0x0004e444
_addiu a3,a3,0x6a88
lw a3,0x0(v0)
addiu v0,v0,0x4
sw a3,0x0(v1)
bne v0,t0,0x0004e43c
_addiu v1,v1,0x4
lw v1,-0x7fc8(gp)
lui t5,0x3a39
lw t1,-0x7fc8(gp)
lui t4,0xe93d
lw t0,-0x7fc8(gp)
lui t3,0x4b7a
lw a3,-0x7fc8(gp)
lui t2,0xd131
lw t6,-0x7fc8(gp)
or v0,a0,zero
addiu v1,v1,0x3d84
addiu t1,t1,0x3984
addiu t0,t0,0x3584
addiu a3,a3,0x3184
addiu t6,t6,0x4180
ori t5,t5,0xce37
addiu t4,t4,0x5a68
addiu t3,t3,0x70e9
b 0x0004e4c0
_addiu t2,t2,0xba6
addiu t1,t1,0x4
lw t5,0x0(a3)
addiu a3,a3,0x4
lw t3,-0x4(t1)
lw t2,0x0(v1)
addiu t0,t0,0x4
lw t4,-0x4(t0)
addiu v1,v1,0x4
sw t2,0x0(v0)
addiu v0,v0,0x4
sw t3,0x3fc(v0)
sw t4,0x7fc(v0)
bne v1,t6,0x0004e4a0
_sw t5,0xbfc(v0)
lw t9,-0x7a30(gp)
or a3,zero,zero
bal 0x0004df68
_sw zero,0x10(sp)
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_0004e404(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}\n\n" (function_definition "void FUN_0004e404(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" primitive_type (function_declarator "FUN_0004e404(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "puVar2 = param_1 + 0x400;" (assignment_expression "puVar2 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x4184)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x4184)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x4184" identifier + number_literal) )))) ;) (expression_statement "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);" (assignment_expression "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x41c8)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x41c8" identifier + number_literal) )))) ;) (expression_statement "uVar3 = 0x243f6a88;" (assignment_expression "uVar3 = 0x243f6a88" identifier = number_literal) ;) (while_statement "while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }" { (expression_statement "*puVar2 = uVar3;" (assignment_expression "*puVar2 = uVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (if_statement "if (puVar1 == puVar5) break;" if (parenthesized_expression "(puVar1 == puVar5)" ( (binary_expression "puVar1 == puVar5" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);" (assignment_expression "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3d84)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3d84" identifier + number_literal) )))) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3184)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3184)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3184" identifier + number_literal) )))) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);" (assignment_expression "puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x4180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x4180)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x4180" identifier + number_literal) )))) ;) (expression_statement "uVar8 = 0x3a39ce37;" (assignment_expression "uVar8 = 0x3a39ce37" identifier = number_literal) ;) (expression_statement "uVar7 = 0xe93d5a68;" (assignment_expression "uVar7 = 0xe93d5a68" identifier = number_literal) ;) (expression_statement "uVar6 = 0x4b7a70e9;" (assignment_expression "uVar6 = 0x4b7a70e9" identifier = number_literal) ;) (expression_statement "uVar3 = 0xd1310ba6;" (assignment_expression "uVar3 = 0xd1310ba6" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3584)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3584)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3584" identifier + number_literal) )))) ;) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3984)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3984)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3984" identifier + number_literal) )))) ;) (while_statement "while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*param_1 = uVar3;" (assignment_expression "*param_1 = uVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[0x100] = uVar6;" (assignment_expression "param_1[0x100] = uVar6" (subscript_expression "param_1[0x100]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x200] = uVar7;" (assignment_expression "param_1[0x200] = uVar7" (subscript_expression "param_1[0x200]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x300] = uVar8;" (assignment_expression "param_1[0x300] = uVar8" (subscript_expression "param_1[0x300]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar5 == puVar9) break;" if (parenthesized_expression "(puVar5 == puVar9)" ( (binary_expression "puVar5 == puVar9" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar3 = *puVar5;" (assignment_expression "uVar3 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar7 = *puVar1;" (assignment_expression "uVar7 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "blowfish_expandkey();" (call_expression "blowfish_expandkey()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void blowfish_setkey(BlowfishContext *ctx,uchar *key,short keybytes)\n\n{\n  word32 *pwVar1;\n  BlowfishContext *pBVar2;\n  word32 *pwVar3;\n  word32 *pwVar4;\n  word32 wVar5;\n  word32 *pwVar6;\n  int iVar7;\n  word32 wVar8;\n  word32 wVar9;\n  word32 wVar10;\n  int in_t9;\n  \n  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);\n  pwVar3 = ctx->P;\n  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184);\n  wVar5 = 0x243f6a88;\n  while( true ) {\n    *pwVar3 = wVar5;\n    pwVar3 = pwVar3 + 1;\n    if (pwVar1 == (word32 *)(iVar7 + 0x41c8)) break;\n    wVar5 = *pwVar1;\n    pwVar1 = pwVar1 + 1;\n  }\n  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);\n  pwVar4 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84);\n  pwVar6 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184);\n  wVar10 = 0x3a39ce37;\n  wVar9 = 0xe93d5a68;\n  wVar8 = 0x4b7a70e9;\n  wVar5 = 0xd1310ba6;\n  pBVar2 = ctx;\n  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584);\n  pwVar3 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984);\n  while( true ) {\n    pBVar2->S0[0] = wVar5;\n    pBVar2->S1[0] = wVar8;\n    pBVar2->S2[0] = wVar9;\n    pBVar2->S3[0] = wVar10;\n    if (pwVar4 == (word32 *)(iVar7 + 0x4180)) break;\n    wVar10 = *pwVar6;\n    pwVar6 = pwVar6 + 1;\n    wVar8 = *pwVar3;\n    wVar5 = *pwVar4;\n    wVar9 = *pwVar1;\n    pwVar4 = pwVar4 + 1;\n    pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1);\n    pwVar1 = pwVar1 + 1;\n    pwVar3 = pwVar3 + 1;\n  }\n  blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0);\n  return;\n}\n\n" (function_definition "void blowfish_setkey(BlowfishContext *ctx,uchar *key,short keybytes)\n\n{\n  word32 *pwVar1;\n  BlowfishContext *pBVar2;\n  word32 *pwVar3;\n  word32 *pwVar4;\n  word32 wVar5;\n  word32 *pwVar6;\n  int iVar7;\n  word32 wVar8;\n  word32 wVar9;\n  word32 wVar10;\n  int in_t9;\n  \n  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);\n  pwVar3 = ctx->P;\n  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184);\n  wVar5 = 0x243f6a88;\n  while( true ) {\n    *pwVar3 = wVar5;\n    pwVar3 = pwVar3 + 1;\n    if (pwVar1 == (word32 *)(iVar7 + 0x41c8)) break;\n    wVar5 = *pwVar1;\n    pwVar1 = pwVar1 + 1;\n  }\n  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);\n  pwVar4 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84);\n  pwVar6 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184);\n  wVar10 = 0x3a39ce37;\n  wVar9 = 0xe93d5a68;\n  wVar8 = 0x4b7a70e9;\n  wVar5 = 0xd1310ba6;\n  pBVar2 = ctx;\n  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584);\n  pwVar3 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984);\n  while( true ) {\n    pBVar2->S0[0] = wVar5;\n    pBVar2->S1[0] = wVar8;\n    pBVar2->S2[0] = wVar9;\n    pBVar2->S3[0] = wVar10;\n    if (pwVar4 == (word32 *)(iVar7 + 0x4180)) break;\n    wVar10 = *pwVar6;\n    pwVar6 = pwVar6 + 1;\n    wVar8 = *pwVar3;\n    wVar5 = *pwVar4;\n    wVar9 = *pwVar1;\n    pwVar4 = pwVar4 + 1;\n    pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1);\n    pwVar1 = pwVar1 + 1;\n    pwVar3 = pwVar3 + 1;\n  }\n  blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0);\n  return;\n}" primitive_type (function_declarator "blowfish_setkey(BlowfishContext *ctx,uchar *key,short keybytes)" identifier (parameter_list "(BlowfishContext *ctx,uchar *key,short keybytes)" ( (parameter_declaration "BlowfishContext *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "short keybytes" (sized_type_specifier "short" short) identifier) ))) (compound_statement "{\n  word32 *pwVar1;\n  BlowfishContext *pBVar2;\n  word32 *pwVar3;\n  word32 *pwVar4;\n  word32 wVar5;\n  word32 *pwVar6;\n  int iVar7;\n  word32 wVar8;\n  word32 wVar9;\n  word32 wVar10;\n  int in_t9;\n  \n  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);\n  pwVar3 = ctx->P;\n  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184);\n  wVar5 = 0x243f6a88;\n  while( true ) {\n    *pwVar3 = wVar5;\n    pwVar3 = pwVar3 + 1;\n    if (pwVar1 == (word32 *)(iVar7 + 0x41c8)) break;\n    wVar5 = *pwVar1;\n    pwVar1 = pwVar1 + 1;\n  }\n  iVar7 = *(int *)(&DAT_0005eec4 + in_t9);\n  pwVar4 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84);\n  pwVar6 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184);\n  wVar10 = 0x3a39ce37;\n  wVar9 = 0xe93d5a68;\n  wVar8 = 0x4b7a70e9;\n  wVar5 = 0xd1310ba6;\n  pBVar2 = ctx;\n  pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584);\n  pwVar3 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984);\n  while( true ) {\n    pBVar2->S0[0] = wVar5;\n    pBVar2->S1[0] = wVar8;\n    pBVar2->S2[0] = wVar9;\n    pBVar2->S3[0] = wVar10;\n    if (pwVar4 == (word32 *)(iVar7 + 0x4180)) break;\n    wVar10 = *pwVar6;\n    pwVar6 = pwVar6 + 1;\n    wVar8 = *pwVar3;\n    wVar5 = *pwVar4;\n    wVar9 = *pwVar1;\n    pwVar4 = pwVar4 + 1;\n    pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1);\n    pwVar1 = pwVar1 + 1;\n    pwVar3 = pwVar3 + 1;\n  }\n  blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0);\n  return;\n}" { (declaration "word32 *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "BlowfishContext *pBVar2;" type_identifier (pointer_declarator "*pBVar2" * identifier) ;) (declaration "word32 *pwVar3;" type_identifier (pointer_declarator "*pwVar3" * identifier) ;) (declaration "word32 *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "word32 wVar5;" type_identifier identifier ;) (declaration "word32 *pwVar6;" type_identifier (pointer_declarator "*pwVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "word32 wVar8;" type_identifier identifier ;) (declaration "word32 wVar9;" type_identifier identifier ;) (declaration "word32 wVar10;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "iVar7 = *(int *)(&DAT_0005eec4 + in_t9);" (assignment_expression "iVar7 = *(int *)(&DAT_0005eec4 + in_t9)" identifier = (pointer_expression "*(int *)(&DAT_0005eec4 + in_t9)" * (cast_expression "(int *)(&DAT_0005eec4 + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005eec4 + in_t9)" ( (binary_expression "&DAT_0005eec4 + in_t9" (pointer_expression "&DAT_0005eec4" & identifier) + identifier) ))))) ;) (expression_statement "pwVar3 = ctx->P;" (assignment_expression "pwVar3 = ctx->P" identifier = (field_expression "ctx->P" identifier -> field_identifier)) ;) (expression_statement "pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184);" (assignment_expression "pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184)" identifier = (cast_expression "(word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_0005eec4 + in_t9) + 0x4184)" ( (binary_expression "*(int *)(&DAT_0005eec4 + in_t9) + 0x4184" (pointer_expression "*(int *)(&DAT_0005eec4 + in_t9)" * (cast_expression "(int *)(&DAT_0005eec4 + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005eec4 + in_t9)" ( (binary_expression "&DAT_0005eec4 + in_t9" (pointer_expression "&DAT_0005eec4" & identifier) + identifier) )))) + number_literal) )))) ;) (expression_statement "wVar5 = 0x243f6a88;" (assignment_expression "wVar5 = 0x243f6a88" identifier = number_literal) ;) (while_statement "while( true ) {\n    *pwVar3 = wVar5;\n    pwVar3 = pwVar3 + 1;\n    if (pwVar1 == (word32 *)(iVar7 + 0x41c8)) break;\n    wVar5 = *pwVar1;\n    pwVar1 = pwVar1 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *pwVar3 = wVar5;\n    pwVar3 = pwVar3 + 1;\n    if (pwVar1 == (word32 *)(iVar7 + 0x41c8)) break;\n    wVar5 = *pwVar1;\n    pwVar1 = pwVar1 + 1;\n  }" { (expression_statement "*pwVar3 = wVar5;" (assignment_expression "*pwVar3 = wVar5" (pointer_expression "*pwVar3" * identifier) = identifier) ;) (expression_statement "pwVar3 = pwVar3 + 1;" (assignment_expression "pwVar3 = pwVar3 + 1" identifier = (binary_expression "pwVar3 + 1" identifier + number_literal)) ;) (if_statement "if (pwVar1 == (word32 *)(iVar7 + 0x41c8)) break;" if (parenthesized_expression "(pwVar1 == (word32 *)(iVar7 + 0x41c8))" ( (binary_expression "pwVar1 == (word32 *)(iVar7 + 0x41c8)" identifier == (cast_expression "(word32 *)(iVar7 + 0x41c8)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x41c8)" ( (binary_expression "iVar7 + 0x41c8" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "wVar5 = *pwVar1;" (assignment_expression "wVar5 = *pwVar1" identifier = (pointer_expression "*pwVar1" * identifier)) ;) (expression_statement "pwVar1 = pwVar1 + 1;" (assignment_expression "pwVar1 = pwVar1 + 1" identifier = (binary_expression "pwVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar7 = *(int *)(&DAT_0005eec4 + in_t9);" (assignment_expression "iVar7 = *(int *)(&DAT_0005eec4 + in_t9)" identifier = (pointer_expression "*(int *)(&DAT_0005eec4 + in_t9)" * (cast_expression "(int *)(&DAT_0005eec4 + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005eec4 + in_t9)" ( (binary_expression "&DAT_0005eec4 + in_t9" (pointer_expression "&DAT_0005eec4" & identifier) + identifier) ))))) ;) (expression_statement "pwVar4 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84);" (assignment_expression "pwVar4 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84)" identifier = (cast_expression "(word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84)" ( (binary_expression "*(int *)(&DAT_0005eec4 + in_t9) + 0x3d84" (pointer_expression "*(int *)(&DAT_0005eec4 + in_t9)" * (cast_expression "(int *)(&DAT_0005eec4 + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005eec4 + in_t9)" ( (binary_expression "&DAT_0005eec4 + in_t9" (pointer_expression "&DAT_0005eec4" & identifier) + identifier) )))) + number_literal) )))) ;) (expression_statement "pwVar6 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184);" (assignment_expression "pwVar6 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184)" identifier = (cast_expression "(word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_0005eec4 + in_t9) + 0x3184)" ( (binary_expression "*(int *)(&DAT_0005eec4 + in_t9) + 0x3184" (pointer_expression "*(int *)(&DAT_0005eec4 + in_t9)" * (cast_expression "(int *)(&DAT_0005eec4 + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005eec4 + in_t9)" ( (binary_expression "&DAT_0005eec4 + in_t9" (pointer_expression "&DAT_0005eec4" & identifier) + identifier) )))) + number_literal) )))) ;) (expression_statement "wVar10 = 0x3a39ce37;" (assignment_expression "wVar10 = 0x3a39ce37" identifier = number_literal) ;) (expression_statement "wVar9 = 0xe93d5a68;" (assignment_expression "wVar9 = 0xe93d5a68" identifier = number_literal) ;) (expression_statement "wVar8 = 0x4b7a70e9;" (assignment_expression "wVar8 = 0x4b7a70e9" identifier = number_literal) ;) (expression_statement "wVar5 = 0xd1310ba6;" (assignment_expression "wVar5 = 0xd1310ba6" identifier = number_literal) ;) (expression_statement "pBVar2 = ctx;" (assignment_expression "pBVar2 = ctx" identifier = identifier) ;) (expression_statement "pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584);" (assignment_expression "pwVar1 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584)" identifier = (cast_expression "(word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_0005eec4 + in_t9) + 0x3584)" ( (binary_expression "*(int *)(&DAT_0005eec4 + in_t9) + 0x3584" (pointer_expression "*(int *)(&DAT_0005eec4 + in_t9)" * (cast_expression "(int *)(&DAT_0005eec4 + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005eec4 + in_t9)" ( (binary_expression "&DAT_0005eec4 + in_t9" (pointer_expression "&DAT_0005eec4" & identifier) + identifier) )))) + number_literal) )))) ;) (expression_statement "pwVar3 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984);" (assignment_expression "pwVar3 = (word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984)" identifier = (cast_expression "(word32 *)(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_0005eec4 + in_t9) + 0x3984)" ( (binary_expression "*(int *)(&DAT_0005eec4 + in_t9) + 0x3984" (pointer_expression "*(int *)(&DAT_0005eec4 + in_t9)" * (cast_expression "(int *)(&DAT_0005eec4 + in_t9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005eec4 + in_t9)" ( (binary_expression "&DAT_0005eec4 + in_t9" (pointer_expression "&DAT_0005eec4" & identifier) + identifier) )))) + number_literal) )))) ;) (while_statement "while( true ) {\n    pBVar2->S0[0] = wVar5;\n    pBVar2->S1[0] = wVar8;\n    pBVar2->S2[0] = wVar9;\n    pBVar2->S3[0] = wVar10;\n    if (pwVar4 == (word32 *)(iVar7 + 0x4180)) break;\n    wVar10 = *pwVar6;\n    pwVar6 = pwVar6 + 1;\n    wVar8 = *pwVar3;\n    wVar5 = *pwVar4;\n    wVar9 = *pwVar1;\n    pwVar4 = pwVar4 + 1;\n    pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1);\n    pwVar1 = pwVar1 + 1;\n    pwVar3 = pwVar3 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pBVar2->S0[0] = wVar5;\n    pBVar2->S1[0] = wVar8;\n    pBVar2->S2[0] = wVar9;\n    pBVar2->S3[0] = wVar10;\n    if (pwVar4 == (word32 *)(iVar7 + 0x4180)) break;\n    wVar10 = *pwVar6;\n    pwVar6 = pwVar6 + 1;\n    wVar8 = *pwVar3;\n    wVar5 = *pwVar4;\n    wVar9 = *pwVar1;\n    pwVar4 = pwVar4 + 1;\n    pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1);\n    pwVar1 = pwVar1 + 1;\n    pwVar3 = pwVar3 + 1;\n  }" { (expression_statement "pBVar2->S0[0] = wVar5;" (assignment_expression "pBVar2->S0[0] = wVar5" (subscript_expression "pBVar2->S0[0]" (field_expression "pBVar2->S0" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pBVar2->S1[0] = wVar8;" (assignment_expression "pBVar2->S1[0] = wVar8" (subscript_expression "pBVar2->S1[0]" (field_expression "pBVar2->S1" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pBVar2->S2[0] = wVar9;" (assignment_expression "pBVar2->S2[0] = wVar9" (subscript_expression "pBVar2->S2[0]" (field_expression "pBVar2->S2" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pBVar2->S3[0] = wVar10;" (assignment_expression "pBVar2->S3[0] = wVar10" (subscript_expression "pBVar2->S3[0]" (field_expression "pBVar2->S3" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (if_statement "if (pwVar4 == (word32 *)(iVar7 + 0x4180)) break;" if (parenthesized_expression "(pwVar4 == (word32 *)(iVar7 + 0x4180))" ( (binary_expression "pwVar4 == (word32 *)(iVar7 + 0x4180)" identifier == (cast_expression "(word32 *)(iVar7 + 0x4180)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x4180)" ( (binary_expression "iVar7 + 0x4180" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "wVar10 = *pwVar6;" (assignment_expression "wVar10 = *pwVar6" identifier = (pointer_expression "*pwVar6" * identifier)) ;) (expression_statement "pwVar6 = pwVar6 + 1;" (assignment_expression "pwVar6 = pwVar6 + 1" identifier = (binary_expression "pwVar6 + 1" identifier + number_literal)) ;) (expression_statement "wVar8 = *pwVar3;" (assignment_expression "wVar8 = *pwVar3" identifier = (pointer_expression "*pwVar3" * identifier)) ;) (expression_statement "wVar5 = *pwVar4;" (assignment_expression "wVar5 = *pwVar4" identifier = (pointer_expression "*pwVar4" * identifier)) ;) (expression_statement "wVar9 = *pwVar1;" (assignment_expression "wVar9 = *pwVar1" identifier = (pointer_expression "*pwVar1" * identifier)) ;) (expression_statement "pwVar4 = pwVar4 + 1;" (assignment_expression "pwVar4 = pwVar4 + 1" identifier = (binary_expression "pwVar4 + 1" identifier + number_literal)) ;) (expression_statement "pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1);" (assignment_expression "pBVar2 = (BlowfishContext *)(pBVar2->S0 + 1)" identifier = (cast_expression "(BlowfishContext *)(pBVar2->S0 + 1)" ( (type_descriptor "BlowfishContext *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pBVar2->S0 + 1)" ( (binary_expression "pBVar2->S0 + 1" (field_expression "pBVar2->S0" identifier -> field_identifier) + number_literal) )))) ;) (expression_statement "pwVar1 = pwVar1 + 1;" (assignment_expression "pwVar1 = pwVar1 + 1" identifier = (binary_expression "pwVar1 + 1" identifier + number_literal)) ;) (expression_statement "pwVar3 = pwVar3 + 1;" (assignment_expression "pwVar3 = pwVar3 + 1" identifier = (binary_expression "pwVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0);" (call_expression "blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0)" identifier (argument_list "(ctx,key,keybytes,(uchar *)0x0,0)" ( identifier , identifier , identifier , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004e404(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}\n\n" (function_definition "void FUN_0004e404(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" primitive_type (function_declarator "FUN_0004e404(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "puVar2 = param_1 + 0x400;" (assignment_expression "puVar2 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x4184)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x4184)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x4184" identifier + number_literal) )))) ;) (expression_statement "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);" (assignment_expression "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x41c8)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x41c8" identifier + number_literal) )))) ;) (expression_statement "uVar3 = 0x243f6a88;" (assignment_expression "uVar3 = 0x243f6a88" identifier = number_literal) ;) (while_statement "while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }" { (expression_statement "*puVar2 = uVar3;" (assignment_expression "*puVar2 = uVar3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (if_statement "if (puVar1 == puVar5) break;" if (parenthesized_expression "(puVar1 == puVar5)" ( (binary_expression "puVar1 == puVar5" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);" (assignment_expression "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3d84)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3d84" identifier + number_literal) )))) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3184)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3184)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3184" identifier + number_literal) )))) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);" (assignment_expression "puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x4180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x4180)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x4180" identifier + number_literal) )))) ;) (expression_statement "uVar8 = 0x3a39ce37;" (assignment_expression "uVar8 = 0x3a39ce37" identifier = number_literal) ;) (expression_statement "uVar7 = 0xe93d5a68;" (assignment_expression "uVar7 = 0xe93d5a68" identifier = number_literal) ;) (expression_statement "uVar6 = 0x4b7a70e9;" (assignment_expression "uVar6 = 0x4b7a70e9" identifier = number_literal) ;) (expression_statement "uVar3 = 0xd1310ba6;" (assignment_expression "uVar3 = 0xd1310ba6" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3584)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3584)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3584" identifier + number_literal) )))) ;) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3984)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3984)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x3984" identifier + number_literal) )))) ;) (while_statement "while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*param_1 = uVar3;" (assignment_expression "*param_1 = uVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[0x100] = uVar6;" (assignment_expression "param_1[0x100] = uVar6" (subscript_expression "param_1[0x100]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x200] = uVar7;" (assignment_expression "param_1[0x200] = uVar7" (subscript_expression "param_1[0x200]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x300] = uVar8;" (assignment_expression "param_1[0x300] = uVar8" (subscript_expression "param_1[0x300]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar5 == puVar9) break;" if (parenthesized_expression "(puVar5 == puVar9)" ( (binary_expression "puVar5 == puVar9" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar3 = *puVar5;" (assignment_expression "uVar3 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar7 = *puVar1;" (assignment_expression "uVar7 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "blowfish_expandkey();" (call_expression "blowfish_expandkey()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0004e404(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004e404(undefined4 *param_1)" (identifier "FUN_0004e404") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 *puVar9;\n  \n  puVar2 = param_1 + 0x400;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);\n  uVar3 = 0x243f6a88;\n  while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }\n  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);\n  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);\n  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);\n  uVar8 = 0x3a39ce37;\n  uVar7 = 0xe93d5a68;\n  uVar6 = 0x4b7a70e9;\n  uVar3 = 0xd1310ba6;\n  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);\n  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);\n  while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (expression_statement "puVar2 = param_1 + 0x400;" (assignment_expression "puVar2 = param_1 + 0x400" (identifier "puVar2") (= "=") (binary_expression "param_1 + 0x400" (identifier "param_1") (+ "+") (number_literal "0x400"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x4184)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x4184)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x4184" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x4184")) () ")")))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);" (assignment_expression "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x41c8)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x41c8" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x41c8")) () ")")))) (; ";")) (expression_statement "uVar3 = 0x243f6a88;" (assignment_expression "uVar3 = 0x243f6a88" (identifier "uVar3") (= "=") (number_literal "0x243f6a88")) (; ";")) (while_statement "while( true ) {\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    *puVar2 = uVar3;\n    puVar2 = puVar2 + 1;\n    if (puVar1 == puVar5) break;\n    uVar3 = *puVar1;\n    puVar1 = puVar1 + 1;\n  }" ({ "{") (expression_statement "*puVar2 = uVar3;" (assignment_expression "*puVar2 = uVar3" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (puVar1 == puVar5) break;" (if "if") (parenthesized_expression "(puVar1 == puVar5)" (( "(") (binary_expression "puVar1 == puVar5" (identifier "puVar1") (== "==") (identifier "puVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" (identifier "uVar3") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);" (assignment_expression "puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3d84)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x3d84" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x3d84")) () ")")))) (; ";")) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3184)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3184)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x3184" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x3184")) () ")")))) (; ";")) (expression_statement "puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);" (assignment_expression "puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x4180)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x4180)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x4180" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x4180")) () ")")))) (; ";")) (expression_statement "uVar8 = 0x3a39ce37;" (assignment_expression "uVar8 = 0x3a39ce37" (identifier "uVar8") (= "=") (number_literal "0x3a39ce37")) (; ";")) (expression_statement "uVar7 = 0xe93d5a68;" (assignment_expression "uVar7 = 0xe93d5a68" (identifier "uVar7") (= "=") (number_literal "0xe93d5a68")) (; ";")) (expression_statement "uVar6 = 0x4b7a70e9;" (assignment_expression "uVar6 = 0x4b7a70e9" (identifier "uVar6") (= "=") (number_literal "0x4b7a70e9")) (; ";")) (expression_statement "uVar3 = 0xd1310ba6;" (assignment_expression "uVar3 = 0xd1310ba6" (identifier "uVar3") (= "=") (number_literal "0xd1310ba6")) (; ";")) (expression_statement "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);" (assignment_expression "puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3584)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3584)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x3584" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x3584")) () ")")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000ad2c8 + 0x3984)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000ad2c8 + 0x3984)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x3984" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x3984")) () ")")))) (; ";")) (while_statement "while( true ) {\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    *param_1 = uVar3;\n    param_1[0x100] = uVar6;\n    param_1[0x200] = uVar7;\n    param_1[0x300] = uVar8;\n    if (puVar5 == puVar9) break;\n    uVar8 = *puVar4;\n    puVar4 = puVar4 + 1;\n    uVar6 = *puVar2;\n    uVar3 = *puVar5;\n    uVar7 = *puVar1;\n    puVar5 = puVar5 + 1;\n    param_1 = param_1 + 1;\n    puVar1 = puVar1 + 1;\n    puVar2 = puVar2 + 1;\n  }" ({ "{") (expression_statement "*param_1 = uVar3;" (assignment_expression "*param_1 = uVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "param_1[0x100] = uVar6;" (assignment_expression "param_1[0x100] = uVar6" (subscript_expression "param_1[0x100]" (identifier "param_1") ([ "[") (number_literal "0x100") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "param_1[0x200] = uVar7;" (assignment_expression "param_1[0x200] = uVar7" (subscript_expression "param_1[0x200]" (identifier "param_1") ([ "[") (number_literal "0x200") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "param_1[0x300] = uVar8;" (assignment_expression "param_1[0x300] = uVar8" (subscript_expression "param_1[0x300]" (identifier "param_1") ([ "[") (number_literal "0x300") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (if_statement "if (puVar5 == puVar9) break;" (if "if") (parenthesized_expression "(puVar5 == puVar9)" (( "(") (binary_expression "puVar5 == puVar9" (identifier "puVar5") (== "==") (identifier "puVar9")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" (identifier "uVar8") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = *puVar2;" (assignment_expression "uVar6 = *puVar2" (identifier "uVar6") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "uVar3 = *puVar5;" (assignment_expression "uVar3 = *puVar5" (identifier "uVar3") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "uVar7 = *puVar1;" (assignment_expression "uVar7 = *puVar1" (identifier "uVar7") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "blowfish_expandkey();" (call_expression "blowfish_expandkey()" (identifier "blowfish_expandkey") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ctx,type_2 *key,short keybytes)

{
  type_3 *var_3;
  type_1 *pBVar2;
  type_3 *var_2;
  type_3 *var_5;
  type_3 wVar5;
  type_3 *var_6;
  int var_4;
  type_3 wVar8;
  type_3 wVar9;
  type_3 wVar10;
  int var_1;
  
  var_4 = *(int *)(&DAT_0005eec4 + var_1);
  var_2 = ctx->P;
  var_3 = (type_3 *)(*(int *)(&DAT_0005eec4 + var_1) + 0x4184);
  wVar5 = 0x243f6a88;
  while( true ) {
    *var_2 = wVar5;
    var_2 = var_2 + 1;
    if (var_3 == (type_3 *)(var_4 + 0x41c8)) break;
    wVar5 = *var_3;
    var_3 = var_3 + 1;
  }
  var_4 = *(int *)(&DAT_0005eec4 + var_1);
  var_5 = (type_3 *)(*(int *)(&DAT_0005eec4 + var_1) + 0x3d84);
  var_6 = (type_3 *)(*(int *)(&DAT_0005eec4 + var_1) + 0x3184);
  wVar10 = 0x3a39ce37;
  wVar9 = 0xe93d5a68;
  wVar8 = 0x4b7a70e9;
  wVar5 = 0xd1310ba6;
  pBVar2 = ctx;
  var_3 = (type_3 *)(*(int *)(&DAT_0005eec4 + var_1) + 0x3584);
  var_2 = (type_3 *)(*(int *)(&DAT_0005eec4 + var_1) + 0x3984);
  while( true ) {
    pBVar2->S0[0] = wVar5;
    pBVar2->S1[0] = wVar8;
    pBVar2->S2[0] = wVar9;
    pBVar2->S3[0] = wVar10;
    if (var_5 == (type_3 *)(var_4 + 0x4180)) break;
    wVar10 = *var_6;
    var_6 = var_6 + 1;
    wVar8 = *var_2;
    wVar5 = *var_5;
    wVar9 = *var_3;
    var_5 = var_5 + 1;
    pBVar2 = (type_1 *)(pBVar2->S0 + 1);
    var_3 = var_3 + 1;
    var_2 = var_2 + 1;
  }
  var_7(ctx,key,keybytes,(type_2 *)0x0,0);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  undefined4 *puVar9;
  
  puVar2 = param_1 + 0x400;
  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4184);
  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x41c8);
  uVar3 = 0x243f6a88;
  while( true ) {
    *puVar2 = uVar3;
    puVar2 = puVar2 + 1;
    if (puVar1 == puVar5) break;
    uVar3 = *puVar1;
    puVar1 = puVar1 + 1;
  }
  puVar5 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3d84);
  puVar4 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3184);
  puVar9 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x4180);
  uVar8 = 0x3a39ce37;
  uVar7 = 0xe93d5a68;
  uVar6 = 0x4b7a70e9;
  uVar3 = 0xd1310ba6;
  puVar1 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3584);
  puVar2 = (undefined4 *)(PTR_DAT_000ad2c8 + 0x3984);
  while( true ) {
    *param_1 = uVar3;
    param_1[0x100] = uVar6;
    param_1[0x200] = uVar7;
    param_1[0x300] = uVar8;
    if (puVar5 == puVar9) break;
    uVar8 = *puVar4;
    puVar4 = puVar4 + 1;
    uVar6 = *puVar2;
    uVar3 = *puVar5;
    uVar7 = *puVar1;
    puVar5 = puVar5 + 1;
    param_1 = param_1 + 1;
    puVar1 = puVar1 + 1;
    puVar2 = puVar2 + 1;
  }
  blowfish_expandkey();
  return;
}

