Function at 0x670e21a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x67158d90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov byte [esp + 0xd], 0
xor ebx, ebx
call sym.QtCore_Ad_4.dll_public:_bool___thiscall_QFileSystemEntry::isDriveRoot_void_const
test al, al
je 0x670e2251
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call sym.QtCore_Ad_4.dll_public:_class_QString___thiscall_QFileSystemEntry::filePath_void_
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ax, word [edx]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x12]
mov dword [esp + 0x24], 0
mov word [esp + 0x12], ax
call sym.QtCore_Ad_4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
movzx ecx, word [eax]
mov edx, dword [esp + 0x14]
sub ecx, 0x41
mov esi, 1
shl esi, cl
mov dword [esp + 0x20], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670e223d
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test ebx, esi
je 0x670e2363
mov ebx, 0x14
mov al, 1
jmp 0x670e231c
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sym.QtCore_Ad_4.dll_public:_class_QString___thiscall_QFileSystemEntry::nativeFilePath_void_
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], str._UNC
call sym.QtCore_Ad_4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670e22f2
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
mov ax, word [edx]
push 1
mov word [esp + 0x18], ax
mov ecx, dword [esp + 0x18]
push 7
push ecx
lea ecx, [esp + 0x1c]
call sym.QtCore_Ad_4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
test eax, eax
jle 0x670e22d7
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc]
mov dx, word [ecx]
push 1
inc eax
push eax
mov word [esp + 0x1c], dx
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call sym.QtCore_Ad_4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
test eax, eax
jle 0x670e22d7
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
dec ecx
cmp eax, ecx
jne 0x670e22f2
lea edx, [esp + 0x10]
push edx
call fcn.670e1fd0
add esp, 4
test al, al
je 0x670e22f2
mov ebx, 0x10
mov byte [esp + 0xd], 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670e2314
mov edx, dword [esp + 0x10]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, byte [esp + 0xd]
test al, al
je 0x670e2367
mov dword [edi + 0x10], ebx
test bl, 2
je 0x670e232b
or dword [edi + 4], 0x100000
and bl, 0x10
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 0x20000
add ecx, 0x20000
or dword [edi + 4], ecx
or dword [edi + 4], 0x400000
or dword [edi], 0x560000
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov al, byte [esp + 0xd]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret