Function at 0x100f355
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [reloc.msvcrt.dll___p__commode]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
dec eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
je 0x100f25e
dec eax
je 0x100f255
dec eax
je 0x100f255
dec eax
je 0x100f24c
mov dword [ebp - 0x10], ebx
jmp 0x100f3e1
mov dword [ebp - 0x24], reloc.msvcrt.dll___p__commode
jmp 0x100f265
mov dword [ebp - 0x24], reloc.msvcrt.dll___p__commode
jmp 0x100f265
mov dword [ebp - 0x24], reloc.msvcrt.dll___p__commode
push esi
push 1
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100f3a5
cmp dword [ebp + 0x10], ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 2
pop esi
je 0x100f2a6
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x227
push 0x20
push esi
lea eax, [ebp - 0xc]
push eax
call edi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
je 0x100f3a4
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push esi
lea eax, [ebp - 0xc]
push eax
call edi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100f3a4
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0xc]
push eax
call edi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100f3a4
cmp dword [ebp + 0x10], ebx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
push 3
pop eax
push 5
mov dword [ebp - 0x6c], ecx
pop ecx
mov dword [ebp - 0x88], 0x1f01ff
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edi
je 0x100f35f
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x88]
push eax
xor eax, eax
cmp dword [ebp + 0x10], ebx
setne al
add eax, esi
push eax
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x100f383
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x100f3a4
mov eax, dword [ebp - 0x28]
push ebx
push dword [ebp - 0x14]
push 1
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100f3a4
mov dword [ebp - 0x14], ebx
pop edi
cmp dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
je 0x100f3b8
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x1c], ebx
je 0x100f3c5
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x100f3d2
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x14], ebx
pop esi
je 0x100f3e1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop ebx
call fcn.01017c5b
leave
ret 0xc