Function at 0x1401a7fd0
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x1405ec140]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x1401a84c3
test rdx, rdx
je 0x1401a84c3
mov qword [rcx + 0x30], rdx
mov edx, dword [rcx + 0x10]
mov ecx, edx
shl rcx, 0xa
cmp qword [rsi], 0
jne 0x1401a805b
test rdx, rdx
je 0x1401a8030
mov rax, rcx
shr rax, 0xa
cmp rax, rdx
jne 0x1401a8051
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x1401a8043
mov rdx, rcx
mov rcx, rsi
call rax
jmp 0x1401a804b
call fcn.14040d938
mov qword [rsi], rax
cmp qword [rsi], 0
jne 0x1401a805b
mov eax, 0xffffffea
jmp 0x1401a84c8
movaps xmm0, xmmword [0x140558570]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [0x140558580]
lea rcx, [rsp + 0x30]
movabs rax, 0x6a09e667f2bdc948
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x140558590]
mov qword [rsp + 0x5a0], rdi
mov edi, dword [rsi + 0x24]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x1405585a0]
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.1401b1630
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401b1630
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401a819d
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1401b1630
test byte [rbx + 0x70], 1
je 0x1401a819d
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.1401b1630
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1401a81d0
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x1401a8218
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401b1630
test byte [rbx + 0x70], 2
je 0x1401a8218
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.1401b1630
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x1401a824b
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1401b1630
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1401b1740
cmp dword [0x140885a00], r14d
je 0x1401a8275
lea rdi, [rbp + 0x50]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
cmp dword [rsi + 0x28], r14d
je 0x1401a828b
mov r8d, dword [rsi + 0x24]
lea rcx, [rbp + 0x10]
mov rdx, rbx
call fcn.1401ae2e0
mov ebx, r14d
cmp dword [rsi + 0x1c], ebx
jbe 0x1401a848e
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.1401b1860
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 0x1401a832e
lea rdx, [rbp + 0x60]
cmp rcx, rdx
jb 0x1401a832e
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 0x1401a8300
jmp 0x1401a8393
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 0x1401a8340
mov r9d, 0x48
mov dword [rbp + 0x50], 1
lea r8, [rbp + 0x10]
mov edx, 0x400
lea rcx, [rbp + 0x60]
call fcn.1401b1860
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 0x1401a841e
lea rcx, [rbp + 0x60]
cmp rax, rcx
jb 0x1401a841e
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 0x1401a83f0
jmp 0x1401a8483
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 0x1401a8430
inc ebx
cmp ebx, dword [rsi + 0x1c]
jb 0x1401a82a0
cmp dword [0x140885a00], 0
mov r14, qword [rsp + 0x5a8]
je 0x1401a84b7
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 0x1401a84c8
mov eax, 0xffffffe7
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1403ff380
add rsp, 0x570
pop rsi
pop rbx
pop rbp
ret