Function at 0x670dbc16
Capabilities:
Get disk information

Disassembly:
push 0x264
mov eax, 0x671b1807
call fcn.671a2b36
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x254], edi
and dword [ebp - 0x228], 0
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
xor esi, esi
inc esi
push eax
mov dword [ebp - 0x228], esi
call fcn.670c1b4c
push 0
push 0x2200000
push 3
push 0
push 7
push 8
mov ecx, eax
mov dword [ebp - 4], esi
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], esi
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
cmp esi, 0xffffffff
je 0x670dbf64
push 0x4000
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
mov dword [ebp - 0x21c], esi
pop ecx
test esi, esi
jne 0x670dbcb4
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
xor ecx, ecx
lea eax, [ebp - 0x234]
push ecx
push eax
push 0x4000
push esi
push ecx
push ecx
push 0x900a8
push dword [ebp - 0x220]
mov dword [ebp - 0x234], ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x670dbdfb
cmp dword [esi], 0xa0000003
jne 0x670dbd1f
movzx eax, word [esi + 8]
movzx ecx, word [esi + 0xa]
shr eax, 1
add eax, 8
shr ecx, 1
push ecx
lea eax, [esi + eax*2]
push eax
lea eax, [ebp - 0x238]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [edi]
mov edx, eax
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x238]
jmp 0x670dbd57
cmp dword [esi], 0xa000000c
jne 0x670dbd5f
movzx eax, word [esi + 8]
movzx ecx, word [esi + 0xa]
shr eax, 1
add eax, 0xa
shr ecx, 1
push ecx
lea eax, [esi + eax*2]
push eax
lea eax, [ebp - 0x23c]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [edi]
mov edx, eax
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x23c]
add esp, 0xc
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [edi]
cmp dword [eax + 4], 4
jle 0x670dbdfb
mov ecx, dword [eax + 0xc]
push 0x5c
pop edx
cmp word [ecx + eax], dx
jne 0x670dbdfb
cmp word [ecx + eax + 4], 0x3f
jne 0x670dbdfb
cmp word [ecx + eax + 6], dx
jne 0x670dbdfb
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x240]
mov ecx, edi
push eax
call sym.Qt5Core.dll_public:_class_QString___thiscall_QString::mid_int__int_
mov ecx, dword [edi]
mov edx, eax
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x240]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
push 0x67291574
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
mov esi, eax
mov ecx, edi
push 3
lea eax, [ebp - 0x264]
push eax
call sym.Qt5Core.dll_public:_class_QStringRef___thiscall_QString::leftRef_int_
push eax
push 0x67291574
push esi
call sym.Qt5Core.dll_bool___cdecl_operator_class_QLatin1String__class_QStringRef_const__
add esp, 0xc
test al, al
je 0x670dbdf5
push ecx
mov eax, esp
push 0x5c
pop ecx
push 3
mov word [eax], cx
mov ecx, edi
push 0
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::replace_int__int__class_QChar_
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x67535f5c]
cmp eax, 0xfffffffe
jle 0x670dbe1e
call fcn.670db4ad
mov esi, str.Volume__a_z__0_9____
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
push eax
push esi
call sym.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromLatin1_helper_char_const___int_
add esp, 0xc
mov dword [ebp - 0x220], eax
push 0
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x224]
call sym.Qt5Core.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
push 0
push 0
push edi
lea ecx, [ebp - 0x224]
call sym.Qt5Core.dll_public:_int___thiscall_QRegExp::indexIn_class_QString_const___int__enum_QRegExp::CaretMode_const
test eax, eax
jne 0x670dbf59
lea ecx, [ebp - 0x224]
call sym.Qt5Core.dll_public:_int___thiscall_QRegExp::matchedLength_void_const
push eax
lea eax, [ebp - 0x270]
mov ecx, edi
push eax
call sym.Qt5Core.dll_public:_class_QStringRef___thiscall_QString::leftRef_int_
push 0x6728824c
mov esi, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
pop ecx
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x250]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x244], 0x6728824c
push eax
mov dword [ebp - 0x24c], esi
call fcn.670b5f18
mov dword [ebp - 0x228], 3
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 5
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x670dbf4e
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call sym.Qt5Core.dll_public:_int___thiscall_QRegExp::matchedLength_void_const
push esi
push eax
push 0
mov ecx, edi
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::replace_int__int__class_QString_const__
lea ecx, [ebp - 0x22c]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
lea ecx, [ebp - 0x21c]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
lea ecx, [ebp - 0x224]
call sym.Qt5Core.dll_public:_void___thiscall_QRegExp::destructor_void_
mov eax, edi
call fcn.671a2af1
ret