Function at 0x140069970
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 - 0x1340]
mov eax, 0x1440
call fcn.1401dd870
sub rsp, rax
mov rsi, r9
mov r12, rdx
mov r14, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
mov rcx, qword [rcx + 0xa0]
mov rax, qword [rcx]
mov r8d, 0x101
lea rdx, [rbp - 0x80]
call qword [rax + 0x28]
xor ebx, ebx
mov qword [rbp + 0x1370], rbx
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
sub rcx, r8
movabs r15, 0x8888888888888889
mov rax, r15
imul rcx
add rdx, rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140069b02
imul rdi, rbx, 0x78
add rdi, r8
mov rdx, rdi
mov rcx, qword [r14 + 0x88]
call fcn.140061970
test al, al
jne 0x140069acd
mov rcx, qword [rdi + 8]
call fcn.14013d260
test al, al
je 0x140069a9e
cmp rsi, qword [rdi + 8]
jae 0x140069a80
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x140069a79
mov qword [rdx], rbx
add qword [rsp + 0x58], 8
jmp 0x140069acd
lea rcx, [rsp + 0x50]
jmp 0x140069aba
mov rdx, qword [rsp + 0x28]
cmp rdx, qword [rsp + 0x30]
je 0x140069a97
mov qword [rdx], rbx
add qword [rsp + 0x28], 8
jmp 0x140069acd
lea rcx, [rsp + 0x20]
jmp 0x140069aba
mov rdx, qword [rsp + 0x40]
cmp rdx, qword [rsp + 0x48]
je 0x140069ab5
mov qword [rdx], rbx
add qword [rsp + 0x40], 8
jmp 0x140069acd
lea rcx, [rsp + 0x38]
lea r8, [rbp + 0x1370]
call fcn.14004dff0
mov rbx, qword [rbp + 0x1370]
inc rbx
mov qword [rbp + 0x1370], rbx
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
sub rcx, r8
mov rax, r15
imul rcx
add rdx, rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jb 0x140069a35
lea rcx, [0x1402f8050]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14006a129
lea rdx, [rbp + 0x1370]
lea ecx, [rax + 4]
call fcn.14017e780
mov ebx, dword [rbp + 0x1370]
lea rcx, [0x1402f8050]
call fcn.1401dce01
mov r13d, 0xffffffff
mov dword [rbp + 0x1334], r13d
mov dword [rbp - 0x4c], ebx
mov ecx, 1
nop dword [rax]
mov eax, ebx
shr eax, 0x1e
xor eax, ebx
imul ebx, eax, 0x6c078965
add ebx, ecx
mov dword [rbp + rcx*4 - 0x4c], ebx
inc rcx
cmp rcx, 0x270
jb 0x140069b50
mov dword [rbp - 0x50], 0x270
xor r15d, r15d
test r12, r12
je 0x140069f65
mov r14, qword [rbp + 0x1390]
nop dword [rax]
mov r10, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp r10, rdx
jne 0x140069dd6
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
cmp rcx, r8
jne 0x140069cda
cmp r9, rdx
je 0x140069f74
cmp rcx, r8
jne 0x140069cda
cmp r9, rdx
je 0x140069cd3
sub rdx, r9
sar rdx, 3
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop word [rax + rax]
dec rcx
shr rax, 1
cmp rax, r13
ja 0x140069c00
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x68]
test rdx, rdx
jne 0x140069c26
call fcn.1400657f0
jmp 0x140069c2b
call fcn.140064ea0
mov r8, qword [rsp + 0x38]
lea rdx, [r8 + rax*8]
mov rdi, qword [rdx]
mov r9, qword [rsp + 0x40]
mov rcx, r9
sub rcx, r8
sar rcx, 3
inc rax
cmp rax, rcx
je 0x140069c5f
mov rax, qword [r9 - 8]
mov qword [rdx], rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov rdx, r9
sub rdx, r8
sar rdx, 3
lea rcx, [rdx - 1]
cmp rcx, rdx
jae 0x140069c80
lea rax, [r8 + rcx*8]
mov qword [rsp + 0x40], rax
jmp 0x140069eb6
jbe 0x140069eb6
mov rax, qword [rsp + 0x48]
sub rax, r8
sar rax, 3
cmp rcx, rax
jbe 0x140069cb0
lea r8, [rbp + 0x1370]
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140063640
jmp 0x140069eb6
sub rcx, rdx
lea r8, [rcx*8]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x40], rbx
jmp 0x140069eb6
xor edi, edi
jmp 0x140069eb6
sub r8, rcx
sar r8, 3
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop word [rax + rax]
dec rcx
shr rax, 1
cmp rax, r13
ja 0x140069d00
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x68]
test r8, r8
jne 0x140069d26
call fcn.1400657f0
jmp 0x140069d2e
mov rdx, r8
call fcn.140064ea0
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rax*8]
mov rdi, qword [rdx]
mov r9, qword [rsp + 0x28]
mov rcx, r9
sub rcx, r8
sar rcx, 3
inc rax
cmp rax, rcx
je 0x140069d62
mov rax, qword [r9 - 8]
mov qword [rdx], rax
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
mov rdx, r9
sub rdx, r8
sar rdx, 3
lea rcx, [rdx - 1]
cmp rcx, rdx
jae 0x140069d83
lea rax, [r8 + rcx*8]
mov qword [rsp + 0x28], rax
jmp 0x140069eb6
jbe 0x140069eb6
mov rax, qword [rsp + 0x30]
sub rax, r8
sar rax, 3
cmp rcx, rax
jbe 0x140069db3
lea r8, [rbp + 0x1370]
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140063640
jmp 0x140069eb6
sub rcx, rdx
lea r8, [rcx*8]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rbx
jmp 0x140069eb6
sub rdx, r10
sar rdx, 3
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
dec rcx
shr rax, 1
cmp rax, r13
ja 0x140069df2
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x68]
test rdx, rdx
jne 0x140069e18
call fcn.1400657f0
jmp 0x140069e1d
call fcn.140064ea0
mov r8, qword [rsp + 0x50]
lea rdx, [r8 + rax*8]
mov rdi, qword [rdx]
mov r9, qword [rsp + 0x58]
mov rcx, r9
sub rcx, r8
sar rcx, 3
inc rax
cmp rax, rcx
je 0x140069e51
mov rax, qword [r9 - 8]
mov qword [rdx], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, r9
sub rdx, r8
sar rdx, 3
lea rcx, [rdx - 1]
cmp rcx, rdx
jae 0x140069e6f
lea rax, [r8 + rcx*8]
mov qword [rsp + 0x58], rax
jmp 0x140069eb6
jbe 0x140069eb6
mov rax, qword [rsp + 0x60]
sub rax, r8
sar rax, 3
cmp rcx, rax
jbe 0x140069e98
lea r8, [rbp + 0x1370]
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.140063640
jmp 0x140069eb6
sub rcx, rdx
lea r8, [rcx*8]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x58], rbx
imul rdi, rdi, 0x78
mov rbx, qword [rbp - 0x80]
add rbx, rdi
mov rsi, qword [r14]
movabs rax, 0x1e1e1e1e1e1e1e1
cmp qword [r14 + 8], rax
je 0x14006a11c
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 0
mov ecx, 0x88
call fcn.1401dcf70
mov rcx, rax
movups xmm0, xmmword [rbx]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x20], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x40], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x50], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rax + 0x60], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rax + 0x70], xmm0
movsd xmm1, qword [rbx + 0x70]
movsd qword [rax + 0x80], xmm1
inc qword [r14 + 8]
mov rax, qword [rsi + 8]
mov qword [rcx], rsi
mov qword [rcx + 8], rax
mov qword [rbp - 0x60], 0
mov qword [rsi + 8], rcx
mov qword [rax], rcx
mov rax, qword [rbp - 0x80]
add r15, qword [rdi + rax + 8]
cmp r15, r12
jb 0x140069b90
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov r10, qword [rsp + 0x50]
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x140069ff5
mov rcx, qword [rbp - 0x70]
sub rcx, r8
movabs rax, 0x8888888888888889
imul rcx
add rdx, rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x78
mov rax, r8
cmp rdx, 0x1000
jb 0x140069fce
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069fce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1401dcf3c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
mov r10, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
test r9, r9
je 0x14006a05a
mov rax, qword [rsp + 0x48]
sub rax, r9
sar rax, 3
lea rdx, [rax*8]
mov rax, r9
cmp rdx, 0x1000
jb 0x14006a036
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a036
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1401dcf3c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov r10, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14006a0b7
mov rax, qword [rsp + 0x30]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a09b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a09b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dcf3c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov r10, qword [rsp + 0x50]
test r10, r10
je 0x14006a0f8
mov rdx, qword [rsp + 0x60]
sub rdx, r10
and rdx, 0xfffffffffffffff8
mov rax, r10
cmp rdx, 0x1000
jb 0x14006a0f0
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a0f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.1401dcf3c
mov rax, r15
lea r11, [rsp + 0x1440]
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
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3