Function at 0x140017100
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov r9d, dword [reloc.WS2_32.dll_accept]
xorps xmm0, xmm0
xor r10d, r10d
movaps xmmword [rax - 0x18], xmm6
cmp byte [0x1400d5821], r10b
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
lea ebx, [r10 + 5]
movups xmmword [rbp - 0x29], xmm0
lea r11d, [r10 + 0x1f]
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmm0, xmmword [str.SWQ]
movaps xmmword [rax - 0x28], xmm7
movzx eax, word [0x1400d5820]
movups xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x59], ax
je 0x14001730f
mov ecx, r10d
cmp r9d, 2
jl 0x1400172d3
movdqa xmm0, xmmword [str.11111111111111112222222222222222]
lea rdx, [rbp - 0x65]
movdqa xmm5, xmmword [0x1400e3300]
movdqa xmm4, xmmword [0x1400e3430]
movdqa xmm7, xmmword [0x1400e3330]
movdqa xmmword [rbp - 0x79], xmm0
mov r8d, dword [rbp - 0x79]
movaps xmmword [rsp + 0xd0], xmm8
movd xmm6, ebx
movd xmm8, r11d
nop
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
paddd xmm1, xmm2
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 [0x1400e33c0]
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
paddd xmm1, xmm3
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 [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400171c0
movaps xmm8, xmmword [rsp + 0xd0]
cmp ecx, 0x12
jge 0x14001730f
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x1400172e0
cmp byte [0x1400d5835], r10b
lea rax, [rbp - 0x69]
movsd xmm0, qword [0x1400d5828]
mov qword [rbp - 0x41], rax
mov eax, dword [0x1400d5830]
mov dword [rbp - 0x71], eax
movzx eax, word [0x1400d5834]
mov word [rbp - 0x6d], ax
movsd qword [rbp - 0x79], xmm0
je 0x1400174a4
mov r8d, r10d
cmp r9d, 2
jl 0x14001745e
movdqa xmm2, xmmword [0x1400e3300]
mov r8d, 8
movdqa xmm3, xmmword [0x1400e3310]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400e3430]
movdqa xmm0, xmm2
mov eax, dword [str.11111111111111112222222222222222]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebx
movd xmm5, r11d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3330]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1400d5828]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x79], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3330]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e33c0]
movd xmm1, dword [rbp - 0x75]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x140017470
lea rax, [rbp - 0x79]
mov qword [rbp - 0x39], r10
mov qword [rbp - 0x49], rax
lea rcx, [0x1400f69b0]
lea rax, [rbp + 0x67]
mov qword [rbp - 1], r10
mov qword [rbp - 0x29], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0xf], rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
test eax, eax
je 0x1400174ee
mov ecx, ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400f69fc], 0x7fffffff
jne 0x140017510
mov ecx, 6
mov dword [0x1400f69fc], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8d, dword [reloc.WS2_32.dll_accept]
lea rcx, [0x140127358]
lea eax, [r8 + 1]
mov dword [reloc.WS2_32.dll_accept], eax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
call fcn.14001e7f0
mov qword [0x140127350], rax
lea rcx, [0x1400f69b0]
mov eax, 1
xchg byte [0x1400f5946], al
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [0x140126c48]
test rcx, rcx
je 0x14001756b
add rcx, 0x58
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
mov rbx, qword [rsp + 0x118]
add rsp, 0x100
pop rbp
ret