Function at 0x41a020
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 0x504088
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x549394]
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 0x41a0b7
push 0x228
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004d9120
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 0x41a0be
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41a2d3
mov dword [ebp - 0x294], 0
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x41a2f1
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 0x41a105
movzx eax, ax
push eax
call fcn.00408f80
jmp 0x41a111
push 0xc
push str.explorer.exe
call fcn.00409160
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.0041a620
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.004e2ec0
add esp, 8
test eax, eax
jne 0x41a202
push dword [ebp - 0x280]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41a1fc
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 0x41a1f5
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.00501fb0
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.0041a680
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 0x41a143
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
jbe 0x41a23f
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 0x41a28c
mov esi, eax
nop dword [eax + eax]
push dword [edi + 8]
lea ecx, [ebp - 0x1c]
call fcn.0041a640
mov edi, dword [edi]
push 0x14
push esi
call fcn.00497977
add esp, 8
mov esi, edi
cmp byte [edi + 0xd], 0
je 0x41a260
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.00497977
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 0x41a2cd
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.0049742c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00404780
int3