Function at 0x419f60
Capabilities:
Acquire debug privileges
Enumerate processes
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14ec
call fcn.0042d2a0
mov eax, dword [0x44c044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0xa8e]
push ecx
mov word [ebp - 0xa90], ax
call fcn.00428450
mov eax, 0x48ef90
add esp, 0xc
mov byte [ebp - 0x14d1], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419fa7
sub eax, edx
sar eax, 1
jne 0x419fd8
push 0x447db8
call fcn.00406870
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217a4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14dc]
push edx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41a036
lea eax, [ebp - 0x129c]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [ebp - 0x14dc]
push 0
push 0
push 0x10
lea ecx, [ebp - 0x12a0]
push ecx
push 0
push edx
mov dword [ebp - 0x12a0], 1
mov dword [ebp - 0x1294], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x128e]
push ecx
mov word [ebp - 0x1290], ax
call fcn.00428450
add esp, 0xc
push 0
push 0xf
mov dword [ebp - 0x14d0], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x14e4], esi
cmp esi, 0xffffffff
jne 0x41a0a6
mov eax, dword [ebp - 0x14dc]
test eax, eax
je 0x41a086
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x447e28
call fcn.00406870
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217a4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14d0]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41a0f2
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41a0c5
push esi
call edi
mov eax, dword [ebp - 0x14dc]
test eax, eax
je 0x41a0d2
push eax
call edi
push 0x447eb8
call fcn.00406870
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217a4
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x41a100
mov esi, dword [ebp - 0x14c8]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
mov ecx, 0x200
lea edi, [ebp - 0x1290]
or eax, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14e0], esi
mov edi, 0x44d5a8
lea ebx, [ebx]
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x14ac]
push ecx
call fcn.00422d63
add esp, 8
test eax, eax
je 0x41a1b7
add edi, 4
cmp edi, 0x44d62c
jl 0x41a130
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14e4]
lea edx, [ebp - 0x14d0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41a100
mov eax, dword [ebp - 0x14e4]
test eax, eax
je 0x41a182
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14dc]
test eax, eax
je 0x41a193
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._Terminate_All_Process__done.
call fcn.00406870
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x14d1]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004217a4
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x14d8], edi
test edi, edi
je 0x41a159
push 0x800
lea edx, [ebp - 0x1290]
push edx
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
lea eax, [ebp - 0x1290]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a1f0
sub eax, edx
sar eax, 1
je 0x41a3bd
lea eax, [ebp - 0x1290]
push eax
call fcn.004190e0
add esp, 4
cmp al, 1
jne 0x41a3b1
lea ecx, [ebp - 0x14e8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x14e8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x41a417
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14c8]
push eax
lea ecx, [ebp - 0x14ac]
push ecx
lea edx, [ebp - 0xa90]
push 0x447f80
push edx
call ebx
lea eax, [ebp - 0xa90]
add esp, 0x14
push eax
call fcn.00406870
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x3e8
call edi
mov esi, 2
jmp 0x41a290
mov ecx, dword [ebp - 0x14e8]
mov edx, dword [ebp - 0x14d8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x41a3d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14c8]
push esi
push eax
lea ecx, [ebp - 0x14ac]
push ecx
lea edx, [ebp - 0xa90]
push 0x447fe0
push edx
call ebx
lea eax, [ebp - 0xa90]
push eax
call fcn.00406870
add esp, 0x1c
push 0x3e8
call edi
inc esi
cmp esi, 6
jl 0x41a290
push 0x3e8
call edi
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x28e]
push eax
mov word [ebp - 0x290], dx
call fcn.00428450
add esp, 0xc
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x86]
push edx
mov word [ebp - 0x88], cx
call fcn.00428450
mov ecx, dword [ebp - 0x14e0]
add esp, 0xc
push 0xa
lea eax, [ebp - 0x88]
push eax
push ecx
call fcn.00423125
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x290]
push str.__s__V
push eax
call ebx
add esp, 0xc
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x14ac]
push edx
lea eax, [ebp - 0xa90]
push 0x448098
push eax
call ebx
lea ecx, [ebp - 0xa90]
push ecx
call fcn.00406870
add esp, 0x14
push 0x3c
push str.tskill.exe
mov edx, 0x48d128
lea ecx, [ebp - 0x290]
call fcn.00419340
add esp, 8
test eax, eax
jne 0x41a3ab
mov byte [ebp - 0x14d1], al
mov edi, dword [ebp - 0x14d8]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a159
push 0x447f28
call fcn.00406870
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a159
mov ecx, dword [ebp - 0x14c8]
push esi
push ecx
lea edx, [ebp - 0x14ac]
push edx
lea eax, [ebp - 0xa90]
push 0x448040
push eax
call ebx
lea ecx, [ebp - 0xa90]
add esp, 0x14
push ecx
call fcn.00406870
mov edi, dword [ebp - 0x14d8]
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a159
lea edx, [ebp - 0x14ac]
push edx
lea eax, [ebp - 0xa90]
push 0x44811c
push eax
call ebx
lea ecx, [ebp - 0xa90]
add esp, 0xc
push ecx
call fcn.00406870
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a159