Function at 0x10a1317
Capabilities:
Get volume information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x111127c]
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 [0x111124c]
cmp eax, 0x111124c
je 0x10a1368
test byte [eax + 0x1c], 4
je 0x10a1368
cmp byte [eax + 0x19], 4
jb 0x10a1368
push 0x100ab40
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
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 0x10a13f9
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 0x10a151a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10a13ed
test byte [ecx + 0x1c], 4
je 0x10a13ed
cmp byte [ecx + 0x19], 2
jb 0x10a13ed
push eax
push 0x100ab40
push 0x55
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189f6
mov ecx, dword [0x111124c]
mov dword [ebp - 0x30], 6
jmp 0x10a1520
cmp eax, 2
je 0x10a1442
cmp eax, 3
je 0x10a1442
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10a1436
test byte [ecx + 0x1c], 4
je 0x10a1436
cmp byte [ecx + 0x19], 2
jb 0x10a1436
push eax
push 0x100ab40
push 0x57
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189f6
mov ecx, dword [0x111124c]
mov dword [ebp - 0x30], 2
jmp 0x10a1520
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x38]
call fcn.010a10e3
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x10a1496
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10a1546
test byte [ecx + 0x1c], 4
je 0x10a1520
cmp byte [ecx + 0x19], 2
jb 0x10a1520
push dword [ebx]
push eax
push 0x100ab40
push 0x56
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0109ba57
jmp 0x10a151a
movzx edx, byte [ebp - 0x1f]
lea eax, [ebp - 0x1e]
push eax
call fcn.010a00c2
movzx ebx, ax
lea eax, [ebp - 0x21]
push eax
call fcn.010a00c2
movzx eax, ax
mov dword [esi + 0x28], eax
imul eax, edx
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x19]
push eax
call fcn.010a00c2
test ax, ax
je 0x10a14d7
lea eax, [ebp - 0x19]
push eax
call fcn.010a00c2
movzx eax, ax
jmp 0x10a14e0
lea eax, [ebp - 0xc]
push eax
call fcn.010a0097
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.01103260
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 0x10a151a
mov edi, dword [ebp - 0x34]
push 0xa
pop ecx
lea esi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10a1546
test byte [ecx + 0x1c], 4
je 0x10a1546
cmp byte [ecx + 0x19], 4
jb 0x10a1546
push 0x100ab40
push 0x58
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0x14