Function at 0x4087b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43de20
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x45506c]
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
push 0x22c
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push 0
xor bl, bl
push eax
mov byte [ebp - 0x259], bl
call fcn.00425850
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
je 0x4089dd
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x258], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4089d1
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x14], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408860
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00408120
lea edx, [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00408a40
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40889b
mov ecx, dword [eax]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov edx, dword [eax + 0x10]
mov ebx, dword [ebp - 0x28]
cmovae edi, ebx
mov esi, dword [ebp - 0x18]
mov eax, esi
cmp edx, esi
mov dword [ebp - 0x264], edx
cmovb eax, edx
test eax, eax
je 0x4088de
sub edi, ecx
movzx edx, word [edi + ecx]
movzx esi, word [ecx]
cmp dx, si
jne 0x4088e7
add ecx, 2
sub eax, 1
jne 0x4088c1
mov edx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x18]
cmp edx, esi
jbe 0x4088ef
or esi, 0xffffffff
jmp 0x4088f3
sbb esi, esi
and esi, 0xfffffffe
inc esi
jmp 0x4088f3
sbb esi, esi
neg esi
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x408933
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408929
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a2b
push edx
push ecx
call fcn.0040d83c
add esp, 8
test esi, esi
je 0x408991
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x408987
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40897d
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a2b
push ecx
push ebx
call fcn.0040d83c
add esp, 8
test esi, esi
jne 0x408840
jmp 0x4089cb
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x259], 1
cmp eax, 8
jb 0x4089cb
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4089c1
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a2b
push ecx
push ebx
call fcn.0040d83c
add esp, 8
mov bl, byte [ebp - 0x259]
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x408a0d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408a03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a30
push edx
push ecx
call fcn.0040d83c
add esp, 8
mov al, bl
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.0040d826
mov esp, ebp
pop ebp
ret
call fcn.00428830
call fcn.00428830
int3