Function at 0x140021970
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x1401cea50]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
mov dword [rsp + 0x40], 0x979e8d96
mov ecx, ebx
mov dword [rsp + 0x44], 0x939ad390
mov word [rsp + 0x48], WSAGetLastError
mov byte [rsp + 0x4a], 1
nop
lea eax, [rcx - 8]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x1400219b0
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x4a], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, ebx
movups xmm0, xmmword [str.l_iL_IEnGL4___n_5____N]
mov r9, rax
movzx eax, byte [0x14010aad0]
mov byte [rsp + 0x68], al
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14010aac8]
movsd qword [rsp + 0x60], xmm0
jl 0x140021b8b
movdqa xmm0, xmmword [0x14010b300]
lea rdx, [rsp + 0x54]
movdqa xmm5, xmmword [0x14010b0c0]
mov eax, 1
movdqa xmm4, xmmword [0x14010b1d0]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x14010b110]
movd xmm6, eax
mov eax, Ordinal_32
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movaps xmmword [rsp + 0x80], xmm8
movd xmm8, eax
nop dword [rax]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14010b190]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010b190]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140021a70
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x19
jge 0x140021bcc
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x140021ba0
lea rdx, [rsp + 0x50]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 2]
lea ecx, [r9 + 0x23]
call rax
test eax, eax
jne 0x140021bff
cmp byte [rsp + 0x20], bl
je 0x140021bff
cmp byte [rsp + 0x21], bl
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140102810
add rsp, 0xb0
pop rbx
ret