
/* WARNING: Unknown calling convention */

void sha256_init(void *ctx_)

{
  undefined8 uVar1;
  sha256_ctx *ctx;
  
  uVar1 = sha256_init::H0._8_8_;
  *(undefined8 *)ctx_ = sha256_init::H0._0_8_;
  *(undefined8 *)((long)ctx_ + 8) = uVar1;
  uVar1 = sha256_init::H0._24_8_;
  *(undefined8 *)((long)ctx_ + 0x10) = sha256_init::H0._16_8_;
  *(undefined8 *)((long)ctx_ + 0x18) = uVar1;
  *(undefined8 *)((long)ctx_ + 0x20) = 0;
  *(undefined4 *)((long)ctx_ + 0x68) = 0;
  return;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_001173c0(undefined8 *param_1)

{
  undefined8 uVar1;
  
  uVar1 = _UNK_0011ae08;
  *param_1 = _DAT_0011ae00;
  param_1[1] = uVar1;
  uVar1 = _UNK_0011ae18;
  param_1[2] = _DAT_0011ae10;
  param_1[3] = uVar1;
  param_1[4] = 0;
  *(undefined4 *)(param_1 + 0xd) = 0;
  return;
}


MOVDQA XMM0,xmmword ptr [0x0011ae00]
MOVUPS xmmword ptr [RDI],XMM0
MOVDQA XMM1,xmmword ptr [0x0011ae10]
MOVUPS xmmword ptr [RDI + 0x10],XMM1
MOV qword ptr [RDI + 0x20],0x0
MOV dword ptr [RDI + 0x68],0x0
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_001173c0(undefined8 *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_001173c0(undefined8 *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_001173c0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = _UNK_0011ae08;" (assignment_expression "uVar1 = _UNK_0011ae08" identifier = identifier) ;) (expression_statement "*param_1 = _DAT_0011ae00;" (assignment_expression "*param_1 = _DAT_0011ae00" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = uVar1;" (assignment_expression "param_1[1] = uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar1 = _UNK_0011ae18;" (assignment_expression "uVar1 = _UNK_0011ae18" identifier = identifier) ;) (expression_statement "param_1[2] = _DAT_0011ae10;" (assignment_expression "param_1[2] = _DAT_0011ae10" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = uVar1;" (assignment_expression "param_1[3] = uVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xd) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xd) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xd)" * (cast_expression "(undefined4 *)(param_1 + 0xd)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid sha256_init(void *ctx_)\n\n{\n  undefined8 uVar1;\n  sha256_ctx *ctx;\n  \n  uVar1 = sha256_init::H0._8_8_;\n  *(undefined8 *)ctx_ = sha256_init::H0._0_8_;\n  *(undefined8 *)((long)ctx_ + 8) = uVar1;\n  uVar1 = sha256_init::H0._24_8_;\n  *(undefined8 *)((long)ctx_ + 0x10) = sha256_init::H0._16_8_;\n  *(undefined8 *)((long)ctx_ + 0x18) = uVar1;\n  *(undefined8 *)((long)ctx_ + 0x20) = 0;\n  *(undefined4 *)((long)ctx_ + 0x68) = 0;\n  return;\n}\n\n" comment (function_definition "void sha256_init(void *ctx_)\n\n{\n  undefined8 uVar1;\n  sha256_ctx *ctx;\n  \n  uVar1 = sha256_init::H0._8_8_;\n  *(undefined8 *)ctx_ = sha256_init::H0._0_8_;\n  *(undefined8 *)((long)ctx_ + 8) = uVar1;\n  uVar1 = sha256_init::H0._24_8_;\n  *(undefined8 *)((long)ctx_ + 0x10) = sha256_init::H0._16_8_;\n  *(undefined8 *)((long)ctx_ + 0x18) = uVar1;\n  *(undefined8 *)((long)ctx_ + 0x20) = 0;\n  *(undefined4 *)((long)ctx_ + 0x68) = 0;\n  return;\n}" primitive_type (function_declarator "sha256_init(void *ctx_)" identifier (parameter_list "(void *ctx_)" ( (parameter_declaration "void *ctx_" primitive_type (pointer_declarator "*ctx_" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  sha256_ctx *ctx;\n  \n  uVar1 = sha256_init::H0._8_8_;\n  *(undefined8 *)ctx_ = sha256_init::H0._0_8_;\n  *(undefined8 *)((long)ctx_ + 8) = uVar1;\n  uVar1 = sha256_init::H0._24_8_;\n  *(undefined8 *)((long)ctx_ + 0x10) = sha256_init::H0._16_8_;\n  *(undefined8 *)((long)ctx_ + 0x18) = uVar1;\n  *(undefined8 *)((long)ctx_ + 0x20) = 0;\n  *(undefined4 *)((long)ctx_ + 0x68) = 0;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "sha256_ctx *ctx;" type_identifier (pointer_declarator "*ctx" * identifier) ;) (expression_statement "uVar1 = sha256_init::H0._8_8_;" (field_expression "uVar1 = sha256_init::H0._8_8_" (assignment_expression "uVar1 = sha256_init" identifier = identifier) (ERROR "::H0" : : identifier) . field_identifier) ;) (expression_statement "*(undefined8 *)ctx_ = sha256_init::H0._0_8_;" (field_expression "*(undefined8 *)ctx_ = sha256_init::H0._0_8_" (assignment_expression "*(undefined8 *)ctx_ = sha256_init" (pointer_expression "*(undefined8 *)ctx_" * (cast_expression "(undefined8 *)ctx_" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) (ERROR "::H0" : : identifier) . field_identifier) ;) (expression_statement "*(undefined8 *)((long)ctx_ + 8) = uVar1;" (assignment_expression "*(undefined8 *)((long)ctx_ + 8) = uVar1" (pointer_expression "*(undefined8 *)((long)ctx_ + 8)" * (cast_expression "(undefined8 *)((long)ctx_ + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx_ + 8)" ( (binary_expression "(long)ctx_ + 8" (cast_expression "(long)ctx_" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = sha256_init::H0._24_8_;" (field_expression "uVar1 = sha256_init::H0._24_8_" (assignment_expression "uVar1 = sha256_init" identifier = identifier) (ERROR "::H0" : : identifier) . field_identifier) ;) (expression_statement "*(undefined8 *)((long)ctx_ + 0x10) = sha256_init::H0._16_8_;" (field_expression "*(undefined8 *)((long)ctx_ + 0x10) = sha256_init::H0._16_8_" (assignment_expression "*(undefined8 *)((long)ctx_ + 0x10) = sha256_init" (pointer_expression "*(undefined8 *)((long)ctx_ + 0x10)" * (cast_expression "(undefined8 *)((long)ctx_ + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx_ + 0x10)" ( (binary_expression "(long)ctx_ + 0x10" (cast_expression "(long)ctx_" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) (ERROR "::H0" : : identifier) . field_identifier) ;) (expression_statement "*(undefined8 *)((long)ctx_ + 0x18) = uVar1;" (assignment_expression "*(undefined8 *)((long)ctx_ + 0x18) = uVar1" (pointer_expression "*(undefined8 *)((long)ctx_ + 0x18)" * (cast_expression "(undefined8 *)((long)ctx_ + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx_ + 0x18)" ( (binary_expression "(long)ctx_ + 0x18" (cast_expression "(long)ctx_" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)((long)ctx_ + 0x20) = 0;" (assignment_expression "*(undefined8 *)((long)ctx_ + 0x20) = 0" (pointer_expression "*(undefined8 *)((long)ctx_ + 0x20)" * (cast_expression "(undefined8 *)((long)ctx_ + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx_ + 0x20)" ( (binary_expression "(long)ctx_ + 0x20" (cast_expression "(long)ctx_" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((long)ctx_ + 0x68) = 0;" (assignment_expression "*(undefined4 *)((long)ctx_ + 0x68) = 0" (pointer_expression "*(undefined4 *)((long)ctx_ + 0x68)" * (cast_expression "(undefined4 *)((long)ctx_ + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ctx_ + 0x68)" ( (binary_expression "(long)ctx_ + 0x68" (cast_expression "(long)ctx_" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001173c0(undefined8 *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}\n\n" (function_definition "void FUN_001173c0(undefined8 *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_001173c0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = _UNK_0011ae08;" (assignment_expression "uVar1 = _UNK_0011ae08" identifier = identifier) ;) (expression_statement "*param_1 = _DAT_0011ae00;" (assignment_expression "*param_1 = _DAT_0011ae00" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = uVar1;" (assignment_expression "param_1[1] = uVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar1 = _UNK_0011ae18;" (assignment_expression "uVar1 = _UNK_0011ae18" identifier = identifier) ;) (expression_statement "param_1[2] = _DAT_0011ae10;" (assignment_expression "param_1[2] = _DAT_0011ae10" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = uVar1;" (assignment_expression "param_1[3] = uVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xd) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xd) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xd)" * (cast_expression "(undefined4 *)(param_1 + 0xd)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_001173c0(undefined8 *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001173c0(undefined8 *param_1)" (identifier "FUN_001173c0") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  uVar1 = _UNK_0011ae08;\n  *param_1 = _DAT_0011ae00;\n  param_1[1] = uVar1;\n  uVar1 = _UNK_0011ae18;\n  param_1[2] = _DAT_0011ae10;\n  param_1[3] = uVar1;\n  param_1[4] = 0;\n  *(undefined4 *)(param_1 + 0xd) = 0;\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = _UNK_0011ae08;" (assignment_expression "uVar1 = _UNK_0011ae08" (identifier "uVar1") (= "=") (identifier "_UNK_0011ae08")) (; ";")) (expression_statement "*param_1 = _DAT_0011ae00;" (assignment_expression "*param_1 = _DAT_0011ae00" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "_DAT_0011ae00")) (; ";")) (expression_statement "param_1[1] = uVar1;" (assignment_expression "param_1[1] = uVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = _UNK_0011ae18;" (assignment_expression "uVar1 = _UNK_0011ae18" (identifier "uVar1") (= "=") (identifier "_UNK_0011ae18")) (; ";")) (expression_statement "param_1[2] = _DAT_0011ae10;" (assignment_expression "param_1[2] = _DAT_0011ae10" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "_DAT_0011ae10")) (; ";")) (expression_statement "param_1[3] = uVar1;" (assignment_expression "param_1[3] = uVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xd) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xd) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xd)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xd)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(void *ctx_)

{
  type_1 uVar1;
  type_2 *ctx;
  
  uVar1 = function_1::H0._8_8_;
  *(type_1 *)ctx_ = function_1::H0._0_8_;
  *(type_1 *)((long)ctx_ + 8) = uVar1;
  uVar1 = function_1::H0._24_8_;
  *(type_1 *)((long)ctx_ + 0x10) = function_1::H0._16_8_;
  *(type_1 *)((long)ctx_ + 0x18) = uVar1;
  *(type_1 *)((long)ctx_ + 0x20) = 0;
  *(type_3 *)((long)ctx_ + 0x68) = 0;
  return;
}


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

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(undefined8 *param_1)

{
  undefined8 uVar1;
  
  uVar1 = _UNK_0011ae08;
  *param_1 = _DAT_0011ae00;
  param_1[1] = uVar1;
  uVar1 = _UNK_0011ae18;
  param_1[2] = _DAT_0011ae10;
  param_1[3] = uVar1;
  param_1[4] = 0;
  *(undefined4 *)(param_1 + 0xd) = 0;
  return;
}

