Function at 0x67141940
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x6727d0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x674c412c]
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 edi, dword [ebp + 0x78]
push eax
lea eax, [ebp]
mov dword [ebp - 0x18], edi
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
add esp, 8
lea ecx, [ebp]
mov dword [ebp - 4], 0
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 0x67141ac8
lea eax, [ebp - 0x118]
mov dword [ebp - 0x124], 0x100
mov edx, 0x100
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x128], edx
mov ecx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ecx
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
push eax
push ecx
lea ecx, [ebp - 0x128]
call fcn.670775a0
mov esi, dword [ebp - 0x120]
lea eax, [ebp - 0x18]
push eax
push esi
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 0x67141a12
mov edx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x18]
jmp 0x671419d1
test eax, eax
jne 0x67141aa2
push 0xffffffffffffffff
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
push eax
push edi
mov byte [ebp - 4], 2
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toUtf8_helper_class_QString_const__
mov eax, dword [ebp - 0x10]
add esp, 0x14
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x67141a56
cmp eax, esi
je 0x67141a65
mov eax, dword [ebp - 0x10]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67141a65
push 4
push 2
push dword [ebp - 0x10]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x118]
cmp eax, ecx
je 0x67141a7f
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp]
mov eax, dword [eax]
test eax, eax
je 0x67141b61
cmp eax, 0xffffffff
je 0x67141b70
mov eax, dword [ebp]
lock xadd dword [eax], esi
dec esi
jmp 0x67141b5a
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
cmp eax, ecx
je 0x67141b41
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x67141b41
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 0x67141b3b
push 0xffffffffffffffff
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x10]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
push eax
push edi
mov byte [ebp - 4], 3
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toLatin1_helper_inplace_class_QString__
mov eax, dword [ebp - 0x10]
add esp, 0x14
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x67141b27
cmp eax, esi
je 0x67141a7f
mov eax, dword [ebp - 0x10]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67141a7f
push 4
push 2
push dword [ebp - 0x10]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x67141a7f
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov eax, dword [ebp]
mov eax, dword [eax]
test eax, eax
je 0x67141b61
cmp eax, 0xffffffff
je 0x67141b70
mov eax, dword [ebp]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67141b70
push 4
push 2
push dword [ebp]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, edi
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.67267c3b
lea esp, [ebp + 0x70]
pop ebp
ret