Function at 0x417d50
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 0x4eabc8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x52a394]
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 0x417de7
push 0x228
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004bff80
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 0x417dee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x418003
mov dword [ebp - 0x294], 0
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x418021
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 0x417e35
movzx eax, ax
push eax
call fcn.00408ed0
jmp 0x417e41
push 0xc
push str.explorer.exe
call fcn.004090b0
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.00418350
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.004c9f4d
add esp, 8
test eax, eax
jne 0x417f32
push dword [ebp - 0x280]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x417f2c
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 0x417f25
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.004e8d70
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.004183b0
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 0x417e73
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
jbe 0x417f6f
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 0x417fbc
mov esi, eax
nop dword [eax + eax]
push dword [edi + 8]
lea ecx, [ebp - 0x1c]
call fcn.00418370
mov edi, dword [edi]
push 0x14
push esi
call fcn.00493ff7
add esp, 8
mov esi, edi
cmp byte [edi + 0xd], 0
je 0x417f90
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.00493ff7
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 0x417ffd
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.00493aac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404780
int3