Function at 0x40e750
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498506
mov eax, dword fs:[0]
push eax
sub esp, 0xac8
mov eax, dword [0x4b3da0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x40e795
or eax, 0xffffffff
jmp 0x40e9b3
xor eax, eax
mov word [ebp - 0xa84], ax
push 0x40e
push 0
lea ecx, [ebp - 0xa82]
push ecx
call fcn.00480a10
add esp, 0xc
mov dword [ebp - 0x674], 0x22c
mov dword [ebp - 0x444], 0x428
lea edx, [ebp - 0x674]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40e9a6
mov ecx, dword [ebp - 0x66c]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xa88], eax
cmp dword [ebp - 0xa88], 0xffffffff
je 0x40e98e
lea edx, [ebp - 0x444]
push edx
mov eax, dword [ebp - 0xa88]
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x40e981
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0xaa4]
call fcn.00406a20
mov dword [ebp - 4], 0
mov edx, dword [0x4ab4b4]
push edx
push 0x5c
lea ecx, [ebp - 0xaa4]
call fcn.0040e070
mov dword [ebp - 0xaa8], eax
mov eax, dword [0x4ab4b4]
push eax
mov ecx, dword [ebp - 0xaa8]
add ecx, 1
push ecx
lea edx, [ebp - 0xac4]
push edx
lea ecx, [ebp - 0xaa4]
call fcn.0040c3d0
mov dword [ebp - 0xad0], eax
mov eax, dword [ebp - 0xad0]
mov dword [ebp - 0xad4], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xad4]
push ecx
lea ecx, [ebp - 0xaa4]
call fcn.004014b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac4]
call fcn.00401490
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x40e911
lea eax, [ebp - 0xaa4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040d340
add esp, 8
movzx edx, al
test edx, edx
je 0x40e90f
mov eax, dword [ebp - 0xa88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x66c]
mov dword [ebp - 0xac8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xaa4]
call fcn.00401490
mov eax, dword [ebp - 0xac8]
jmp 0x40e9b3
jmp 0x40e96f
lea ecx, [ebp - 0xaa4]
call fcn.00401f60
push eax
mov ecx, dword [ebp + 8]
call fcn.00401f60
push eax
call fcn.0047ecfc
add esp, 8
test eax, eax
jne 0x40e96f
mov eax, dword [ebp - 0xa88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x66c]
mov dword [ebp - 0xacc], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xaa4]
call fcn.00401490
mov eax, dword [ebp - 0xacc]
jmp 0x40e9b3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xaa4]
call fcn.00401490
mov eax, dword [ebp - 0xa88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x674]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x10], eax
jmp 0x40e7db
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047dd71
mov esp, ebp
pop ebp
ret