Function at 0x428360
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6ece
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x52910c]
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 0x42860e
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42860e
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x42860e
mov dword [ebp - 0x298], fcn.004c3152
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 0x428475
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428466
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403e20
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.00403820
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x28]
add esp, 8
mov edi, dword [eax]
push ecx
mov ecx, eax
call fcn.004033a0
mov ebx, dword [ebp - 0x14]
mov esi, eax
cmp esi, edi
je 0x428506
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
lea edx, [eax + 0x10]
jb 0x4284e7
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.00403400
shr eax, 0x1f
add esp, 8
test al, al
je 0x428508
mov esi, edi
cmp esi, edi
je 0x4285ca
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
push 0
push 0x509250
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00409af0
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.0041fba0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x42858a
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x42856f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00407660
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4285a3
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004099a0
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x44]
push eax
call fcn.0042ba30
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4285c7
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004099a0
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ebx, 8
jb 0x4285e2
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403f90
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 0x428440
mov ebx, dword [ebp - 0x28c]
test esi, esi
je 0x42861e
cmp esi, 0xffffffff
je 0x42861e
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.004a1845
mov esp, ebp
pop ebp
ret