Function at 0x1400f6a00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
xor r15d, r15d
mov dword [rbp + 0x1c8], 4
xor edx, edx
mov qword [rsp + 0x30], r15
mov esi, ecx
mov dword [rbp + 0x1d0], r15d
mov r14d, r15d
mov dword [rsp + 0x50], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400f6c7a
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x1400f6c71
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x280], r12
lea r12, vtable.ATL::CAtlStringMgr.0
nop word [rax + rax]
lea rdx, [0x14015bc80]
lea rcx, [rsp + 0x40]
call fcn.14010a000
lea rdx, [rsp + 0x7c]
mov rcx, qword [rax]
call fcn.1400b739c
mov rdx, qword [rsp + 0x40]
test eax, eax
sete bl
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f6aef
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x1400f6c8c
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test bl, bl
je 0x1400f6ba0
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400f6ba0
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400f6b97
mov r9d, dword [rbp + 0x1c8]
lea rax, [rbp + 0x1c8]
mov rcx, qword [rsp + 0x30]
lea r8, [rbp + 0x1d0]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400f6b62
cmp esi, dword [rbp + 0x1d0]
je 0x1400f6bbc
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400f6b77
call qword [0x140181598]
mov qword [rsp + 0x30], r15
mov rcx, rbx
call qword [0x140181598]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400f6ba0
call qword [0x140181598]
mov qword [rsp + 0x30], r15
jmp 0x1400f6ba0
mov rcx, rbx
call qword [0x140181598]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x1400f6a90
jmp 0x1400f6c61
xor edx, edx
mov dword [rbp + 0x1d8], r15d
mov r8d, 0x100
lea rcx, [rbp + 0x80]
call fcn.14009c0b0
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1d8]
mov r9d, 0x100
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x80]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400f6c43
mov rcx, qword [rbp + 0x80]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x1400f6c43
mov r8, qword [rsp + 0x38]
lea rdx, [0x14015ba60]
lea rcx, [0x1401815f0]
call fcn.140021430
mov rcx, qword [rsp + 0x38]
mov r14d, 1
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400f6c58
call qword [0x140181598]
mov qword [rsp + 0x30], r15
mov rcx, rbx
call qword [0x140181598]
mov rbx, qword [rsp + 0x288]
mov r12, qword [rsp + 0x280]
mov rcx, rdi
call qword [0x140181598]
mov eax, r14d
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call r8
jmp 0x1400f6aef