Function at 0x140048210
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x4f]
sub rsp, 0x98
cmp byte [0x1401867a9], 0
movsd xmm0, qword [str.XCUV]
movzx eax, word [0x1401867a8]
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], ax
je 0x140048268
xor byte [rbp - 0x28], 0x37
xor byte [rbp - 0x27], 0x38
xor byte [rbp - 0x26], 0x39
xor byte [rbp - 0x25], 0x3a
xor byte [rbp - 0x24], 0x3b
xor byte [rbp - 0x23], 0x3c
xor byte [rbp - 0x22], 0x3d
xor byte [rbp - 0x21], 0x3e
xor byte [rbp - 0x20], 0x3f
mov byte [rbp - 0x29], WSAGetLastError
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x14004882c
movups xmm0, xmmword [str.xCj__jTLK5_.]
mov ecx, dword [0x140187dc8]
mov qword [rsp + 0xb0], rbx
xor ebx, ebx
cmp byte [0x140187dcb], bl
mov qword [rsp + 0xb8], rsi
mov esi, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0xc0], r14
lea r14d, [rbx + 4]
mov qword [rsp + 0x90], r15
lea r15d, [rbx + 0x1f]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm8
movups xmmword [rbp - 9], xmm0
mov dword [rbp + 7], ecx
je 0x140048471
mov r8d, ebx
cmp esi, 2
jl 0x140048435
movdqa xmm0, xmmword [0x140190920]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x1401909a0]
movdqa xmm7, xmmword [0x140190720]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 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 [0x1401908d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140048330
cmp r8d, 0x14
jge 0x140048471
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x140048440
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401cb0c0], rax
mov r8d, ebx
mov eax, dword [0x140187bf8]
mov dword [rbp + 7], eax
movzx eax, byte [0x140187bfc]
mov byte [rbp + 0xb], al
movups xmm0, xmmword [str.xCoKSOYkWM44__t__:0J]
movups xmmword [rbp - 9], xmm0
cmp esi, 2
jl 0x1400485f5
movdqa xmm0, xmmword [0x140190920]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x1401909a0]
movdqa xmm7, xmmword [0x140190720]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm6, r14d
movd xmm8, r15d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 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 [0x1401908d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400484f0
cmp r8d, 0x15
jge 0x140048631
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x140048600
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmm0, xmmword [str.xCiL_IEkWM44__t__:0J]
mov qword [0x1401cb130], rax
cmp esi, 2
mov eax, dword [0x1401867f8]
mov rsi, qword [rsp + 0xb8]
mov dword [rbp + 7], eax
movzx eax, byte [0x1401867fc]
mov byte [rbp + 0xb], al
movups xmmword [rbp - 9], xmm0
jl 0x1400487b0
movdqa xmm0, xmmword [0x140190920]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x1401909a0]
movdqa xmm7, xmmword [0x140190720]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm6, r14d
movd xmm8, r15d
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 ebx, 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 [0x1401908d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400486b0
cmp ebx, 0x15
jge 0x1400487ed
movsxd rax, ebx
lea r8, [rbp - 9]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x15
jl 0x1400487c0
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb0]
mov qword [0x1401cb148], rax
add rsp, 0x98
pop rdi
pop rbp
ret