Function at 0x1000ec00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1774
call fcn.1001d3e0
mov eax, dword [0x10035040]
xor eax, esp
mov dword [esp + 0x1770], eax
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x20]
cmova ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
add edi, ecx
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x24]
cmova ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], eax
sub edi, ecx
je 0x1000ecc1
cmp edi, 0x7fffffff
ja 0x1000f0f1
cmp edi, 0x1000
jb 0x1000ec9d
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1000f0f6
push eax
call fcn.1001c441
add esp, 4
test eax, eax
je 0x1000f0fb
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [esp + 0x14], ebx
mov dword [ebx - 4], eax
jmp 0x1000ecac
push edi
call fcn.1001c441
add esp, 4
mov dword [esp + 0x14], eax
mov ebx, eax
push edi
push dword [esp + 0x1c]
lea eax, [ebx + edi]
push ebx
mov dword [esp + 0x48], eax
call fcn.1001e230
add esp, 0xc
lea eax, [esp + 0x30]
mov edx, 0x2f79e55b
push eax
push 0x28
xor ecx, ecx
call fcn.1000df10
call eax
push eax
mov edx, 0x639f9ea
mov ecx, 4
call fcn.1000df10
call eax
lea eax, [esp + 0x36c]
mov dword [esp + 0x368], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x380], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [esp + 0x374]
mov edx, 0xf21c1a30
push eax
push 0
push dword [esp + 0x44]
mov ecx, 4
call fcn.1000df10
call eax
push dword [esp + 0x30]
mov edx, 0x4f6cea0b
xor ecx, ecx
call fcn.1000df10
call eax
lea eax, [esp + 0x40]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x37c]
mov edx, 0xfaf65de3
push 0x1000
push eax
mov ecx, 6
call fcn.1000df10
call eax
mov eax, dword [esp + 0x40]
xor esi, esi
shr eax, 2
test eax, eax
je 0x1000ee0d
mov ebx, eax
nop dword [eax + eax]
mov eax, dword [esp + esi*4 + 0x378]
test eax, eax
je 0x1000ee04
push eax
push 0
push 0x2000000
mov edx, 0x20d8aeb4
xor ecx, ecx
call fcn.1000df10
call eax
mov edi, eax
mov edx, 0xd2cc14cd
push 0x104
lea eax, [esp + 0x9c]
mov ecx, 6
push eax
push 0
push edi
call fcn.1000df10
call eax
lea eax, [esp + 0x98]
push eax
call fcn.10020973
add esp, 4
lea eax, [esp + 0x98]
push dword [esp + 0x44]
push eax
call fcn.1001d6f0
add esp, 8
test eax, eax
je 0x1000ee04
test edi, edi
je 0x1000ee04
mov dword [esp + 0x38], edi
inc esi
cmp esi, ebx
jb 0x1000ed90
mov ebx, dword [esp + 0x14]
push 0x1f4
mov edx, 0x310d1257
xor ecx, ecx
call fcn.1000df10
call eax
push 0x104
lea eax, [esp + 0x137c]
mov edx, 0xf740085f
push eax
push 0
xor ecx, ecx
call fcn.1000df10
call eax
lea eax, [esp + 0x50]
mov edx, 0x93956d18
push 0x48
push eax
xor ecx, ecx
call fcn.1000df10
call eax
lea eax, [esp + 0x20]
mov edx, 0x93956d18
push 0x10
push eax
xor ecx, ecx
call fcn.1000df10
call eax
lea eax, [esp + 0x34]
mov edx, 0xd9a3a95f
push eax
push 0
push 2
push 0
xor ecx, ecx
call fcn.1000df10
call eax
mov esi, dword [esp + 0x34]
push esi
call fcn.1001c7bc
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1001e0d0
add esp, 0xc
mov dword [esp + 0x94], edi
lea eax, [esp + 0x34]
mov edx, 0xd9a3a95f
xor ecx, ecx
push eax
push 0
push 2
push edi
call fcn.1000df10
call eax
push 0
push 0
push 4
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
push 0x20007
push 0
push dword [esp + 0xac]
mov edx, 0x5199f0b9
mov dword [esp + 0x68], 0x1010
xor ecx, ecx
call fcn.1000df10
call eax
push 0
push 0
push 4
lea eax, [esp + 0x44]
mov edx, 0x5199f0b9
push eax
push 0x20000
push 0
push dword [esp + 0xac]
xor ecx, ecx
call fcn.1000df10
call eax
lea eax, [esp + 0x20]
mov dword [esp + 0x50], 0x48
push eax
lea eax, [esp + 0x54]
mov edx, 0x57ae26e9
push eax
push 0
push 0
push 0x80004
push 0
push 0
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x139c]
xor ecx, ecx
push eax
call fcn.1000df10
call eax
push 0x2c8
lea eax, [esp + 0xa0]
mov dword [esp + 0x20], 0
push 0
push eax
call fcn.1001e0d0
add esp, 0xc
mov dword [esp + 0x98], 0x10007
lea eax, [esp + 0x98]
mov edx, 0xb6346f01
xor ecx, ecx
push eax
push dword [esp + 0x28]
call fcn.1000df10
call eax
push 0
push 4
lea eax, [esp + 0x24]
mov edx, 0x83851bd
push eax
mov eax, dword [esp + 0x148]
xor ecx, ecx
add eax, 8
push eax
push dword [esp + 0x30]
call fcn.1000df10
call eax
mov eax, dword [ebx + 0x3c]
push ebx
cmp dword [eax + ebx + 0xa0], 0
lea eax, [esp + 0x24]
push eax
jne 0x1000efd7
call fcn.1000e720
jmp 0x1000efdc
call fcn.1000e8c0
test eax, eax
je 0x1000f015
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000eff7
push eax
mov edx, 0x4f6cea0b
xor ecx, ecx
call fcn.1000df10
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000f00e
push eax
mov edx, 0x4f6cea0b
xor ecx, ecx
call fcn.1000df10
call eax
mov byte [esp + 0x13], 1
jmp 0x1000f07c
push ebx
push 0
mov edx, 0xbf09bd92
xor ecx, ecx
call fcn.1000df10
call eax
push eax
mov edx, 0x4f091756
xor ecx, ecx
call fcn.1000df10
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000f04c
push eax
mov edx, 0x4f6cea0b
xor ecx, ecx
call fcn.1000df10
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000f077
push 0xffffffffffffffff
push eax
mov edx, 0x54bf4072
xor ecx, ecx
call fcn.1000df10
call eax
push dword [esp + 0x20]
mov edx, 0x4f6cea0b
xor ecx, ecx
call fcn.1000df10
call eax
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x3c]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1000f09c
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f0fb
push ecx
push ebx
call fcn.1001c78b
mov ecx, dword [ebp + 0x1c]
add esp, 8
cmp ecx, 0xf
jbe 0x1000f0d6
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f0cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f0fb
push ecx
push edx
call fcn.1001c78b
add esp, 8
mov ecx, dword [esp + 0x177c]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001c433
mov esp, ebp
pop ebp
ret 0x20
call fcn.10010a00
call fcn.10001230
call fcn.10020021
int3