Function at 0x14015a020
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x140297200]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x14015a513
test rdx, rdx
je 0x14015a513
mov qword [rcx + 0x30], rdx
mov edx, dword [rcx + 0x10]
mov ecx, edx
shl rcx, 0xa
cmp qword [rsi], 0
jne 0x14015a0ab
test rdx, rdx
je 0x14015a080
mov rax, rcx
shr rax, 0xa
cmp rax, rdx
jne 0x14015a0a1
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x14015a093
mov rdx, rcx
mov rcx, rsi
call rax
jmp 0x14015a09b
call fcn.1401e1af8
mov qword [rsi], rax
cmp qword [rsi], 0
jne 0x14015a0ab
mov eax, 0xffffffea
jmp 0x14015a518
movaps xmm0, xmmword [0x14022cfa0]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [0x14022cfb0]
lea rcx, [rsp + 0x30]
movabs rax, 0x6a09e667f2bdc948
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x14022cfc0]
mov qword [rsp + 0x5a0], rdi
mov edi, dword [rsi + 0x24]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x14022cfd0]
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.1401639d0
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401639d0
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14015a1ed
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1401639d0
test byte [rbx + 0x70], 1
je 0x14015a1ed
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.1401639d0
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14015a220
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x14015a268
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401639d0
test byte [rbx + 0x70], 2
je 0x14015a268
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.1401639d0
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x14015a29b
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1401639d0
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140163ae0
cmp dword [0x14029f780], r14d
je 0x14015a2c5
lea rdi, [rbp + 0x50]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
cmp dword [rsi + 0x28], r14d
je 0x14015a2db
mov r8d, dword [rsi + 0x24]
lea rcx, [rbp + 0x10]
mov rdx, rbx
call fcn.1401604b0
mov ebx, r14d
cmp dword [rsi + 0x1c], ebx
jbe 0x14015a4de
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.140163c00
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 0x14015a37e
lea rdx, [rbp + 0x60]
cmp rcx, rdx
jb 0x14015a37e
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 0x14015a350
jmp 0x14015a3e3
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 0x14015a390
mov r9d, 0x48
mov dword [rbp + 0x50], 1
lea r8, [rbp + 0x10]
mov edx, 0x400
lea rcx, [rbp + 0x60]
call fcn.140163c00
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 0x14015a46e
lea rcx, [rbp + 0x60]
cmp rax, rcx
jb 0x14015a46e
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 0x14015a440
jmp 0x14015a4d3
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 0x14015a480
inc ebx
cmp ebx, dword [rsi + 0x1c]
jb 0x14015a2f0
cmp dword [0x14029f780], 0
mov r14, qword [rsp + 0x5a8]
je 0x14015a507
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 0x14015a518
mov eax, 0xffffffe7
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1401d5dd0
add rsp, 0x570
pop rsi
pop rbx
pop rbp
ret