Function at 0x464c10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x464e87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [0x463894]
call fcn.00409be0
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x464e5f
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x464e58
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x248]
mov edx, 0x22c
call fcn.0042f000
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_Process32FirstW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x464e35
cmp dword [ebp - 0x240], 0
jbe 0x464e1c
mov eax, dword [ebp - 0x240]
push eax
mov eax, 0x464e94
xor ecx, ecx
mov edx, 3
call fcn.004645c0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x464e1c
xor eax, eax
push ebp
push 0x464e15
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00464240
cmp dword [ebp - 0x1c], 0
je 0x464dfc
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x463894]
call fcn.00409abc
add esp, 4
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [edx + eax*4 + 8]
mov edx, dword [ebp - 0x1c]
call fcn.004072fc
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x240]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x230]
mov dword [edx + eax*4 + 4], ecx
cmp byte [ebp - 1], 0
je 0x464da1
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [edx + eax*4 + 8]
lea ecx, [ebp - 0x24c]
xor edx, edx
call fcn.00463a40
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax*4 + 0xc]
call fcn.004072fc
jmp 0x464db5
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [edx + eax*4 + 0xc]
call fcn.00406f58
cmp byte [ebp - 2], 0
je 0x464de5
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 0x10]
call fcn.00464340
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax*4 + 0x10]
call fcn.004072fc
jmp 0x464df9
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
lea eax, [edx + eax*4 + 0x10]
call fcn.00406f58
inc dword [ebp - 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464e1c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_Process32NextW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x464cb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464e5f
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464e8e
lea eax, [ebp - 0x250]
mov edx, 2
call fcn.00406fb8
lea eax, [ebp - 0x1c]
call fcn.00406f58
pop eax
jmp eax