Function at 0x1011881
Capabilities:
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
xor eax, eax
mov edx, ecx
push reloc.KERNEL32.dll_LocalFree
pop esi
mov ecx, esi
lea edi, [ebp - 0xc4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xbc], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 0xb
mov dword [ebp - 4], edx
ja case.0x1011612.7
jmp dword [eax*4 + 0x10118c8]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xac]
push eax
mov ecx, edi
call fcn.01008724
mov ebx, 0x1036b5c
push ebx
mov byte [ebp + 0xb], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
lea eax, [edi + 0x98]
inc ecx
add dword [eax], ecx
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
adc dword [eax + 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xb4], ecx
sub esp, 0xc0
mov ecx, esi
mov edi, esp
lea esi, [ebp - 0xc4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.0101117b
and byte [ebp + 0xb], al
jmp 0x10118b1
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 8]
call fcn.01022b25
mov ebx, 0x1036b5c
push ebx
mov byte [ebp + 0xb], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0xb4], 1
jmp 0x1011659
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 8]
call fcn.01022d4d
mov ebx, 0x1036b5c
push ebx
mov byte [ebp + 0xb], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x10116fc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xac]
push eax
mov ecx, edi
call fcn.01019301
mov ebx, 0x1036b5c
push ebx
mov byte [ebp + 0xb], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [edi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x84], eax
adc dword [edi + 0x44], 0
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xb4], 2
jmp 0x1011659
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xac]
push eax
mov ecx, edi
call fcn.01006310
mov ebx, 0x1036b5c
push ebx
mov byte [ebp + 0xb], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x90]
add dword [eax], 1
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
adc dword [eax + 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
jmp 0x1011767
push 0
push 0
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 8]
call fcn.01022b8f
mov ebx, 0x1036b5c
push ebx
mov byte [ebp + 0xb], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0xb4], 3
jmp 0x1011659
mov ebx, 0x1036b5c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x22
pop ecx
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb4], 3
sub esp, 0xc0
push reloc.KERNEL32.dll_LocalFree
pop ecx
jmp 0x101189a
mov ebx, 0x1036b5c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0xe
pop ecx
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb4], 4
jmp 0x101179a
mov ebx, 0x1036b5c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov cx, word [eax + 8]
add dword [eax + 0x18], 1
mov word [ebp - 0xac], cx
mov ecx, dword [eax]
adc dword [eax + 0x1c], 0
mov dword [ebp - 0xa4], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa0], ecx
mov cl, byte [eax + 0x10]
mov byte [ebp - 0x9c], cl
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x84], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xb4], 5
jmp 0x1011892
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xac]
push eax
mov ecx, edi
call fcn.010172ad
mov ebx, 0x1036b5c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [edi + 0x48], 1
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x84], eax
adc dword [edi + 0x4c], 0
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xb4], 6
jmp 0x1011892
mov ebx, 0x1036b5c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xac], eax
sub esp, 0xc0
mov ecx, esi
mov edi, esp
lea esi, [ebp - 0xc4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.0101117b
and al, 1
mov byte [ebp + 0xb], al
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10118be
mov byte [ebp + 0xb], 0
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret 0xc