Function at 0x140021720
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov r11, rsp
push rbp
push rsi
push r13
push r15
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2d8
mov rax, qword [0x1400d33c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x28], rdi
mov sil, 1
mov qword [r11 - 0x38], r14
mov rdi, rcx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
lea r15, [0x1400c53a0]
lea ecx, [rdx + 2]
mov byte [rsp + 0x40], 0
mov qword [rbp + 0x180], rbx
mov r14d, eax
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor r13d, r13d
mov qword [rsp + 0x38], rax
lea rax, [0x1400c51d8]
lea rcx, [rbp + 0x188]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x1a0], 7
mov qword [rbp + 0x198], r13
mov word [rbp + 0x188], r13w
call fcn.140007850
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0x238
call fcn.140091cf0
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x48], 0x238
lea rdx, [rsp + 0x48]
cmp byte [rsp + 0x40], r13b
jne 0x14002180a
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140021810
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x14002193c
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1400217d2
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x20], r13
movabs r15, 0x7fffffffffffffff
movabs r12, 0x20c49ba5e353f7cf
nop
mov rcx, qword [rbp + 0x208]
cmp rcx, r15
jne 0x140021861
mov rbx, r15
jmp 0x140021878
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 7
mov rax, rbx
shr rax, 0x3f
add rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, dword [rsp + 0x50]
xor edx, edx
sub eax, r14d
mov ecx, eax
sub rbx, rcx
mov ecx, 0x100000
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [rsp + 0x20]
mov rdi, rax
lea rax, [rsp + 0x28]
test rbx, rbx
cmovle rax, rcx
mov rcx, rdi
mov edx, dword [rax]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
sete al
and sil, al
nop
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0x238
call fcn.140091cf0
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x48], 0x238
lea rdx, [rsp + 0x48]
cmp byte [rsp + 0x40], r13b
jne 0x140021908
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x14002190e
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x14002192d
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1400218d0
jmp 0x140021850
mov r12, qword [rsp + 0x2c8]
lea r15, [0x1400c53a0]
cmp qword [rbp + 0x1a0], 8
mov r14, qword [rsp + 0x2c0]
mov rdi, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x310]
lea rax, [0x1400c51d8]
mov qword [rsp + 0x30], rax
jb 0x140021976
mov rcx, qword [rbp + 0x188]
call fcn.1400910f4
mov rcx, qword [rsp + 0x38]
mov qword [rbp + 0x1a0], 7
mov qword [rbp + 0x198], r13
mov word [rbp + 0x188], r13w
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140091a70
add rsp, 0x2d8
pop r15
pop r13
pop rsi
pop rbp
ret