Function at 0x14001fe70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0xb0
mov edi, dword [reloc.WS2_32.dll_accept]
lea rsi, [0x1400c72e0]
movaps xmmword [rax - 0x18], xmm6
mov ebp, 4
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
lea r14d, [rbp + 0x1b]
movups xmm0, xmmword [0x1400a0c38]
movzx eax, byte [0x1400a0c48]
xor ecx, ecx
mov r9, qword [0x14008d5d0]
mov byte [rsp + 0x60], al
movups xmmword [rsp + 0x50], xmm0
cmp edi, 2
jl 0x140020022
movdqa xmm0, xmmword [str.4444444444444444O]
lea rdx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1400a2230]
movdqa xmm4, xmmword [0x1400a2290]
movdqa xmm7, xmmword [0x1400a2250]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movd xmm6, ebp
movd xmm8, r14d
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 [0x1400a2270]
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 [0x1400a2270]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x14001ff20
cmp ecx, 0x11
jge 0x14002005f
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x11
jl 0x140020030
lea rdx, [rsp + 0x50]
mov rcx, r9
call fcn.1400235a0
movups xmm0, xmmword [0x1400a0d10]
movzx eax, byte [0x1400a0d20]
xor ecx, ecx
mov byte [rsp + 0x78], al
movups xmmword [rsp + 0x68], xmm0
cmp edi, 2
jl 0x1400201d2
movdqa xmm0, xmmword [str.4444444444444444O]
lea rdx, [rsp + 0x6c]
movdqa xmm5, xmmword [0x1400a2230]
movdqa xmm4, xmmword [0x1400a2290]
movdqa xmm7, xmmword [0x1400a2250]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movd xmm6, ebp
movd xmm8, r14d
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 [0x1400a2270]
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 [0x1400a2270]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400200d0
cmp ecx, 0x11
jge 0x14002020f
movsxd rax, ecx
lea r8, [rsp + 0x68]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x11
jl 0x1400201e0
mov rcx, qword [0x14008d5d0]
lea rdx, [rsp + 0x68]
call fcn.1400235a0
cmp byte [0x1400a1165], 0
mov eax, dword [0x1400a1160]
movsd xmm0, qword [str.mZCE]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1400a1164]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x14002039f
xor ecx, ecx
cmp edi, 2
jl 0x140020362
movdqa xmm2, xmmword [0x1400a2230]
mov ecx, 8
movdqa xmm4, xmmword [0x1400a2290]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400a2240]
movdqa xmm0, xmm2
mov eax, dword [str.4444444444444444O]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebp
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2250]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400a2270]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.mZCE]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2250]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a2270]
movd xmm1, dword [rsp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0xe
jl 0x140020370
mov rcx, qword [0x14008d5d0]
lea rdx, [rsp + 0x20]
call fcn.1400235a0
mov rcx, qword [0x14008d5b8]
mov rdx, rsi
call fcn.140023840
mov rcx, qword [0x14008d5d0]
lea rdx, reloc.WS2_32.dll_ioctlsocket
call fcn.1400235a0
mov edx, reloc.WLDAP32.dll_Ordinal_60
lea rcx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rbx]
mov rdx, qword [rax + 8]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
call qword [rax]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov rcx, rbx
mov byte [rdx + rbx + 0x58], reloc.WLDAP32.dll_Ordinal_45
call fcn.140023a30
lea rdx, [0x140023790]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8, qword [reloc.WS2_32.dll_ntohs]
mov rax, rsi
mov rdx, qword [0x1400c72e0]
cmp r8, 0x10
mov rcx, qword [0x1400c72f0]
cmovae rax, rdx
cmp rcx, 1
jne 0x14002044e
cmp byte [rax], 0x31
jne 0x14002044e
call fcn.14001f5e0
jmp 0x14001feaf
cmp r8, 0x10
mov rax, rsi
cmovae rax, rdx
cmp rcx, 1
jne 0x14002046e
cmp byte [rax], 0x32
jne 0x14002046e
call fcn.14001f9c0
jmp 0x14001feaf
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
ret