Function at 0x498c00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d64e0
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4fa7e0]
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 edi, dword [ebp + 8]
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x14c], edi
call fcn.00498870
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x138], 0x128
lea eax, [ebp - 0x138]
mov dword [ebp - 0x144], ebx
push eax
push ebx
call sub.KERNEL32.dll_Process32First
lea eax, [ebp - 0x138]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x498e50
jmp 0x498c90
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x13c]
call fcn.004861f0
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 1
mov esi, dword [eax - 0xc]
test esi, esi
js 0x498e9a
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x498cda
push esi
lea ecx, [ebp - 0x13c]
call fcn.00487c50
mov eax, dword [ebp - 0x13c]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004b5311
push eax
call fcn.00486d50
mov eax, dword [ebp - 0x13c]
add esp, 0xc
cmp esi, dword [eax - 8]
jg 0x498e9a
mov dword [eax - 0xc], esi
mov ecx, edi
mov eax, dword [ebp - 0x13c]
mov byte [esi + eax], 0
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x13c]
mov dword [ebp - 0x148], 0
call fcn.004abce9
test eax, eax
je 0x498e17
push 0x34
call fcn.0049d2f7
mov edi, eax
add esp, 4
mov dword [ebp - 0x140], edi
test edi, edi
je 0x498d83
lea ecx, [edi + 8]
call fcn.00498840
lea ecx, [edi + 0x1c]
call fcn.00498870
mov dword [edi + 0x1c], vtable.CArrayProcessData.0
mov byte [ebp - 4], 4
call fcn.0049dc5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x498e90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi + 0x30], eax
jmp 0x498d85
xor edi, edi
mov eax, dword [ebp - 0x13c]
mov esi, dword [edi + 0x30]
sub esi, 0x10
mov byte [ebp - 4], 1
lea edx, [eax - 0x10]
cmp edx, esi
je 0x498de8
cmp dword [esi + 0xc], 0
jl 0x498ddc
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x498ddc
push edx
call fcn.00486fe0
add esp, 4
mov dword [ebp - 0x140], eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x498dd4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x140]
add eax, 0x10
mov dword [edi + 0x30], eax
jmp 0x498de8
push dword [eax - 0xc]
lea ecx, [edi + 0x30]
push eax
call fcn.00487e40
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x160]
push edi
push dword [ebp - 0x158]
mov dword [edi], eax
mov eax, dword [ebp - 0x120]
mov dword [edi + 4], eax
call fcn.004991b0
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x13c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x498e3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x138]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x498c90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
lea eax, [ebp - 0x160]
push eax
call fcn.00498a20
add esp, 8
lea ecx, [ebp - 0x160]
call fcn.004988c0
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.004b3861
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00486f80
push 0x80070057
call fcn.00486f80
int3