Function at 0x10011460
Capabilities:
Get volume information via ioctl

Disassembly:
push ebp
lea ebp, [esp - 0x24]
sub esp, 0x24
push 0xfffffffffffffffe
push 0x1016b830
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x78], esi
push 0x5c
push esi
lea eax, [ebp - 0x74]
push eax
call fcn.10116880
add esp, 0xc
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
xor edi, edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x20], esi
mov dword [ebp], esi
mov dword [ebp + 0x1c], esi
mov dword [ebp - 4], esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.100110e0
test eax, eax
jne 0x10011652
mov ecx, dword [ebp + 0x2c]
call fcn.100111b0
test eax, eax
jne 0x10011652
push 4
mov ecx, dword [ebp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10011652
push 4
mov edx, dword [ebp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x10011652
mov eax, dword [ebp + 0x30]
mov dword [eax], esi
cmp dword [ebx + 0x40], 1
je 0x1001152b
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10011573
push esi
lea ecx, [ebp + 0x14]
push ecx
push 0x60
lea edx, [ebp - 0x78]
push edx
push esi
push esi
push 0x90064
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, esi
je 0x10011573
mov esi, dword [ebp - 0x48]
add esi, 0xf
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp + 0x10], edi
test edi, edi
jne 0x10011596
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov dword [ebp - 4], 0xfffffffe
call fcn.10011664
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x24
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x18]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp + 0xc], edx
push 0
lea eax, [ebp + 0x14]
push eax
push esi
push edi
push 8
lea ecx, [ebp + 8]
push ecx
push 0x90068
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10011571
lea ecx, [edi + 0xc]
movzx eax, word [ecx + 0x14]
add eax, ecx
mov dword [ebp + 4], eax
mov edx, dword [ecx + 0x18]
add edx, ecx
cmp eax, edx
jae 0x100115f8
cmp dword [eax], 0x80
jne 0x100115f0
mov ebx, dword [eax + 0x10]
movzx ecx, word [eax + 0x14]
add ecx, eax
mov dword [ebp + 0x20], ecx
jmp 0x100115fe
add eax, dword [eax + 4]
mov dword [ebp + 4], eax
jmp 0x100115d6
mov ebx, dword [ebp]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x10011571
test ebx, ebx
je 0x10011571
lea eax, [ebx + 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp + 0x1c], esi
test esi, esi
je 0x10011569
mov dword [esi], ebx
push ebx
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [esi + 4]
push ecx
call fcn.101162d0
add esp, 0xc
mov edx, dword [ebp + 0x30]
mov dword [edx], esi
mov dword [ebp + 0x18], 1
jmp 0x10011571
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10011573