Function at 0x14016a5b0
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x1403ed770]
xor ebx, ebx
movaps xmm1, xmmword [0x1403ed780]
mov rdi, rdx
mov r10, r9
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x1403ed790]
mov r9, r8
movaps xmmword [rsp + 0x40], xmm1
cmp rdx, 0x40
movaps xmm1, xmmword [0x1403ed7a0]
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 0x14016a66d
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.14016a3a0
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14016a4a0
jmp 0x14016a82e
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.14016a3a0
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14016a4a0
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 0x14016a77b
mov qword [rsp + 0x170], r14
lea r14d, [rdi - 0x41]
shr r14d, 5
inc r14d
nop dword [rax]
movaps xmm0, xmmword [0x1403ed770]
lea rax, [rbx + 0x40]
movaps xmm1, xmmword [0x1403ed780]
lea rdx, [rbp + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [0x1403ed790]
mov r8d, 0x40
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x1403ed7a0]
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.14016a4a0
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 0x14016a6e0
mov r14, qword [rsp + 0x170]
movaps xmm0, xmmword [0x1403ed770]
lea rdx, [rbp + 0x10]
movaps xmm1, xmmword [0x1403ed780]
movabs rcx, 0x6a09e667f3bcc908
movaps xmmword [rsp + 0x30], xmm0
mov rax, rdi
movaps xmm0, xmmword [0x1403ed790]
or rax, 0x1010000
movaps xmmword [rsp + 0x40], xmm1
xor rax, rcx
movaps xmm1, xmmword [0x1403ed7a0]
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.14016a4a0
mov r8, rdi
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.140319860
cmp dword [0x1407019c0], 0
mov r15, qword [rsp + 0x168]
je 0x14016a82e
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.1403171d0
add rsp, 0x178
pop rdi
pop rsi
pop rbx
pop rbp
ret