Function at 0x408ae0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4c5cf4
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebp
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
test byte [0x4fdc90], 1
mov eax, dword [esp + 0x274]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
jne 0x408b78
or dword [0x4fdc90], 1
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x1b]
push eax
mov ecx, 0x4fdc70
mov dword [esp + 0x274], 0
call fcn.00409a80
push 0x4c7380
call fcn.004982ba
add esp, 4
mov dword [esp + 0x26c], 0xffffffff
cmp dword [0x4fdc8c], 0
je 0x408b87
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x408cf2
mov ecx, dword [0x4fdc88]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x4fdc70
call fcn.00409d30
mov eax, dword [0x4fdc88]
mov dword [eax + 4], eax
mov eax, dword [0x4fdc88]
mov dword [0x4fdc8c], 0
mov dword [eax], eax
mov eax, dword [0x4fdc88]
push 0x228
mov dword [eax + 8], eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00497680
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov edi, 0x22c
push ebp
mov dword [esp + 0x34], edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x408ceb
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x14]
call fcn.00404050
lea ecx, [esp + 0x10]
mov dword [esp + 0x26c], 1
call fcn.00409990
mov ecx, eax
call fcn.004099e0
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x408c4f
push esi
lea ecx, [esp + 0x14]
call fcn.00404b40
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.00499012
add esp, 8
test esi, esi
jl 0x408d87
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x408d87
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [edx + esi*2], cx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4fdc70
call fcn.00409420
mov ecx, eax
call fcn.00409780
push edi
lea edx, [esp + 0x30]
push 0
push edx
call fcn.00497680
mov dword [esp + 0x278], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x2c], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x408c00
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404050
lea ecx, [esp + 0x18]
mov dword [esp + 0x26c], 2
call fcn.004050f0
mov ebp, dword [0x4fdc88]
mov edi, dword [0x4fdc70]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x4fdc70
call fcn.004095d0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x408d40
cmp eax, edi
je 0x408d45
call fcn.00497857
cmp dword [esi + 4], ebp
je 0x408d91
lea edx, [esp + 0x18]
push edx
mov ecx, 0x4fdc70
call fcn.00409420
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
je 0x408d91
lea edx, [esp + 0x18]
push edx
mov ecx, 0x4fdc70
call fcn.00409420
mov ecx, dword [esp + 0x20]
push eax
call fcn.00409690
mov esi, 1
jmp 0x408d95
push 0x80070057
call fcn.00404ce0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x26c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408dc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.00497941
add esp, 0x260
ret