Function at 0x421180
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c31d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call fcn.00420d70
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x42141a
push 0x22c
push 0
lea eax, [ebp - 0x2fc]
push eax
call fcn.0043ad10
add esp, 0xc
mov dword [ebp - 0x2fc], 0x22c
lea ecx, [ebp - 0x2fc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x421410
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2fc]
push edx
call fcn.00421f60
add esp, 0xc
test eax, eax
je 0x421384
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x18], 0
je 0x421252
mov eax, dword [ebp - 0x2f4]
push eax
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x14], 0
je 0x421331
cmp dword [ebp + 0x18], 0
je 0x4212da
cmp dword [ebp - 0x10], 0
je 0x4212c8
lea edx, [ebp - 0x10]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00420c80
jmp 0x4213a7
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 1
jmp 0x42132f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x2f4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00420c80
jmp 0x4213a7
jmp 0x421384
lea eax, [ebp - 0x10]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x2f4]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00420c80
lea eax, [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42139a
jmp 0x4213a7
mov edx, 1
test edx, edx
jne 0x421210
cmp dword [ebp - 0x20], 0
je 0x421410
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
mov dword [ebp - 0xac], ecx
lea edx, [ebp - 0xb0]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00420c80
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00420cf0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00420e60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret