Function at 0x140010220
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [0x1400350e0]
xor r9d, r9d
cmp dword [0x140040098], 2
mov ecx, r9d
movups xmm1, xmmword [0x1400350f0]
mov eax, dword [0x140035128]
mov rsi, qword [0x140041480]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x140035100]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x140035110]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x140035120]
movups xmmword [rsp + 0x70], xmm1
mov dword [r11 - 0x30], eax
movzx eax, word [0x14003512c]
mov word [r11 - 0x2c], ax
movzx eax, byte [0x14003512e]
mov byte [r11 - 0x2a], al
movsd qword [r11 - 0x38], xmm0
jl 0x14001040c
movdqa xmm0, xmmword [str.2222222222222222]
lea rdx, [r11 - 0x78]
movdqa xmm5, xmmword [0x140036070]
movdqa xmm4, xmmword [0x1400360d0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [0x140036090]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400360b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400360b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x48
jl 0x140010300
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x4f
jge 0x14001044d
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x4f
jl 0x140010420
mov dword [rsp + 0x28], r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r9
mov rbp, 0xffffffffffffffff
mov r9d, ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.14002e0cc
mov r9d, ebp
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14002dd70
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14002dd50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret