Function at 0x460370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebace
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x44]
mov dword [ebp - 4], 0
mov dword [ebp - 0x290], 0
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x294], edi
call dword [eax + 0x14]
cmp dword [eax + 0x14], 8
jb 0x4603c9
mov eax, dword [eax]
mov ecx, eax
call fcn.00428290
mov esi, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], esi
cmp eax, 8
jb 0x4603ed
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00403f90
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0044f1b0
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x290], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4605f3
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4605ec
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4605ec
nop word [eax + eax]
cmp dword [ebp - 0x270], esi
jne 0x4605cc
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 0
push 0x507250
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00409af0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp word [ebp - 0x264], ax
je 0x4604ef
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4604e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403e20
push ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0041fba0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x46054b
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x460530
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00407660
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x460560
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004099a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 8
jb 0x46058b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00403f90
mov eax, dword [ebp - 0x280]
push dword [ebp - 0x294]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
call fcn.00460d30
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4605c6
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004099a0
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x460470
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret 4