Function at 0x100121c0
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043edc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
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 0x10012210
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, 0xa27621ef
push eax
lea ecx, [ebp - 0x87]
call fcn.1001f740
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
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.1001e5e0
lea eax, [ebp - 0x58]
push eax
mov ecx, 0xece9467f
push ecx
lea ecx, [ebp - 0xa0]
call fcn.1001f5c0
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
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.1001e2b0
lea ecx, [ebp - 0x28]
push ecx
push 0x20c84077
lea ecx, [ebp - 0xb8]
call fcn.1001f6c0
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
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.10039de0
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 0x10012382
cmp dword [ebp - 0x70], 0
je 0x10012382
cmp dword [ebp - 0x50], 0
je 0x10012382
jmp 0x100124fd
call fcn.10010680
call fcn.1002bd50
mov ecx, 0x9520375d
push ecx
lea ecx, [ebp - 0xe1]
call fcn.1001e9c0
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
push edx
call sub.MSVCR90.dll_system
add esp, 4
lea ecx, [ebp - 0xe1]
call fcn.1001e400
push 0x10
mov eax, 0xc01d0656
push eax
lea ecx, [ebp - 0xf0]
call fcn.1001f540
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x138]
push edx
push 0x714ea2f6
lea ecx, [ebp - 0x103]
call fcn.1001f7c0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.100105f0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x103]
call fcn.1001e730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.1001e250
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