Function at 0x14018bb70
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x1404f1658]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x14018c063
test rdx, rdx
je 0x14018c063
mov qword [rcx + 0x30], rdx
mov edx, dword [rcx + 0x10]
mov ecx, edx
shl rcx, 0xa
cmp qword [rsi], 0
jne 0x14018bbfb
test rdx, rdx
je 0x14018bbd0
mov rax, rcx
shr rax, 0xa
cmp rax, rdx
jne 0x14018bbf1
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x14018bbe3
mov rdx, rcx
mov rcx, rsi
call rax
jmp 0x14018bbeb
call fcn.14035a530
mov qword [rsi], rax
cmp qword [rsi], 0
jne 0x14018bbfb
mov eax, 0xffffffea
jmp 0x14018c068
movaps xmm0, xmmword [0x14046af70]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [0x14046af80]
lea rcx, [rsp + 0x30]
movabs rax, 0x6a09e667f2bdc948
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x14046af90]
mov qword [rsp + 0x5a0], rdi
mov edi, dword [rsi + 0x24]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x14046afa0]
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.140195540
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140195540
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140195540
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140195540
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140195540
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140195540
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140195540
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14018bd3d
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140195540
test byte [rbx + 0x70], 1
je 0x14018bd3d
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.140195540
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14018bd70
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140195540
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140195540
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x14018bdb8
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140195540
test byte [rbx + 0x70], 2
je 0x14018bdb8
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.140195540
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x14018bdeb
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140195540
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140195650
cmp dword [0x14078c5c0], r14d
je 0x14018be15
lea rdi, [rbp + 0x50]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
cmp dword [rsi + 0x28], r14d
je 0x14018be2b
mov r8d, dword [rsi + 0x24]
lea rcx, [rbp + 0x10]
mov rdx, rbx
call fcn.140192020
mov ebx, r14d
cmp dword [rsi + 0x1c], ebx
jbe 0x14018c02e
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.140195770
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 0x14018bece
lea rdx, [rbp + 0x60]
cmp rcx, rdx
jb 0x14018bece
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 0x14018bea0
jmp 0x14018bf33
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 0x14018bee0
mov r9d, 0x48
mov dword [rbp + 0x50], 1
lea r8, [rbp + 0x10]
mov edx, 0x400
lea rcx, [rbp + 0x60]
call fcn.140195770
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 0x14018bfbe
lea rcx, [rbp + 0x60]
cmp rax, rcx
jb 0x14018bfbe
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 0x14018bf90
jmp 0x14018c023
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 0x14018bfd0
inc ebx
cmp ebx, dword [rsi + 0x1c]
jb 0x14018be40
cmp dword [0x14078c5c0], 0
mov r14, qword [rsp + 0x5a8]
je 0x14018c057
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 0x14018c068
mov eax, 0xffffffe7
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.14034c3c0
add rsp, 0x570
pop rsi
pop rbx
pop rbp
ret