Function at 0x140065ea0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2630]
mov eax, 0x2730
call fcn.1400c20d0
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x2770], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x2620], rax
mov qword [rbp - 0x60], r8
mov rsi, rdx
xor ebx, ebx
mov qword [rdx], rbx
call fcn.140065df0
mov dword [rsp + 0x50], eax
cmp eax, 0xffffffff
je 0x1400662bb
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
lea r8d, [rbx + 9]
lea rdx, str.Psapi.dll
lea rcx, [rsp + 0x58]
call fcn.140006900
nop
call fcn.14007a6e0
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.14007a790
mov rdi, rax
cmp qword [rsp + 0x70], 8
jb 0x140065f5a
mov rcx, qword [rsp + 0x58]
call fcn.1400bd20c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
mov r8d, 0xc
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0x78]
call fcn.140006900
nop
call fcn.14007a6e0
mov rcx, rax
lea rdx, [rsp + 0x78]
call fcn.14007a790
mov r14, rax
cmp qword [rbp - 0x70], 8
jb 0x140065fc4
mov rcx, qword [rsp + 0x78]
call fcn.1400bd20c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
test rdi, rdi
je 0x1400662bb
test r14, r14
je 0x1400662bb
lea rdx, str.EnumProcesses
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.GetModuleFileNameExA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rbp - 0x50], rax
lea rdx, str.GetProcessImageFileNameA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, [0x14012e458]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rbp - 0x68], rax
lea rdx, str.GetTokenInformation
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x58], rax
test r15, r15
je 0x1400662bb
test r12, r12
jne 0x140066066
test r13, r13
je 0x1400662bb
test rdi, rdi
je 0x1400662bb
test rax, rax
je 0x1400662bb
mov dword [rbp - 0x30], ebx
xor edx, edx
mov r8d, 0x1ffc
lea rcx, [rbp - 0x2c]
call fcn.1400c2130
mov dword [rbp - 0x3c], ebx
lea r8, [rbp - 0x3c]
mov edx, 0x2000
lea rcx, [rbp - 0x30]
call r15
test eax, eax
je 0x1400662bb
mov r12d, dword [rbp - 0x3c]
shr r12d, 2
mov eax, 0x800
cmp r12d, eax
cmovae r12d, eax
mov dword [rbp - 0x40], ebx
mov dword [rbp - 0x38], ebx
mov r15d, ebx
test r12d, r12d
je 0x1400662b2
lea r14, [rbp - 0x30]
xor edx, edx
mov r8d, 0x209
lea rcx, [rbp + 0x2300]
call fcn.1400c2130
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x21f0]
call fcn.1400c2130
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x2510]
call fcn.1400c2130
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x20e0]
call fcn.1400c2130
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x1fd0]
call fcn.1400c2130
mov r8d, dword [r14]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140066169
mov r8d, dword [r14]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14006628f
test r13, r13
je 0x140066185
mov r8d, 0x208
lea rdx, [rbp + 0x2300]
mov rcx, rdi
call r13
test eax, eax
jne 0x1400661ae
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140066270
mov r9d, 0x208
lea r8, [rbp + 0x2300]
xor edx, edx
mov rcx, rdi
call rax
test eax, eax
je 0x140066270
mov qword [rsp + 0x40], 0x104
lea rax, [rbp + 0x1fd0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x104
lea rax, [rbp + 0x20e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x2510]
mov r8d, 0x104
lea rdx, [rbp + 0x21f0]
lea rcx, [rbp + 0x2300]
call fcn.1400c0f58
lea rdx, [rbp + 0x20e0]
lea rcx, str.explorer
call fcn.1400c0e5c
test eax, eax
jne 0x140066270
lea rdx, [rbp + 0x1fd0]
lea rcx, str..exe
call fcn.1400c0e5c
test eax, eax
jne 0x140066270
mov r8, rsi
mov edx, 0x2000e
mov rcx, rdi
call qword [rbp - 0x68]
test eax, eax
je 0x140066270
mov rcx, qword [rsi]
test rcx, rcx
je 0x140066281
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x40]
lea edx, [r9 + 8]
call qword [rbp - 0x58]
test eax, eax
je 0x140066270
mov eax, dword [rsp + 0x50]
cmp dword [rbp - 0x40], eax
je 0x1400662a0
mov rcx, qword [rsi]
test rcx, rcx
je 0x140066281
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], rbx
test rdi, rdi
je 0x14006628f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15d
add r14, 4
cmp r15d, r12d
jae 0x1400662b2
jmp 0x1400660d1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbp - 0x40]
mov rax, qword [rbp - 0x60]
mov dword [rax], ecx
cmp qword [rsi], 0
setne al
jmp 0x1400662bd
xor al, al
mov rcx, qword [rbp + 0x2620]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x2770]
add rsp, 0x2730
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret