Function at 0x180183950
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
mov qword [rbp + 0x1f], rcx
xor r12d, r12d
mov dword [rbp - 0x19], r12d
lea rax, sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov qword [rcx], rax
mov ebx, 1
mov dword [rbp - 0x19], ebx
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
and edi, 0x3ffffff
movabs rax, 0x5c003a0041
mov qword [rbp + 0x27], rax
je 0x180183b3a
lea r13, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov esi, edi
test dil, 1
je 0x180183b2b
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x180183a00
cmp eax, 5
jne 0x180183a33
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, 1
jne 0x180183b2b
mov r8d, 0xffffffff
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 9]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
mov rcx, rax
mov rax, qword [rax]
mov qword [rbp - 0x11], rax
mov qword [rcx], r13
or ebx, 0xa
test bl, 4
je 0x180183a97
and ebx, 0xfffffffb
mov dword [rbp - 0x19], ebx
mov rax, qword [rbp - 1]
mov ecx, dword [rax]
test ecx, ecx
je 0x180183a82
cmp ecx, 0xffffffff
je 0x180183a94
mov ecx, 0xffffffff
mov rax, qword [rbp - 1]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180183a94
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 1]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov ebx, dword [rbp - 0x19]
and ebx, 0xfffffffd
mov dword [rbp - 0x19], ebx
mov rax, qword [rbp - 9]
mov ecx, dword [rax]
test ecx, ecx
je 0x180183abe
cmp ecx, 0xffffffff
je 0x180183ad1
mov ecx, 0xffffffff
mov rax, qword [rbp - 9]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180183ad1
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 9]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call sym.Qt5Core.dll_public:_void___cdecl_QFileInfo::constructor_class_QString_const____ptr64____ptr64
nop
mov rdx, rax
mov rcx, r14
call fcn.1801249b0
nop
lea rcx, [rbp + 0xf]
call sym.Qt5Core.dll_public:_void___cdecl_QFileInfo::destructor_void____ptr64
nop
mov rax, qword [rbp - 0x11]
mov ecx, dword [rax]
test ecx, ecx
je 0x180183b16
cmp ecx, 0xffffffff
je 0x180183b28
mov ecx, 0xffffffff
mov rax, qword [rbp - 0x11]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180183b28
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x11]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov ebx, dword [rbp - 0x19]
inc word [rbp + 0x27]
shr edi, 1
cmp esi, 2
jae 0x1801839e0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret