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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x13f0]
mov eax, 0x14f0
call fcn.1400e72f0
sub rsp, rax
mov rax, qword [0x1401eb7c0]
xor rax, rsp
mov qword [rbp + 0x13e0], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x50]
call fcn.1400e773e
lea rax, [0x1401d949c]
mov qword [rsp + 0x50], rax
lea rax, [0x1401d80a4]
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x28], r14d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x13d4], 0xffffffff
mov dword [rbp + 0x54], eax
mov ecx, 1
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x140011e90
mov dword [rbp + 0x50], 0x270
test ebx, ebx
jle 0x140011f21
mov esi, 0x80000000
nop
lea rcx, [rbp + 0x50]
call fcn.140079d70
mov ecx, eax
lea rax, [rcx + rcx*8]
shl rax, 2
cmp eax, 3
ja 0x140011ef8
nop dword [rax + rax]
lea rcx, [rbp + 0x50]
call fcn.140079d70
mov ecx, eax
lea rax, [rcx + rcx*8]
shl rax, 2
cmp eax, 4
jb 0x140011ee0
shr rax, 0x20
lea edx, [rax + rsi]
xor edx, esi
lea rcx, [rsp + 0x60]
cmp edx, 0xa
jae 0x140011f13
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
jmp 0x140011f1b
add dl, 0x37
call fcn.14006ba90
sub rbx, 1
jne 0x140011ec0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], 0xa
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140011f6f
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x140011f6f
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x140011fa0
test cl, 4
jne 0x140011f96
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140011f96
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140011fa0
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140011fae
mov rcx, rdi
call fcn.140069860
nop
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x50], r15
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x4c], r8d
lea rcx, [rsp + 0x68]
call fcn.140065bb0
lea rcx, [rsp + 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 - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x13e0]
xor rcx, rsp
call fcn.1400e6530
lea r11, [rsp + 0x14f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret