Function at 0x18018cf30
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov rbp, rdx
mov r14, rcx
xor sil, sil
xor edi, edi
call fcn.180158610
test al, al
je 0x18018cff0
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.180158200
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rcx + rdx]
call sym.Qt5Core.dll_public:_static_unsigned_int___cdecl_QChar::toUpper_unsigned_int_
lea ecx, [rax - 0x41]
mov ebx, 1
shl ebx, cl
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018cfcb
cmp ecx, 0xffffffff
je 0x18018cfde
mov ecx, 0xffffffff
mov rax, qword [rsp + 0x78]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018cfde
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x78]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
and ebx, edi
setne sil
neg ebx
sbb edi, edi
and edi, 0x14
jmp 0x18018d0d8
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.180158900
nop
mov dword [rsp + 0x30], 7
lea rax, str._UNC
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::startsWith_class_QLatin1String__enum_Qt::CaseSensitivity_const___ptr64
test al, al
je 0x18018d0a2
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov r9d, ebx
lea r8d, [rbx + 6]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x70]
call sym.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
mov r8d, eax
test eax, eax
jle 0x18018d08c
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
inc r8d
mov r9d, ebx
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x70]
call sym.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
test eax, eax
jle 0x18018d08c
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x18018d0a2
lea rcx, [rsp + 0x70]
call fcn.18018d300
test al, al
je 0x18018d0a2
mov edi, 0x10
movzx esi, bl
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018d0c5
cmp ecx, 0xffffffff
je 0x18018d0d8
mov ecx, 0xffffffff
mov rax, qword [rsp + 0x70]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018d0d8
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x70]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test sil, sil
je 0x18018d102
mov dword [rbp + 0x10], edi
test dil, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or ecx, dword [rbp + 4]
bts ecx, 0x16
mov dword [rbp + 4], ecx
or dword [rbp], 0x560000
movzx eax, sil
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret