Function at 0x401520
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2ea6
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x68683c]
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 0x4017af
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x118]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4015b0
cmp dl, bl
je 0x4015ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4015b0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x401590
xor eax, eax
jmp 0x4015b5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40176d
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.00406070
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 0x401610
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x118]
lea esi, [ebp - 0x15c]
call fcn.00406070
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x184]
mov esi, 0x10
cmp dword [ebp - 0x170], esi
jae 0x40164c
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x174]
push ecx
push eax
lea edx, [ebp - 0x15c]
push edx
call fcn.00405800
cmp eax, 0xffffffff
je 0x4016b4
cmp dword [ebp - 0x148], esi
jb 0x40167d
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 0x40176d
mov ecx, dword [ebp - 0x184]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x40176d
cmp dword [ebp - 0x148], esi
jb 0x4016cc
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 0x4016fb
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.00406070
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 0x401744
sub eax, ecx
mov edi, eax
lea eax, [ebp - 0x118]
call fcn.00406070
mov dword [ebp - 4], 0xffffffff
call fcn.00401420
add esp, 0x38
cmp al, bl
je 0x401793
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 0x401793
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 0x401581
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.005a6cf8
mov esp, ebp
pop ebp
ret