Function at 0x467ec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499570
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4cc99c]
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 eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x278], eax
mov dword [eax], ebx
xor eax, eax
cmp edx, ebx
je 0x46810b
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [eax + 2]
jmp 0x467f20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x467f20
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.004027c0
push 1
push 0xffffffffffffffff
push 0x4adfcc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00408640
cmp eax, ebx
jg 0x467f62
push 1
push 0xffffffffffffffff
push 0x4b1c24
lea ecx, [ebp - 0x2c]
call fcn.00408640
mov ecx, dword [ebp - 0x1c]
push ecx
inc eax
push eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408400
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004085c0
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x467f9a
mov eax, dword [ebp - 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x1c], ebx
ja 0x467fb9
cmp dword [ebp - 0x18], esi
jb 0x468109
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x468109
mov edx, dword [0x4cc964]
mov eax, dword [edx + 0xc]
mov ecx, 0x4cc964
call eax
push 0x228
lea ecx, [ebp - 0x270]
lea esi, [eax + 0x10]
push ebx
push ecx
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x274], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x46801d
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x468017
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 8
jmp 0x467fa2
lea edx, [ebp - 0x274]
push edx
push edi
mov dword [ebp - 0x274], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4680e5
lea esp, [esp]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x46804c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x250]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x468078
cmp dx, bx
je 0x468074
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x468078
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x468052
xor eax, eax
jmp 0x46807d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4680b8
lea eax, [ebp - 0x274]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x468040
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x278]
mov esi, dword [edx]
lea ecx, [ebp - 0x27c]
call fcn.0045d6b0
lea ecx, [ebp - 0x2c]
call fcn.004024d0
mov eax, esi
jmp 0x46810b
mov ecx, dword [ebp - 0x278]
push edi
mov dword [ecx], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x27c]
call fcn.0045d6b0
lea ecx, [ebp - 0x2c]
call fcn.004024d0
mov eax, 1
jmp 0x46810b
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2c]
call fcn.004024d0
xor eax, eax
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.00497792
mov esp, ebp
pop ebp
ret