Function at 0x4345c7
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2ac8]
mov eax, 0x2b44
call fcn.00439740
mov eax, dword [0x46b114]
xor eax, ebp
mov dword [ebp + 0x2ac4], eax
push ebx
push esi
mov esi, dword [ebp + 0x2ad0]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov byte [ebp - 0x41], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x434724
push edi
push 0xc
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov edi, 0x2710
push edi
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call sub.MSVCR90.dll_memset
add esp, 0x18
push ebx
lea eax, [ebp - 0x4c]
push eax
push edi
lea eax, [ebp - 0x34]
push eax
push 0xc
lea eax, [ebp - 0x40]
push eax
push 0x2d1400
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43471a
lea eax, [ebp + 0x26dc]
push eax
push 1
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
call fcn.00433f88
movsx eax, byte [ebp + 0x26dc]
mov edi, dword [sym.imp.MSVCR90.dll_isalnum]
push eax
call edi
add esp, 0x14
test eax, eax
jne 0x43469c
movsx eax, byte [ebp + 0x26ef]
push eax
call edi
pop ecx
test eax, eax
je 0x43471a
lea eax, [ebp + 0x26dc]
push eax
mov ecx, esi
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__::assign_char_const__]
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov byte [ebp - 0x42], 0x20
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
push eax
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov edi, eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
lea ecx, [ebp - 0x42]
push ecx
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00434177
add esp, 0x18
push dword [ebp - 0x50]
mov ecx, esi
push dword [ebp - 0x54]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char___]
cmp dword [esi + 0x14], ebx
je 0x43471a
mov byte [ebp - 0x41], 1
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp + 0x2ac4]
mov al, byte [ebp - 0x41]
pop esi
xor ecx, ebp
pop ebx
call fcn.004390e8
add ebp, 0x2ac8
leave
ret