Function at 0x14020ebd0
Capabilities:
Check if file exists
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 - 0x13b0]
mov eax, 0x14b0
call fcn.14025e970
sub rsp, rax
movaps xmmword [rsp + 0x14a0], xmm6
movaps xmmword [rsp + 0x1490], xmm7
movaps xmmword [rsp + 0x1480], xmm8
movaps xmmword [rsp + 0x1470], xmm9
movaps xmmword [rsp + 0x1460], xmm10
mov rax, qword [0x14027f040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov r15, rdx
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea rbx, [rbp + 0x13e8]
movabs rdi, 0xff00ff00ff00ff00
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rbx
mov rax, qword [rbx]
xor rax, rdi
mov qword [rbp - 0x60], rax
xor r14d, r14d
mov qword [rbx], r14
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov r13d, 1
mov ecx, r13d
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x3c], edx
inc rcx
cmp rcx, 0x270
jb 0x14020ec90
mov dword [rbp - 0x40], 0x270
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x40]
call fcn.1401f37b0
mov rsi, qword [rsp + 0x40]
add rsi, 0x5f5e100
lea rcx, [rsp + 0x40]
call fcn.1401f37b0
cmp qword [rax], rsi
jge 0x14020ee33
mov edi, 0x186a0
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x14020ed1e
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x14020ed07
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r13d
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020ed67
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020ed50
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 - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020edad
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020ed96
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 - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020edf7
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020ede0
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, r13
jne 0x14020ecf0
jmp 0x14020ecd1
mov eax, dword [rsp + 0x30]
lea r8, [rbp - 0x78]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14020f0ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
movups xmm0, xmmword [str.uTRT43]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [str.87_:A]
movups xmmword [rsp + 0x60], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x14020f0bc
mov r9d, r14d
cmp dword [0x14027f090], 2
jl 0x14020f05f
movdqa xmm8, xmmword [0x14026f1b0]
mov edx, r14d
movdqa xmm5, xmmword [0x14026f2e0]
movdqa xmm6, xmmword [0x14026f310]
movdqa xmm9, xmmword [str.ggggkkkk]
movdqa xmm10, xmmword [0x14026f320]
movdqa xmm0, xmmword [str.9999999999999999_]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm7, xmmword [0x14026f2c0]
mov r8d, dword [rsp + 0x40]
nop
movd xmm4, edx
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, r8d
paddb xmm1, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm1, xmm0
movd dword [rcx - 4], xmm1
lea eax, [rdx + 4]
movd xmm4, eax
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, r8d
paddb xmm1, xmm0
movd xmm0, dword [rcx]
xorps xmm1, xmm0
movd dword [rcx], xmm1
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x14020eee0
mov edx, r11d
lea rcx, [rsp + 0x50]
call fcn.1401f2d40
jmp 0x14020f7c0
lea r10, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, r8b
mov eax, 0x3e22cbcf
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul ecx, eax, 0x67
sub r8b, cl
add r8b, 0x39
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x20
jl 0x14020f070
mov edx, r11d
lea rcx, [rsp + 0x50]
call fcn.1401f2d40
jmp 0x14020f7c0
mov dword [rbp - 0x70], r13d
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x6c], rax
mov dword [rbp - 0x64], 4
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x14020f373
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
movups xmm0, xmmword [str.x_WJ27]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14026cd50]
movups xmmword [rsp + 0x60], xmm1
movzx eax, byte [0x14026cd60]
mov byte [rsp + 0x70], al
mov r9d, r14d
cmp dword [0x14027f090], 2
jl 0x14020f305
movdqa xmm8, xmmword [0x14026f1b0]
movdqa xmm5, xmmword [0x14026f2e0]
movdqa xmm6, xmmword [0x14026f310]
movdqa xmm9, xmmword [str.ggggkkkk]
movdqa xmm10, xmmword [0x14026f320]
movdqa xmm0, xmmword [str.9999999999999999_]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm7, xmmword [0x14026f2c0]
mov edx, dword [rsp + 0x40]
nop
movd xmm4, r9d
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm1, xmm0
movd dword [rcx - 4], xmm1
lea eax, [r9 + 4]
movd xmm4, eax
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm10
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx]
xorps xmm1, xmm0
movd dword [rcx], xmm1
add r9d, 8
lea rcx, [rcx + 8]
cmp r9d, 0x20
jl 0x14020f190
cmp r9d, 0x21
jge 0x14020f361
movsxd rax, r9d
lea r10, [rsp + 0x50]
add r10, rax
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, r8b
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x67
sub r8b, cl
add r8b, 0x39
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x21
jl 0x14020f310
mov edx, r11d
lea rcx, [rsp + 0x50]
call fcn.1401f2d40
jmp 0x14020f7c0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov rcx, r13
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x3c], edx
inc rcx
cmp rcx, 0x270
jb 0x14020f390
mov dword [rbp - 0x40], 0x270
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x40]
call fcn.1401f37b0
mov rsi, qword [rsp + 0x40]
add rsi, 0x5f5e100
lea rcx, [rsp + 0x40]
call fcn.1401f37b0
cmp qword [rax], rsi
jge 0x14020f533
mov edi, 0x186a0
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x14020f41e
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x14020f407
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r13d
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020f467
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020f450
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 - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020f4ad
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020f496
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 - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14020f4f7
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x14020f4e0
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, r13
jne 0x14020f3f0
jmp 0x14020f3d1
mov eax, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x14020f7bd
movups xmm0, xmmword [0x14026bc88]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14026bc98]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x14026bca8]
movups xmmword [rsp + 0x70], xmm0
movzx eax, word [0x14026bcb8]
mov word [rbp - 0x80], ax
movzx eax, byte [0x14026bcba]
mov byte [rbp - 0x7e], al
mov r9d, r14d
cmp dword [0x14027f090], 2
jl 0x14020f755
movdqa xmm8, xmmword [0x14026f1b0]
movdqa xmm5, xmmword [0x14026f2e0]
movdqa xmm6, xmmword [0x14026f310]
movdqa xmm9, xmmword [0x14026f320]
movdqa xmm10, xmmword [str.ggggkkkk]
movdqa xmm0, xmmword [str.9999999999999999_]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm7, xmmword [0x14026f2c0]
mov edx, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm4, r9d
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm9
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm1, xmm0
movd dword [rcx - 4], xmm1
lea eax, [r9 + 4]
movd xmm4, eax
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm9
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm7
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm10
psubd xmm4, xmm0
andps xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx]
xorps xmm1, xmm0
movd dword [rcx], xmm1
add r9d, 8
lea rcx, [rcx + 8]
cmp r9d, 0x30
jl 0x14020f5e0
cmp r9d, 0x33
jge 0x14020f7b1
movsxd rax, r9d
lea r10, [rsp + 0x50]
add r10, rax
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, r8b
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x67
sub r8b, cl
add r8b, 0x39
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x33
jl 0x14020f760
lea rcx, [rsp + 0x50]
call fcn.1401f2d40
jmp 0x14020f7c0
mov r14d, r13d
mov rcx, qword [rbp - 0x60]
movabs rax, 0xff00ff00ff00ff00
xor rcx, rax
lea rax, [rbp + 0x13e8]
mov qword [rax], rcx
mov eax, r14d
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.14025d630
lea r11, [rsp + 0x14b0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret