Function at 0x460340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eba6e
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 0x460399
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 0x4603bd
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 0x4605c3
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4605bc
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4605bc
nop word [eax + eax]
cmp dword [ebp - 0x270], esi
jne 0x46059c
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 0x4604bf
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4604b0
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 0x46051b
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x460500
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 0x460530
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 0x46055b
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.00460d00
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x460596
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 0x460440
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.004a0475
mov esp, ebp
pop ebp
ret 4