Function at 0x1400ed730
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1410]
mov eax, 0x1510
call fcn.140148d30
sub rsp, rax
mov rax, qword [0x14018d080]
xor rax, rsp
mov qword [rbp + 0x1400], rax
mov r13, rcx
mov qword [rsp + 0x20], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], bl
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 0x1400ed7b0
mov dword [rbp + 0x70], 0x270
movsd xmm0, qword [0x140173718]
movsd qword [rsp + 0x20], xmm0
movzx ecx, word [0x140173720]
mov word [rsp + 0x28], cx
movzx eax, byte [0x140173722]
mov byte [rsp + 0x20], gethostbyname
xor byte [rsp + 0x21], 0x34
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
xor byte [rsp + 0x24], 0x37
xor byte [rsp + 0x25], 0x38
xor byte [rsp + 0x26], 0x39
xor byte [rsp + 0x27], 0x3a
xor cl, 0x3b
mov byte [rsp + 0x28], cl
xor byte [rsp + 0x29], 0x3c
xor al, 0x3d
mov byte [rsp + 0x2a], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400ed850
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140059030
nop
mov r14d, dword [rsp + 0x68]
dec r14d
mov esi, reloc.WS2_32.dll_ntohl
mov r15, qword [rsp + 0x70]
mov r12, qword [rsp + 0x58]
lea rcx, [rbp + 0x70]
cmp r14d, 0xffffffff
jne 0x1400ed894
call fcn.14008a850
mov ecx, eax
jmp 0x1400ed8ce
lea edi, [r14 + 1]
call fcn.14008a850
mov ebx, edi
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jae 0x1400ed8ca
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400ed8ca
lea rcx, [rbp + 0x70]
call fcn.14008a850
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jb 0x1400ed8b7
shr rcx, 0x20
lea rdx, [rsp + 0x58]
cmp r15, 0xf
cmova rdx, r12
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x1400ed915
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400ed91f
lea rcx, [rsp + 0x38]
call fcn.1400605f0
sub rsi, 1
jne 0x1400ed881
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x80]
call fcn.140149be4
lea rax, [0x14016f0e0]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 8]
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 + 0x30], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], rbx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
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 [rbp - 0x78], rax
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], 4
movzx eax, word [0x1401768ac]
mov word [rsp + 0x20], ax
cmp byte [reloc.WS2_32.dll_gethostbyname], sil
je 0x1400ed9d2
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_50
xor byte [rsp + 0x21], 0x34
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140089590
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400a8520
mov rdx, r13
lea rcx, [rbp - 0x78]
call fcn.14005fb00
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rbx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.14005f3d0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_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 + 0x58]
call fcn.14003d5f0
nop
lea rcx, [rsp + 0x38]
call fcn.14003d5f0
mov rax, r13
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.1401482c0
lea r11, [rsp + 0x1510]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret