Function at 0x140029c80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400e0180]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rbp + 0x190], rsi
lea rax, [rbp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp + 0x190]
mov edx, 0x13
mov rcx, 0xfffffffffffffffc
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140029edc
lea rax, [rbp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, 0x38
lea r8, [rbp + 0x1d8]
mov edx, 0xa
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140029efc
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rbp + 0x1d0], rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.1400b4410
mov dword [rsp + 0x40], 0x238
cmp rdi, 0xffffffffffffffff
je 0x140029f1c
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x140029f3c
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 0x140029e33
mov qword [rbp + 0x180], rsi
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 0x140029e1f
lea rax, [rbp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, 0x38
lea r8, [rbp + 0x198]
mov edx, 0xa
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140029e18
mov rax, qword [rbp + 0x1a0]
cmp rax, qword [rbp + 0x1e0]
jne 0x140029e18
lea r8, [rsp + 0x30]
mov edx, 2
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
jne 0x140029e4b
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x140029e2a
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
jne 0x140029d80
jmp 0x140029e66
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x140029e5d
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140029ebc
test rdi, rdi
je 0x140029e7f
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x140029e91
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14005ff30
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp + 0x198]
call fcn.140029520
lea rdx, [0x1400ddfc8]
lea rcx, [rbp + 0x198]
call fcn.140085c40
nop
lea rcx, [rbp + 0x198]
call fcn.140029bb0
lea rdx, [0x1400ddfa8]
lea rcx, [rbp + 0x198]
call fcn.140085c40
int3
lea rcx, [rbp + 0x198]
call fcn.140029bb0
lea rdx, [0x1400ddfa8]
lea rcx, [rbp + 0x198]
call fcn.140085c40
nop
lea rcx, [rbp + 0x198]
call fcn.140029bb0
lea rdx, [0x1400ddfa8]
lea rcx, [rbp + 0x198]
call fcn.140085c40
int3
lea rcx, [rbp + 0x198]
call fcn.140029bb0
lea rdx, [0x1400ddfa8]
lea rcx, [rbp + 0x198]
call fcn.140085c40
int3