
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void SHA512_Simple(void *p,int len,uchar *output)

{
  int iVar1;
  int in_GS_OFFSET;
  SHA512_State s;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  s.h[0].hi = iv_4081;
  s.h[0].lo = DAT_00096ea4;
  s.h[1].hi = DAT_00096ea8;
  s.h[1].lo = DAT_00096eac;
  s.h[2].hi = DAT_00096eb0;
  s.h[2].lo = DAT_00096eb4;
  s.h[3].hi = DAT_00096eb8;
  s.h[3].lo = DAT_00096ebc;
  s.h[4].hi = DAT_00096ec0;
  s.h[4].lo = DAT_00096ec4;
  s.h[5].hi = DAT_00096ec8;
  s.h[5].lo = DAT_00096ecc;
  s.h[6].hi = DAT_00096ed0;
  s.h[6].lo = DAT_00096ed4;
  s.blkused = 0;
  s.h[7].hi = DAT_00096ed8;
  s.len[0] = 0;
  s.h[7].lo = DAT_00096edc;
  s.len[1] = 0;
  s.len[2] = 0;
  s.len[3] = 0;
  SHA512_Bytes(&s,p,len);
  SHA512_Final(&s,output);
  smemclr(&s,0xd4);
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int in_GS_OFFSET;
  undefined4 local_e4;
  undefined4 local_e0;
  undefined4 local_dc;
  undefined4 local_d8;
  undefined4 local_d4;
  undefined4 local_d0;
  undefined4 local_cc;
  undefined4 local_c8;
  undefined4 local_c4;
  undefined4 local_c0;
  undefined4 local_bc;
  undefined4 local_b8;
  undefined4 local_b4;
  undefined4 local_b0;
  undefined4 local_ac;
  undefined4 local_a8;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  undefined4 local_14;
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  local_e4 = DAT_00096ea0;
  local_e0 = DAT_00096ea4;
  local_dc = DAT_00096ea8;
  local_d8 = DAT_00096eac;
  local_d4 = DAT_00096eb0;
  local_d0 = DAT_00096eb4;
  local_cc = DAT_00096eb8;
  local_c8 = DAT_00096ebc;
  local_c4 = DAT_00096ec0;
  local_c0 = DAT_00096ec4;
  local_bc = DAT_00096ec8;
  local_b8 = DAT_00096ecc;
  local_b4 = DAT_00096ed0;
  local_b0 = DAT_00096ed4;
  local_24 = 0;
  local_ac = DAT_00096ed8;
  local_20 = 0;
  local_a8 = DAT_00096edc;
  local_1c = 0;
  local_18 = 0;
  local_14 = 0;
  FUN_0006a790(&local_e4,param_1,param_2);
  FUN_0006bee0(&local_e4,param_3);
  FUN_00020110(&local_e4,0xd4);
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00089270();
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015ff0
ADD EBX,0x5ab48
SUB ESP,0xe4
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xe0],EAX
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0xfc]
MOV EAX,dword ptr [EBX + 0xfffd0130]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [EBX + 0xfffd0134]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EBX + 0xfffd0138]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [EBX + 0xfffd013c]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EBX + 0xfffd0140]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EBX + 0xfffd0144]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [EBX + 0xfffd0148]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [EBX + 0xfffd014c]
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [EBX + 0xfffd0150]
MOV dword ptr [ESP + 0x2c],EAX
MOV EAX,dword ptr [EBX + 0xfffd0154]
MOV dword ptr [ESP + 0x30],EAX
MOV EAX,dword ptr [EBX + 0xfffd0158]
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,dword ptr [EBX + 0xfffd015c]
MOV dword ptr [ESP + 0x38],EAX
MOV EAX,dword ptr [EBX + 0xfffd0160]
MOV dword ptr [ESP + 0x3c],EAX
MOV EAX,dword ptr [EBX + 0xfffd0164]
MOV dword ptr [ESP + 0xcc],0x0
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,dword ptr [EBX + 0xfffd0168]
MOV dword ptr [ESP + 0xd0],0x0
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [EBX + 0xfffd016c]
MOV dword ptr [ESP + 0xd4],0x0
MOV dword ptr [ESP + 0x48],EAX
MOV dword ptr [ESP + 0xd8],0x0
MOV dword ptr [ESP + 0xdc],0x0
PUSH dword ptr [ESP + 0xf8]
PUSH dword ptr [ESP + 0xf8]
LEA ESI,[ESP + 0x14]
PUSH ESI
CALL 0x0006a790
POP EAX
POP EDX
PUSH EDI
PUSH ESI
CALL 0x0006bee0
POP ECX
POP EDI
PUSH 0xd4
PUSH ESI
CALL 0x00020110
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xdc]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x0006c36c
ADD ESP,0xe0
POP EBX
POP ESI
POP EDI
RET
CALL 0x00089270
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00089270();\n}\n\n" comment (function_definition "void FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00089270();\n}" primitive_type (function_declarator "FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00089270();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_e4;" type_identifier identifier ;) (declaration "undefined4 local_e0;" type_identifier identifier ;) (declaration "undefined4 local_dc;" type_identifier identifier ;) (declaration "undefined4 local_d8;" type_identifier identifier ;) (declaration "undefined4 local_d4;" type_identifier identifier ;) (declaration "undefined4 local_d0;" type_identifier identifier ;) (declaration "undefined4 local_cc;" type_identifier identifier ;) (declaration "undefined4 local_c8;" type_identifier identifier ;) (declaration "undefined4 local_c4;" type_identifier identifier ;) (declaration "undefined4 local_c0;" type_identifier identifier ;) (declaration "undefined4 local_bc;" type_identifier identifier ;) (declaration "undefined4 local_b8;" type_identifier identifier ;) (declaration "undefined4 local_b4;" type_identifier identifier ;) (declaration "undefined4 local_b0;" type_identifier identifier ;) (declaration "undefined4 local_ac;" type_identifier identifier ;) (declaration "undefined4 local_a8;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_e4 = DAT_00096ea0;" (assignment_expression "local_e4 = DAT_00096ea0" identifier = identifier) ;) (expression_statement "local_e0 = DAT_00096ea4;" (assignment_expression "local_e0 = DAT_00096ea4" identifier = identifier) ;) (expression_statement "local_dc = DAT_00096ea8;" (assignment_expression "local_dc = DAT_00096ea8" identifier = identifier) ;) (expression_statement "local_d8 = DAT_00096eac;" (assignment_expression "local_d8 = DAT_00096eac" identifier = identifier) ;) (expression_statement "local_d4 = DAT_00096eb0;" (assignment_expression "local_d4 = DAT_00096eb0" identifier = identifier) ;) (expression_statement "local_d0 = DAT_00096eb4;" (assignment_expression "local_d0 = DAT_00096eb4" identifier = identifier) ;) (expression_statement "local_cc = DAT_00096eb8;" (assignment_expression "local_cc = DAT_00096eb8" identifier = identifier) ;) (expression_statement "local_c8 = DAT_00096ebc;" (assignment_expression "local_c8 = DAT_00096ebc" identifier = identifier) ;) (expression_statement "local_c4 = DAT_00096ec0;" (assignment_expression "local_c4 = DAT_00096ec0" identifier = identifier) ;) (expression_statement "local_c0 = DAT_00096ec4;" (assignment_expression "local_c0 = DAT_00096ec4" identifier = identifier) ;) (expression_statement "local_bc = DAT_00096ec8;" (assignment_expression "local_bc = DAT_00096ec8" identifier = identifier) ;) (expression_statement "local_b8 = DAT_00096ecc;" (assignment_expression "local_b8 = DAT_00096ecc" identifier = identifier) ;) (expression_statement "local_b4 = DAT_00096ed0;" (assignment_expression "local_b4 = DAT_00096ed0" identifier = identifier) ;) (expression_statement "local_b0 = DAT_00096ed4;" (assignment_expression "local_b0 = DAT_00096ed4" identifier = identifier) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_ac = DAT_00096ed8;" (assignment_expression "local_ac = DAT_00096ed8" identifier = identifier) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_a8 = DAT_00096edc;" (assignment_expression "local_a8 = DAT_00096edc" identifier = identifier) ;) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "FUN_0006a790(&local_e4,param_1,param_2);" (call_expression "FUN_0006a790(&local_e4,param_1,param_2)" identifier (argument_list "(&local_e4,param_1,param_2)" ( (pointer_expression "&local_e4" & identifier) , identifier , identifier ))) ;) (expression_statement "FUN_0006bee0(&local_e4,param_3);" (call_expression "FUN_0006bee0(&local_e4,param_3)" identifier (argument_list "(&local_e4,param_3)" ( (pointer_expression "&local_e4" & identifier) , identifier ))) ;) (expression_statement "FUN_00020110(&local_e4,0xd4);" (call_expression "FUN_00020110(&local_e4,0xd4)" identifier (argument_list "(&local_e4,0xd4)" ( (pointer_expression "&local_e4" & identifier) , number_literal ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_00089270();" (call_expression "FUN_00089270()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid SHA512_Simple(void *p,int len,uchar *output)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  SHA512_State s;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  s.h[0].hi = iv_4081;\n  s.h[0].lo = DAT_00096ea4;\n  s.h[1].hi = DAT_00096ea8;\n  s.h[1].lo = DAT_00096eac;\n  s.h[2].hi = DAT_00096eb0;\n  s.h[2].lo = DAT_00096eb4;\n  s.h[3].hi = DAT_00096eb8;\n  s.h[3].lo = DAT_00096ebc;\n  s.h[4].hi = DAT_00096ec0;\n  s.h[4].lo = DAT_00096ec4;\n  s.h[5].hi = DAT_00096ec8;\n  s.h[5].lo = DAT_00096ecc;\n  s.h[6].hi = DAT_00096ed0;\n  s.h[6].lo = DAT_00096ed4;\n  s.blkused = 0;\n  s.h[7].hi = DAT_00096ed8;\n  s.len[0] = 0;\n  s.h[7].lo = DAT_00096edc;\n  s.len[1] = 0;\n  s.len[2] = 0;\n  s.len[3] = 0;\n  SHA512_Bytes(&s,p,len);\n  SHA512_Final(&s,output);\n  smemclr(&s,0xd4);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void SHA512_Simple(void *p,int len,uchar *output)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  SHA512_State s;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  s.h[0].hi = iv_4081;\n  s.h[0].lo = DAT_00096ea4;\n  s.h[1].hi = DAT_00096ea8;\n  s.h[1].lo = DAT_00096eac;\n  s.h[2].hi = DAT_00096eb0;\n  s.h[2].lo = DAT_00096eb4;\n  s.h[3].hi = DAT_00096eb8;\n  s.h[3].lo = DAT_00096ebc;\n  s.h[4].hi = DAT_00096ec0;\n  s.h[4].lo = DAT_00096ec4;\n  s.h[5].hi = DAT_00096ec8;\n  s.h[5].lo = DAT_00096ecc;\n  s.h[6].hi = DAT_00096ed0;\n  s.h[6].lo = DAT_00096ed4;\n  s.blkused = 0;\n  s.h[7].hi = DAT_00096ed8;\n  s.len[0] = 0;\n  s.h[7].lo = DAT_00096edc;\n  s.len[1] = 0;\n  s.len[2] = 0;\n  s.len[3] = 0;\n  SHA512_Bytes(&s,p,len);\n  SHA512_Final(&s,output);\n  smemclr(&s,0xd4);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "SHA512_Simple(void *p,int len,uchar *output)" identifier (parameter_list "(void *p,int len,uchar *output)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "uchar *output" type_identifier (pointer_declarator "*output" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  SHA512_State s;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  s.h[0].hi = iv_4081;\n  s.h[0].lo = DAT_00096ea4;\n  s.h[1].hi = DAT_00096ea8;\n  s.h[1].lo = DAT_00096eac;\n  s.h[2].hi = DAT_00096eb0;\n  s.h[2].lo = DAT_00096eb4;\n  s.h[3].hi = DAT_00096eb8;\n  s.h[3].lo = DAT_00096ebc;\n  s.h[4].hi = DAT_00096ec0;\n  s.h[4].lo = DAT_00096ec4;\n  s.h[5].hi = DAT_00096ec8;\n  s.h[5].lo = DAT_00096ecc;\n  s.h[6].hi = DAT_00096ed0;\n  s.h[6].lo = DAT_00096ed4;\n  s.blkused = 0;\n  s.h[7].hi = DAT_00096ed8;\n  s.len[0] = 0;\n  s.h[7].lo = DAT_00096edc;\n  s.len[1] = 0;\n  s.len[2] = 0;\n  s.len[3] = 0;\n  SHA512_Bytes(&s,p,len);\n  SHA512_Final(&s,output);\n  smemclr(&s,0xd4);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "SHA512_State s;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "s.h[0].hi = iv_4081;" (assignment_expression "s.h[0].hi = iv_4081" (field_expression "s.h[0].hi" (subscript_expression "s.h[0]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[0].lo = DAT_00096ea4;" (assignment_expression "s.h[0].lo = DAT_00096ea4" (field_expression "s.h[0].lo" (subscript_expression "s.h[0]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[1].hi = DAT_00096ea8;" (assignment_expression "s.h[1].hi = DAT_00096ea8" (field_expression "s.h[1].hi" (subscript_expression "s.h[1]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[1].lo = DAT_00096eac;" (assignment_expression "s.h[1].lo = DAT_00096eac" (field_expression "s.h[1].lo" (subscript_expression "s.h[1]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[2].hi = DAT_00096eb0;" (assignment_expression "s.h[2].hi = DAT_00096eb0" (field_expression "s.h[2].hi" (subscript_expression "s.h[2]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[2].lo = DAT_00096eb4;" (assignment_expression "s.h[2].lo = DAT_00096eb4" (field_expression "s.h[2].lo" (subscript_expression "s.h[2]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[3].hi = DAT_00096eb8;" (assignment_expression "s.h[3].hi = DAT_00096eb8" (field_expression "s.h[3].hi" (subscript_expression "s.h[3]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[3].lo = DAT_00096ebc;" (assignment_expression "s.h[3].lo = DAT_00096ebc" (field_expression "s.h[3].lo" (subscript_expression "s.h[3]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[4].hi = DAT_00096ec0;" (assignment_expression "s.h[4].hi = DAT_00096ec0" (field_expression "s.h[4].hi" (subscript_expression "s.h[4]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[4].lo = DAT_00096ec4;" (assignment_expression "s.h[4].lo = DAT_00096ec4" (field_expression "s.h[4].lo" (subscript_expression "s.h[4]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[5].hi = DAT_00096ec8;" (assignment_expression "s.h[5].hi = DAT_00096ec8" (field_expression "s.h[5].hi" (subscript_expression "s.h[5]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[5].lo = DAT_00096ecc;" (assignment_expression "s.h[5].lo = DAT_00096ecc" (field_expression "s.h[5].lo" (subscript_expression "s.h[5]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[6].hi = DAT_00096ed0;" (assignment_expression "s.h[6].hi = DAT_00096ed0" (field_expression "s.h[6].hi" (subscript_expression "s.h[6]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.h[6].lo = DAT_00096ed4;" (assignment_expression "s.h[6].lo = DAT_00096ed4" (field_expression "s.h[6].lo" (subscript_expression "s.h[6]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.blkused = 0;" (assignment_expression "s.blkused = 0" (field_expression "s.blkused" identifier . field_identifier) = number_literal) ;) (expression_statement "s.h[7].hi = DAT_00096ed8;" (assignment_expression "s.h[7].hi = DAT_00096ed8" (field_expression "s.h[7].hi" (subscript_expression "s.h[7]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.len[0] = 0;" (assignment_expression "s.len[0] = 0" (subscript_expression "s.len[0]" (field_expression "s.len" identifier . field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "s.h[7].lo = DAT_00096edc;" (assignment_expression "s.h[7].lo = DAT_00096edc" (field_expression "s.h[7].lo" (subscript_expression "s.h[7]" (field_expression "s.h" identifier . field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "s.len[1] = 0;" (assignment_expression "s.len[1] = 0" (subscript_expression "s.len[1]" (field_expression "s.len" identifier . field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "s.len[2] = 0;" (assignment_expression "s.len[2] = 0" (subscript_expression "s.len[2]" (field_expression "s.len" identifier . field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "s.len[3] = 0;" (assignment_expression "s.len[3] = 0" (subscript_expression "s.len[3]" (field_expression "s.len" identifier . field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "SHA512_Bytes(&s,p,len);" (call_expression "SHA512_Bytes(&s,p,len)" identifier (argument_list "(&s,p,len)" ( (pointer_expression "&s" & identifier) , identifier , identifier ))) ;) (expression_statement "SHA512_Final(&s,output);" (call_expression "SHA512_Final(&s,output)" identifier (argument_list "(&s,output)" ( (pointer_expression "&s" & identifier) , identifier ))) ;) (expression_statement "smemclr(&s,0xd4);" (call_expression "smemclr(&s,0xd4)" identifier (argument_list "(&s,0xd4)" ( (pointer_expression "&s" & identifier) , number_literal ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00089270();\n}\n\n" (function_definition "void FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00089270();\n}" primitive_type (function_declarator "FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00089270();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_e4;" type_identifier identifier ;) (declaration "undefined4 local_e0;" type_identifier identifier ;) (declaration "undefined4 local_dc;" type_identifier identifier ;) (declaration "undefined4 local_d8;" type_identifier identifier ;) (declaration "undefined4 local_d4;" type_identifier identifier ;) (declaration "undefined4 local_d0;" type_identifier identifier ;) (declaration "undefined4 local_cc;" type_identifier identifier ;) (declaration "undefined4 local_c8;" type_identifier identifier ;) (declaration "undefined4 local_c4;" type_identifier identifier ;) (declaration "undefined4 local_c0;" type_identifier identifier ;) (declaration "undefined4 local_bc;" type_identifier identifier ;) (declaration "undefined4 local_b8;" type_identifier identifier ;) (declaration "undefined4 local_b4;" type_identifier identifier ;) (declaration "undefined4 local_b0;" type_identifier identifier ;) (declaration "undefined4 local_ac;" type_identifier identifier ;) (declaration "undefined4 local_a8;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_e4 = DAT_00096ea0;" (assignment_expression "local_e4 = DAT_00096ea0" identifier = identifier) ;) (expression_statement "local_e0 = DAT_00096ea4;" (assignment_expression "local_e0 = DAT_00096ea4" identifier = identifier) ;) (expression_statement "local_dc = DAT_00096ea8;" (assignment_expression "local_dc = DAT_00096ea8" identifier = identifier) ;) (expression_statement "local_d8 = DAT_00096eac;" (assignment_expression "local_d8 = DAT_00096eac" identifier = identifier) ;) (expression_statement "local_d4 = DAT_00096eb0;" (assignment_expression "local_d4 = DAT_00096eb0" identifier = identifier) ;) (expression_statement "local_d0 = DAT_00096eb4;" (assignment_expression "local_d0 = DAT_00096eb4" identifier = identifier) ;) (expression_statement "local_cc = DAT_00096eb8;" (assignment_expression "local_cc = DAT_00096eb8" identifier = identifier) ;) (expression_statement "local_c8 = DAT_00096ebc;" (assignment_expression "local_c8 = DAT_00096ebc" identifier = identifier) ;) (expression_statement "local_c4 = DAT_00096ec0;" (assignment_expression "local_c4 = DAT_00096ec0" identifier = identifier) ;) (expression_statement "local_c0 = DAT_00096ec4;" (assignment_expression "local_c0 = DAT_00096ec4" identifier = identifier) ;) (expression_statement "local_bc = DAT_00096ec8;" (assignment_expression "local_bc = DAT_00096ec8" identifier = identifier) ;) (expression_statement "local_b8 = DAT_00096ecc;" (assignment_expression "local_b8 = DAT_00096ecc" identifier = identifier) ;) (expression_statement "local_b4 = DAT_00096ed0;" (assignment_expression "local_b4 = DAT_00096ed0" identifier = identifier) ;) (expression_statement "local_b0 = DAT_00096ed4;" (assignment_expression "local_b0 = DAT_00096ed4" identifier = identifier) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_ac = DAT_00096ed8;" (assignment_expression "local_ac = DAT_00096ed8" identifier = identifier) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_a8 = DAT_00096edc;" (assignment_expression "local_a8 = DAT_00096edc" identifier = identifier) ;) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "FUN_0006a790(&local_e4,param_1,param_2);" (call_expression "FUN_0006a790(&local_e4,param_1,param_2)" identifier (argument_list "(&local_e4,param_1,param_2)" ( (pointer_expression "&local_e4" & identifier) , identifier , identifier ))) ;) (expression_statement "FUN_0006bee0(&local_e4,param_3);" (call_expression "FUN_0006bee0(&local_e4,param_3)" identifier (argument_list "(&local_e4,param_3)" ( (pointer_expression "&local_e4" & identifier) , identifier ))) ;) (expression_statement "FUN_00020110(&local_e4,0xd4);" (call_expression "FUN_00020110(&local_e4,0xd4)" identifier (argument_list "(&local_e4,0xd4)" ( (pointer_expression "&local_e4" & identifier) , number_literal ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00089270();" (call_expression "FUN_00089270()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00089270();\n}" (primitive_type "void") (function_declarator "FUN_0006c220(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0006c220") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined4 local_dc;\n  undefined4 local_d8;\n  undefined4 local_d4;\n  undefined4 local_d0;\n  undefined4 local_cc;\n  undefined4 local_c8;\n  undefined4 local_c4;\n  undefined4 local_c0;\n  undefined4 local_bc;\n  undefined4 local_b8;\n  undefined4 local_b4;\n  undefined4 local_b0;\n  undefined4 local_ac;\n  undefined4 local_a8;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_e4 = DAT_00096ea0;\n  local_e0 = DAT_00096ea4;\n  local_dc = DAT_00096ea8;\n  local_d8 = DAT_00096eac;\n  local_d4 = DAT_00096eb0;\n  local_d0 = DAT_00096eb4;\n  local_cc = DAT_00096eb8;\n  local_c8 = DAT_00096ebc;\n  local_c4 = DAT_00096ec0;\n  local_c0 = DAT_00096ec4;\n  local_bc = DAT_00096ec8;\n  local_b8 = DAT_00096ecc;\n  local_b4 = DAT_00096ed0;\n  local_b0 = DAT_00096ed4;\n  local_24 = 0;\n  local_ac = DAT_00096ed8;\n  local_20 = 0;\n  local_a8 = DAT_00096edc;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = 0;\n  FUN_0006a790(&local_e4,param_1,param_2);\n  FUN_0006bee0(&local_e4,param_3);\n  FUN_00020110(&local_e4,0xd4);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00089270();\n}" ({ "{") (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_e4;" (type_identifier "undefined4") (identifier "local_e4") (; ";")) (declaration "undefined4 local_e0;" (type_identifier "undefined4") (identifier "local_e0") (; ";")) (declaration "undefined4 local_dc;" (type_identifier "undefined4") (identifier "local_dc") (; ";")) (declaration "undefined4 local_d8;" (type_identifier "undefined4") (identifier "local_d8") (; ";")) (declaration "undefined4 local_d4;" (type_identifier "undefined4") (identifier "local_d4") (; ";")) (declaration "undefined4 local_d0;" (type_identifier "undefined4") (identifier "local_d0") (; ";")) (declaration "undefined4 local_cc;" (type_identifier "undefined4") (identifier "local_cc") (; ";")) (declaration "undefined4 local_c8;" (type_identifier "undefined4") (identifier "local_c8") (; ";")) (declaration "undefined4 local_c4;" (type_identifier "undefined4") (identifier "local_c4") (; ";")) (declaration "undefined4 local_c0;" (type_identifier "undefined4") (identifier "local_c0") (; ";")) (declaration "undefined4 local_bc;" (type_identifier "undefined4") (identifier "local_bc") (; ";")) (declaration "undefined4 local_b8;" (type_identifier "undefined4") (identifier "local_b8") (; ";")) (declaration "undefined4 local_b4;" (type_identifier "undefined4") (identifier "local_b4") (; ";")) (declaration "undefined4 local_b0;" (type_identifier "undefined4") (identifier "local_b0") (; ";")) (declaration "undefined4 local_ac;" (type_identifier "undefined4") (identifier "local_ac") (; ";")) (declaration "undefined4 local_a8;" (type_identifier "undefined4") (identifier "local_a8") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_e4 = DAT_00096ea0;" (assignment_expression "local_e4 = DAT_00096ea0" (identifier "local_e4") (= "=") (identifier "DAT_00096ea0")) (; ";")) (expression_statement "local_e0 = DAT_00096ea4;" (assignment_expression "local_e0 = DAT_00096ea4" (identifier "local_e0") (= "=") (identifier "DAT_00096ea4")) (; ";")) (expression_statement "local_dc = DAT_00096ea8;" (assignment_expression "local_dc = DAT_00096ea8" (identifier "local_dc") (= "=") (identifier "DAT_00096ea8")) (; ";")) (expression_statement "local_d8 = DAT_00096eac;" (assignment_expression "local_d8 = DAT_00096eac" (identifier "local_d8") (= "=") (identifier "DAT_00096eac")) (; ";")) (expression_statement "local_d4 = DAT_00096eb0;" (assignment_expression "local_d4 = DAT_00096eb0" (identifier "local_d4") (= "=") (identifier "DAT_00096eb0")) (; ";")) (expression_statement "local_d0 = DAT_00096eb4;" (assignment_expression "local_d0 = DAT_00096eb4" (identifier "local_d0") (= "=") (identifier "DAT_00096eb4")) (; ";")) (expression_statement "local_cc = DAT_00096eb8;" (assignment_expression "local_cc = DAT_00096eb8" (identifier "local_cc") (= "=") (identifier "DAT_00096eb8")) (; ";")) (expression_statement "local_c8 = DAT_00096ebc;" (assignment_expression "local_c8 = DAT_00096ebc" (identifier "local_c8") (= "=") (identifier "DAT_00096ebc")) (; ";")) (expression_statement "local_c4 = DAT_00096ec0;" (assignment_expression "local_c4 = DAT_00096ec0" (identifier "local_c4") (= "=") (identifier "DAT_00096ec0")) (; ";")) (expression_statement "local_c0 = DAT_00096ec4;" (assignment_expression "local_c0 = DAT_00096ec4" (identifier "local_c0") (= "=") (identifier "DAT_00096ec4")) (; ";")) (expression_statement "local_bc = DAT_00096ec8;" (assignment_expression "local_bc = DAT_00096ec8" (identifier "local_bc") (= "=") (identifier "DAT_00096ec8")) (; ";")) (expression_statement "local_b8 = DAT_00096ecc;" (assignment_expression "local_b8 = DAT_00096ecc" (identifier "local_b8") (= "=") (identifier "DAT_00096ecc")) (; ";")) (expression_statement "local_b4 = DAT_00096ed0;" (assignment_expression "local_b4 = DAT_00096ed0" (identifier "local_b4") (= "=") (identifier "DAT_00096ed0")) (; ";")) (expression_statement "local_b0 = DAT_00096ed4;" (assignment_expression "local_b0 = DAT_00096ed4" (identifier "local_b0") (= "=") (identifier "DAT_00096ed4")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_ac = DAT_00096ed8;" (assignment_expression "local_ac = DAT_00096ed8" (identifier "local_ac") (= "=") (identifier "DAT_00096ed8")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_a8 = DAT_00096edc;" (assignment_expression "local_a8 = DAT_00096edc" (identifier "local_a8") (= "=") (identifier "DAT_00096edc")) (; ";")) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" (identifier "local_1c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" (identifier "local_18") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" (identifier "local_14") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0006a790(&local_e4,param_1,param_2);" (call_expression "FUN_0006a790(&local_e4,param_1,param_2)" (identifier "FUN_0006a790") (argument_list "(&local_e4,param_1,param_2)" (( "(") (pointer_expression "&local_e4" (& "&") (identifier "local_e4")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_0006bee0(&local_e4,param_3);" (call_expression "FUN_0006bee0(&local_e4,param_3)" (identifier "FUN_0006bee0") (argument_list "(&local_e4,param_3)" (( "(") (pointer_expression "&local_e4" (& "&") (identifier "local_e4")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "FUN_00020110(&local_e4,0xd4);" (call_expression "FUN_00020110(&local_e4,0xd4)" (identifier "FUN_00020110") (argument_list "(&local_e4,0xd4)" (( "(") (pointer_expression "&local_e4" (& "&") (identifier "local_e4")) (, ",") (number_literal "0xd4") () ")"))) (; ";")) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00089270();" (call_expression "FUN_00089270()" (identifier "FUN_00089270") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(void *p,int len,type_1 *output)

{
  int var_5;
  int var_1;
  type_2 s;
  
  var_5 = *(int *)(var_1 + 0x14);
  s.h[0].hi = iv_4081;
  s.h[0].lo = DAT_00096ea4;
  s.h[1].hi = DAT_00096ea8;
  s.h[1].lo = DAT_00096eac;
  s.h[2].hi = DAT_00096eb0;
  s.h[2].lo = DAT_00096eb4;
  s.h[3].hi = DAT_00096eb8;
  s.h[3].lo = DAT_00096ebc;
  s.h[4].hi = DAT_00096ec0;
  s.h[4].lo = DAT_00096ec4;
  s.h[5].hi = DAT_00096ec8;
  s.h[5].lo = DAT_00096ecc;
  s.h[6].hi = DAT_00096ed0;
  s.h[6].lo = DAT_00096ed4;
  s.blkused = 0;
  s.h[7].hi = DAT_00096ed8;
  s.len[0] = 0;
  s.h[7].lo = DAT_00096edc;
  s.len[1] = 0;
  s.len[2] = 0;
  s.len[3] = 0;
  var_2(&s,p,len);
  var_3(&s,output);
  var_4(&s,0xd4);
  if (var_5 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_6();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  int in_GS_OFFSET;
  undefined4 local_e4;
  undefined4 local_e0;
  undefined4 local_dc;
  undefined4 local_d8;
  undefined4 local_d4;
  undefined4 local_d0;
  undefined4 local_cc;
  undefined4 local_c8;
  undefined4 local_c4;
  undefined4 local_c0;
  undefined4 local_bc;
  undefined4 local_b8;
  undefined4 local_b4;
  undefined4 local_b0;
  undefined4 local_ac;
  undefined4 local_a8;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  undefined4 local_14;
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  local_e4 = DAT_00096ea0;
  local_e0 = DAT_00096ea4;
  local_dc = DAT_00096ea8;
  local_d8 = DAT_00096eac;
  local_d4 = DAT_00096eb0;
  local_d0 = DAT_00096eb4;
  local_cc = DAT_00096eb8;
  local_c8 = DAT_00096ebc;
  local_c4 = DAT_00096ec0;
  local_c0 = DAT_00096ec4;
  local_bc = DAT_00096ec8;
  local_b8 = DAT_00096ecc;
  local_b4 = DAT_00096ed0;
  local_b0 = DAT_00096ed4;
  local_24 = 0;
  local_ac = DAT_00096ed8;
  local_20 = 0;
  local_a8 = DAT_00096edc;
  local_1c = 0;
  local_18 = 0;
  local_14 = 0;
  FUN_0006a790(&local_e4,param_1,param_2);
  FUN_0006bee0(&local_e4,param_3);
  FUN_00020110(&local_e4,0xd4);
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00089270();
}

