Function at 0x1401342c0
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 [0x140260028]
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 [0x140244360]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x140244370]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x140134420
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 0x140134436
lea r12, [0x14004d240]
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
mov r15, r14
shr r15, 6
test byte [0x1402724cb], 0x20
jne 0x1401347b1
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
mov ebp, dword [0x1402724c4]
bt ebp, 0x1c
jae 0x140134738
lea r8, [rsp + 0x28]
mov qword [r8], r12
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
test byte [0x1402724c3], 0x40
je 0x140134738
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.140083440
mov r8, r14
and r8, 0x3f
je 0x14013444c
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x140134439
mov byte [rsp + 0x58], 0x80
mov ecx, 1
xor ebp, ebp
mov ebx, 0x20
xor r14d, r14d
jmp 0x14013447c
mov r8, r14
mov dword [rsp + 0x98], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.14014ac10
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 0x14013463a
cmp rcx, 0x38
je 0x14013448f
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.14014b2c0
bswap r14d
mov dword [rsp + 0x90], r14d
bswap ebp
mov dword [rsp + 0x94], ebp
lea r14, [0x14004d240]
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
test byte [0x1402724cb], 0x20
jne 0x140134785
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
mov ebp, dword [0x1402724c4]
bt ebp, 0x1c
jae 0x140134710
lea r8, [rsp + 0x28]
mov qword [r8], r14
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
test byte [0x1402724c3], 0x40
je 0x140134710
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140083440
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 0x1401345ec
cmp ebx, 4
jb 0x1401345ec
shr ebx, 2
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsi], eax
cmp ebx, 1
je 0x1401345ec
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + 4], eax
cmp ebx, 2
je 0x1401345ec
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + 8], eax
cmp ebx, 3
je 0x1401345ec
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0xc], eax
cmp ebx, 4
je 0x1401345ec
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [rsi + 0x10], eax
cmp ebx, 5
je 0x1401345ec
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [rsi + 0x14], eax
cmp ebx, 6
je 0x1401345ec
mov eax, dword [rsp + 0x48]
bswap eax
mov dword [rsi + 0x18], eax
cmp ebx, 7
je 0x1401345ec
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.140149190
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 0x140134652
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.14014b2c0
lea r15, [0x14004d240]
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
test byte [0x1402724cb], 0x20
jne 0x1401347da
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
mov r12d, dword [0x1402724c4]
bt r12d, 0x1c
jae 0x14013475d
lea r8, [rsp + 0x28]
mov qword [r8], r15
lea rcx, [0x1402724d0]
lea rdx, [0x1400322b0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140134780
test byte [0x1402724c3], 0x40
je 0x14013475d
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140083440
xor ecx, ecx
jmp 0x14013447c
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt ebp, 9
jb 0x14013472e
call fcn.140080f80
jmp 0x14013455c
call fcn.140082500
jmp 0x14013455c
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
bt ebp, 9
jb 0x140134753
call fcn.140080f80
jmp 0x14013440b
call fcn.140082500
jmp 0x14013440b
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
bt r12d, 9
jb 0x140134779
call fcn.140080f80
jmp 0x140134709
call fcn.140082500
jmp 0x140134709
call fcn.1401466c0
mov ecx, 1
call fcn.140144e30
bt eax, 9
jae 0x1401344de
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140082140
jmp 0x14013455c
mov ecx, 1
call fcn.140144e30
bt eax, 9
jae 0x140134390
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.140082140
jmp 0x14013440b
mov ecx, 1
call fcn.140144e30
bt eax, 9
jae 0x14013468d
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rdi
call fcn.140082140
jmp 0x140134709