Function at 0x180033020
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1803a4ad0]
test rax, rax
jne 0x180033293
mov ecx, dword [0x180183968]
mov edx, 0x77
movups xmm0, xmmword [0x180183958]
movzx eax, word [0x18018396c]
mov dword [rbp - 0x30], ecx
xor ax, 0x3a
xor word [rbp - 0x2e], 0x39
xor cx, 0x38
movups xmmword [rbp - 0x40], xmm0
xor word [rbp - 0x3e], 0x31
xor word [rbp - 0x3c], 0x32
xor word [rbp - 0x3a], 0x33
xor word [rbp - 0x38], 0x34
xor word [rbp - 0x36], 0x35
xor word [rbp - 0x34], 0x36
xor word [rbp - 0x32], 0x37
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 0x180033288
cmp byte [0x18018393d], 0
mov eax, dword [0x180183938]
movups xmm0, xmmword [0x180183928]
mov dword [rbp - 0x1a], eax
movzx eax, word [0x18018393c]
movups xmmword [rbp - 0x2a], xmm0
mov word [rbp - 0x16], ax
je 0x18003326f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180033231
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rdx, [rbp - 0x26]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x1801876d0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x180187480]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180187520]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x180033120
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x16
jge 0x18003326f
movsxd rax, ecx
lea r8, [rbp - 0x2a]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x16
jl 0x180033240
lea rdx, [rbp - 0x2a]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1803a4ad0], rax
test rax, rax
jne 0x180033293
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rdx, qword [0x1803a4ad8]
test rdx, rdx
jne 0x1800332b6
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov qword [0x1803a4ad8], rax
mov rax, qword [0x1803a4ad0]
mov ecx, 0x1337
call rax
add rsp, 0x70
pop rbp
ret