Function at 0x1400aef70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1420]
mov eax, 0x1520
call fcn.1401473a0
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x1400], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x13f4], 0xffffffff
mov dword [rbp + 0x74], eax
lea ecx, [rbx + 1]
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x74], edx
inc rcx
cmp rcx, 0x270
jb 0x1400aefd0
mov dword [rbp + 0x70], 0x270
movups xmm0, xmmword [0x140171b40]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x140171b50]
mov byte [rsp + 0x38], al
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400af15a
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176370]
movdqa xmm6, xmmword [0x140176100]
movdqa xmm0, xmmword [0x1401761f0]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x2c]
mov r8d, dword [rsp + 0x50]
nop dword [rax]
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 [0x1401761c0]
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 [0x1401761c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400af050
cmp ecx, 0x11
jge 0x1400af19e
movsxd rax, ecx
lea r8, [rsp + 0x28]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x1400af170
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1400af1c0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400591d0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.140148254
lea rcx, [rsp + 0x70]
call fcn.14005f630
nop
movzx eax, word [reloc.WS2_32.dll_accept]
mov word [rsp + 0x20], ax
movzx eax, byte [0x140171a4e]
mov byte [rsp + 0x20], gethostbyname
xor byte [rsp + 0x21], 0x32
xor al, 0x33
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400894f0
mov ebx, 2
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
test bl, 1
jne 0x1400af268
movzx eax, word [0x140171b00]
mov word [rsp + 0x20], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
je 0x1400af25a
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_45
xor byte [rsp + 0x21], 0x32
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400894f0
lea rcx, [rbp + 0x70]
call fcn.14008a7b0
mov ecx, eax
shl rcx, 4
shr rcx, 0x20
lea rax, [rsp + 0x50]
cmp rdi, 0xf
cmova rax, rsi
movsxd rdx, ecx
movzx edx, byte [rdx + rax]
lea rcx, [rbp - 0x80]
call fcn.1400aed80
inc ebx
cmp ebx, 0xc
jl 0x1400af236
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.14005fca0
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x6c], r8d
lea rcx, [rbp - 0x78]
call fcn.14005f570
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.14003d760
mov rax, r14
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.140146930
lea r11, [rsp + 0x1520]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret