Function at 0x10a1205
Capabilities:
Get volume information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x34], eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10a1256
test byte [eax + 0x1c], 4
je 0x10a1256
cmp byte [eax + 0x19], 4
jb 0x10a1256
push 0x100ab50
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
push 0xa
pop ecx
xor edx, edx
push 0x60
push edx
xor eax, eax
lea edi, [ebp - 0x2c]
push esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], edx
rep stosd dword es:[edi], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0xc]
xor edi, edi
add esp, 0xc
mov dword [ebx], edi
cmp eax, 1
jne 0x10a12e7
push edi
lea eax, [ebp - 0x3c]
push eax
push 0x60
push esi
push edi
push edi
push 0x90064
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10a1408
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10a12db
test byte [ecx + 0x1c], 4
je 0x10a12db
cmp byte [ecx + 0x19], 2
jb 0x10a12db
push eax
push 0x100ab50
push 0x55
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019fa8
mov ecx, dword [0x111024c]
mov dword [ebp - 0x30], 6
jmp 0x10a140e
cmp eax, 2
je 0x10a1330
cmp eax, 3
je 0x10a1330
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10a1324
test byte [ecx + 0x1c], 4
je 0x10a1324
cmp byte [ecx + 0x19], 2
jb 0x10a1324
push eax
push 0x100ab50
push 0x57
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019fa8
mov ecx, dword [0x111024c]
mov dword [ebp - 0x30], 2
jmp 0x10a140e
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x38]
call fcn.010a0fd1
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x10a1384
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10a1434
test byte [ecx + 0x1c], 4
je 0x10a140e
cmp byte [ecx + 0x19], 2
jb 0x10a140e
push dword [ebx]
push eax
push 0x100ab50
push 0x56
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01083f04
jmp 0x10a1408
movzx edx, byte [ebp - 0x1f]
lea eax, [ebp - 0x1e]
push eax
call fcn.0109ffb0
movzx ebx, ax
lea eax, [ebp - 0x21]
push eax
call fcn.0109ffb0
movzx eax, ax
mov dword [esi + 0x28], eax
imul eax, edx
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x19]
push eax
call fcn.0109ffb0
test ax, ax
je 0x10a13c5
lea eax, [ebp - 0x19]
push eax
call fcn.0109ffb0
movzx eax, ax
jmp 0x10a13ce
lea eax, [ebp - 0xc]
push eax
call fcn.0109ff85
add edx, eax
mov dword [esi + 8], eax
movzx eax, byte [ebp - 0x1f]
mov ecx, edi
adc ecx, edi
push edi
sub edx, 1
push eax
sbb ecx, edi
push ecx
push edx
mov dword [esi + 0xc], edi
call fcn.01103080
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
cmp dword [ebp - 0x34], edi
je 0x10a1408
mov edi, dword [ebp - 0x34]
push 0xa
pop ecx
lea esi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10a1434
test byte [ecx + 0x1c], 4
je 0x10a1434
cmp byte [ecx + 0x19], 4
jb 0x10a1434
push 0x100ab50
push 0x58
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101894a
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 0x14