
/* WARNING: Unknown calling convention */

void blowfish_initkey(BlowfishContext *ctx)

{
  long lVar1;
  
  lVar1 = 0;
  do {
    *(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1);
    lVar1 = lVar1 + 4;
  } while (lVar1 != 0x48);
  lVar1 = 0;
  do {
    *(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1);
    *(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1);
    *(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1);
    *(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1);
    lVar1 = lVar1 + 4;
  } while (lVar1 != 0x400);
  return;
}



void FUN_00134a5a(long param_1)

{
  long lVar1;
  
  lVar1 = 0;
  do {
    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);
    lVar1 = lVar1 + 4;
  } while (lVar1 != 0x48);
  lVar1 = 0;
  do {
    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);
    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);
    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);
    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);
    lVar1 = lVar1 + 4;
  } while (lVar1 != 0x400);
  return;
}


MOV EAX,0x0
LEA RCX,[0x168cc0]
MOV EDX,dword ptr [RCX + RAX*0x1]
MOV dword ptr [RDI + RAX*0x1 + 0x1000],EDX
ADD RAX,0x4
CMP RAX,0x48
JNZ 0x00134a66
MOV EAX,0x0
LEA R9,[0x1688c0]
LEA R8,[0x1684c0]
LEA RSI,[0x1680c0]
LEA RCX,[0x167cc0]
MOV EDX,dword ptr [R9 + RAX*0x1]
MOV dword ptr [RDI + RAX*0x1],EDX
MOV EDX,dword ptr [R8 + RAX*0x1]
MOV dword ptr [RDI + RAX*0x1 + 0x400],EDX
MOV EDX,dword ptr [RSI + RAX*0x1]
MOV dword ptr [RDI + RAX*0x1 + 0x800],EDX
MOV EDX,dword ptr [RCX + RAX*0x1]
MOV dword ptr [RDI + RAX*0x1 + 0xc00],EDX
ADD RAX,0x4
CMP RAX,0x400
JNZ 0x00134a9b
RET
(translation_unit "void FUN_00134a5a(long param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}\n\n" (function_definition "void FUN_00134a5a(long param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" primitive_type (function_declarator "FUN_00134a5a(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);" do (compound_statement "{\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x1000 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0x1000 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1000 + lVar1)" ( (binary_expression "param_1 + 0x1000 + lVar1" (binary_expression "param_1 + 0x1000" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_00168cc0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_00168cc0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_00168cc0 + lVar1)" ( (binary_expression "(long)&DAT_00168cc0 + lVar1" (cast_expression "(long)&DAT_00168cc0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_00168cc0" & identifier)) + identifier) ))))) ;) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" identifier = (binary_expression "lVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar1 != 0x48)" ( (binary_expression "lVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);" do (compound_statement "{\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1)" ( (binary_expression "param_1 + lVar1" identifier + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_001688c0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_001688c0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001688c0 + lVar1)" ( (binary_expression "(long)&DAT_001688c0 + lVar1" (cast_expression "(long)&DAT_001688c0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001688c0" & identifier)) + identifier) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x400 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0x400 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x400 + lVar1)" ( (binary_expression "param_1 + 0x400 + lVar1" (binary_expression "param_1 + 0x400" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_001684c0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_001684c0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001684c0 + lVar1)" ( (binary_expression "(long)&DAT_001684c0 + lVar1" (cast_expression "(long)&DAT_001684c0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001684c0" & identifier)) + identifier) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x800 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0x800 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x800 + lVar1)" ( (binary_expression "param_1 + 0x800 + lVar1" (binary_expression "param_1 + 0x800" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_001680c0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_001680c0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001680c0 + lVar1)" ( (binary_expression "(long)&DAT_001680c0 + lVar1" (cast_expression "(long)&DAT_001680c0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001680c0" & identifier)) + identifier) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0xc00 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0xc00 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc00 + lVar1)" ( (binary_expression "param_1 + 0xc00 + lVar1" (binary_expression "param_1 + 0xc00" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_00167cc0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_00167cc0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_00167cc0 + lVar1)" ( (binary_expression "(long)&DAT_00167cc0 + lVar1" (cast_expression "(long)&DAT_00167cc0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_00167cc0" & identifier)) + identifier) ))))) ;) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" identifier = (binary_expression "lVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar1 != 0x400)" ( (binary_expression "lVar1 != 0x400" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid blowfish_initkey(BlowfishContext *ctx)\n\n{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1);\n    *(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1);\n    *(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1);\n    *(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}\n\n" comment (function_definition "void blowfish_initkey(BlowfishContext *ctx)\n\n{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1);\n    *(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1);\n    *(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1);\n    *(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" primitive_type (function_declarator "blowfish_initkey(BlowfishContext *ctx)" identifier (parameter_list "(BlowfishContext *ctx)" ( (parameter_declaration "BlowfishContext *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1);\n    *(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1);\n    *(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1);\n    *(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);" do (compound_statement "{\n    *(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1);\n    lVar1 = lVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1);" (assignment_expression "*(undefined4 *)((long)ctx->P + lVar1) = *(undefined4 *)((long)parray + lVar1)" (pointer_expression "*(undefined4 *)((long)ctx->P + lVar1)" * (cast_expression "(undefined4 *)((long)ctx->P + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx->P + lVar1)" ( (binary_expression "(long)ctx->P + lVar1" (cast_expression "(long)ctx->P" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ctx->P" identifier -> field_identifier)) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)parray + lVar1)" * (cast_expression "(undefined4 *)((long)parray + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)parray + lVar1)" ( (binary_expression "(long)parray + lVar1" (cast_expression "(long)parray" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))))) ;) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" identifier = (binary_expression "lVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar1 != 0x48)" ( (binary_expression "lVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1);\n    *(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1);\n    *(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1);\n    *(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);" do (compound_statement "{\n    *(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1);\n    *(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1);\n    *(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1);\n    *(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1);\n    lVar1 = lVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1);" (assignment_expression "*(undefined4 *)((long)ctx->S0 + lVar1) = *(undefined4 *)((long)sbox0 + lVar1)" (pointer_expression "*(undefined4 *)((long)ctx->S0 + lVar1)" * (cast_expression "(undefined4 *)((long)ctx->S0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx->S0 + lVar1)" ( (binary_expression "(long)ctx->S0 + lVar1" (cast_expression "(long)ctx->S0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ctx->S0" identifier -> field_identifier)) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)sbox0 + lVar1)" * (cast_expression "(undefined4 *)((long)sbox0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)sbox0 + lVar1)" ( (binary_expression "(long)sbox0 + lVar1" (cast_expression "(long)sbox0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))))) ;) (expression_statement "*(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1);" (assignment_expression "*(undefined4 *)((long)ctx->S1 + lVar1) = *(undefined4 *)((long)sbox1 + lVar1)" (pointer_expression "*(undefined4 *)((long)ctx->S1 + lVar1)" * (cast_expression "(undefined4 *)((long)ctx->S1 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx->S1 + lVar1)" ( (binary_expression "(long)ctx->S1 + lVar1" (cast_expression "(long)ctx->S1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ctx->S1" identifier -> field_identifier)) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)sbox1 + lVar1)" * (cast_expression "(undefined4 *)((long)sbox1 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)sbox1 + lVar1)" ( (binary_expression "(long)sbox1 + lVar1" (cast_expression "(long)sbox1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))))) ;) (expression_statement "*(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1);" (assignment_expression "*(undefined4 *)((long)ctx->S2 + lVar1) = *(undefined4 *)((long)sbox2 + lVar1)" (pointer_expression "*(undefined4 *)((long)ctx->S2 + lVar1)" * (cast_expression "(undefined4 *)((long)ctx->S2 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx->S2 + lVar1)" ( (binary_expression "(long)ctx->S2 + lVar1" (cast_expression "(long)ctx->S2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ctx->S2" identifier -> field_identifier)) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)sbox2 + lVar1)" * (cast_expression "(undefined4 *)((long)sbox2 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)sbox2 + lVar1)" ( (binary_expression "(long)sbox2 + lVar1" (cast_expression "(long)sbox2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))))) ;) (expression_statement "*(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1);" (assignment_expression "*(undefined4 *)((long)ctx->S3 + lVar1) = *(undefined4 *)((long)sbox3 + lVar1)" (pointer_expression "*(undefined4 *)((long)ctx->S3 + lVar1)" * (cast_expression "(undefined4 *)((long)ctx->S3 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx->S3 + lVar1)" ( (binary_expression "(long)ctx->S3 + lVar1" (cast_expression "(long)ctx->S3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ctx->S3" identifier -> field_identifier)) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)sbox3 + lVar1)" * (cast_expression "(undefined4 *)((long)sbox3 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)sbox3 + lVar1)" ( (binary_expression "(long)sbox3 + lVar1" (cast_expression "(long)sbox3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))))) ;) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" identifier = (binary_expression "lVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar1 != 0x400)" ( (binary_expression "lVar1 != 0x400" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00134a5a(long param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}\n\n" (function_definition "void FUN_00134a5a(long param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" primitive_type (function_declarator "FUN_00134a5a(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);" do (compound_statement "{\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x1000 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0x1000 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1000 + lVar1)" ( (binary_expression "param_1 + 0x1000 + lVar1" (binary_expression "param_1 + 0x1000" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_00168cc0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_00168cc0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_00168cc0 + lVar1)" ( (binary_expression "(long)&DAT_00168cc0 + lVar1" (cast_expression "(long)&DAT_00168cc0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_00168cc0" & identifier)) + identifier) ))))) ;) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" identifier = (binary_expression "lVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar1 != 0x48)" ( (binary_expression "lVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);" do (compound_statement "{\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1)" ( (binary_expression "param_1 + lVar1" identifier + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_001688c0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_001688c0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001688c0 + lVar1)" ( (binary_expression "(long)&DAT_001688c0 + lVar1" (cast_expression "(long)&DAT_001688c0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001688c0" & identifier)) + identifier) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x400 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0x400 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x400 + lVar1)" ( (binary_expression "param_1 + 0x400 + lVar1" (binary_expression "param_1 + 0x400" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_001684c0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_001684c0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001684c0 + lVar1)" ( (binary_expression "(long)&DAT_001684c0 + lVar1" (cast_expression "(long)&DAT_001684c0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001684c0" & identifier)) + identifier) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x800 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0x800 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x800 + lVar1)" ( (binary_expression "param_1 + 0x800 + lVar1" (binary_expression "param_1 + 0x800" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_001680c0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_001680c0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_001680c0 + lVar1)" ( (binary_expression "(long)&DAT_001680c0 + lVar1" (cast_expression "(long)&DAT_001680c0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_001680c0" & identifier)) + identifier) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0xc00 + lVar1)" * (cast_expression "(undefined4 *)(param_1 + 0xc00 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc00 + lVar1)" ( (binary_expression "param_1 + 0xc00 + lVar1" (binary_expression "param_1 + 0xc00" identifier + number_literal) + identifier) )))) = (pointer_expression "*(undefined4 *)((long)&DAT_00167cc0 + lVar1)" * (cast_expression "(undefined4 *)((long)&DAT_00167cc0 + lVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&DAT_00167cc0 + lVar1)" ( (binary_expression "(long)&DAT_00167cc0 + lVar1" (cast_expression "(long)&DAT_00167cc0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&DAT_00167cc0" & identifier)) + identifier) ))))) ;) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" identifier = (binary_expression "lVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar1 != 0x400)" ( (binary_expression "lVar1 != 0x400" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT)) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return ;) })))
(function_definition "void FUN_00134a5a(long param_1)\n\n{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00134a5a(long param_1)" (identifier "FUN_00134a5a") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);\n  lVar1 = 0;\n  do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" (identifier "lVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x48);" (do "do") (compound_statement "{\n    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x1000 + lVar1)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1000 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1000 + lVar1)" (( "(") (binary_expression "param_1 + 0x1000 + lVar1" (binary_expression "param_1 + 0x1000" (identifier "param_1") (+ "+") (number_literal "0x1000")) (+ "+") (identifier "lVar1")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((long)&DAT_00168cc0 + lVar1)" (* "*") (cast_expression "(undefined4 *)((long)&DAT_00168cc0 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&DAT_00168cc0 + lVar1)" (( "(") (binary_expression "(long)&DAT_00168cc0 + lVar1" (cast_expression "(long)&DAT_00168cc0" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&DAT_00168cc0" (& "&") (identifier "DAT_00168cc0"))) (+ "+") (identifier "lVar1")) () ")"))))) (; ";")) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" (identifier "lVar1") (= "=") (binary_expression "lVar1 + 4" (identifier "lVar1") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar1 != 0x48)" (( "(") (binary_expression "lVar1 != 0x48" (identifier "lVar1") (!= "!=") (number_literal "0x48")) () ")")) (; ";")) (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" (identifier "lVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  } while (lVar1 != 0x400);" (do "do") (compound_statement "{\n    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);\n    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);\n    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);\n    lVar1 = lVar1 + 4;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + lVar1)" (* "*") (cast_expression "(undefined4 *)(param_1 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar1)" (( "(") (binary_expression "param_1 + lVar1" (identifier "param_1") (+ "+") (identifier "lVar1")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((long)&DAT_001688c0 + lVar1)" (* "*") (cast_expression "(undefined4 *)((long)&DAT_001688c0 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&DAT_001688c0 + lVar1)" (( "(") (binary_expression "(long)&DAT_001688c0 + lVar1" (cast_expression "(long)&DAT_001688c0" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&DAT_001688c0" (& "&") (identifier "DAT_001688c0"))) (+ "+") (identifier "lVar1")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x400 + lVar1)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x400 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x400 + lVar1)" (( "(") (binary_expression "param_1 + 0x400 + lVar1" (binary_expression "param_1 + 0x400" (identifier "param_1") (+ "+") (number_literal "0x400")) (+ "+") (identifier "lVar1")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((long)&DAT_001684c0 + lVar1)" (* "*") (cast_expression "(undefined4 *)((long)&DAT_001684c0 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&DAT_001684c0 + lVar1)" (( "(") (binary_expression "(long)&DAT_001684c0 + lVar1" (cast_expression "(long)&DAT_001684c0" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&DAT_001684c0" (& "&") (identifier "DAT_001684c0"))) (+ "+") (identifier "lVar1")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0x800 + lVar1)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x800 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x800 + lVar1)" (( "(") (binary_expression "param_1 + 0x800 + lVar1" (binary_expression "param_1 + 0x800" (identifier "param_1") (+ "+") (number_literal "0x800")) (+ "+") (identifier "lVar1")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((long)&DAT_001680c0 + lVar1)" (* "*") (cast_expression "(undefined4 *)((long)&DAT_001680c0 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&DAT_001680c0 + lVar1)" (( "(") (binary_expression "(long)&DAT_001680c0 + lVar1" (cast_expression "(long)&DAT_001680c0" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&DAT_001680c0" (& "&") (identifier "DAT_001680c0"))) (+ "+") (identifier "lVar1")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);" (assignment_expression "*(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1)" (pointer_expression "*(undefined4 *)(param_1 + 0xc00 + lVar1)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc00 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc00 + lVar1)" (( "(") (binary_expression "param_1 + 0xc00 + lVar1" (binary_expression "param_1 + 0xc00" (identifier "param_1") (+ "+") (number_literal "0xc00")) (+ "+") (identifier "lVar1")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((long)&DAT_00167cc0 + lVar1)" (* "*") (cast_expression "(undefined4 *)((long)&DAT_00167cc0 + lVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)&DAT_00167cc0 + lVar1)" (( "(") (binary_expression "(long)&DAT_00167cc0 + lVar1" (cast_expression "(long)&DAT_00167cc0" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&DAT_00167cc0" (& "&") (identifier "DAT_00167cc0"))) (+ "+") (identifier "lVar1")) () ")"))))) (; ";")) (expression_statement "lVar1 = lVar1 + 4;" (assignment_expression "lVar1 = lVar1 + 4" (identifier "lVar1") (= "=") (binary_expression "lVar1 + 4" (identifier "lVar1") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar1 != 0x400)" (( "(") (binary_expression "lVar1 != 0x400" (identifier "lVar1") (!= "!=") (number_literal "0x400")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *ctx)

{
  long var_1;
  
  var_1 = 0;
  do {
    *(type_2 *)((long)ctx->P + var_1) = *(type_2 *)((long)parray + var_1);
    var_1 = var_1 + 4;
  } while (var_1 != 0x48);
  var_1 = 0;
  do {
    *(type_2 *)((long)ctx->S0 + var_1) = *(type_2 *)((long)sbox0 + var_1);
    *(type_2 *)((long)ctx->S1 + var_1) = *(type_2 *)((long)sbox1 + var_1);
    *(type_2 *)((long)ctx->S2 + var_1) = *(type_2 *)((long)sbox2 + var_1);
    *(type_2 *)((long)ctx->S3 + var_1) = *(type_2 *)((long)sbox3 + var_1);
    var_1 = var_1 + 4;
  } while (var_1 != 0x400);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))

void MASKED(long param_1)

{
  long lVar1;
  
  lVar1 = 0;
  do {
    *(undefined4 *)(param_1 + 0x1000 + lVar1) = *(undefined4 *)((long)&DAT_00168cc0 + lVar1);
    lVar1 = lVar1 + 4;
  } while (lVar1 != 0x48);
  lVar1 = 0;
  do {
    *(undefined4 *)(param_1 + lVar1) = *(undefined4 *)((long)&DAT_001688c0 + lVar1);
    *(undefined4 *)(param_1 + 0x400 + lVar1) = *(undefined4 *)((long)&DAT_001684c0 + lVar1);
    *(undefined4 *)(param_1 + 0x800 + lVar1) = *(undefined4 *)((long)&DAT_001680c0 + lVar1);
    *(undefined4 *)(param_1 + 0xc00 + lVar1) = *(undefined4 *)((long)&DAT_00167cc0 + lVar1);
    lVar1 = lVar1 + 4;
  } while (lVar1 != 0x400);
  return;
}

