Function at 0x1400ac780
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.1401454c0
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
mov rax, qword [0x140189080]
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 0x1400ac7e0
mov dword [rbp + 0x70], 0x270
movups xmm0, xmmword [0x14016f888]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x14016f898]
mov byte [rsp + 0x38], al
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400ac96a
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173f00]
movdqa xmm6, xmmword [0x140173c60]
movdqa xmm0, xmmword [str.00000000000000004444444444444444666666666666666688888888888888889999999999999999]
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 [0x140173d30]
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 [0x140173d30]
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 0x1400ac860
cmp ecx, 0x11
jge 0x1400ac9ae
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, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x1400ac980
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 0x1400ac9d0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140058eb0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.140146374
lea rcx, [rsp + 0x70]
call fcn.14005e880
nop
movzx eax, word [0x14016f928]
mov word [rsp + 0x20], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_50]
mov byte [rsp + 0x20], Ordinal_50
xor byte [rsp + 0x21], 0x31
xor al, 0x32
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140088440
mov ebx, 2
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
test bl, 1
jne 0x1400aca78
movzx eax, word [0x14016f950]
mov word [rsp + 0x20], ax
cmp byte [0x14016f951], 0
je 0x1400aca6a
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_45
xor byte [rsp + 0x21], 0x31
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140088440
lea rcx, [rbp + 0x70]
call fcn.140089700
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.1400ac590
inc ebx
cmp ebx, 0xc
jl 0x1400aca46
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.14005eee0
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [0x14016c0d0]
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.14005e7c0
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.14003d470
mov rax, r14
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.140144a50
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