Function at 0x140091940
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, r8
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0xa0], 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 [0x1401274d0]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x1401274e0]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x140091beb
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 0x140091bc4
mov r15, r14
shr r15, 6
mov ecx, 2
call fcn.140091d70
bt eax, 0x1d
jb 0x140091cf0
mov ecx, 1
call fcn.140091d70
mov ebp, eax
bt eax, 0x1c
jae 0x140091c9f
xor ecx, ecx
call fcn.140091d70
bt eax, 0x1e
jae 0x140091c9f
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.14004dcc0
mov r8, r14
and r8, 0x3f
jne 0x140091bdf
mov r14d, dword [rsp + 0x9c]
mov eax, dword [rsp + 0x98]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x54]
mov byte [rsp + rax + 0x58], 0x80
cmp rax, 0x38
jae 0x140091c05
cmp rcx, 0x38
je 0x140091a6f
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1400a3b00
bswap r15d
mov dword [rsp + 0x90], r15d
bswap ebp
mov dword [rsp + 0x94], ebp
lea rbx, [0x140027500]
lea r8, [rsp + 0x28]
mov qword [r8], rbx
lea rcx, [0x14014ac70]
lea rdx, [0x140055990]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140091c72
test byte [0x14014ac6b], 0x20
jne 0x140091cc4
lea r8, [rsp + 0x28]
mov qword [r8], rbx
lea rcx, [0x14014ac70]
lea rdx, [0x140055990]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140091c72
mov ebp, dword [0x14014ac64]
bt ebp, 0x1c
jae 0x140091c77
lea r8, [rsp + 0x28]
mov qword [r8], rbx
lea rcx, [0x14014ac70]
lea rdx, [0x140055990]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140091c72
test byte [0x14014ac63], 0x40
je 0x140091c77
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.14004dcc0
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 r14d, 0x20
ja 0x140091b78
cmp r14d, 4
jb 0x140091b78
shr r14d, 2
xor eax, eax
mov ecx, dword [rsp + rax*4 + 0x30]
bswap ecx
mov dword [rsi + rax*4], ecx
inc rax
cmp r14, rax
jne 0x140091b67
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 + 0xa0]
xor rcx, rsp
call fcn.1400a19c0
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov r8, r14
mov dword [rsp + 0x98], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.1400a3450
jmp 0x140091a2b
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x140091bc7
mov byte [rsp + 0x58], 0x80
mov ecx, 1
xor ebp, ebp
mov r14d, 0x20
xor r15d, r15d
jmp 0x140091a5c
cmp eax, 0x3f
je 0x140091c1d
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1400a3b00
mov ecx, 2
call fcn.140091d70
bt eax, 0x1d
jb 0x140091d41
mov ecx, 1
call fcn.140091d70
mov ebx, eax
bt eax, 0x1c
jae 0x140091d19
xor ecx, ecx
call fcn.140091d70
bt eax, 0x1e
jae 0x140091d19
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.14004dcc0
xor ecx, ecx
jmp 0x140091a5c
call fcn.14009f830
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt ebp, 9
jb 0x140091c95
call fcn.14004b800
jmp 0x140091b3c
call fcn.14004cd80
jmp 0x140091b3c
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
bt ebp, 9
jb 0x140091cba
call fcn.14004b800
jmp 0x140091a1e
call fcn.14004cd80
jmp 0x140091a1e
mov ecx, 1
call fcn.140091d70
bt eax, 9
jae 0x140091abe
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.14004c9c0
jmp 0x140091b3c
mov ecx, 1
call fcn.140091d70
bt eax, 9
jae 0x1400919e7
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.14004c9c0
jmp 0x140091a1e
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt ebx, 9
jb 0x140091d37
call fcn.14004b800
jmp 0x140091c6b
call fcn.14004cd80
jmp 0x140091c6b
mov ecx, 1
call fcn.140091d70
bt eax, 9
jae 0x140091c31
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.14004c9c0
jmp 0x140091c6b