Function at 0x140020ce0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140063030]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
xor r15d, r15d
mov edi, r15d
call fcn.14001f820
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140020d2e
xor eax, eax
jmp 0x140020f92
mov edx, 0x1d
lea rcx, [rbp + 0x188]
call fcn.1400140c0
nop
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0x10
cmovae rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
add r8, rdx
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0x10
cmovae rdx, qword [rbp + 0x188]
lea rcx, [rbp + 0x1a8]
call fcn.1400146e0
nop
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 0x10
jb 0x140020dc6
inc rdx
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020dc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020fc4
call fcn.14002453c
mov dword [rsp + 0x40], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140020f4e
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140020f45
nop dword [rax]
lea rcx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140020e10
lea r10, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 8
cmovae r10, qword [rbp + 0x1a8]
mov r11, qword [rbp + 0x1b8]
mov r9, r11
cmp rax, r11
cmovb r9, rax
lea rcx, [rsp + 0x6c]
test r9, r9
je 0x140020e93
movzx edx, word [r10]
movzx r8d, word [rsp + 0x6c]
cmp dx, r8w
jb 0x140020f2e
lea rbx, [rsp + 0x6c]
sub r10, rbx
cmp dx, r8w
ja 0x140020f2e
cmp r9, 1
je 0x140020e93
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140020e6c
jmp 0x140020f2e
cmp r11, rax
jb 0x140020f2e
ja 0x140020f2e
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140020f2e
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140020f25
mov dword [rbp + 0x180], 4
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x184]
lea edx, [r9 + 8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140020f1a
cmp dword [rbp + 0x184], r14d
cmove edi, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140020e00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x1c0]
cmp rdx, 8
jb 0x140020f90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020fbe
call fcn.14002453c
mov eax, edi
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1400244f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002ae98
int3
call fcn.14002ae98
int3