Function at 0x1400ed120
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 - 0x1470]
mov eax, 0x1570
call fcn.140148d30
sub rsp, rax
movaps xmmword [rsp + 0x1560], xmm6
mov rax, qword [0x14018d080]
xor rax, rsp
mov qword [rbp + 0x1450], rax
mov r13, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], bl
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], bl
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1444], 0xffffffff
mov dword [rbp + 0xc4], eax
lea ecx, [rbx + 1]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0xc4], edx
inc rcx
cmp rcx, 0x270
jb 0x1400ed1c0
mov dword [rbp + 0xc0], 0x270
movups xmm0, xmmword [str.rvvrrrrvvrr]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x140175f20]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [0x140175f30]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x140175f34]
mov byte [rsp + 0x6c], al
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400ed36d
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177200]
movdqa xmm6, xmmword [0x140176f60]
movdqa xmm0, xmmword [0x140177050]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x30]
nop dword [rax + rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1400ed260
cmp r8d, 0x25
jge 0x1400ed3b3
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x1400ed380
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400ed3d0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140059030
nop
mov esi, dword [rbp - 0x40]
dec esi
mov r14d, 5
mov r15, qword [rbp - 0x38]
mov r12, qword [rbp - 0x50]
nop dword [rax]
lea rcx, [rbp + 0xc0]
cmp esi, 0xffffffff
jne 0x1400ed416
call fcn.14008a850
mov r8d, eax
jmp 0x1400ed45c
lea ebx, [rsi + 1]
call fcn.14008a850
mov edi, ebx
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jae 0x1400ed458
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x1400ed458
nop dword [rax + rax]
lea rcx, [rbp + 0xc0]
call fcn.14008a850
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x1400ed440
shr r8, 0x20
lea rcx, [rbp - 0x50]
cmp r15, 0xf
cmova rcx, r12
movsxd rax, r8d
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
cmp rcx, rdx
jae 0x1400ed49d
lea rax, [rcx + 1]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x70]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400ed4a6
lea rcx, [rbp - 0x70]
call fcn.1400605f0
sub r14, 1
jne 0x1400ed400
mov r14d, 0xa
nop word [rax + rax]
lea rcx, [rbp + 0xc0]
cmp esi, 0xffffffff
jne 0x1400ed4d5
call fcn.14008a850
mov ecx, eax
jmp 0x1400ed51a
lea edi, [rsi + 1]
call fcn.14008a850
mov ebx, edi
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jae 0x1400ed516
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400ed516
nop word [rax + rax]
lea rcx, [rbp + 0xc0]
call fcn.14008a850
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jb 0x1400ed500
shr rcx, 0x20
lea rdx, [rbp - 0x50]
cmp r15, 0xf
cmova rdx, r12
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
cmp rcx, rdx
jae 0x1400ed55d
lea rax, [rcx + 1]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x70]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400ed567
lea rcx, [rsp + 0x70]
call fcn.1400605f0
sub r14, 1
jne 0x1400ed4c0
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x30]
call fcn.140149be4
lea rax, [0x14016f0e0]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x58]
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 + 0x40], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
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 - 0x30]
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 - 0x30], rbx
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
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 - 0x28], rax
mov qword [rbp + 0x40], r14
mov dword [rbp + 0x48], 4
movzx eax, word [0x140175be8]
mov word [rsp + 0x30], ax
movzx eax, byte [0x140175bea]
mov byte [rsp + gethostbyname], 0x30
xor byte [rsp + 0x31], 0x34
xor al, 0x35
mov byte [rsp + 0x32], al
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140089590
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rax
call fcn.1400a8520
mov rcx, rax
movzx eax, word [0x140175f64]
mov word [rsp + 0x20], ax
cmp byte [reloc.WS2_32.dll_gethostbyname], r14b
je 0x1400ed668
mov byte [rsp + 0x20], 0x5f
xor byte [rsp + 0x21], 0x34
lea rdx, [rsp + 0x20]
call fcn.140089590
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rax
call fcn.1400a8520
mov rdx, r13
lea rcx, [rbp - 0x28]
call fcn.14005fb00
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], rbx
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.14005f3d0
lea rcx, [rbp - 0x20]
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 + 0x58]
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, [rbp - 0x50]
call fcn.14003d5f0
nop
lea rcx, [rsp + 0x70]
call fcn.14003d5f0
nop
lea rcx, [rbp - 0x70]
call fcn.14003d5f0
mov rax, r13
mov rcx, qword [rbp + 0x1450]
xor rcx, rsp
call fcn.1401482c0
lea r11, [rsp + 0x1570]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret