Function at 0x14000ffb0
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 - 0x1370]
mov eax, 0x1470
call fcn.1400138d0
sub rsp, rax
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
movaps xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movaps xmmword [rbp + 0x12e0], xmm0
movaps xmm1, xmmword [0x1400182b0]
movaps xmmword [rbp + 0x12f0], xmm1
movaps xmm0, xmmword [0x1400182c0]
movaps xmmword [rbp + 0x1300], xmm0
movaps xmm1, xmmword [0x1400182d0]
movaps xmmword [rbp + 0x1310], xmm1
movaps xmm0, xmmword [0x1400182e0]
movaps xmmword [rbp + 0x1320], xmm0
movaps xmm1, xmmword [0x1400182f0]
movaps xmmword [rbp + 0x1330], xmm1
movaps xmm0, xmmword [0x140018300]
movaps xmmword [rbp + 0x1340], xmm0
movsd xmm1, qword [0x140018310]
movsd qword [rbp + 0x1350], xmm1
mov eax, dword [0x140018318]
mov dword [rbp + 0x1358], eax
movzx eax, word [0x14001831c]
mov word [rbp + 0x135c], ax
mov qword [rcx], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
mov ebx, 1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov edx, 0xffffffff
mov dword [rbp + 0x12d4], edx
mov dword [rsp + 0x54], eax
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rsp + rbx*4 + 0x54], ecx
inc rbx
cmp rbx, 0x270
jb 0x1400100c0
mov dword [rsp + 0x50], 0x270
mov qword [rsp + 0x28], rdi
movabs rbx, 0x7ffffffffffffffe
mov r8, 0xffffffffffffffff
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov ecx, 0x40
mov rax, r8
nop
dec rcx
shr rax, 1
cmp rax, rdx
ja 0x140010110
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov edx, 0x7e
lea rcx, [rsp + 0x30]
call fcn.140011d20
movzx r13d, word [rbp + rax*2 + 0x12e0]
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x14001016e
lea rax, [r14 + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp r15, 8
jb 0x14001015e
mov rax, qword [rsi]
mov word [rax + r14*2], r13w
mov word [rax + r14*2 + 2], di
jmp 0x1400102a8
mov rax, rbx
sub rax, r14
cmp rax, 1
jb 0x140010305
lea r12, [r14 + 1]
mov rdi, r12
or rdi, 7
cmp rdi, rbx
jbe 0x140010193
mov rdi, rbx
jmp 0x1400101b4
mov rcx, r15
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp r15, rax
jbe 0x1400101a9
mov rdi, rbx
jmp 0x1400101b4
lea rax, [rcx + r15]
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400102ff
add rcx, rcx
cmp rcx, 0x1000
jb 0x140010211
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400102ff
mov rcx, rax
call fcn.140012bd4
test rax, rax
je 0x1400102c5
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140010222
test rcx, rcx
je 0x140010220
call fcn.140012bd4
mov rbx, rax
jmp 0x140010222
xor ebx, ebx
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], rdi
add r14, r14
mov r8, r14
mov rcx, rbx
cmp r15, 8
jb 0x140010286
mov rdi, qword [rsi]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [r14 + rbx], r13w
xor eax, eax
mov word [r14 + rbx + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x14001027a
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400102c5
mov rdi, rcx
mov rcx, rdi
call fcn.140012e74
xor edi, edi
jmp 0x14001029b
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [r14 + rbx], r13w
xor edi, edi
mov word [r14 + rbx + 2], di
mov qword [rsi], rbx
movabs rbx, 0x7ffffffffffffffe
mov rdx, qword [rsp + 0x28]
inc rdx
mov qword [rsp + 0x28], rdx
cmp rdx, 0x10
jae 0x1400102cc
mov edx, 0xffffffff
jmp 0x1400100f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rsi
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.140012940
lea r11, [rsp + 0x1470]
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
call fcn.1400011e0
int3
call fcn.140001280
int3