Function at 0x14017a430
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 [0x1402b3040]
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 [0x140289a60]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x140289a70]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x14017a590
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 0x14017a5a6
lea r12, [0x140049830]
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
mov r15, r14
shr r15, 6
test byte [0x1402c5d1b], 0x20
jne 0x14017a8fa
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
mov ebp, dword [0x1402c5d14]
bt ebp, 0x1c
jae 0x14017a8a9
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
test byte [0x1402c5d13], 0x40
je 0x14017a8a9
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.140083500
mov r8, r14
and r8, 0x3f
je 0x14017a5bc
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x14017a5a9
mov byte [rsp + 0x58], 0x80
mov ecx, 1
xor ebp, ebp
mov ebx, 0x20
xor r14d, r14d
jmp 0x14017a5ec
mov r8, r14
mov dword [rsp + 0x98], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.1401cd6f0
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 0x14017a7aa
cmp rcx, 0x38
je 0x14017a5ff
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401cdd90
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, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
test byte [0x1402c5d1b], 0x20
jne 0x14017a8ce
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
mov ebp, dword [0x1402c5d14]
bt ebp, 0x1c
jae 0x14017a881
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
test byte [0x1402c5d13], 0x40
je 0x14017a881
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 0x14017a75c
cmp ebx, 4
jb 0x14017a75c
shr ebx, 2
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsi], eax
cmp ebx, 1
je 0x14017a75c
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + 4], eax
cmp ebx, 2
je 0x14017a75c
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + 8], eax
cmp ebx, 3
je 0x14017a75c
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0xc], eax
cmp ebx, 4
je 0x14017a75c
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [rsi + 0x10], eax
cmp ebx, 5
je 0x14017a75c
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [rsi + 0x14], eax
cmp ebx, 6
je 0x14017a75c
mov eax, dword [rsp + 0x48]
bswap eax
mov dword [rsi + 0x18], eax
cmp ebx, 7
je 0x14017a75c
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.140191d80
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 0x14017a7c2
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1401cdd90
lea r15, [0x140049830]
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
test byte [0x1402c5d1b], 0x20
jne 0x14017a94c
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
mov r12d, dword [0x1402c5d14]
bt r12d, 0x1c
jae 0x14017a923
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402c5d20]
lea rdx, [0x14002c500]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14017a87c
test byte [0x1402c5d13], 0x40
je 0x14017a923
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140083500
xor ecx, ecx
jmp 0x14017a5ec
call fcn.1401aa3c0
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt ebp, 9
jb 0x14017a89f
call fcn.140081040
jmp 0x14017a6cc
call fcn.1400825c0
jmp 0x14017a6cc
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
bt ebp, 9
jb 0x14017a8c4
call fcn.140081040
jmp 0x14017a57b
call fcn.1400825c0
jmp 0x14017a57b
mov ecx, 1
call fcn.14018de70
bt eax, 9
jae 0x14017a64e
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140082200
jmp 0x14017a6cc
mov ecx, 1
call fcn.14018de70
bt eax, 9
jae 0x14017a500
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.140082200
jmp 0x14017a57b
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt r12d, 9
jb 0x14017a942
call fcn.140081040
jmp 0x14017a875
call fcn.1400825c0
jmp 0x14017a875
mov ecx, 1
call fcn.14018de70
bt eax, 9
jae 0x14017a7fd
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140082200
jmp 0x14017a875