Function at 0x4ab990
Capabilities:
Acquire debug privileges
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbd28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x20
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4aba1d
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push ecx
push 0x50d674
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push 0
push 0
lea edx, [ebp - 0x28]
push 0x10
push edx
push 0
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call ebx
jmp 0x4aba23
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call ebx
push esi
call ebx
push 0
push 2
mov dword [ebp - 0x14], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [ebp - 0x14], edx
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x150], 0x128
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 1
push eax
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4abb5f
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4abaae
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4abb5f
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4abaae
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x14]
push eax
call fcn.004a6f00
test eax, eax
je 0x4abb5f
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0x250]
push ecx
push esi
mov byte [ebp - 0x250], 0
call fcn.004a6cb0
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jl 0x4abb1e
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x250]
push edx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4abb1e
push esi
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4abb1e
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4abb5f
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4abaae
jmp 0x4aba9f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp + 8]
mov esi, eax
push ecx
push 0x20
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4abbb9
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push 0x50d674
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp + 8]
push 0
push 0
lea eax, [ebp - 0x28]
push 0x10
push eax
push 0
push ecx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push edx
call ebx
mov eax, dword [ebp + 8]
push eax
call ebx
push esi
call ebx
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x4abbcd
push eax
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret