Function at 0x1400971f0
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 [0x1401d48b8], cl
je 0x14009741f
movups xmm0, xmmword [0x140191cf0]
movups xmmword [rax - 0x48], xmm0
mov eax, dword [0x140191d00]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140191d04]
mov word [rsp + 0x44], ax
cmp byte [0x140191d05], cl
je 0x1400973fe
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400973bc
movdqa xmm5, xmmword [0x140140bb0]
movdqa xmm4, xmmword [0x140193470]
movdqa xmm6, xmmword [0x140193330]
movdqa xmm0, xmmword [0x140193360]
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
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
andps xmm2, xmmword [0x140193350]
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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140193350]
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 0x1400972b0
cmp eax, 0x16
jge 0x1400973fe
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
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
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x16
jl 0x1400973d0
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.140086810
lea rdx, [0x1400877f0]
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 + 0x358]
call fcn.140087910
movaps xmm6, xmm0
lea rcx, [rdi + 0x360]
call fcn.140087910
addss xmm0, dword [0x140141334]
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