Function at 0x10011409
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.10016ff4
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.10016ff4
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.10016ff4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x8d4
call fcn.10017fa0
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x100114c9
mov eax, 0
jmp 0x100116ae
cmp dword [ebp + 0xc], 0
je 0x100114e1
cmp dword [ebp + 8], 0
je 0x100114e1
xor eax, eax
jmp 0x100114e6
mov eax, 1
test eax, eax
je 0x1001151a
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10011517
push 0xd6
push 0x40375d9
push 6
call fcn.10017000
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
je 0x10011543
push 0x1002a324
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.1001136c
add esp, 8
cmp eax, 0
je 0x10011543
xor eax, eax
jmp 0x10011548
mov eax, 1
test eax, eax
je 0x1001156e
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10011568
push ebx
call fcn.10016fee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100115a3
push 0x16d
push 0x40375d9
push 6
call fcn.10017000
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x1002a324
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100115d9
push 0x197
push 0x40375d9
push 6
call fcn.10017000
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10011677
push 0x295
push 0x40375d9
push 6
call fcn.10017000
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
xor eax, eax
call dword [0x1002dbbc]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100116a6
push 0x2d9
push 0x40375d9
push 6
call fcn.10017000
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x100116ae
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10016fee
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.10016fee
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.10016fee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10