Function at 0x4281f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e529e
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 dword [ebp - 0x29c], edx
mov ebx, ecx
mov dword [ebp - 0x28c], 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 esi, eax
mov dword [ebp - 0x290], esi
cmp esi, 0xffffffff
je 0x42849e
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42849e
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x42849e
mov dword [ebp - 0x298], fcn.004c1532
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x264], ax
je 0x428305
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4282f6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403dd0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
lea ebx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edi, 8
mov eax, dword [ebp - 0x18]
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 eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x28]
add esp, 8
mov edi, dword [eax]
push ecx
mov ecx, eax
call fcn.00403350
mov ebx, dword [ebp - 0x14]
mov esi, eax
cmp esi, edi
je 0x428396
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
lea edx, [eax + 0x10]
jb 0x428377
mov eax, dword [eax]
push dword [edx]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp ebx, 8
push eax
cmovae ecx, dword [ebp - 0x28]
call fcn.004033b0
shr eax, 0x1f
add esp, 8
test al, al
je 0x428398
mov esi, edi
cmp esi, edi
je 0x42845a
mov byte [ebp - 4], 2
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 byte [ebp - 4], 3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
call fcn.0041fa30
add esp, 4
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x42841a
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4283ff
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 0x428433
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409950
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x44]
push eax
call fcn.0042b3f0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x428457
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409950
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ebx, 8
jb 0x428472
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403f40
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x288]
push eax
push esi
mov dword [ebp - 0x288], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4282d0
mov ebx, dword [ebp - 0x28c]
test esi, esi
je 0x4284ae
cmp esi, 0xffffffff
je 0x4284ae
push esi
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