Function at 0x140006250
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
sub rsp, 0x110
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
mov qword [rbp + 0x60], rcx
xor r15d, r15d
mov dword [rbp + 8], r15d
lea r14d, [r15 + 5]
movabs rax, 0xe864d0c15bcfa6ce
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xb8416efcba9c9979
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x1961ae832fd642b0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x29ac0a51b2625fab
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0xcde0e14890bc7cd5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rcx, 0x88671b3541493d54
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xa02396841f8ce48f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xe80e20b1f6d7d330
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x4136f8d67b8510e1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x1c983963835205f2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xcde0e148a9844be3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqa xmm0, xmmword [rbp + 0x40]
vxorps xmm0, xmm0, xmmword [rbp + 0xa0]
vmovdqa xmmword [rbp + 0x40], xmm0
mov rax, qword gs:[0x58]
mov r13, qword [rax]
mov edi, 0x14
mov eax, dword [rdi + r13]
mov ecx, 0x20
test al, 1
vzeroupper
jne 0x140006448
or eax, 1
mov dword [rdi + r13], eax
mov ebx, ecx
add rbx, r13
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea edx, [r15 + 1]
lea r8, [rbx + 8]
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140006420
mov dword [rbx], 0x270
mov eax, dword [rdi + r13]
mov ecx, 0x13a8
mov ebx, ecx
test al, 2
jne 0x14000646b
or eax, 2
mov dword [rdi + r13], eax
mov qword [rcx + r13], r15
mov qword [rcx + r13 + 8], 6
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov dword [rbp + 8], 1
mov rdi, qword [rsi + 0x10]
mov r12, rbx
cmp rdi, 5
ja 0x14000650d
mov rax, qword [rsi + 0x18]
cmp rax, 5
je 0x14000650d
jae 0x1400064b4
mov rdx, r14
sub rdx, rdi
mov rcx, rsi
call fcn.1400297d0
mov qword [rsi + 0x10], rdi
jmp 0x14000650d
mov r12, rbx
cmp rax, 0xf
jbe 0x14000650d
mov rbx, qword [rsi]
lea r8, [rdi + 1]
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x1400064f7
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140006556
mov rbx, rcx
mov rcx, rbx
call fcn.14007fd5c
mov qword [rsi + 0x18], 0xf
mov r12d, 0x13a8
mov ebx, 0x20
add rbx, r13
nop word [rax + rax]
dec r14
mov qword [rbp], rbx
mov r15, qword [r12 + r13]
mov rdx, qword [r12 + r13 + 8]
sub rdx, r15
cmp rdx, 0xffffffffffffffff
jne 0x14000655d
mov rcx, rbx
call fcn.14002a2a0
mov edi, eax
shl rdi, 0x20
mov rcx, rbx
call fcn.14002a2a0
mov eax, eax
or rdi, rax
jmp 0x14000656c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
inc rdx
lea rcx, [rbp]
call fcn.14002a0f0
mov rdi, rax
lea rax, [rdi + r15]
movzx r9d, byte [rbp + rax + 0x20]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x1400065a2
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140006597
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400065aa
mov rcx, rsi
call fcn.140029920
test r14, r14
jne 0x140006520
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14007fac0
lea r11, [rsp + 0x110]
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