Function at 0x1401a6500
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x140519680]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x1401a69f3
test rdx, rdx
je 0x1401a69f3
mov qword [rcx + 0x30], rdx
mov edx, dword [rcx + 0x10]
mov ecx, edx
shl rcx, 0xa
cmp qword [rsi], 0
jne 0x1401a658b
test rdx, rdx
je 0x1401a6560
mov rax, rcx
shr rax, 0xa
cmp rax, rdx
jne 0x1401a6581
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x1401a6573
mov rdx, rcx
mov rcx, rsi
call rax
jmp 0x1401a657b
call fcn.140375c94
mov qword [rsi], rax
cmp qword [rsi], 0
jne 0x1401a658b
mov eax, 0xffffffea
jmp 0x1401a69f8
movaps xmm0, xmmword [0x14048deb0]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [0x14048dec0]
lea rcx, [rsp + 0x30]
movabs rax, 0x6a09e667f2bdc948
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x14048ded0]
mov qword [rsp + 0x5a0], rdi
mov edi, dword [rsi + 0x24]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x14048dee0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0x54]
mov qword [rsp + 0x5a8], r14
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
lea r8d, [r14 + 4]
mov qword [rsp + 0x78], r14
mov qword [rbp], r14
mov dword [rsp + 0x20], eax
call fcn.1401afb60
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401a66cd
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1401afb60
test byte [rbx + 0x70], 1
je 0x1401a66cd
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r14d
mov eax, dword [rbx + 0x28]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1401a6700
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x1401a6748
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401afb60
test byte [rbx + 0x70], 2
je 0x1401a6748
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r14d
mov eax, dword [rbx + 0x48]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x1401a677b
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1401afb60
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1401afc70
cmp dword [0x1407b1e88], r14d
je 0x1401a67a5
lea rdi, [rbp + 0x50]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
cmp dword [rsi + 0x28], r14d
je 0x1401a67bb
mov r8d, dword [rsi + 0x24]
lea rcx, [rbp + 0x10]
mov rdx, rbx
call fcn.1401ac810
mov ebx, r14d
cmp dword [rsi + 0x1c], ebx
jbe 0x1401a69be
nop word [rax + rax]
mov r9d, 0x48
mov dword [rbp + 0x50], r14d
lea r8, [rbp + 0x10]
mov dword [rbp + 0x54], ebx
mov edx, 0x400
lea rcx, [rbp + 0x60]
call fcn.1401afd90
mov rax, qword [rsi]
lea rdx, [rbp + 0x458]
mov ecx, ebx
imul ecx, dword [rsi + 0x18]
shl rcx, 0xa
add rax, rcx
lea rcx, [rax + 0x3f8]
cmp rax, rdx
ja 0x1401a685e
lea rdx, [rbp + 0x60]
cmp rcx, rdx
jb 0x1401a685e
lea rdx, [rbp + 0x60]
mov edi, 0x20
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdx]
lea rdx, [rdx + 0x20]
mov qword [rax], rcx
lea rax, [rax + 0x20]
mov rcx, qword [rdx - 0x18]
mov qword [rax - 0x18], rcx
mov rcx, qword [rdx - 0x10]
mov qword [rax - 0x10], rcx
mov rcx, qword [rdx - 8]
mov qword [rax - 8], rcx
sub rdi, 1
jne 0x1401a6830
jmp 0x1401a68c3
lea rcx, [rbp + 0x60]
mov edx, 8
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1401a6870
mov r9d, 0x48
mov dword [rbp + 0x50], 1
lea r8, [rbp + 0x10]
mov edx, 0x400
lea rcx, [rbp + 0x60]
call fcn.1401afd90
mov edx, ebx
lea rcx, [rbp + 0x458]
imul edx, dword [rsi + 0x18]
inc edx
shl rdx, 0xa
add rdx, qword [rsi]
lea rax, [rdx + 0x3f8]
cmp rdx, rcx
ja 0x1401a694e
lea rcx, [rbp + 0x60]
cmp rax, rcx
jb 0x1401a694e
lea rcx, [rbp + 0x60]
mov edi, 0x20
nop word [rax + rax]
mov rax, qword [rcx]
lea rcx, [rcx + 0x20]
mov qword [rdx], rax
lea rdx, [rdx + 0x20]
mov rax, qword [rcx - 0x18]
mov qword [rdx - 0x18], rax
mov rax, qword [rcx - 0x10]
mov qword [rdx - 0x10], rax
mov rax, qword [rcx - 8]
mov qword [rdx - 8], rax
sub rdi, 1
jne 0x1401a6920
jmp 0x1401a69b3
lea rax, [rbp + 0x60]
mov ecx, 8
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x1401a6960
inc ebx
cmp ebx, dword [rsi + 0x1c]
jb 0x1401a67d0
cmp dword [0x1407b1e88], 0
mov r14, qword [rsp + 0x5a8]
je 0x1401a69e7
xor eax, eax
lea rdi, [rbp + 0x60]
mov ecx, 0x400
rep stosb byte [rdi], al
lea rdi, [rbp + 0x10]
mov ecx, 0x48
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x5a0]
xor eax, eax
jmp 0x1401a69f8
mov eax, 0xffffffe7
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140367840
add rsp, 0x570
pop rsi
pop rbx
pop rbp
ret