Function at 0x180033130
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1803adca8]
test rax, rax
jne 0x1800333a1
mov ecx, dword [0x180183930]
mov edx, 0x77
movups xmm0, xmmword [str.OPT_b]
movzx eax, word [0x180183934]
mov dword [rbp - 0x30], ecx
xor ax, 0x42
xor word [rbp - 0x2e], 0x41
xor cx, 0x40
movups xmmword [rbp - 0x40], xmm0
xor word [rbp - 0x3e], 0x39
xor word [rbp - 0x3c], 0x3a
xor word [rbp - 0x3a], 0x3b
xor word [rbp - 0x38], 0x3c
xor word [rbp - 0x36], 0x3d
xor word [rbp - 0x34], 0x3e
xor word [rbp - 0x32], 0x3f
mov word [rbp - 0x30], cx
lea rcx, [rbp - 0x40]
mov word [rbp - 0x40], dx
mov word [rbp - 0x2c], ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x180033396
cmp byte [0x1801838dd], 0
mov eax, dword [0x1801838d8]
movups xmm0, xmmword [0x1801838c8]
mov dword [rbp - 0x1a], eax
movzx eax, word [0x1801838dc]
movups xmmword [rbp - 0x2a], xmm0
mov word [rbp - 0x16], ax
je 0x18003337d
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180033339
movdqa xmm0, xmmword [str.88888888888888889999999999999999]
lea rdx, [rbp - 0x26]
movdqa xmm5, xmmword [0x180187330]
movdqa xmm4, xmmword [0x180187600]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x180187390]
nop dword [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 [0x1801874b0]
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, 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 [0x1801874b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x180033230
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x16
jge 0x18003337d
movsxd rax, ecx
lea r8, [rbp - 0x2a]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x16
jl 0x180033350
lea rdx, [rbp - 0x2a]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1803adca8], rax
test rax, rax
jne 0x1800333a1
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rdx, qword [0x1803adcb0]
test rdx, rdx
jne 0x1800333c4
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov qword [0x1803adcb0], rax
mov rax, qword [0x1803adca8]
mov ecx, 0x1337
call rax
add rsp, 0x70
pop rbp
ret