Function at 0x6713de60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727c9be
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x674c412c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x23c], 0
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x23c], 1
call fcn.671129b0
push 0
push 0x2200000
push 3
push 0
push 7
push 8
mov ecx, eax
mov dword [ebp - 4], 1
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
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], esi
mov eax, dword [eax]
test eax, eax
je 0x6713df1c
cmp eax, 0xffffffff
je 0x6713df2e
mov eax, dword [ebp - 0x228]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713df2e
push 4
push 2
push dword [ebp - 0x228]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
cmp esi, 0xffffffff
je 0x6713e27e
push 0x4000
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x6713df50
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
push 0
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0
push eax
push 0x4000
push esi
push 0
push 0
push 0x900a8
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x6713e0b3
mov eax, dword [esi]
cmp eax, 0xa0000003
jne 0x6713dff1
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 - 0x224]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [edi]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x224]
test ecx, ecx
je 0x6713dfe2
cmp ecx, 0xffffffff
je 0x6713e030
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6713e030
push 4
push 2
push eax
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x6713e030
cmp eax, 0xa000000c
jne 0x6713e030
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 - 0x224]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov ecx, dword [edi]
mov edx, eax
add esp, 0xc
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x224]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [edi]
cmp dword [eax + 4], 4
jle 0x6713e0b3
mov ecx, dword [eax + 0xc]
cmp word [eax + ecx], 0x5c
jne 0x6713e0b3
cmp word [ecx + eax + 4], 0x3f
jne 0x6713e0b3
cmp word [ecx + eax + 6], 0x5c
jne 0x6713e0b3
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x244]
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 - 0x244]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
push 3
lea eax, [ebp - 0x268]
mov ecx, edi
push eax
call sym.Qt5Core.dll_public:_class_QStringRef___thiscall_QString::leftRef_int_
push eax
push 0x673630b4
push 3
call sym.Qt5Core.dll_bool___cdecl_operator_class_QLatin1String__class_QStringRef_const__
add esp, 0xc
test al, al
je 0x6713e0b3
push ecx
mov eax, esp
mov ecx, 0x5c
push 3
push 0
mov word [eax], cx
mov ecx, edi
call sym.Qt5Core.dll_public:_class_QString____thiscall_QString::replace_int__int__class_QChar_
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x674c7c44]
cmp eax, 0xfffffffe
jle 0x6713e0d8
call fcn.6713cf50
push 0x1d
push str.Volume__a_z__0_9____
call sym.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromLatin1_helper_char_const___int_
add esp, 8
mov dword [ebp - 0x22c], eax
push 0
push 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x220]
call sym.Qt5Core.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov eax, dword [ebp - 0x22c]
test ecx, ecx
je 0x6713e134
cmp ecx, 0xffffffff
je 0x6713e141
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6713e141
push 4
push 2
push eax
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
push 0
push 0
push edi
lea ecx, [ebp - 0x220]
call sym.Qt5Core.dll_public:_int___thiscall_QRegExp::indexIn_class_QString_const___int__enum_QRegExp::CaretMode_const
test eax, eax
jne 0x6713e273
lea ecx, [ebp - 0x220]
call sym.Qt5Core.dll_public:_int___thiscall_QRegExp::matchedLength_void_const
push eax
lea eax, [ebp - 0x274]
mov ecx, edi
push eax
call sym.Qt5Core.dll_public:_class_QStringRef___thiscall_QString::leftRef_int_
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x254], ecx
push eax
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x24c], 4
mov dword [ebp - 0x248], 0x6735b1f4
call fcn.6713a0c0
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 5
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
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 0x6713e240
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
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 - 0x220]
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__
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x238]
test ecx, ecx
je 0x6713e233
or edx, 0xffffffff
cmp ecx, edx
je 0x6713e243
mov ecx, edx
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6713e243
push 4
push 2
push eax
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
or edx, 0xffffffff
mov eax, dword [ebp - 0x230]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x230]
test eax, eax
je 0x6713e266
cmp eax, 0xffffffff
je 0x6713e273
lock xadd dword [ecx], edx
dec edx
setne al
test al, al
jne 0x6713e273
push 4
push 2
push ecx
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
lea ecx, [ebp - 0x220]
call sym.Qt5Core.dll_public:_void___thiscall_QRegExp::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.67267c3b
mov esp, ebp
pop ebp
ret