Function at 0x10012270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e7fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
lea eax, [ebp - 0x44]
push eax
push 1
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x100122c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x44]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [ebp - 0x4c]
push edx
mov eax, 0xa275be27
push eax
lea ecx, [ebp - 0x87]
call fcn.1001de60
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x87]
call fcn.100282e0
lea eax, [ebp - 0x58]
push eax
mov ecx, 0xece8e2b7
push ecx
lea ecx, [ebp - 0xa0]
call fcn.1001dce0
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x88], al
lea ecx, [ebp - 0xa0]
call fcn.10028640
lea ecx, [ebp - 0x28]
push ecx
push 0x20c7dcaf
lea ecx, [ebp - 0xb8]
call fcn.1001dde0
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xa1], al
lea ecx, [ebp - 0xb8]
call fcn.10034750
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 4
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
cmp dword [ebp - 0x2c], 0
je 0x10012432
cmp dword [ebp - 0x70], 0
je 0x10012432
cmp dword [ebp - 0x50], 0
je 0x10012432
jmp 0x10012572
push 0x10
mov ecx, 0xc01ca262
push ecx
lea ecx, [ebp - 0xc7]
call fcn.1001dc60
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10c]
push eax
push 0x714e3f02
lea ecx, [ebp - 0xda]
call fcn.1001dee0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x114]
push edx
call fcn.100109d0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xda]
call fcn.100043e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc7]
call fcn.10034720
mov dword [0], 0
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 ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret