Function at 0x4087c0
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.00425860
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
je 0x4089ed
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x258], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4089e1
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 0x408870
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.00408a50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4088ab
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 0x4088ee
sub edi, ecx
movzx edx, word [edi + ecx]
movzx esi, word [ecx]
cmp dx, si
jne 0x4088f7
add ecx, 2
sub eax, 1
jne 0x4088d1
mov edx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x18]
cmp edx, esi
jbe 0x4088ff
or esi, 0xffffffff
jmp 0x408903
sbb esi, esi
and esi, 0xfffffffe
inc esi
jmp 0x408903
sbb esi, esi
neg esi
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x408943
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408939
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a3b
push edx
push ecx
call fcn.0040d849
add esp, 8
test esi, esi
je 0x4089a1
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 0x408997
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40898d
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a3b
push ecx
push ebx
call fcn.0040d849
add esp, 8
test esi, esi
jne 0x408850
jmp 0x4089db
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x259], 1
cmp eax, 8
jb 0x4089db
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4089d1
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a3b
push ecx
push ebx
call fcn.0040d849
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 0x408a1d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408a13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a40
push edx
push ecx
call fcn.0040d849
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.0040d833
mov esp, ebp
pop ebp
ret
call fcn.00428840
call fcn.00428840
int3