Function at 0x411d40
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd418
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x51938c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x411dd7
push 0x228
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004b5160
add esp, 0xc
mov dword [ebp - 0x288], 0x22c
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x411dde
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x411ff3
mov dword [ebp - 0x294], 0
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x412011
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, str.explorer.exe
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
test eax, 0xffff0000
jne 0x411e25
movzx eax, ax
push eax
call fcn.00408e60
jmp 0x411e31
push 0xc
push str.explorer.exe
call fcn.00409040
xorps xmm0, xmm0
mov dword [ebp - 4], 1
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00412340
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x264]
push eax
push esi
call fcn.004bdc85
add esp, 8
test eax, eax
jne 0x411f22
push dword [ebp - 0x280]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x411f1c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x411f15
xorps xmm0, xmm0
mov eax, 1
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0x28], xmm0
push eax
mov dword [ebp - 0x40], 0x107b2
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
sbb eax, dword [ebp - 0x24]
push 0
push 0x989680
push eax
push ecx
call fcn.004dbfa0
mov ecx, dword [ebp - 0x290]
push dword [ebp - 0x294]
push ecx
mov dword [ecx], eax
lea eax, [ebp - 0x29c]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004123a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411e63
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
jbe 0x411f5f
mov eax, dword [ecx]
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x294], 1
mov eax, dword [eax + 0x10]
mov dword [edx], eax
mov byte [ebp - 4], 3
mov edx, ecx
mov eax, dword [ecx + 4]
mov edi, eax
mov dword [ebp - 0x28c], edx
cmp byte [eax + 0xd], 0
jne 0x411fac
mov esi, eax
nop dword [eax + eax]
push dword [edi + 8]
lea ecx, [ebp - 0x1c]
call fcn.00412360
mov edi, dword [edi]
push 0x14
push esi
call fcn.00489027
add esp, 8
mov esi, edi
cmp byte [edi + 0xd], 0
je 0x411f80
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x1c]
push 0x14
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], edx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
call fcn.00489027
add esp, 8
add esi, 0xfffffff0
mov dword [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x411fed
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488adc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404780
int3