Function at 0x1589f0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0xf0
mov ecx, 0x8000
mov rdi, r9
mov ebx, r8d
mov rsi, rdx
call fcn.00153540
mov r8d, ebx
mov r10, qword [rax + 8]
mov rcx, qword [rax]
mov rdx, rdi
mov rbp, rax
call qword [r10 + 8]
mov r11, qword [rbp + 8]
mov rcx, qword [rbp]
mov r8d, 4
mov rdx, rsi
call qword [r11 + 8]
mov r11, qword [rbp + 8]
mov r8d, dword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rbp]
call qword [r11 + 8]
mov r11, qword [rbp + 8]
mov rcx, qword [rbp]
xor r8d, r8d
xor edx, edx
call qword [r11 + 0x28]
mov r11, qword [rbp + 8]
mov rax, qword [r11 + 0x10]
test rax, rax
jne 0x158b49
or esi, 0xffffffff
movsxd rcx, esi
call fcn.0015b01c
mov rcx, qword [rbp]
mov r8d, esi
mov r12, rax
mov rax, qword [rbp + 8]
mov rdx, r12
call qword [rax]
mov eax, dword [0x0016f430]
xor r14d, r14d
mov ebx, 0x40
mov dword [rsp + 0xa8], eax
mov eax, dword [0x0016f434]
cmp esi, ebx
mov dword [rsp + 0xac], eax
mov eax, dword [0x0016f438]
cmovb ebx, esi
mov dword [rsp + 0xb0], eax
mov eax, dword [0x0016f43c]
lea rcx, [rsp + 0x28]
mov dword [rsp + 0xb4], eax
mov eax, dword [0x0016f440]
mov r8d, ebx
mov dword [rsp + 0xb8], eax
mov eax, dword [0x0016f444]
mov rdx, r12
mov dword [rsp + 0xbc], eax
mov eax, dword [0x0016f448]
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0xc0], eax
mov eax, dword [0x0016f44c]
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0xc4], eax
call fcn.00161d00
mov eax, dword [rsp + 0x24]
add eax, esi
cmp eax, 0x40
jae 0x158b65
mov dword [rsp + 0x24], eax
jmp 0x158bbf
mov rcx, qword [rbp]
call rax
mov esi, eax
test eax, eax
jne 0x158a8e
lea r12, [0x0016c03d]
jmp 0x158aa9
sub esi, ebx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov edi, esi
mov r8d, 1
add rbx, r12
shr edi, 6
call fcn.001536e0
lea rcx, [rsp + 0x20]
mov r8d, edi
mov rdx, rbx
call fcn.001536e0
mov edx, edi
and esi, 0x3f
shl edx, 6
lea rcx, [rsp + 0x28]
mov r8d, esi
add rdx, rbx
call fcn.00161d00
mov eax, dword [rsp + 0x20]
shl edi, 6
lea ecx, [rax + rdi + 0x40]
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.001560c0
mov eax, dword [0x0016f434]
mov r11d, dword [0x0016f430]
mov dword [rsp + 0xac], eax
mov eax, dword [0x0016f438]
lea rcx, [rsp + 0xd0]
mov dword [rsp + 0xb0], eax
mov eax, dword [0x0016f43c]
mov dword [rsp + 0xa8], r11d
mov dword [rsp + 0xb4], eax
mov eax, dword [0x0016f440]
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0xb8], eax
mov eax, dword [0x0016f444]
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0xbc], eax
mov eax, dword [0x0016f448]
mov dword [rsp + 0xc0], eax
mov eax, dword [0x0016f44c]
mov dword [rsp + 0xc4], eax
mov rax, qword [rcx]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
lea eax, [r14 + 0x20]
cmp eax, 0x40
jae 0x158c7f
mov dword [rsp + 0x24], eax
jmp 0x158cb3
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.001536e0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.001536e0
add dword [rsp + 0x20], 0x40
mov dword [rsp + 0x24], r14d
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x20]
call fcn.001560c0
mov rcx, r12
call fcn.0015b8c0
mov r11, qword [rbp + 8]
mov rax, qword [r11 + 0x38]
test rax, rax
je 0x158ce3
mov rcx, qword [rbp]
mov rdx, rbp
call rax
mov rcx, rbp
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
jmp fcn.0015b8c0