Function at 0x461740
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4619b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [0x4603c4]
call fcn.00409acc
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x46198f
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x461988
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x248]
mov edx, 0x22c
call fcn.0042d6c0
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_Process32FirstW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x461965
cmp dword [ebp - 0x240], 0
jbe 0x46194c
mov eax, dword [ebp - 0x240]
push eax
mov eax, 0x4619c4
xor ecx, ecx
mov edx, 3
call fcn.004610f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46194c
xor eax, eax
push ebp
push 0x461945
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00460d70
cmp dword [ebp - 0x1c], 0
je 0x46192c
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x4603c4]
call fcn.004099a8
add esp, 4
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [edx + eax*4 + 8]
mov edx, dword [ebp - 0x1c]
call fcn.004071e8
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x240]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x230]
mov dword [edx + eax*4 + 4], ecx
cmp byte [ebp - 1], 0
je 0x4618d1
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [edx + eax*4 + 8]
lea ecx, [ebp - 0x24c]
xor edx, edx
call fcn.00460570
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax*4 + 0xc]
call fcn.004071e8
jmp 0x4618e5
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [edx + eax*4 + 0xc]
call fcn.00406e44
cmp byte [ebp - 2], 0
je 0x461915
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 0x10]
call fcn.00460e70
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax*4 + 0x10]
call fcn.004071e8
jmp 0x461929
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [edx + eax*4 + 0x10]
call fcn.00406e44
inc dword [ebp - 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46194c
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
pop eax
jmp eax
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_Process32NextW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4617e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46198f
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4619be
lea eax, [ebp - 0x250]
mov edx, 2
call fcn.00406ea4
lea eax, [ebp - 0x1c]
call fcn.00406e44
pop eax
jmp eax