Function at 0x10011e20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043ea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
lea eax, [ebp - 0x148]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [ebp - 0x2c]
push ecx
mov edx, 0xece945eb
push edx
lea ecx, [ebp - 0x269]
call fcn.1001f5c0
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x251], al
lea ecx, [ebp - 0x269]
call fcn.1001e2b0
movzx ecx, byte [ebp - 0x251]
test ecx, ecx
je 0x10011eb1
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x178]
push eax
mov ecx, 0xb031939b
push ecx
lea ecx, [ebp - 0x27b]
call fcn.1001f640
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x26a], al
lea ecx, [ebp - 0x27b]
call fcn.1001e280
movzx eax, byte [ebp - 0x26a]
test eax, eax
je 0x10011f0e
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0xbc]
push edx
push 0x20c83ff7
lea ecx, [ebp - 0x293]
call fcn.1001f6c0
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x27c], al
lea ecx, [ebp - 0x293]
call fcn.10039de0
movzx ecx, byte [ebp - 0x27c]
test ecx, ecx
je 0x10011f6a
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x94]
push eax
mov ecx, 0xa27621b7
push ecx
lea ecx, [ebp - 0x2aa]
call fcn.1001f740
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d8]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x294], al
lea ecx, [ebp - 0x2aa]
call fcn.1001e5e0
movzx eax, byte [ebp - 0x294]
test eax, eax
je 0x10011fc7
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x228], 1
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], 2
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], 2
mov dword [ebp - 0x124], 1
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100120e6
push 0
push 0
push 0x10
lea eax, [ebp - 0x228]
push eax
push 0
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100120e6
push 0
push 0
push 0x10
lea edx, [ebp - 0x124]
push edx
push 0
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100120e6
push 0
push 0
push 0x10
lea ecx, [ebp - 0x104]
push ecx
push 0
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x100121a0
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret