Function at 0x401630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4047d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x408018]
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 0x4018ae
lea ecx, [ebp - 0x138]
push ecx
push eax
mov dword [ebp - 0x138], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, ebx
je 0x4018ae
jmp 0x4016a0
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.004034e0
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 0x4016f0
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x198]
call fcn.004034e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c0]
mov edi, 0x10
cmp dword [ebp - 0x1ac], edi
jae 0x40172c
lea eax, [ebp - 0x1c0]
mov edx, dword [ebp - 0x1b0]
push edx
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00402ff0
cmp eax, 0xffffffff
jne 0x4018cc
cmp dword [ebp - 0x184], edi
jb 0x401761
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 0x401790
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.004034e0
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 0x4017e0
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x158]
call fcn.004034e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x178]
mov edi, 0x10
cmp dword [ebp - 0x164], edi
jae 0x40181c
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x168]
push ecx
push eax
lea edx, [ebp - 0x158]
push edx
call fcn.00402ff0
cmp eax, 0xffffffff
jne 0x40191a
cmp dword [ebp - 0x144], edi
jb 0x401851
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 0x401880
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 0x4016a0
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.00403cd0
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x184], edi
jb 0x4018e4
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 0x401960
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 0x4018b0
cmp dword [ebp - 0x144], edi
jb 0x401932
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 0x401960
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 0x4018b0