Function at 0x14020c290
Capabilities:
Acquire debug privileges
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1320]
mov eax, 0x1420
call fcn.14025cd40
sub rsp, rax
mov rax, qword [0x14027e040]
xor rax, rsp
mov qword [rbp + 0x1310], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea r12, [rbp + 0x1348]
movabs r13, 0xff00ff00ff00ff00
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov rax, qword [r12]
xor rax, r13
mov qword [rsp + 0x60], rax
xor r15d, r15d
mov qword [r12], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14020c344
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14020c382
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, r13
mov qword [r12], rcx
mov rcx, qword [rbp + 0x1310]
xor rcx, rsp
call fcn.14025ba00
lea r11, [rsp + 0x1420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
nop
mov dword [rbp + 0x1304], 0xffffffff
mov dword [rbp - 0x7c], eax
mov r14d, 1
mov edx, r14d
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x7c], eax
inc rdx
cmp rdx, 0x270
jb 0x14020c3a0
mov dword [rbp - 0x80], 0x270
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x38]
call fcn.1401f17b0
mov rsi, qword [rsp + 0x38]
add rsi, 0x5f5e100
lea rcx, [rsp + 0x38]
call fcn.1401f17b0
cmp qword [rax], rsi
jge 0x14020c543
mov edi, 0x186a0
nop dword [rax]
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x14020c42e
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x14020c417
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r14d
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020c477
nop dword [rax]
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020c460
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020c4bd
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020c4a6
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020c507
nop dword [rax]
lea rcx, [rbp - 0x80]
call fcn.140247dd0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020c4f0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv ebx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv ebx
mov dword [rsp + 0x30], edx
sub rdi, r14
jne 0x14020c400
jmp 0x14020c3e1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], r14d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x14020c339
movzx eax, r14b
jmp 0x14020c346