Function at 0x401630
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4048a6
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x407018]
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 0x4018bf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x118]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4016c0
cmp dl, bl
je 0x4016bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4016c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4016a0
xor eax, eax
jmp 0x4016c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40187d
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.00403570
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 0x401720
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x118]
lea esi, [ebp - 0x15c]
call fcn.00403570
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x184]
mov esi, 0x10
cmp dword [ebp - 0x170], esi
jae 0x40175c
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x174]
push ecx
push eax
lea edx, [ebp - 0x15c]
push edx
call fcn.00403080
cmp eax, 0xffffffff
je 0x4017c4
cmp dword [ebp - 0x148], esi
jb 0x40178d
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 0x40187d
mov ecx, dword [ebp - 0x184]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x40187d
cmp dword [ebp - 0x148], esi
jb 0x4017dc
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 0x40180b
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.00403570
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 0x401854
sub eax, ecx
mov edi, eax
lea eax, [ebp - 0x118]
call fcn.00403570
mov dword [ebp - 4], 0xffffffff
call fcn.004013a0
add esp, 0x38
cmp al, bl
je 0x4018a3
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 0x4018a3
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 0x401691
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.00403d60
mov esp, ebp
pop ebp
ret