Function at 0x14002f290
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x228]
sub rsp, 0x320
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x140124190]
xor rax, rsp
mov qword [rbp + 0x218], rax
xor r14d, r14d
mov qword [rsp + 0x38], r14
call fcn.14002f210
mov rsi, rax
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x190], r14
lea rax, [rbp + 0x188]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 8]
lea r8, [rbp + 0x190]
lea edx, [r14 + 0x13]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14002f50d
lea rax, [rbp + 0x188]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 0x38]
lea r8, [rbp + 0x1e0]
lea edx, [r14 + 0xa]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14002f52d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rbp + 0x1d8], rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.1400972d0
mov dword [rsp + 0x40], 0x238
cmp rdi, 0xffffffffffffffff
je 0x14002f54d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14002f56d
nop word [rax + rax]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14002f452
mov qword [rbp + 0x180], r14
lea r8, [rbp + 0x180]
mov edx, 0x1a
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [rbp + 0x180]
test eax, eax
je 0x14002f43e
lea rax, [rbp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, 0x38
lea r8, [rbp + 0x198]
lea edx, [r9 - 0x2e]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14002f437
mov rax, qword [rbp + 0x1a0]
cmp rax, qword [rbp + 0x1e8]
jne 0x14002f437
lea r8, [rsp + 0x38]
mov edx, 2
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
jne 0x14002f469
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x14002f449
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14002f484
jmp 0x14002f3a0
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x14002f47b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14002f4ed
test rdi, rdi
je 0x14002f49d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x14002f4b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
je 0x14002f4be
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0x218]
xor rcx, rsp
call fcn.140072ef0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp + 0x198]
call fcn.140022fe0
lea rdx, [0x140121830]
lea rcx, [rbp + 0x198]
call fcn.140096d78
nop
lea rcx, [rbp + 0x198]
call fcn.14002f140
lea rdx, [0x140121860]
lea rcx, [rbp + 0x198]
call fcn.140096d78
int3
lea rcx, [rbp + 0x198]
call fcn.14002f140
lea rdx, [0x140121860]
lea rcx, [rbp + 0x198]
call fcn.140096d78
nop
lea rcx, [rbp + 0x198]
call fcn.14002f140
lea rdx, [0x140121860]
lea rcx, [rbp + 0x198]
call fcn.140096d78
int3
lea rcx, [rbp + 0x198]
call fcn.14002f140
lea rdx, [0x140121860]
lea rcx, [rbp + 0x198]
call fcn.140096d78
int3