Function at 0x1401f6b30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.140267620
sub rsp, rax
mov rax, qword [0x14028a040]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x28], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea r12, [rbp + 0x1328]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r12
mov rax, qword [r12]
xor rax, rcx
mov qword [rsp + 0x38], rax
mov qword [r12], rdi
lea r13, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x20], r13
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1401f6bcf
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14028ac7c], 0x7fffffff
jne 0x1401f6bf1
mov dword [0x14028ac7c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rdx, rbx
mov rcx, r14
call fcn.14023f840
mov r15d, 1
mov dword [rsp + 0x28], r15d
mov r8, rdi
cmp qword [rbx + 0x10], rdi
jbe 0x1401f6c6f
lea r11, [0x14028d450]
nop word [rax + rax]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1401f6c2d
mov r9, qword [rbx]
mov rcx, r11
cmp qword [0x14028d468], 0xf
cmova rcx, qword [0x14028d450]
xor edx, edx
mov rax, r8
div qword [0x14028d460]
movzx r10d, byte [rdx + rcx]
xor r10b, byte [r9 + r8]
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1401f6c62
mov rax, qword [r14]
mov byte [rax + r8], r10b
inc r8
cmp r8, qword [rbx + 0x10]
jb 0x1401f6c20
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov rdx, r15
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x54], eax
inc rdx
cmp rdx, 0x270
jb 0x1401f6c90
mov dword [rsp + 0x50], 0x270
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x30]
call fcn.1401f17b0
mov rsi, qword [rsp + 0x30]
add rsi, 0x5f5e100
lea rcx, [rsp + 0x30]
call fcn.1401f17b0
cmp qword [rax], rsi
jge 0x1401f6e44
mov edi, 0x186a0
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401f6d28
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401f6d10
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r15d
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f6d6c
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f6d54
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f6db8
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f6da0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
imul eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1401f6e08
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.1402526b0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1401f6df0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], edx
sub rdi, r15
jne 0x1401f6cf0
jmp 0x1401f6cd1
mov edx, dword [rsp + 0x20]
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rcx, qword [rsp + 0x38]
movabs rax, 0xff00ff00ff00ff00
xor rcx, rax
mov qword [r12], rcx
mov rax, r14
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1402662e0
mov rbx, qword [rsp + 0x1440]
add rsp, 0x13f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret