Function at 0x42a850
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e568e
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x52610c]
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 esi, edx
mov dword [ebp - 0x28c], esi
mov ebx, ecx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x2a0], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x294], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x290], edi
cmp edi, 0xffffffff
je 0x42aaf3
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42aaf3
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x42aaf3
cmp dword [ebp - 0x270], esi
jne 0x42aad3
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
push 0
push 0x507250
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00409aa0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2c], eax
xor eax, eax
push eax
push 0x5026d8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403dd0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.00428fb0
test eax, eax
je 0x42a9e4
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp edi, 8
mov dword [ebp - 0x298], fcn.004c1532
cmovae ecx, esi
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, esi
push ebx
call fcn.004037d0
mov ebx, dword [ebp - 0x29c]
add esp, 8
mov edi, dword [ebp - 0x290]
cmp dword [ebp - 0x18], 0
jne 0x42aa20
cmp word [ebp - 0x264], 0
jne 0x42a9f8
xor eax, eax
jmp 0x42aa10
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42aa01
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403dd0
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x5c]
call fcn.0041fa30
add esp, 4
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x42aa68
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x42aa4d
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409950
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00407610
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x42aa81
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409950
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.0042b3f0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42aaa1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f40
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x42aacd
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409950
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42a924
test edi, edi
je 0x42ab03
cmp edi, 0xffffffff
je 0x42ab03
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.0049fc55
mov esp, ebp
pop ebp
ret