Function at 0x423300
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 0x51ba38
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x55f3a4]
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 0x423397
push 0x228
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004efd80
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 0x42339e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4235a8
mov dword [ebp - 0x294], 0
call fcn.00405ae0
mov ecx, eax
test ecx, ecx
je 0x4235c6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.explorer.exe
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00405cf0
test al, al
jne 0x4233eb
push 0xc
push str.explorer.exe
lea ecx, [ebp - 0x20]
call fcn.00406110
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.00423680
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x28c]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x20]
nop dword [eax]
lea eax, [ebp - 0x264]
push eax
push esi
call fcn.004fa075
add esp, 8
test eax, eax
jne 0x4234df
push dword [ebp - 0x280]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4234d9
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 0x4234d2
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.00519460
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.004236e0
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 0x423420
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
jbe 0x42351c
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 0x423561
mov esi, eax
push dword [edi + 8]
lea ecx, [ebp - 0x1c]
call fcn.004236a0
mov edi, dword [edi]
push 0x14
push esi
call fcn.004af8aa
add esp, 8
mov esi, edi
cmp byte [edi + 0xd], 0
je 0x423535
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.004af8aa
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 0x4235a2
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.004af60c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.004060f0
int3