Function at 0x14017aa10
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 [0x1402b4040]
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 [0x14028ab10]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x14028ab20]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x14017ab70
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 0x14017ab86
lea r12, [0x140049830]
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
mov r15, r14
shr r15, 6
test byte [0x1402c6d9b], 0x20
jne 0x14017aeda
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
mov ebp, dword [0x1402c6d94]
bt ebp, 0x1c
jae 0x14017ae89
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
test byte [0x1402c6d93], 0x40
je 0x14017ae89
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.140083500
mov r8, r14
and r8, 0x3f
je 0x14017ab9c
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x14017ab89
mov byte [rsp + 0x58], 0x80
mov ecx, 1
xor ebp, ebp
mov ebx, 0x20
xor r14d, r14d
jmp 0x14017abcc
mov r8, r14
mov dword [rsp + 0x98], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.1401cdcb0
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 0x14017ad8a
cmp rcx, 0x38
je 0x14017abdf
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401ce350
bswap r14d
mov dword [rsp + 0x90], r14d
bswap ebp
mov dword [rsp + 0x94], ebp
lea r14, [0x140049830]
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
test byte [0x1402c6d9b], 0x20
jne 0x14017aeae
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
mov ebp, dword [0x1402c6d94]
bt ebp, 0x1c
jae 0x14017ae61
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
test byte [0x1402c6d93], 0x40
je 0x14017ae61
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140083500
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 0x14017ad3c
cmp ebx, 4
jb 0x14017ad3c
shr ebx, 2
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsi], eax
cmp ebx, 1
je 0x14017ad3c
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + 4], eax
cmp ebx, 2
je 0x14017ad3c
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + 8], eax
cmp ebx, 3
je 0x14017ad3c
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0xc], eax
cmp ebx, 4
je 0x14017ad3c
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [rsi + 0x10], eax
cmp ebx, 5
je 0x14017ad3c
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [rsi + 0x14], eax
cmp ebx, 6
je 0x14017ad3c
mov eax, dword [rsp + 0x48]
bswap eax
mov dword [rsi + 0x18], eax
cmp ebx, 7
je 0x14017ad3c
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.140192360
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp eax, 0x3f
je 0x14017ada2
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1401ce350
lea r15, [0x140049830]
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
test byte [0x1402c6d9b], 0x20
jne 0x14017af2c
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
mov r12d, dword [0x1402c6d94]
bt r12d, 0x1c
jae 0x14017af03
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402c6da0]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017ae5c
test byte [0x1402c6d93], 0x40
je 0x14017af03
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140083500
xor ecx, ecx
jmp 0x14017abcc
call fcn.1401aa9a0
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt ebp, 9
jb 0x14017ae7f
call fcn.140081040
jmp 0x14017acac
call fcn.1400825c0
jmp 0x14017acac
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
bt ebp, 9
jb 0x14017aea4
call fcn.140081040
jmp 0x14017ab5b
call fcn.1400825c0
jmp 0x14017ab5b
mov ecx, 1
call fcn.14018e450
bt eax, 9
jae 0x14017ac2e
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140082200
jmp 0x14017acac
mov ecx, 1
call fcn.14018e450
bt eax, 9
jae 0x14017aae0
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.140082200
jmp 0x14017ab5b
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt r12d, 9
jb 0x14017af22
call fcn.140081040
jmp 0x14017ae55
call fcn.1400825c0
jmp 0x14017ae55
mov ecx, 1
call fcn.14018e450
bt eax, 9
jae 0x14017addd
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140082200
jmp 0x14017ae55