Function at 0x140023780
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 [0x14006c030]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
xor r15d, r15d
mov edi, r15d
call fcn.140021d60
mov r14d, eax
cmp eax, 0xffffffff
jne 0x1400237ce
xor eax, eax
jmp 0x140023a32
mov edx, 0x1e
lea rcx, [rbp + 0x188]
call fcn.1400140d0
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.1400146d0
nop
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 0x10
jb 0x140023866
inc rdx
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023861
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023a64
call fcn.1400285fc
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 0x1400239ee
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1400239e5
nop dword [rax]
lea rcx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400238b0
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 0x140023933
movzx edx, word [r10]
movzx r8d, word [rsp + 0x6c]
cmp dx, r8w
jb 0x1400239ce
lea rbx, [rsp + 0x6c]
sub r10, rbx
cmp dx, r8w
ja 0x1400239ce
cmp r9, 1
je 0x140023933
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14002390c
jmp 0x1400239ce
cmp r11, rax
jb 0x1400239ce
ja 0x1400239ce
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 0x1400239ce
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 0x1400239c5
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 0x1400239ba
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 0x1400238a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x1c0]
cmp rdx, 8
jb 0x140023a30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023a2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023a5e
call fcn.1400285fc
mov eax, edi
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1400285b0
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.14002ef48
int3
call fcn.14002ef48
int3