Function at 0x1012af90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f411
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002390
test eax, eax
jne 0x1012aff2
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001ca0
mov eax, dword [ebp - 0x258]
jmp 0x1012b2a4
mov dword [ebp - 0x24c], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xffffffff
jne 0x1012b038
mov dword [ebp - 0x25c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001ca0
mov eax, dword [ebp - 0x25c]
jmp 0x1012b2a4
mov dword [ebp - 0x244], 0x22c
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1012b08a
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x260], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001ca0
mov eax, dword [ebp - 0x260]
jmp 0x1012b2a4
lea ecx, [ebp + 8]
call fcn.10002390
push eax
push 0x5c
lea ecx, [ebp + 8]
call fcn.10001e40
add eax, 1
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp + 8]
call fcn.10002090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x250]
call fcn.10001c20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.10002390
push eax
push 0x5c
lea ecx, [ebp - 0x250]
call fcn.10001e40
add eax, 1
push eax
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x250]
call fcn.10002090
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x250]
call fcn.10001cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.10001ca0
lea ecx, [ebp - 0x248]
call fcn.10003960
push eax
lea ecx, [ebp - 0x250]
call fcn.10001d20
test eax, eax
jne 0x1012b21c
mov edx, dword [ebp - 0x23c]
push edx
lea eax, [ebp - 0x254]
push eax
call fcn.1012ac60
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
call fcn.10003960
push eax
lea ecx, [ebp - 0x254]
call fcn.10001d20
test eax, eax
jne 0x1012b20d
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
mov ecx, dword [ebp - 0x254]
push ecx
push str.strPath__s_
push 0x1019d688
call fcn.10128890
add esp, 0xc
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x268], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.10001ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.10001ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10001ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001ca0
mov eax, dword [ebp - 0x268]
jmp 0x1012b2a4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.10001ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.10001ca0
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1012b0b4
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
push str.no_process_path
push 0x1019d688
call fcn.10128890
add esp, 8
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x26c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10001ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001ca0
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10108bbf
mov esp, ebp
pop ebp
ret