Function at 0x140006190
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14000edf0], eax
jle 0x140006214
lea rcx, [0x14000edf0]
call fcn.140007074
cmp dword [0x14000edf0], 0xffffffff
jne 0x140006214
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetTimerResolution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000edf8], rax
lea rcx, [0x14000edf0]
call fcn.140007008
xor ebx, ebx
mov dword [rsp + 0x78], ebx
lea r8, [rsp + 0x78]
mov dl, 1
mov ecx, 0x1388
call qword [0x14000edf8]
test eax, eax
je 0x140006447
movups xmm0, xmmword [0x140009a08]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140009a18]
movups xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x140009a28]
movsd qword [rsp + 0x50], xmm0
cmp dword [0x14000d090], 2
jl 0x14000637f
movdqa xmm4, xmmword [0x140009ab0]
movdqa xmm3, xmmword [0x140009af0]
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmmword [0x140009b00]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
movdqa xmm6, xmmword [0x140009ad0]
mov edx, dword [rsp + 0x20]
nop
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x28
jl 0x1400062a0
jmp 0x1400063bd
lea r8, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x29e4129f
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x34
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x28
jl 0x140006390
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140004ed0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400063d7
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400063e3
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.140006940
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140006447
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006442
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006d94
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140006d30
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret