Function at 0x4020d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4084e6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x40c018]
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 0x40234e
lea ecx, [ebp - 0x138]
push ecx
push eax
mov dword [ebp - 0x138], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, ebx
je 0x40234e
jmp 0x402140
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.00406310
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 0x402190
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x198]
call fcn.00406310
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c0]
mov edi, 0x10
cmp dword [ebp - 0x1ac], edi
jae 0x4021cc
lea eax, [ebp - 0x1c0]
mov edx, dword [ebp - 0x1b0]
push edx
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00405b50
cmp eax, 0xffffffff
jne 0x40236c
cmp dword [ebp - 0x184], edi
jb 0x402201
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 0x402230
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.00406310
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 0x402280
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x158]
call fcn.00406310
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x178]
mov edi, 0x10
cmp dword [ebp - 0x164], edi
jae 0x4022bc
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x168]
push ecx
push eax
lea edx, [ebp - 0x158]
push edx
call fcn.00405b50
cmp eax, 0xffffffff
jne 0x4023ba
cmp dword [ebp - 0x144], edi
jb 0x4022f1
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 0x402320
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 0x402140
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.004078a0
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x184], edi
jb 0x402384
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 0x402400
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 0x402350
cmp dword [ebp - 0x144], edi
jb 0x4023d2
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 0x402400
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 0x402350