Function at 0x14005d8c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x70
movaps xmmword [rax - 0x18], xmm6
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rax - 0x30], xmm0
lea rsi, [rsp + 0x78]
movabs rbp, 0xff00ff00ff00ff00
mov qword [rax - 0x28], rbp
mov qword [rax - 0x20], rsi
mov rbx, qword [rsi]
xor rbx, rbp
mov qword [rax - 0x30], rbx
xor ecx, ecx
mov qword [rsi], rcx
cmp byte [0x1401773c8], cl
je 0x14005dade
movups xmm0, xmmword [0x14013bc30]
movups xmmword [rax - 0x48], xmm0
mov eax, dword [0x14013bc40]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14013bc44]
mov word [rsp + 0x44], ax
cmp byte [0x14013bc45], cl
je 0x14005dabd
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005da84
movdqa xmm5, xmmword [0x1400eaa10]
movdqa xmm4, xmmword [0x14013d570]
movdqa xmm6, xmmword [0x14013d530]
movdqa xmm0, xmmword [0x14013d5b0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x34]
mov r8d, dword [rsp + 0x20]
nop
movd xmm2, ecx
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, 1
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 [0x14013d550]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, 1
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 [0x14013d550]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
mov eax, ecx
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x14005d980
cmp eax, 0x16
jge 0x14005dabd
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x16
jl 0x14005da90
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140049cd0
lea rdx, [0x14004b550]
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]
lea rcx, [rdi + 0x368]
call fcn.14004b670
movaps xmm6, xmm0
lea rcx, [rdi + 0x370]
call fcn.14004b670
addss xmm0, dword [0x1400eb198]
comiss xmm0, xmm6
setae al
xor rbx, rbp
mov qword [rsi], rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
ret