Function at 0x42a740
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee168
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], 0
call fcn.0042a9d0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x28]
push 0xc
xor eax, eax
mov dword [ebp - 0x28], 0
push str.explorer.exe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407890
mov dword [ebp - 4], 0
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x270], ebx
xor esi, esi
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x268], esi
push esi
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x42a8ad
push 0x228
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.004beec0
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42a8a1
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.004d0fde
add esp, 0xc
test eax, eax
jne 0x42a888
cmp edi, esi
je 0x42a869
mov eax, dword [ebp - 0x250]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x26c], edi
jmp 0x42a888
lea eax, [ebp - 0x250]
push eax
push edi
lea ecx, [ebp - 0x270]
call fcn.00424ef1
mov esi, dword [ebp - 0x268]
mov edi, dword [ebp - 0x26c]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call ebx
test eax, eax
jne 0x42a830
mov ebx, dword [ebp - 0x270]
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42a8e7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a8dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a9bb
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov dword [ebp - 0x260], ebx
mov eax, ebx
cmp ebx, edi
je 0x42a934
mov eax, dword [eax]
lea ecx, [ebp - 0x25c]
push ecx
push eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x25c], 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp - 0x274]
cmp dword [ebp - 0x25c], eax
je 0x42a94d
mov eax, dword [ebp - 0x260]
add eax, 4
mov dword [ebp - 0x260], eax
cmp eax, edi
jne 0x42a8f3
xor eax, eax
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x42a955
push eax
jmp 0x42a966
mov eax, dword [ebp - 0x278]
jmp 0x42a936
lea eax, [ebp - 0x264]
push eax
push 0xe
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x42a999
sub esi, ebx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x42a98f
mov ecx, dword [ebx - 4]
add esi, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x42a9bb
mov ebx, ecx
push esi
push ebx
call fcn.0045b5e1
add esp, 8
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
call fcn.004c1e0f
int3