Function at 0x140209db0
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.14027e170
sub rsp, rax
mov rax, qword [0x1402bd028]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov r14, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rdx, [rbp + 0x1328]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov rax, qword [rdx]
xor rax, rcx
mov qword [rsp + 0x38], rax
mov qword [rdx], rdi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [rdi + 1]
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x140209e40
mov dword [rsp + 0x50], 0x270
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140209e89
imul rax, rax, 0x64
jmp 0x140209ea4
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea r15, [rax + 0x5f5e100]
mov r12d, 0x80000000
mov r13d, 1
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140209ed5
imul rax, rax, 0x64
jmp 0x140209ef0
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r15
jge 0x14020a0a0
mov esi, 0x186a0
nop
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x140209f38
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x140209f20
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea ebx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae ebx, eax
test ebx, ebx
cmove ebx, r13d
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x140209f98
cmp eax, 0x64
jae 0x140209f98
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x140209f80
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea edx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae edx, eax
mov eax, dword [rsp + 0x20]
add edx, eax
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x140209ff8
cmp eax, 0x64
jae 0x140209ff8
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x140209fe0
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea edx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae edx, eax
mov eax, dword [rsp + 0x20]
imul edx, eax
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x14020a058
cmp eax, 0x64
jae 0x14020a058
nop
lea rcx, [rsp + 0x50]
call fcn.140265db0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x14020a040
shr rax, 0x20
lea edx, [rax + 0x7fffff9c]
lea eax, [rdx + r12]
lea ecx, [rdx - 0x80000000]
cmp edx, r12d
cmovae ecx, eax
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv edi
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv edi
mov dword [rsp + 0x20], edx
sub rsi, r13
jne 0x140209f00
jmp 0x140209eb7
mov eax, dword [rsp + 0x20]
mov r8, qword [r14 + 0x10]
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
mov r13, qword [rsp + 0x30]
jb 0x14020a0ba
mov rbx, qword [r14]
test r8, r8
je 0x14020a122
mov edx, 0x2e
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov r8, rax
test rax, rax
je 0x14020a122
sub r8, rbx
cmp r8, 0xffffffffffffffff
je 0x14020a122
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rax
cmp qword [r14 + 0x10], r8
cmovb r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14020a102
mov r14, qword [r14]
mov rdx, r14
mov rcx, r13
call fcn.14021d330
nop
mov rdx, qword [rsp + 0x40]
xor rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rdx
jmp 0x14020a140
mov rdx, r14
mov rcx, r13
call fcn.1402578e0
nop
mov rcx, qword [rsp + 0x40]
xor rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, r13
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.14027cdd0
mov rbx, qword [rsp + 0x1440]
add rsp, 0x13f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret