Function at 0x14005d610
Capabilities:
Hash data using sha512

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x128
mov rax, qword [0x1402376b8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x190]
xor ebx, ebx
mov r15d, dword [rsp + 0x198]
mov r12d, ebx
mov qword [rsp + 0x68], rax
movsx eax, word [rsp + 0x1b0]
mov qword [rsp + 0x80], rcx
movsx rcx, word [rsp + 0x1a8]
mov rsi, rcx
mov word [rsp + 0x30], cx
lea eax, [rax + rax*2]
movsxd r14, r9d
shl eax, 2
mov rdi, rcx
movsxd rbp, eax
imul rsi, rbp
mov qword [rsp + 0x60], r8
shl rsi, 3
mov rcx, rsi
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x78], 1
mov qword [rsp + 0x50], 2
call qword [0x14018c518]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14005d9e8
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14018ad08
lea rcx, [rdi*8]
call qword [0x14018c518]
mov r13, rax
test rax, rax
je 0x14005d9e8
mov r9, qword [rsp + 0x38]
mov eax, ebx
mov rcx, r9
test rdi, rdi
jle 0x14005d710
lea rdx, [rbp*8]
nop
mov qword [r13 + rax*8], rcx
add rcx, rdx
inc rax
cmp rax, rdi
jl 0x14005d700
mov rdx, qword [rsp + 0x60]
lea eax, [r14 + r15]
movsxd rsi, eax
mov r8, r14
mov rcx, r9
lea rbp, [rsi + 0x30]
shr rbp, 6
inc rbp
mov qword [rsp + 0x70], rbp
call fcn.14018ad02
mov r15, qword [rsp + 0x38]
movsxd rdi, dword [rsp + 0x40]
add r15, r14
mov rdx, qword [rsp + 0x68]
mov rcx, r15
mov r8, rdi
call fcn.14018ad02
shl rbp, 6
add r15, rdi
mov r8, rbp
xor edx, edx
sub r8, rsi
mov rcx, r15
call fcn.14018ad08
mov rax, qword [rsp + 0x58]
xorps xmm0, xmm0
movsx rcx, word [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov qword [r15], rax
mov rax, qword [rsp + 0x1a0]
mov qword [r15 + 8], r14
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], rax
movsx rax, word [rsp + 0x1b0]
mov qword [r15 + 0x20], rcx
movabs rcx, 0x6a09e667f3bcc908
mov qword [r15 + 0x28], rax
mov rax, qword [rsp + 0x38]
mov byte [r15 + 0x30], 0x80
mov rdi, rax
xor byte [rax + rbp - 1], 1
mov qword [rsp + 0xd0], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rsp + 0xd8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rsp + 0xe0], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rsp + 0xe8], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rsp + 0xf0], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rsp + 0xf8], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x100], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rsp + 0x108], rcx
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
test rsi, rsi
je 0x14005d88a
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.14005ac80
add rdi, 0x40
sub rsi, 1
jne 0x14005d870
movsx r14d, word [rsp + 0x1b0]
lea rcx, [rsp + 0x90]
mov rdx, qword [r13]
mov r8d, r14d
call fcn.14005c4a0
mov r8, qword [r13 + 8]
lea rcx, [rsp + 0x90]
mov rdx, qword [r13]
mov r9d, r14d
call fcn.14005c840
mov rbx, qword [rsp + 0x78]
mov r10d, 8
mov r15, rbx
mov esi, 2
mov r8, qword [r13 + r12*8]
lea rdi, [rsi*8]
mov r9, qword [rdi + r13]
lea rcx, [rsp + 0x90]
mov rdx, qword [r10 + r13]
mov dword [rsp + 0x20], r14d
call fcn.14005cc50
mov rdx, qword [rsp + 0x50]
lea r10, [rdi]
mov rcx, rsi
add r12, r15
inc rsi
lea rax, [rdx - 1]
and r12, rax
jne 0x14005d922
lea r15, [rbx + rdx]
add rdx, rdx
mov qword [rsp + 0x50], rdx
neg rbx
movsx rdx, word [rsp + 0x30]
cmp rsi, rdx
jl 0x14005d8d2
mov ebp, 1
lea ebx, [rbp - 1]
cmp rbp, qword [rsp + 0x1a0]
jg 0x14005d9a4
mov r15d, edx
lea edi, [rdx - 1]
test bpl, 1
jne 0x14005d952
mov eax, 0xffffffff
jmp 0x14005d95c
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
dec eax
movsxd rsi, eax
nop
mov rdx, qword [r13 + rcx*8]
mov r12, rdi
and r12, qword [rsp + 0x90]
lea rcx, [rsp + 0x90]
mov r9, qword [r13 + rbx*8]
mov dword [rsp + 0x20], r14d
mov r8, qword [r13 + r12*8]
call fcn.14005d160
mov rcx, rbx
add rbx, rsi
and rbx, rdi
jne 0x14005d960
inc rbp
cmp rbp, qword [rsp + 0x1a0]
jle 0x14005d945
mov rdx, qword [r13 + r12*8]
lea rcx, [rsp + 0x90]
call fcn.140059440
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov rdx, qword [rsp + 0x80]
call fcn.140057af0
mov rcx, r13
call qword [0x14018c510]
mov rcx, qword [rsp + 0x38]
call qword [0x14018c510]
xor eax, eax
jmp 0x14005d9ed
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140189f20
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret