Function at 0x14009bd50
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov rsi, r8
mov rax, qword [0x14013a028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x58]
movups xmmword [rdi + 0x34], xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x18], xmm0
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi - 8], xmm0
movaps xmm0, xmmword [0x140128280]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x140128290]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x14009c0b4
mov r14, rdx
mov rbx, rcx
lea eax, [rdx*8]
mov rcx, rdx
shr rcx, 0x1d
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x50], eax
cmp rdx, 0x40
jb 0x14009c0ac
lea r12, [0x140026510]
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
mov r15, r14
shr r15, 6
test byte [0x14014bc8b], 0x20
jne 0x14009c20e
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
mov ebp, dword [0x14014bc84]
bt ebp, 0x1c
jae 0x14009c1bd
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
test byte [0x14014bc83], 0x40
je 0x14009c1bd
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.14004a7c0
mov r8, r14
and r8, 0x3f
je 0x14009bebe
and r14, 0xffffffffffffffc0
add rbx, r14
mov dword [rsp + 0x98], r8d
mov rcx, rdi
mov rdx, rbx
call fcn.1400a9230
mov ebx, dword [rsp + 0x9c]
mov eax, dword [rsp + 0x98]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x54]
mov byte [rsp + rax + 0x58], 0x80
cmp rax, 0x38
jae 0x14009c0be
cmp rcx, 0x38
je 0x14009bf01
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1400a98e0
bswap r14d
mov dword [rsp + 0x90], r14d
bswap ebp
mov dword [rsp + 0x94], ebp
lea r14, [0x140026510]
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
test byte [0x14014bc8b], 0x20
jne 0x14009c1e2
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
mov ebp, dword [0x14014bc84]
bt ebp, 0x1c
jae 0x14009c195
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
test byte [0x14014bc83], 0x40
je 0x14009c195
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.14004a7c0
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
cmp ebx, 0x20
ja 0x14009c05e
cmp ebx, 4
jb 0x14009c05e
shr ebx, 2
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsi], eax
cmp ebx, 1
je 0x14009c05e
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + 4], eax
cmp ebx, 2
je 0x14009c05e
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + 8], eax
cmp ebx, 3
je 0x14009c05e
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0xc], eax
cmp ebx, 4
je 0x14009c05e
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [rsi + 0x10], eax
cmp ebx, 5
je 0x14009c05e
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [rsi + 0x14], eax
cmp ebx, 6
je 0x14009c05e
mov eax, dword [rsp + 0x48]
bswap eax
mov dword [rsi + 0x18], eax
cmp ebx, 7
je 0x14009c05e
mov eax, dword [rsp + 0x4c]
bswap eax
mov dword [rsi + 0x1c], eax
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400a77a0
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r8, r14
jmp 0x14009beab
mov ebx, 0x20
jmp 0x14009bec5
cmp eax, 0x3f
je 0x14009c0d6
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1400a98e0
lea r15, [0x140026510]
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
test byte [0x14014bc8b], 0x20
jne 0x14009c260
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
mov r12d, dword [0x14014bc84]
bt r12d, 0x1c
jae 0x14009c237
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x14014bc90]
lea rdx, [0x140013060]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14009c190
test byte [0x14014bc83], 0x40
je 0x14009c237
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.14004a7c0
xor ecx, ecx
jmp 0x14009beee
call fcn.1400bc200
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt ebp, 9
jb 0x14009c1b3
call fcn.140048300
jmp 0x14009bfce
call fcn.140049880
jmp 0x14009bfce
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
bt ebp, 9
jb 0x14009c1d8
call fcn.140048300
jmp 0x14009be9b
call fcn.140049880
jmp 0x14009be9b
mov ecx, 1
call fcn.1400a4d70
bt eax, 9
jae 0x14009bf50
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.1400494c0
jmp 0x14009bfce
mov ecx, 1
call fcn.1400a4d70
bt eax, 9
jae 0x14009be20
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.1400494c0
jmp 0x14009be9b
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt r12d, 9
jb 0x14009c256
call fcn.140048300
jmp 0x14009c189
call fcn.140049880
jmp 0x14009c189
mov ecx, 1
call fcn.1400a4d70
bt eax, 9
jae 0x14009c111
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.1400494c0
jmp 0x14009c189