Function at 0x4173a8
Capabilities:
Get storage device properties

Disassembly:
push 0xd64
mov eax, 0x423d9e
call fcn.0042147b
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd70], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0xd6c], eax
mov byte [ebp - 0xd55], bl
mov dword [ebp - 0xd5c], ebx
mov edi, 0xff
cmp byte [ebp - 0xd55], bl
jne 0x41762f
push 0x200
lea eax, [ebp - 0x510]
push ebx
push eax
call sub.MSVCR100.dll_memset
push dword [ebp - 0xd5c]
lea eax, [ebp - 0x510]
push 0x42b818
push edi
push eax
call fcn.00416dba
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x510]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd60], eax
cmp eax, 0xffffffff
je 0x41761c
push 9
lea eax, [ebp - 0xd1c]
push ebx
push eax
mov dword [ebp - 0xd64], ebx
call sub.MSVCR100.dll_memset
mov esi, 0x800
push esi
lea eax, [ebp - 0xd10]
push ebx
push eax
mov dword [ebp - 0xd1c], ebx
mov dword [ebp - 0xd18], ebx
call sub.MSVCR100.dll_memset
add esp, 0x18
push ebx
lea eax, [ebp - 0xd64]
push eax
push esi
lea eax, [ebp - 0xd10]
push eax
push 9
lea eax, [ebp - 0xd1c]
push eax
push 0x2d1400
push dword [ebp - 0xd60]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41760a
push edi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call sub.MSVCR100.dll_memset
push edi
lea eax, [ebp - 0x20f]
push ebx
push eax
mov byte [ebp - 0x210], bl
call sub.MSVCR100.dll_memset
push edi
lea eax, [ebp - 0x30f]
push ebx
push eax
mov byte [ebp - 0x310], bl
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0xd00]
lea eax, [ebp - 0xd10]
push eax
call fcn.00416b97
lea eax, [ebp - 0x310]
push eax
push ebx
push dword [ebp - 0xcfc]
lea eax, [ebp - 0xd10]
push eax
call fcn.00416b97
add esp, 0x44
lea eax, [ebp - 0x110]
push eax
xor esi, esi
inc esi
push esi
push dword [ebp - 0xcf8]
lea eax, [ebp - 0xd10]
push eax
call fcn.00416b97
movsx eax, byte [ebp - 0x110]
push eax
call dword [sym.imp.MSVCR100.dll_isalnum]
add esp, 0x14
test eax, eax
jne 0x417567
movsx eax, byte [ebp - 0xfd]
push eax
call dword [sym.imp.MSVCR100.dll_isalnum]
pop ecx
test eax, eax
je 0x417610
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd38]
call fcn.0040ca08
mov ecx, dword [ebp - 0xd68]
push eax
mov dword [ebp - 4], ebx
call fcn.0040506d
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xd38]
call fcn.0040439d
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd38]
call fcn.0040ca08
mov ecx, dword [ebp - 0xd70]
push eax
mov dword [ebp - 4], esi
call fcn.0040506d
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xd38]
call fcn.0040439d
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd54]
call fcn.0040ca08
mov ecx, dword [ebp - 0xd6c]
push eax
mov dword [ebp - 4], 2
call fcn.0040506d
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xd54]
call fcn.0040439d
mov byte [ebp - 0xd55], 1
jmp 0x417610
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xd60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xd5c]
cmp dword [ebp - 0xd5c], 0x10
jl 0x4173e5
mov al, byte [ebp - 0xd55]
call fcn.004214fe
ret