Function at 0x670ddda4
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x671b1c80
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x6753165c]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x78]
push eax
lea eax, [ebp]
mov dword [ebp - 0x10], esi
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
pop ecx
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x670ddeba
mov ecx, 0x100
lea eax, [ebp - 0x114]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x124], ecx
mov edx, ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edx
cmp edx, ecx
mov eax, edx
cmovl eax, ecx
lea ecx, [ebp - 0x124]
push eax
push edx
call fcn.67059db3
mov edi, dword [ebp - 0x11c]
lea eax, [ebp - 0x10]
push eax
push edi
push 1
lea ecx, [ebp]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call sub.MPR.dll_WNetGetUniversalNameW
cmp eax, 0xea
jne 0x670dde6e
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x10]
jmp 0x670dde2d
test eax, eax
jne 0x670ddeb2
push 0xffffffffffffffff
push dword [edi]
lea eax, [ebp - 0x14]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
push eax
push esi
mov byte [ebp - 4], 2
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toUtf8_helper_class_QString_const__
add esp, 0x14
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x11c], eax
je 0x670ddf00
push dword [ebp - 0x11c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x670ddf00
mov dword [esi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x670dde95
push 0x33
lea eax, [ebp + 4]
push eax
lea ecx, [ebp]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x670ddefa
push 0xffffffffffffffff
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x14]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
push eax
push esi
mov byte [ebp - 4], 3
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toLatin1_helper_inplace_class_QString__
add esp, 0x14
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
jmp 0x670ddf00
mov dword [esi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea ecx, [ebp]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.671a2acb
add ebp, 0x70
leave
ret