Function at 0x402a60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ace6
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x410018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x13c]
push eax
push esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x13c], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, ebx
je 0x402cf1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x118]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402af0
cmp dl, bl
je 0x402aec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402af0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x402ad0
xor eax, eax
jmp 0x402af5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x402caf
mov edi, 7
mov eax, str.PointBl
lea esi, [ebp - 0x184]
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], ebx
mov byte [ebp - 0x184], bl
call fcn.00408250
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], ebx
mov byte [ebp - 0x15c], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402b50
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x118]
lea esi, [ebp - 0x15c]
call fcn.00408250
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x184]
mov esi, 0x10
cmp dword [ebp - 0x170], esi
jae 0x402b8c
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x174]
push ecx
push eax
lea edx, [ebp - 0x15c]
push edx
xor eax, eax
call fcn.00407960
cmp eax, 0xffffffff
je 0x402bf6
cmp dword [ebp - 0x148], esi
jb 0x402bbf
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], ebx
mov byte [ebp - 0x15c], bl
cmp dword [ebp - 0x170], esi
jb 0x402caf
mov ecx, dword [ebp - 0x184]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x402caf
cmp dword [ebp - 0x148], esi
jb 0x402c0e
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x14c], ebx
mov byte [ebp - 0x15c], bl
cmp dword [ebp - 0x170], esi
jb 0x402c3d
mov eax, dword [ebp - 0x184]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov edi, 7
mov eax, str.pointbl
mov dword [ebp - 0x18c], esp
mov byte [esi], bl
call fcn.00408250
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 4], 1
lea eax, [ebp - 0x118]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x188], esp
mov byte [esi], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402c86
sub eax, ecx
mov edi, eax
lea eax, [ebp - 0x118]
call fcn.00408250
mov dword [ebp - 4], 0xffffffff
call fcn.004027c0
add esp, 0x38
cmp al, bl
je 0x402cd5
mov ecx, dword [ebp - 0x134]
push ecx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x402cd5
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x160]
lea edx, [ebp - 0x13c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x402ac1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409fb6
mov esp, ebp
pop ebp
ret