
int kseed_ecb_encrypt(uchar *pt,uchar *ct,symmetric_key *skey)

{
  uint uVar1;
  long lVar2;
  long in_FS_OFFSET;
  ulong32 P [4];
  
  lVar2 = *(long *)(in_FS_OFFSET + 0x28);
  uVar1 = *(uint *)pt;
  P[0] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = *(uint *)(pt + 4);
  P[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = *(uint *)(pt + 8);
  P[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = *(uint *)(pt + 0xc);
  P[3] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  rounds(P,(ulong32 *)skey);
  *(ulong32 *)ct = P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18;
  *(ulong32 *)(ct + 4) = P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18
  ;
  *(ulong32 *)(ct + 8) = P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18
  ;
  *(ulong32 *)(ct + 0xc) =
       P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18;
  if (lVar2 == *(long *)(in_FS_OFFSET + 0x28)) {
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



undefined8 kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)

{
  uint uVar1;
  long in_FS_OFFSET;
  uint local_38;
  uint local_34;
  uint local_30;
  uint local_2c;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  uVar1 = *param_1;
  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = param_1[1];
  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = param_1[2];
  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = param_1[3];
  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  FUN_0011e9a4(&local_38,param_3);
  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |
             local_30 << 0x18;
  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |
               local_2c << 0x18;
  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |
               local_38 << 0x18;
  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |
               local_34 << 0x18;
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH RBP
PUSH RBX
SUB RSP,0x28
MOV RBX,RSI
MOV EBP,0x28
MOV RAX,qword ptr FS:[RBP]
MOV qword ptr [RSP + 0x18],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RDI]
BSWAP EAX
MOV dword ptr [RSP],EAX
MOV ECX,dword ptr [RDI + 0x4]
BSWAP ECX
MOV dword ptr [RSP + 0x4],ECX
MOV ESI,dword ptr [RDI + 0x8]
BSWAP ESI
MOV dword ptr [RSP + 0x8],ESI
MOV EDI,dword ptr [RDI + 0xc]
BSWAP EDI
MOV dword ptr [RSP + 0xc],EDI
MOV RDI,RSP
MOV RSI,RDX
CALL 0x0011e9a4
MOV EDX,dword ptr [RSP + 0x8]
BSWAP EDX
MOV dword ptr [RBX],EDX
MOV R8D,dword ptr [RSP + 0xc]
BSWAP R8D
MOV dword ptr [RBX + 0x4],R8D
MOV R9D,dword ptr [RSP]
BSWAP R9D
MOV dword ptr [RBX + 0x8],R9D
MOV R10D,dword ptr [RSP + 0x4]
BSWAP R10D
MOV dword ptr [RBX + 0xc],R10D
MOV RCX,qword ptr [RSP + 0x18]
XOR RCX,qword ptr FS:[RBP]
JNZ 0x0011ed88
MOV EAX,0x0
ADD RSP,0x28
POP RBX
POP RBP
RET
CALL 0x00113870
(translation_unit "undefined8 kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)\n\n{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "undefined8 kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)\n\n{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" type_identifier (function_declarator "kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)" identifier (parameter_list "(uint *param_1,uint *param_2,undefined8 param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = param_1[2];" (assignment_expression "uVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "FUN_0011e9a4(&local_38,param_3);" (call_expression "FUN_0011e9a4(&local_38,param_3)" identifier (argument_list "(&local_38,param_3)" ( (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "*param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;" (assignment_expression "*param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18" (pointer_expression "*param_2" * identifier) = (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18" (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8" (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8" (binary_expression "local_30 >> 0x18" identifier >> number_literal) | (binary_expression "(local_30 & 0xff0000) >> 8" (parenthesized_expression "(local_30 & 0xff0000)" ( (binary_expression "local_30 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_30 & 0xff00) << 8" (parenthesized_expression "(local_30 & 0xff00)" ( (binary_expression "local_30 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_30 << 0x18" identifier << number_literal))) ;) (expression_statement "param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;" (assignment_expression "param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18" (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8" (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8" (binary_expression "local_2c >> 0x18" identifier >> number_literal) | (binary_expression "(local_2c & 0xff0000) >> 8" (parenthesized_expression "(local_2c & 0xff0000)" ( (binary_expression "local_2c & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_2c & 0xff00) << 8" (parenthesized_expression "(local_2c & 0xff00)" ( (binary_expression "local_2c & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_2c << 0x18" identifier << number_literal))) ;) (expression_statement "param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;" (assignment_expression "param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18" (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8" (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8" (binary_expression "local_38 >> 0x18" identifier >> number_literal) | (binary_expression "(local_38 & 0xff0000) >> 8" (parenthesized_expression "(local_38 & 0xff0000)" ( (binary_expression "local_38 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_38 & 0xff00) << 8" (parenthesized_expression "(local_38 & 0xff00)" ( (binary_expression "local_38 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_38 << 0x18" identifier << number_literal))) ;) (expression_statement "param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;" (assignment_expression "param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18" (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8" (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8" (binary_expression "local_34 >> 0x18" identifier >> number_literal) | (binary_expression "(local_34 & 0xff0000) >> 8" (parenthesized_expression "(local_34 & 0xff0000)" ( (binary_expression "local_34 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_34 & 0xff00) << 8" (parenthesized_expression "(local_34 & 0xff00)" ( (binary_expression "local_34 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_34 << 0x18" identifier << number_literal))) ;) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int kseed_ecb_encrypt(uchar *pt,uchar *ct,symmetric_key *skey)\n\n{\n  uint uVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  ulong32 P [4];\n  \n  lVar2 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *(uint *)pt;\n  P[0] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 4);\n  P[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 8);\n  P[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 0xc);\n  P[3] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  rounds(P,(ulong32 *)skey);\n  *(ulong32 *)ct = P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18;\n  *(ulong32 *)(ct + 4) = P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18\n  ;\n  *(ulong32 *)(ct + 8) = P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18\n  ;\n  *(ulong32 *)(ct + 0xc) =\n       P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18;\n  if (lVar2 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int kseed_ecb_encrypt(uchar *pt,uchar *ct,symmetric_key *skey)\n\n{\n  uint uVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  ulong32 P [4];\n  \n  lVar2 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *(uint *)pt;\n  P[0] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 4);\n  P[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 8);\n  P[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 0xc);\n  P[3] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  rounds(P,(ulong32 *)skey);\n  *(ulong32 *)ct = P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18;\n  *(ulong32 *)(ct + 4) = P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18\n  ;\n  *(ulong32 *)(ct + 8) = P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18\n  ;\n  *(ulong32 *)(ct + 0xc) =\n       P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18;\n  if (lVar2 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "kseed_ecb_encrypt(uchar *pt,uchar *ct,symmetric_key *skey)" identifier (parameter_list "(uchar *pt,uchar *ct,symmetric_key *skey)" ( (parameter_declaration "uchar *pt" type_identifier (pointer_declarator "*pt" * identifier)) , (parameter_declaration "uchar *ct" type_identifier (pointer_declarator "*ct" * identifier)) , (parameter_declaration "symmetric_key *skey" type_identifier (pointer_declarator "*skey" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  ulong32 P [4];\n  \n  lVar2 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *(uint *)pt;\n  P[0] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 4);\n  P[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 8);\n  P[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = *(uint *)(pt + 0xc);\n  P[3] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  rounds(P,(ulong32 *)skey);\n  *(ulong32 *)ct = P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18;\n  *(ulong32 *)(ct + 4) = P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18\n  ;\n  *(ulong32 *)(ct + 8) = P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18\n  ;\n  *(ulong32 *)(ct + 0xc) =\n       P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18;\n  if (lVar2 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong32 P [4];" type_identifier (array_declarator "P [4]" identifier [ number_literal ]) ;) (expression_statement "lVar2 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar2 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)pt;" (assignment_expression "uVar1 = *(uint *)pt" identifier = (pointer_expression "*(uint *)pt" * (cast_expression "(uint *)pt" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "P[0] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "P[0] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "P[0]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = *(uint *)(pt + 4);" (assignment_expression "uVar1 = *(uint *)(pt + 4)" identifier = (pointer_expression "*(uint *)(pt + 4)" * (cast_expression "(uint *)(pt + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pt + 4)" ( (binary_expression "pt + 4" identifier + number_literal) ))))) ;) (expression_statement "P[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "P[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "P[1]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = *(uint *)(pt + 8);" (assignment_expression "uVar1 = *(uint *)(pt + 8)" identifier = (pointer_expression "*(uint *)(pt + 8)" * (cast_expression "(uint *)(pt + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pt + 8)" ( (binary_expression "pt + 8" identifier + number_literal) ))))) ;) (expression_statement "P[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "P[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "P[2]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = *(uint *)(pt + 0xc);" (assignment_expression "uVar1 = *(uint *)(pt + 0xc)" identifier = (pointer_expression "*(uint *)(pt + 0xc)" * (cast_expression "(uint *)(pt + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pt + 0xc)" ( (binary_expression "pt + 0xc" identifier + number_literal) ))))) ;) (expression_statement "P[3] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "P[3] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "P[3]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "rounds(P,(ulong32 *)skey);" (call_expression "rounds(P,(ulong32 *)skey)" identifier (argument_list "(P,(ulong32 *)skey)" ( identifier , (cast_expression "(ulong32 *)skey" ( (type_descriptor "ulong32 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "*(ulong32 *)ct = P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18;" (assignment_expression "*(ulong32 *)ct = P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18" (pointer_expression "*(ulong32 *)ct" * (cast_expression "(ulong32 *)ct" ( (type_descriptor "ulong32 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18" (binary_expression "P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8" (binary_expression "P[2] >> 0x18 | (P[2] & 0xff0000) >> 8" (binary_expression "P[2] >> 0x18" (subscript_expression "P[2]" identifier [ number_literal ]) >> number_literal) | (binary_expression "(P[2] & 0xff0000) >> 8" (parenthesized_expression "(P[2] & 0xff0000)" ( (binary_expression "P[2] & 0xff0000" (subscript_expression "P[2]" identifier [ number_literal ]) & number_literal) )) >> number_literal)) | (binary_expression "(P[2] & 0xff00) << 8" (parenthesized_expression "(P[2] & 0xff00)" ( (binary_expression "P[2] & 0xff00" (subscript_expression "P[2]" identifier [ number_literal ]) & number_literal) )) << number_literal)) | (binary_expression "P[2] << 0x18" (subscript_expression "P[2]" identifier [ number_literal ]) << number_literal))) ;) (expression_statement "*(ulong32 *)(ct + 4) = P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18\n  ;" (assignment_expression "*(ulong32 *)(ct + 4) = P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18" (pointer_expression "*(ulong32 *)(ct + 4)" * (cast_expression "(ulong32 *)(ct + 4)" ( (type_descriptor "ulong32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ct + 4)" ( (binary_expression "ct + 4" identifier + number_literal) )))) = (binary_expression "P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18" (binary_expression "P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8" (binary_expression "P[3] >> 0x18 | (P[3] & 0xff0000) >> 8" (binary_expression "P[3] >> 0x18" (subscript_expression "P[3]" identifier [ number_literal ]) >> number_literal) | (binary_expression "(P[3] & 0xff0000) >> 8" (parenthesized_expression "(P[3] & 0xff0000)" ( (binary_expression "P[3] & 0xff0000" (subscript_expression "P[3]" identifier [ number_literal ]) & number_literal) )) >> number_literal)) | (binary_expression "(P[3] & 0xff00) << 8" (parenthesized_expression "(P[3] & 0xff00)" ( (binary_expression "P[3] & 0xff00" (subscript_expression "P[3]" identifier [ number_literal ]) & number_literal) )) << number_literal)) | (binary_expression "P[3] << 0x18" (subscript_expression "P[3]" identifier [ number_literal ]) << number_literal))) ;) (expression_statement "*(ulong32 *)(ct + 8) = P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18\n  ;" (assignment_expression "*(ulong32 *)(ct + 8) = P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18" (pointer_expression "*(ulong32 *)(ct + 8)" * (cast_expression "(ulong32 *)(ct + 8)" ( (type_descriptor "ulong32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ct + 8)" ( (binary_expression "ct + 8" identifier + number_literal) )))) = (binary_expression "P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18" (binary_expression "P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8" (binary_expression "P[0] >> 0x18 | (P[0] & 0xff0000) >> 8" (binary_expression "P[0] >> 0x18" (subscript_expression "P[0]" identifier [ number_literal ]) >> number_literal) | (binary_expression "(P[0] & 0xff0000) >> 8" (parenthesized_expression "(P[0] & 0xff0000)" ( (binary_expression "P[0] & 0xff0000" (subscript_expression "P[0]" identifier [ number_literal ]) & number_literal) )) >> number_literal)) | (binary_expression "(P[0] & 0xff00) << 8" (parenthesized_expression "(P[0] & 0xff00)" ( (binary_expression "P[0] & 0xff00" (subscript_expression "P[0]" identifier [ number_literal ]) & number_literal) )) << number_literal)) | (binary_expression "P[0] << 0x18" (subscript_expression "P[0]" identifier [ number_literal ]) << number_literal))) ;) (expression_statement "*(ulong32 *)(ct + 0xc) =\n       P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18;" (assignment_expression "*(ulong32 *)(ct + 0xc) =\n       P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18" (pointer_expression "*(ulong32 *)(ct + 0xc)" * (cast_expression "(ulong32 *)(ct + 0xc)" ( (type_descriptor "ulong32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ct + 0xc)" ( (binary_expression "ct + 0xc" identifier + number_literal) )))) = (binary_expression "P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18" (binary_expression "P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8" (binary_expression "P[1] >> 0x18 | (P[1] & 0xff0000) >> 8" (binary_expression "P[1] >> 0x18" (subscript_expression "P[1]" identifier [ number_literal ]) >> number_literal) | (binary_expression "(P[1] & 0xff0000) >> 8" (parenthesized_expression "(P[1] & 0xff0000)" ( (binary_expression "P[1] & 0xff0000" (subscript_expression "P[1]" identifier [ number_literal ]) & number_literal) )) >> number_literal)) | (binary_expression "(P[1] & 0xff00) << 8" (parenthesized_expression "(P[1] & 0xff00)" ( (binary_expression "P[1] & 0xff00" (subscript_expression "P[1]" identifier [ number_literal ]) & number_literal) )) << number_literal)) | (binary_expression "P[1] << 0x18" (subscript_expression "P[1]" identifier [ number_literal ]) << number_literal))) ;) (if_statement "if (lVar2 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }" if (parenthesized_expression "(lVar2 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar2 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined8 kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)\n\n{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "undefined8 kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)\n\n{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    \n  __stack_chk_fail();\n}" type_identifier (function_declarator "kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)" identifier (parameter_list "(uint *param_1,uint *param_2,undefined8 param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = param_1[2];" (assignment_expression "uVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "FUN_0011e9a4(&local_38,param_3);" (call_expression "FUN_0011e9a4(&local_38,param_3)" identifier (argument_list "(&local_38,param_3)" ( (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "*param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;" (assignment_expression "*param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18" (pointer_expression "*param_2" * identifier) = (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18" (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8" (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8" (binary_expression "local_30 >> 0x18" identifier >> number_literal) | (binary_expression "(local_30 & 0xff0000) >> 8" (parenthesized_expression "(local_30 & 0xff0000)" ( (binary_expression "local_30 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_30 & 0xff00) << 8" (parenthesized_expression "(local_30 & 0xff00)" ( (binary_expression "local_30 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_30 << 0x18" identifier << number_literal))) ;) (expression_statement "param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;" (assignment_expression "param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18" (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8" (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8" (binary_expression "local_2c >> 0x18" identifier >> number_literal) | (binary_expression "(local_2c & 0xff0000) >> 8" (parenthesized_expression "(local_2c & 0xff0000)" ( (binary_expression "local_2c & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_2c & 0xff00) << 8" (parenthesized_expression "(local_2c & 0xff00)" ( (binary_expression "local_2c & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_2c << 0x18" identifier << number_literal))) ;) (expression_statement "param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;" (assignment_expression "param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18" (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8" (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8" (binary_expression "local_38 >> 0x18" identifier >> number_literal) | (binary_expression "(local_38 & 0xff0000) >> 8" (parenthesized_expression "(local_38 & 0xff0000)" ( (binary_expression "local_38 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_38 & 0xff00) << 8" (parenthesized_expression "(local_38 & 0xff00)" ( (binary_expression "local_38 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_38 << 0x18" identifier << number_literal))) ;) (expression_statement "param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;" (assignment_expression "param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18" (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8" (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8" (binary_expression "local_34 >> 0x18" identifier >> number_literal) | (binary_expression "(local_34 & 0xff0000) >> 8" (parenthesized_expression "(local_34 & 0xff0000)" ( (binary_expression "local_34 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(local_34 & 0xff00) << 8" (parenthesized_expression "(local_34 & 0xff00)" ( (binary_expression "local_34 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "local_34 << 0x18" identifier << number_literal))) ;) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined8 kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)\n\n{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    \n  __stack_chk_fail();\n}" (type_identifier "undefined8") (function_declarator "kseed_ecb_encrypt(uint *param_1,uint *param_2,undefined8 param_3)" (identifier "kseed_ecb_encrypt") (parameter_list "(uint *param_1,uint *param_2,undefined8 param_3)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  long in_FS_OFFSET;\n  uint local_38;\n  uint local_34;\n  uint local_30;\n  uint local_2c;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[1];\n  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[2];\n  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  uVar1 = param_1[3];\n  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n  FUN_0011e9a4(&local_38,param_3);\n  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;\n  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;\n  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;\n  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "uint local_38;" (type_identifier "uint") (identifier "local_38") (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (identifier "local_38") (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" (identifier "uVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (identifier "local_34") (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "uVar1 = param_1[2];" (assignment_expression "uVar1 = param_1[2]" (identifier "uVar1") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (identifier "local_30") (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" (identifier "uVar1") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (identifier "local_2c") (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "FUN_0011e9a4(&local_38,param_3);" (call_expression "FUN_0011e9a4(&local_38,param_3)" (identifier "FUN_0011e9a4") (argument_list "(&local_38,param_3)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "*param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18;" (assignment_expression "*param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |\n             local_30 << 0x18" (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8" (binary_expression "local_30 >> 0x18 | (local_30 & 0xff0000) >> 8" (binary_expression "local_30 >> 0x18" (identifier "local_30") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(local_30 & 0xff0000) >> 8" (parenthesized_expression "(local_30 & 0xff0000)" (( "(") (binary_expression "local_30 & 0xff0000" (identifier "local_30") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(local_30 & 0xff00) << 8" (parenthesized_expression "(local_30 & 0xff00)" (( "(") (binary_expression "local_30 & 0xff00" (identifier "local_30") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "local_30 << 0x18" (identifier "local_30") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18;" (assignment_expression "param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |\n               local_2c << 0x18" (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8" (binary_expression "local_2c >> 0x18 | (local_2c & 0xff0000) >> 8" (binary_expression "local_2c >> 0x18" (identifier "local_2c") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(local_2c & 0xff0000) >> 8" (parenthesized_expression "(local_2c & 0xff0000)" (( "(") (binary_expression "local_2c & 0xff0000" (identifier "local_2c") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(local_2c & 0xff00) << 8" (parenthesized_expression "(local_2c & 0xff00)" (( "(") (binary_expression "local_2c & 0xff00" (identifier "local_2c") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "local_2c << 0x18" (identifier "local_2c") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18;" (assignment_expression "param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |\n               local_38 << 0x18" (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8" (binary_expression "local_38 >> 0x18 | (local_38 & 0xff0000) >> 8" (binary_expression "local_38 >> 0x18" (identifier "local_38") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(local_38 & 0xff0000) >> 8" (parenthesized_expression "(local_38 & 0xff0000)" (( "(") (binary_expression "local_38 & 0xff0000" (identifier "local_38") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(local_38 & 0xff00) << 8" (parenthesized_expression "(local_38 & 0xff00)" (( "(") (binary_expression "local_38 & 0xff00" (identifier "local_38") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "local_38 << 0x18" (identifier "local_38") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18;" (assignment_expression "param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |\n               local_34 << 0x18" (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8" (binary_expression "local_34 >> 0x18 | (local_34 & 0xff0000) >> 8" (binary_expression "local_34 >> 0x18" (identifier "local_34") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(local_34 & 0xff0000) >> 8" (parenthesized_expression "(local_34 & 0xff0000)" (( "(") (binary_expression "local_34 & 0xff0000" (identifier "local_34") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(local_34 & 0xff00) << 8" (parenthesized_expression "(local_34 & 0xff00)" (( "(") (binary_expression "local_34 & 0xff00" (identifier "local_34") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "local_34 << 0x18" (identifier "local_34") (<< "<<") (number_literal "0x18")))) (; ";")) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_3,type_1 *var_5,type_2 *skey)

{
  type_3 var_2;
  long var_6;
  long var_1;
  type_4 P [4];
  
  var_6 = *(long *)(var_1 + 0x28);
  var_2 = *(type_3 *)var_3;
  P[0] = var_2 >> 0x18 | (var_2 & 0xff0000) >> 8 | (var_2 & 0xff00) << 8 | var_2 << 0x18;
  var_2 = *(type_3 *)(var_3 + 4);
  P[1] = var_2 >> 0x18 | (var_2 & 0xff0000) >> 8 | (var_2 & 0xff00) << 8 | var_2 << 0x18;
  var_2 = *(type_3 *)(var_3 + 8);
  P[2] = var_2 >> 0x18 | (var_2 & 0xff0000) >> 8 | (var_2 & 0xff00) << 8 | var_2 << 0x18;
  var_2 = *(type_3 *)(var_3 + 0xc);
  P[3] = var_2 >> 0x18 | (var_2 & 0xff0000) >> 8 | (var_2 & 0xff00) << 8 | var_2 << 0x18;
  var_4(P,(type_4 *)skey);
  *(type_4 *)var_5 = P[2] >> 0x18 | (P[2] & 0xff0000) >> 8 | (P[2] & 0xff00) << 8 | P[2] << 0x18;
  *(type_4 *)(var_5 + 4) = P[3] >> 0x18 | (P[3] & 0xff0000) >> 8 | (P[3] & 0xff00) << 8 | P[3] << 0x18
  ;
  *(type_4 *)(var_5 + 8) = P[0] >> 0x18 | (P[0] & 0xff0000) >> 8 | (P[0] & 0xff00) << 8 | P[0] << 0x18
  ;
  *(type_4 *)(var_5 + 0xc) =
       P[1] >> 0x18 | (P[1] & 0xff0000) >> 8 | (P[1] & 0xff00) << 8 | P[1] << 0x18;
  if (var_6 == *(long *)(var_1 + 0x28)) {
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) 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: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (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: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

undefined8 MASKED(uint *param_1,uint *param_2,undefined8 param_3)

{
  uint uVar1;
  long in_FS_OFFSET;
  uint local_38;
  uint local_34;
  uint local_30;
  uint local_2c;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  uVar1 = *param_1;
  local_38 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = param_1[1];
  local_34 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = param_1[2];
  local_30 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  uVar1 = param_1[3];
  local_2c = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
  FUN_0011e9a4(&local_38,param_3);
  *param_2 = local_30 >> 0x18 | (local_30 & 0xff0000) >> 8 | (local_30 & 0xff00) << 8 |
             local_30 << 0x18;
  param_2[1] = local_2c >> 0x18 | (local_2c & 0xff0000) >> 8 | (local_2c & 0xff00) << 8 |
               local_2c << 0x18;
  param_2[2] = local_38 >> 0x18 | (local_38 & 0xff0000) >> 8 | (local_38 & 0xff00) << 8 |
               local_38 << 0x18;
  param_2[3] = local_34 >> 0x18 | (local_34 & 0xff0000) >> 8 | (local_34 & 0xff00) << 8 |
               local_34 << 0x18;
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

