Function at 0x401470
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4052f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x409018]
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
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x19c], eax
cmp eax, 0xffffffff
je 0x4016ee
lea ecx, [ebp - 0x138]
push ecx
push eax
mov dword [ebp - 0x138], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, ebx
je 0x4016ee
jmp 0x4014e0
mov edi, 7
mov eax, str.PointBl
lea esi, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], ebx
mov byte [ebp - 0x1c0], bl
call fcn.00403f50
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x114]
mov dword [ebp - 0x184], 0xf
mov dword [ebp - 0x188], ebx
mov byte [ebp - 0x198], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401530
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x198]
call fcn.00403f50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c0]
mov edi, 0x10
cmp dword [ebp - 0x1ac], edi
jae 0x40156c
lea eax, [ebp - 0x1c0]
mov edx, dword [ebp - 0x1b0]
push edx
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00403b10
cmp eax, 0xffffffff
jne 0x40170c
cmp dword [ebp - 0x184], edi
jb 0x4015a1
mov ecx, dword [ebp - 0x198]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x188], ebx
mov byte [ebp - 0x198], bl
cmp dword [ebp - 0x1ac], edi
jb 0x4015d0
mov edx, dword [ebp - 0x1c0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x164], esi
mov edi, 7
mov eax, str.pointbl
lea esi, [ebp - 0x178]
mov dword [ebp - 0x168], ebx
mov byte [ebp - 0x178], bl
call fcn.00403f50
mov dword [ebp - 4], 1
lea eax, [ebp - 0x114]
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401620
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x158]
call fcn.00403f50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x178]
mov edi, 0x10
cmp dword [ebp - 0x164], edi
jae 0x40165c
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x168]
push ecx
push eax
lea edx, [ebp - 0x158]
push edx
call fcn.00403b10
cmp eax, 0xffffffff
jne 0x40175a
cmp dword [ebp - 0x144], edi
jb 0x401691
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
cmp dword [ebp - 0x164], edi
jb 0x4016c0
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x138]
push edx
push eax
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x168], ebx
mov byte [ebp - 0x178], bl
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4014e0
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.00404740
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x184], edi
jb 0x401724
mov ecx, dword [ebp - 0x198]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x184], 0xf
mov dword [ebp - 0x188], ebx
mov byte [ebp - 0x198], bl
cmp dword [ebp - 0x1ac], edi
jb 0x4017a0
mov edx, dword [ebp - 0x1c0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp - 0x130]
add esp, 4
jmp 0x4016f0
cmp dword [ebp - 0x144], edi
jb 0x401772
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
cmp dword [ebp - 0x164], edi
jb 0x4017a0
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x130]
jmp 0x4016f0