Function at 0x1400b6d60
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.1401d67f0
sub rsp, rax
mov rax, qword [0x1402e7900]
xor rax, rsp
mov qword [rbp + 0x13e0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
call fcn.1401b8354
mov dword [rbp + 0x13d4], 0xffffffff
mov dword [rbp + 0x54], eax
lea ecx, [rsi + 1]
nop dword [rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [rbp + rcx*4 + 0x54], eax
inc rcx
cmp rcx, 0x270
jb 0x1400b6dc0
mov dword [rbp + 0x50], 0x270
mov rbx, rsi
nop dword [rax]
lea rcx, [rbp + 0x50]
call fcn.1400b6bb0
mov ecx, eax
shl rcx, 8
shr rcx, 0x20
mov byte [rsp + rbx + 0x28], cl
inc rbx
cmp rbx, 0x10
jl 0x1400b6df0
movzx eax, byte [rsp + 0x2e]
and al, 0xf
or al, 0x40
mov byte [rsp + 0x2e], al
movzx eax, byte [rsp + 0x30]
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x30], al
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.14021a6f0
lea rax, [0x1402b3668]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
mov dword [rbp], esi
mov qword [rbp + 8], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x40], sil
mov dword [rsp + 0x20], 2
lea r15, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x18], r15
mov dword [rbp - 0x1c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.140052fe0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140052e60
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], rsi
mov dword [rbp - 0x28], 4
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x78]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x78], eax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x48], 0x30
mov rbx, rsi
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.1401b84c8
mov r8, qword [rax]
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x60]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
movzx edx, byte [rsp + rbx + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1400b7520
lea rax, [rbx - 3]
test rax, 0xfffffffffffffff9
jne 0x1400b6f61
mov dl, 0x2d
lea rcx, [rsp + 0x60]
call fcn.1400b7760
inc rbx
cmp rbx, 0x10
jl 0x1400b6f10
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], reloc.WS2_32.dll_select
mov ecx, dword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400b6fb0
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400b6fb0
mov rax, qword [rbp - 0x78]
mov r9, qword [rax]
cmp rbx, qword [rbp - 0x30]
cmovb rbx, qword [rbp - 0x30]
jmp 0x1400b6fd2
test cl, 4
jne 0x1400b7004
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400b7004
mov rax, qword [rbp - 0x80]
mov r9, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x1400b7004
mov rcx, rdi
cmp rbx, 0xf
ja 0x1400b6ffb
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, r9
call fcn.14021a050
mov byte [rdi + rbx], 0
jmp 0x1400b7004
mov rdx, rbx
call fcn.14000b4f0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140050890
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x5c], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.1401b76b8
nop
mov rax, rdi
mov rcx, qword [rbp + 0x13e0]
xor rcx, rsp
call fcn.1401d5b70
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