Function at 0x1400af9c0
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.140148d30
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
mov rax, qword [0x14018d080]
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 0x1400afa20
mov dword [rbp + 0x70], 0x270
movups xmm0, xmmword [0x140172b40]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x140172b50]
mov byte [rsp + 0x38], al
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400afbaa
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177210]
movdqa xmm6, xmmword [0x140176f50]
movdqa xmm0, xmmword [0x140177040]
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 [0x140177020]
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 [0x140177020]
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 0x1400afaa0
cmp ecx, 0x11
jge 0x1400afbee
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 0x1400afbc0
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 0x1400afc10
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140059030
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.140149be4
lea rcx, [rsp + 0x70]
call fcn.14005f490
nop
movzx eax, word [reloc.WS2_32.dll_accept]
mov word [rsp + 0x20], ax
movzx eax, byte [0x140172a42]
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.140089590
mov ebx, 2
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
test bl, 1
jne 0x1400afcb8
movzx eax, word [0x140172b00]
mov word [rsp + 0x20], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
je 0x1400afcaa
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_45
xor byte [rsp + 0x21], 0x32
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140089590
lea rcx, [rbp + 0x70]
call fcn.14008a850
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.1400af7d0
inc ebx
cmp ebx, 0xc
jl 0x1400afc86
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.14005fb00
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.14005f3d0
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.14003d5f0
mov rax, r14
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.1401482c0
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