Function at 0x140017580
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x100
movzx eax, word [0x1400d5820]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor r9d, r9d
mov word [rsp + 0x40], ax
cmp byte [0x1400d5821], r9b
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
lea ebx, [r9 + 5]
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmm0, xmmword [str.SWQ]
movups xmmword [rsp + 0x30], xmm0
je 0x1400177af
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r9d
jl 0x140017773
movdqa xmm0, xmmword [str.11111111111111112222222222222222]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1400e3300]
mov eax, Ordinal_33
movdqa xmm4, xmmword [0x1400e3430]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x1400e3330]
movaps xmmword [r11 - 0x38], xmm8
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movd xmm8, eax
movd xmm6, ebx
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
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 0x140017650
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
cmp ecx, 0x12
jge 0x1400177af
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
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 0x140017780
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x68], rax
lea rcx, [0x1400f69b0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001780a
mov ecx, ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400f69fc], 0x7fffffff
jne 0x14001782c
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, [rsp + 0x60]
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 0x140017888
add rcx, 0x58
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
add rsp, 0x100
pop rbx
ret