Function at 0x14018c1f0
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1405c5108]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
je 0x14018c55e
test rdx, rdx
je 0x14018c55e
mov qword [rcx + 0x30], rdx
mov edx, dword [rcx + 0x10]
mov ecx, edx
shl rcx, 0xa
cmp qword [rsi], 0
jne 0x14018c27b
test rdx, rdx
je 0x14018c250
mov rax, rcx
shr rax, 0xa
cmp rax, rdx
jne 0x14018c271
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x14018c263
mov rdx, rcx
mov rcx, rsi
call rax
jmp 0x14018c26b
call fcn.1403ea0dc
mov qword [rsi], rax
cmp qword [rsi], 0
jne 0x14018c27b
mov eax, 0xffffffea
jmp 0x14018c563
movaps xmm0, xmmword [0x140533550]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [0x140533560]
lea rcx, [rbp - 0x80]
movabs rax, 0x6a09e667f2bdc948
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x140533570]
mov qword [rsp + 0x4c0], rdi
mov edi, dword [rsi + 0x24]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x140533580]
mov qword [rbp - 0x80], rax
mov eax, dword [rbx + 0x54]
mov qword [rsp + 0x4c8], r14
xor r14d, r14d
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], r14
lea r8d, [r14 + 4]
mov qword [rbp - 0x38], r14
mov qword [rbp + 0x50], r14
mov dword [rsp + 0x20], eax
call fcn.140192f60
mov eax, dword [rbx + 8]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov eax, dword [rbx + 0x50]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov eax, dword [rbx + 0x4c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov eax, dword [rbx + 0x5c]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x80]
call fcn.140192f60
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov eax, dword [rbx + 0x18]
lea r8d, [r14 + 4]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14018c3ae
mov r8d, dword [rbx + 0x18]
lea rcx, [rbp - 0x80]
call fcn.140192f60
test byte [rbx + 0x70], 1
je 0x14018c3ae
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, [rbp - 0x80]
call fcn.140192f60
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14018c3df
mov r8d, dword [rbx + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x14018c425
mov r8d, dword [rbx + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140192f60
test byte [rbx + 0x70], 2
je 0x14018c425
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, [rbp - 0x80]
call fcn.140192f60
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x14018c456
mov r8d, dword [rbx + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140192f60
mov r8d, 0x40
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140193070
cmp dword [0x14085eb40], r14d
je 0x14018c481
lea rdi, [rsp + 0x70]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
cmp dword [rsi + 0x28], r14d
je 0x14018c498
mov r8d, dword [rsi + 0x24]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140190c20
mov edi, r14d
cmp dword [rsi + 0x1c], r14d
jbe 0x14018c528
nop word [rax + rax]
mov r9d, 0x48
mov dword [rsp + 0x70], r14d
lea r8, [rsp + 0x30]
mov dword [rsp + 0x74], edi
mov edx, 0x400
lea rcx, [rbp - 0x80]
call fcn.140193190
mov ecx, edi
lea rdx, [rbp - 0x80]
imul ecx, dword [rsi + 0x18]
shl rcx, 0xa
add rcx, qword [rsi]
call fcn.14018baf0
mov r9d, 0x48
mov dword [rsp + 0x70], 1
lea r8, [rsp + 0x30]
mov edx, 0x400
lea rcx, [rbp - 0x80]
call fcn.140193190
mov ecx, edi
lea rdx, [rbp - 0x80]
imul ecx, dword [rsi + 0x18]
inc ecx
shl rcx, 0xa
add rcx, qword [rsi]
call fcn.14018baf0
inc edi
cmp edi, dword [rsi + 0x1c]
jb 0x14018c4b0
cmp dword [0x14085eb40], 0
mov r14, qword [rsp + 0x4c8]
je 0x14018c552
xor eax, eax
lea rdi, [rbp - 0x80]
mov ecx, 0x400
rep stosb byte [rdi], al
lea rdi, [rsp + 0x30]
mov ecx, 0x48
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x4c0]
xor eax, eax
jmp 0x14018c563
mov eax, 0xffffffe7
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1403de160
add rsp, 0x490
pop rsi
pop rbx
pop rbp
ret