Function at 0x1401af230
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x140510618]
xor rax, rsp
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x1404887c0]
xor ebx, ebx
movaps xmm1, xmmword [0x1404887d0]
mov rdi, rdx
mov r10, r9
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x1404887e0]
mov r9, r8
movaps xmmword [rsp + 0x40], xmm1
cmp rdx, 0x40
movaps xmm1, xmmword [0x1404887f0]
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 0x1401af2ed
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.1401af020
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1401af120
jmp 0x1401af4ae
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.1401af020
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1401af120
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 0x1401af3fb
mov qword [rsp + 0x170], r14
lea r14d, [rdi - 0x41]
shr r14d, 5
inc r14d
nop dword [rax]
movaps xmm0, xmmword [0x1404887c0]
lea rax, [rbx + 0x40]
movaps xmm1, xmmword [0x1404887d0]
lea rdx, [rbp + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [0x1404887e0]
mov r8d, 0x40
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x1404887f0]
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.1401af120
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 0x1401af360
mov r14, qword [rsp + 0x170]
movaps xmm0, xmmword [0x1404887c0]
lea rdx, [rbp + 0x10]
movaps xmm1, xmmword [0x1404887d0]
movabs rcx, 0x6a09e667f3bcc908
movaps xmmword [rsp + 0x30], xmm0
mov rax, rdi
movaps xmm0, xmmword [0x1404887e0]
or rax, 0x1010000
movaps xmmword [rsp + 0x40], xmm1
xor rax, rcx
movaps xmm1, xmmword [0x1404887f0]
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.1401af120
mov r8, rdi
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.140362f30
cmp dword [0x1407ac9c0], 0
mov r15, qword [rsp + 0x168]
je 0x1401af4ae
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.1403606b0
add rsp, 0x178
pop rdi
pop rsi
pop rbx
pop rbp
ret