Function at 0x402d30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40aca6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x410018]
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 0x402fb0
lea ecx, [ebp - 0x138]
push ecx
push eax
mov dword [ebp - 0x138], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, ebx
je 0x402fb0
jmp 0x402da0
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.00408250
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 0x402df0
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x198]
call fcn.00408250
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c0]
mov edi, 0x10
cmp dword [ebp - 0x1ac], edi
jae 0x402e2c
lea eax, [ebp - 0x1c0]
mov edx, dword [ebp - 0x1b0]
push edx
push eax
lea eax, [ebp - 0x198]
push eax
xor eax, eax
call fcn.00407960
cmp eax, 0xffffffff
jne 0x402fce
cmp dword [ebp - 0x184], edi
jb 0x402e63
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 0x402e92
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.00408250
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]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402ee0
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x158]
call fcn.00408250
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x178]
mov edi, 0x10
cmp dword [ebp - 0x164], edi
jae 0x402f1c
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x168]
push ecx
push eax
lea edx, [ebp - 0x158]
push edx
xor eax, eax
call fcn.00407960
cmp eax, 0xffffffff
jne 0x40301c
cmp dword [ebp - 0x144], edi
jb 0x402f53
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 0x402f82
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 0x402da0
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.00409fb6
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x184], edi
jb 0x402fe6
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 0x403062
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 0x402fb2
cmp dword [ebp - 0x144], edi
jb 0x403034
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 0x403062
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 0x402fb2