Function at 0x140001e94
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r15, r8
mov r14, rdx
mov r12, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000204a
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r13d, r13d
test eax, eax
je 0x14000204a
lea edi, [r13 + 1]
mov qword [rsp + 0x38], r13
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x38]
call fcn.140006254
nop
mov rcx, qword [rsp + 0x38]
movsxd rbx, dword [rcx - 0x10]
test ebx, ebx
js 0x1400020dd
mov edx, edi
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, ebx
or eax, edx
jge 0x140001f4f
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140006c88
mov rcx, qword [rsp + 0x38]
lea eax, [rbx + 1]
movsxd rdx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov rax, qword [rsp + 0x38]
cmp ebx, dword [rax - 0xc]
jg 0x1400020dd
mov dword [rax - 0x10], ebx
mov rax, qword [rsp + 0x38]
mov word [rax + rbx*2], r13w
lea rdx, str.explorer.exe
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x14000201a
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400020b3
lea r8, [rsp + 0x30]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140002007
mov eax, 0x104
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [rsp + 0x44]
mov rdx, r14
mov rcx, qword [rsp + 0x30]
call fcn.140001d80
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140002076
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x38]
mov edi, 1
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002034
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001f0a
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14000a970
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x28], r12
mov esi, 1
mov dword [rsp + 0x20], esi
mov r9d, esi
xor r8d, r8d
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ebx, r13d
test eax, eax
cmovne ebx, esi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400020b6
mov ebx, r13d
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400020d6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, ebx
jmp 0x14000204c
mov ecx, 0x80070057
call fcn.1400013a8
int3