Function at 0x1400eb790
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.1401473a0
sub rsp, rax
movaps xmmword [rsp + 0x1560], xmm6
mov rax, qword [0x14018c080]
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 0x1400eb830
mov dword [rbp + 0xc0], 0x270
movups xmm0, xmmword [str.xxxxxxx_b_b_b_b_b_b_b_b]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x140175120]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [0x140175130]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x140175134]
mov byte [rsp + 0x6c], al
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400eb9dd
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176390]
movdqa xmm6, xmmword [0x1401760b0]
movdqa xmm0, xmmword [0x140176220]
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 [0x1401761c0]
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 [0x1401761c0]
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 0x1400eb8d0
cmp r8d, 0x25
jge 0x1400eba23
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x1400eb9f0
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 0x1400eba40
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.1400591d0
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 0x1400eba86
call fcn.14008a7b0
mov r8d, eax
jmp 0x1400ebacc
lea ebx, [rsi + 1]
call fcn.14008a7b0
mov edi, ebx
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jae 0x1400ebac8
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x1400ebac8
nop dword [rax + rax]
lea rcx, [rbp + 0xc0]
call fcn.14008a7b0
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x1400ebab0
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 0x1400ebb0d
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 0x1400ebb16
lea rcx, [rbp - 0x70]
call fcn.140060790
sub r14, 1
jne 0x1400eba70
mov r14d, 0xa
nop word [rax + rax]
lea rcx, [rbp + 0xc0]
cmp esi, 0xffffffff
jne 0x1400ebb45
call fcn.14008a7b0
mov ecx, eax
jmp 0x1400ebb8a
lea edi, [rsi + 1]
call fcn.14008a7b0
mov ebx, edi
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jae 0x1400ebb86
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400ebb86
nop word [rax + rax]
lea rcx, [rbp + 0xc0]
call fcn.14008a7b0
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jb 0x1400ebb70
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 0x1400ebbcd
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 0x1400ebbd7
lea rcx, [rsp + 0x70]
call fcn.140060790
sub r14, 1
jne 0x1400ebb30
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x30]
call fcn.140148254
lea rax, [0x14016e0f0]
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 [0x140175874]
mov word [rsp + 0x30], ax
movzx eax, byte [0x140175876]
mov byte [rsp + gethostbyname], 0x30
xor byte [rsp + 0x31], 0x3a
xor al, 0x3b
mov byte [rsp + 0x32], al
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400894f0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rax
call fcn.1400a7ad0
mov rcx, rax
movzx eax, word [0x140175834]
mov word [rsp + 0x20], ax
cmp byte [0x140175835], r14b
je 0x1400ebcd8
mov byte [rsp + 0x20], 0x5f
xor byte [rsp + 0x21], 0x3a
lea rdx, [rsp + 0x20]
call fcn.1400894f0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rax
call fcn.1400a7ad0
mov rdx, r13
lea rcx, [rbp - 0x28]
call fcn.14005fca0
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.14005f570
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.14003d760
nop
lea rcx, [rsp + 0x70]
call fcn.14003d760
nop
lea rcx, [rbp - 0x70]
call fcn.14003d760
mov rax, r13
mov rcx, qword [rbp + 0x1450]
xor rcx, rsp
call fcn.140146930
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