Function at 0x401e10
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408526
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x40c018]
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 0x40209f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x118]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401ea0
cmp dl, bl
je 0x401e9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401ea0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x401e80
xor eax, eax
jmp 0x401ea5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40205d
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.00406310
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 0x401f00
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x118]
lea esi, [ebp - 0x15c]
call fcn.00406310
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x184]
mov esi, 0x10
cmp dword [ebp - 0x170], esi
jae 0x401f3c
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x174]
push ecx
push eax
lea edx, [ebp - 0x15c]
push edx
call fcn.00405b50
cmp eax, 0xffffffff
je 0x401fa4
cmp dword [ebp - 0x148], esi
jb 0x401f6d
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 0x40205d
mov ecx, dword [ebp - 0x184]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x40205d
cmp dword [ebp - 0x148], esi
jb 0x401fbc
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 0x401feb
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.00406310
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 0x402034
sub eax, ecx
mov edi, eax
lea eax, [ebp - 0x118]
call fcn.00406310
mov dword [ebp - 4], 0xffffffff
call fcn.00401b60
add esp, 0x38
cmp al, bl
je 0x402083
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 0x402083
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 0x401e71
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.004078a0
mov esp, ebp
pop ebp
ret