Function at 0x10001c11
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
push 8
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0x10
call fcn.1002ffeb
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10054378
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 2
push ecx
push ebx
push 8
call fcn.1002ffeb
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 8
call fcn.1002ffeb
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10001c86
pop ebx
mov dword [ebp - 0x10], 0
push 8
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0x10
call fcn.1002ffeb
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10054378
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 2
push ecx
push ebx
push 8
call fcn.1002ffeb
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 8
call fcn.1002ffeb
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10001d20
pop ebx
cmp dword [ebp + 0xc], 0
jne 0x10001d95
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001d8f
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [0x101487e6]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001dbe
push 0xb6
push 0x403016f
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0x20008
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 3
mov ebx, 0xc8
call fcn.10030d70
add esp, 0x28
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10001e2d
push 0xc9
push 0x403016f
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x100542f9
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001e63
push 0xff
push 0x403016f
push 6
call fcn.1002fffd
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 4]
call fcn.1000155f
mov eax, 0
cmp eax, ecx
jl 0x10001e9d
push 0x152
push 0x403016f
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 4]
call fcn.1000155f
mov eax, 0
cmp eax, ecx
jl 0x10001ede
push 0x1a3
push 0x403016f
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 8]
push eax
push 8
call fcn.1002ffeb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x10054368]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x10054370]
fstp qword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [0x10054368]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x10054370]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x50], esp
fld qword [ebp - 0x4c]
call fcn.1000114b
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x1c
call fcn.1002ffeb
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 2
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x10001fa2
pop ebx
add ebx, 4
fld qword [ebp - 0x30]
call fcn.1000114b
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x1c
call fcn.1002ffeb
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 2
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x10002017
pop ebx
add ebx, 4
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
cmp dword [ebp - 0x50], esp
je 0x1000207e
push 0x288
push 0x403016f
push 6
call fcn.1002fffd
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x58]
push ebx
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 2
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0xc
dec ecx
jne 0x1000209e
pop edi
add edi, 4
call fcn.1002fff1
add esp, 4
mov ebx, dword [ebp - 0x60]
push ebx
mov edi, dword [ebp - 0x64]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 2
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0xc
dec ecx
jne 0x1000210e
pop edi
add edi, 4
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x101487ea]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1000218f
push 0x2b7
push 0x403016f
push 6
call fcn.1002fffd
add esp, 0xc
cmp dword [ebp - 0x10], 1
mov eax, 0
sete al
jmp 0x100021a0
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.1002fff1
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100021d2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100021ce
imul eax, dword [ebx]
jmp 0x100021c3
mov ecx, eax
test ecx, ecx
je 0x100021fa
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1002fff1
add esp, 4
pop ebx
call fcn.1002fff1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100021d8
call fcn.1002fff1
add esp, 4
pop ebx
call fcn.1002fff1
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10002230
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000222c
imul eax, dword [ebx]
jmp 0x10002221
mov ecx, eax
test ecx, ecx
je 0x10002258
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1002fff1
add esp, 4
pop ebx
call fcn.1002fff1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10002236
call fcn.1002fff1
add esp, 4
pop ebx
call fcn.1002fff1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8