Function at 0x18016d150
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x1804be628]
xor rax, rsp
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x18043d910]
xor ebx, ebx
movaps xmm1, xmmword [0x18043d920]
mov rdi, rdx
mov r10, r9
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x18043d930]
mov r9, r8
movaps xmmword [rsp + 0x40], xmm1
cmp rdx, 0x40
movaps xmm1, xmmword [0x18043d940]
mov rsi, rcx
movaps xmmword [rsp + 0x50], xmm0
mov r8, r10
movaps xmmword [rsp + 0x60], xmm1
mov rdx, r9
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x80], edi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
ja 0x18016d20d
movabs rcx, 0x6a09e667f3bcc908
mov rax, rdi
or rax, 0x1010000
mov ebx, 4
xor rax, rcx
mov qword [rbp], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.18016cf40
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.18016d040
jmp 0x18016d3ce
lea rax, [rbx + 4]
mov qword [rsp + 0x168], r15
movabs r15, 0x6a09e667f2bdc948
mov qword [rbp], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r15
call fcn.18016cf40
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.18016d040
movaps xmm2, xmmword [rbp + 0x10]
add edi, 0xffffffe0
movaps xmm3, xmmword [rbp + 0x20]
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
add rsi, 0x20
cmp edi, 0x40
jbe 0x18016d31b
mov qword [rsp + 0x170], r14
lea r14d, [rdi - 0x41]
shr r14d, 5
inc r14d
nop dword [rax]
movaps xmm0, xmmword [0x18043d910]
lea rax, [rbx + 0x40]
movaps xmm1, xmmword [0x18043d920]
lea rdx, [rbp + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [0x18043d930]
mov r8d, 0x40
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x18043d940]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x30], r15
movaps xmmword [rbp - 0x80], xmm2
movaps xmmword [rbp - 0x70], xmm3
mov qword [rbp], rax
call fcn.18016d040
movaps xmm2, xmmword [rbp + 0x10]
add edi, 0xffffffe0
movaps xmm3, xmmword [rbp + 0x20]
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
add rsi, 0x20
sub r14, 1
jne 0x18016d280
mov r14, qword [rsp + 0x170]
movaps xmm0, xmmword [0x18043d910]
lea rdx, [rbp + 0x10]
movaps xmm1, xmmword [0x18043d920]
movabs rcx, 0x6a09e667f3bcc908
movaps xmmword [rsp + 0x30], xmm0
mov rax, rdi
movaps xmm0, xmmword [0x18043d930]
or rax, 0x1010000
movaps xmmword [rsp + 0x40], xmm1
xor rax, rcx
movaps xmm1, xmmword [0x18043d940]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rdi
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x40]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
add rbx, 0x40
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x30], rax
movaps xmmword [rbp - 0x80], xmm2
movaps xmmword [rbp - 0x70], xmm3
mov qword [rbp], rbx
call fcn.18016d040
mov r8, rdi
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.180321590
cmp dword [0x180759180], 0
mov r15, qword [rsp + 0x168]
je 0x18016d3ce
lea rdi, [rbp + 0x10]
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.18031edb0
add rsp, 0x178
pop rdi
pop rsi
pop rbx
pop rbp
ret