Function at 0x1001ac80
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x10022f34
mov eax, dword fs:[0]
push eax
sub esp, 0xd64
mov eax, dword [0x10032914]
xor eax, esp
mov dword [esp + 0xd60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10032914]
xor eax, esp
push eax
lea eax, [esp + 0xd78]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd88]
mov dword [esp + 0x24], eax
mov eax, dword [0x10036e24]
xor ebx, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x1001af9c
mov esi, dword [eax]
cmp esi, ebx
je 0x1001af9c
cmp dword [esi + 0x94], ebx
je 0x1001af9c
cmp dword [esi + 0x98], ebx
je 0x1001af9c
cmp dword [esi + 0x4c], ebx
je 0x1001af9c
xor al, al
xor edi, edi
mov byte [esp + 0x17], al
mov dword [esp + 0x20], edi
cmp al, bl
jne 0x1001afa0
push 0x200
lea eax, [esp + 0x378]
push ebx
push eax
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
push edi
push str..PhysicalDrive_d
push 0xffffffffffffffff
lea ecx, [esp + 0x38c]
push 0xff
push ecx
call dword [sym.imp.MSVCR90.dll__snwprintf_s]
mov ecx, dword [esi + 0x94]
add esp, 0x20
lea edx, [esp + 0x18]
push edx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x38c]
push eax
mov eax, dword [esi + 0x16c]
push ecx
call fcn.1007109c
mov ebp, dword [esp + 0x18]
cmp ebp, 0xffffffff
je 0x1001af88
xor eax, eax
push 0x800
lea edx, [esp + 0x578]
push ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x98]
push 0x800
lea edx, [esp + 0x580]
push edx
push 0xc
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esi + 0x16c]
push 0x2d1400
push ebp
push ecx
call fcn.10018860
cmp dword [esp + 0x1c], ebx
je 0x1001af6f
push 0xff
lea edx, [esp + 0x79]
push ebx
push edx
mov byte [esp + 0x80], bl
call sub.MSVCR90.dll_memset
push 0xff
lea eax, [esp + 0x285]
push ebx
push eax
mov byte [esp + 0x28c], bl
call sub.MSVCR90.dll_memset
push 0xff
lea ecx, [esp + 0x191]
push ebx
push ecx
mov byte [esp + 0x198], bl
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x5a8]
push ebx
lea edi, [esp + 0x29c]
lea ecx, [esp + 0x59c]
call fcn.1001a510
mov eax, dword [esp + 0x5b0]
push ebx
lea edi, [esp + 0x1a0]
lea ecx, [esp + 0x5a0]
call fcn.1001a510
mov eax, dword [esp + 0x5b8]
push 1
lea edi, [esp + 0xa4]
lea ecx, [esp + 0x5a4]
call fcn.1001a510
movsx edx, byte [esp + 0xa4]
mov edi, dword [sym.imp.MSVCR90.dll_isalnum]
push edx
call edi
add esp, 0x34
test eax, eax
jne 0x1001aec3
movsx eax, byte [esp + 0x87]
push eax
call edi
add esp, 4
test eax, eax
je 0x1001af6f
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0xd84], ebx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
or edi, 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0xd80], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x274]
push edx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x2c]
push eax
mov dword [esp + 0xd84], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x30]
mov dword [esp + 0xd80], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x28]
push eax
mov dword [esp + 0xd84], 2
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xd80], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x17], 1
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x16c]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push edx
call fcn.1009fd9b
mov edi, dword [esp + 0x20]
mov al, byte [esp + 0x17]
inc edi
cmp edi, 0x10
mov dword [esp + 0x20], edi
jl 0x1001ad18
jmp 0x1001afa0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xd78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd60]
xor ecx, esp
call fcn.100217e0
add esp, 0xd70
ret