Function at 0x1400d1310
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x14018a240]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x1400d1803
test rdx, rdx
je 0x1400d1803
mov qword [rcx + 0x30], rdx
mov edx, dword [rcx + 0x10]
mov ecx, edx
shl rcx, 0xa
cmp qword [rsi], 0
jne 0x1400d139b
test rdx, rdx
je 0x1400d1370
mov rax, rcx
shr rax, 0xa
cmp rax, rdx
jne 0x1400d1391
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x1400d1383
mov rdx, rcx
mov rcx, rsi
call rax
jmp 0x1400d138b
call fcn.140123d80
mov qword [rsi], rax
cmp qword [rsi], 0
jne 0x1400d139b
mov eax, 0xffffffea
jmp 0x1400d1808
movaps xmm0, xmmword [0x14016a010]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [0x14016a020]
lea rcx, [rsp + 0x30]
movabs rax, 0x6a09e667f2bdc948
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x14016a030]
mov qword [rsp + 0x5a0], rdi
mov edi, dword [rsi + 0x24]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x14016a040]
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.1400dace0
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1400dace0
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400d14dd
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400dace0
test byte [rbx + 0x70], 1
je 0x1400d14dd
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.1400dace0
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400d1510
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x1400d1558
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400dace0
test byte [rbx + 0x70], 2
je 0x1400d1558
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.1400dace0
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x1400d158b
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1400dace0
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400dadf0
cmp dword [0x140419054], r14d
je 0x1400d15b5
lea rdi, [rbp + 0x50]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
cmp dword [rsi + 0x28], r14d
je 0x1400d15cb
mov r8d, dword [rsi + 0x24]
lea rcx, [rbp + 0x10]
mov rdx, rbx
call fcn.1400d77c0
mov ebx, r14d
cmp dword [rsi + 0x1c], ebx
jbe 0x1400d17ce
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.1400daf10
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 0x1400d166e
lea rdx, [rbp + 0x60]
cmp rcx, rdx
jb 0x1400d166e
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 0x1400d1640
jmp 0x1400d16d3
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 0x1400d1680
mov r9d, 0x48
mov dword [rbp + 0x50], 1
lea r8, [rbp + 0x10]
mov edx, 0x400
lea rcx, [rbp + 0x60]
call fcn.1400daf10
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 0x1400d175e
lea rcx, [rbp + 0x60]
cmp rax, rcx
jb 0x1400d175e
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 0x1400d1730
jmp 0x1400d17c3
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 0x1400d1770
inc ebx
cmp ebx, dword [rsi + 0x1c]
jb 0x1400d15e0
cmp dword [0x140419054], 0
mov r14, qword [rsp + 0x5a8]
je 0x1400d17f7
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 0x1400d1808
mov eax, 0xffffffe7
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140116030
add rsp, 0x570
pop rsi
pop rbx
pop rbp
ret