Function at 0x42ff10
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd50
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor bl, bl
mov dword [ebp - 0xd28], edx
mov dword [ebp - 0xd2c], ecx
xor edi, edi
mov dword [ebp - 0xd30], eax
nop
test bl, bl
jne 0x430228
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call sub.MSVCR120.dll_memset
push edi
push str..PhysicalDrive_d
push 0xffffffffffffffff
lea eax, [ebp - 0x50c]
push 0xff
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
add esp, 0x20
lea eax, [ebp - 0x50c]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xd34], esi
cmp esi, 0xffffffff
je 0x43021e
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0xd10], 0
lea eax, [ebp - 0xd0c]
movq qword [ebp - 0xd1c], xmm0
push 0
push eax
mov dword [ebp - 0xd14], 0
mov dword [ebp - 0xd1c], 0
mov dword [ebp - 0xd18], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0xd10]
push 0
push eax
push 0x800
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd1c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x430211
push 0xff
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
push 0
push eax
call sub.MSVCR120.dll_memset
push 0xff
lea eax, [ebp - 0x30b]
mov byte [ebp - 0x30c], bl
push 0
push eax
call sub.MSVCR120.dll_memset
push 0xff
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push 0
push eax
call sub.MSVCR120.dll_memset
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.0042f910
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x20c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.0042f910
mov edx, dword [ebp - 0xcf4]
lea eax, [ebp - 0x10c]
push eax
push 1
lea ecx, [ebp - 0xd0c]
call fcn.0042f910
movsx eax, byte [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCR120.dll_isalnum]
add esp, 0x40
test eax, eax
jne 0x4300e4
movsx eax, byte [ebp - 0xf9]
push eax
call dword [sym.imp.MSVCR120.dll_isalnum]
add esp, 4
test eax, eax
je 0x430217
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd4c]
call fcn.00401e10
mov ebx, dword [ebp - 0xd2c]
mov esi, eax
cmp ebx, esi
je 0x43013a
push 0
push 1
mov ecx, ebx
call fcn.00402060
lea eax, [ebp - 0xd1f]
mov ecx, esi
push eax
call fcn.00402130
lea eax, [ebp - 0xd21]
mov ecx, ebx
push eax
call fcn.00402130
push esi
call fcn.004026b0
add esp, 4
mov ecx, ebx
push eax
call fcn.00405fd0
lea ecx, [ebp - 0xd4c]
call fcn.00401e50
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd4c]
call fcn.00401e10
mov ebx, dword [ebp - 0xd28]
mov esi, eax
cmp ebx, esi
je 0x43019b
push 0
push 1
mov ecx, ebx
call fcn.00402060
lea eax, [ebp - 0xd1d]
mov ecx, esi
push eax
call fcn.00402130
lea eax, [ebp - 0xd1e]
mov ecx, ebx
push eax
call fcn.00402130
push esi
call fcn.004026b0
add esp, 4
mov ecx, ebx
push eax
call fcn.00405fd0
lea ecx, [ebp - 0xd4c]
call fcn.00401e50
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd4c]
call fcn.00401e10
mov ebx, dword [ebp - 0xd30]
mov esi, eax
cmp ebx, esi
je 0x4301fc
push 0
push 1
mov ecx, ebx
call fcn.00402060
lea eax, [ebp - 0xd20]
mov ecx, esi
push eax
call fcn.00402130
lea eax, [ebp - 0xd22]
mov ecx, ebx
push eax
call fcn.00402130
push esi
call fcn.004026b0
add esp, 4
mov ecx, ebx
push eax
call fcn.00405fd0
lea ecx, [ebp - 0xd4c]
call fcn.00401e50
mov esi, dword [ebp - 0xd34]
mov bl, 1
jmp 0x430217
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0x10
jl 0x42ff40
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret