Function at 0x18018b310
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rax, rdx
mov rdi, rcx
mov qword [rbp - 0x18], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
lea r12, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rcx], r12
mov dword [rsp + 0x40], 1
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180158900
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea edx, [r15 + 8]
lea r8d, [r15 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
lea ebx, [r15 - 1]
test ecx, ecx
je 0x18018b3d3
cmp ecx, ebx
je 0x18018b3e6
mov ecx, ebx
mov rax, qword [rsp + 0x70]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018b3e6
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__
cmp r14, 0xffffffffffffffff
je 0x18018b835
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x18018b408
call sym.Qt5Core.dll_void___cdecl_qBadAlloc_void_
mov dword [rsp + 0x6c], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4000
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900a8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18018b640
mov eax, dword [rsi]
cmp eax, 0xa0000003
jne 0x18018b4f1
movzx r8d, word [rsi + 0xa]
shr r8d, 1
movzx eax, word [rsi + 8]
shr rax, 1
add rax, 8
lea rdx, [rsi + rax*2]
lea rcx, [rsp + 0x78]
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 - 0x48], rax
mov qword [rcx], r12
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018b4a8
cmp ecx, 0xffffffff
je 0x18018b4bb
mov ecx, ebx
mov rax, qword [rsp + 0x78]
lock xadd dword [rax], ecx
cmp ecx, 1
mov dword [rsp + 0x40], 9
jne 0x18018b4c3
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__
mov dword [rsp + 0x40], 9
mov rcx, qword [rdi]
mov qword [rbp - 0x68], rcx
mov rax, qword [rbp - 0x48]
mov qword [rdi], rax
mov eax, dword [rcx]
test eax, eax
je 0x18018b4eb
cmp eax, 0xffffffff
je 0x18018b55b
mov ecx, ebx
mov rax, qword [rbp - 0x68]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018b55b
mov rcx, qword [rbp - 0x68]
jmp 0x18018b54c
cmp eax, 0xa000000c
jne 0x18018b55b
movzx r8d, word [rsi + 0xa]
shr r8d, 1
movzx eax, word [rsi + 8]
shr rax, 1
add rax, 0xa
lea rdx, [rsi + rax*2]
lea rcx, [rbp - 0x80]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_
mov rdx, rax
mov rcx, qword [rdi]
mov qword [rbp - 0x10], rcx
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rax, qword [rbp - 0x80]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018b548
cmp ecx, ebx
je 0x18018b55b
mov ecx, ebx
mov rax, qword [rbp - 0x80]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018b55b
mov rcx, qword [rbp - 0x80]
mov r8d, 8
lea edx, [r8 - 6]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, qword [rdi]
cmp dword [rax + 4], 4
jle 0x18018b640
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax], 0x5c
jne 0x18018b640
cmp word [rcx + rax + 4], 0x3f
jne 0x18018b640
cmp word [rcx + rax + 6], 0x5c
jne 0x18018b640
mov r9d, ebx
mov r8d, 4
lea rdx, [rbp - 0x78]
mov rcx, rdi
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::mid_int__int____ptr64
mov rdx, rax
mov rcx, qword [rdi]
mov qword [rbp - 8], rcx
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018b5d5
cmp ecx, 0xffffffff
je 0x18018b5e7
mov ecx, ebx
mov rax, qword [rbp - 0x78]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018b5e7
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x78]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov dword [rbp - 0x60], 3
lea rax, [0x1803e8c50]
mov qword [rbp - 0x58], rax
mov r8d, 3
lea rdx, [rbp]
mov rcx, rdi
call sym.Qt5Core.dll_public:_class_QStringRef___cdecl_QString::leftRef_int____ptr64
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov rdx, rax
lea rcx, [rbp - 0x60]
call sym.Qt5Core.dll_bool___cdecl_operator_class_QLatin1String__class_QStringRef_const____ptr64_
test al, al
je 0x18018b640
mov eax, 0x5c
mov word [rsp + 0x68], ax
movzx r9d, ax
xor edx, edx
lea r8d, [rax - 0x59]
mov rcx, rdi
call sym.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::replace_int__int__class_QChar____ptr64
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x18058b32c]
cmp eax, 0xfffffffe
jle 0x18018b662
call fcn.18018a110
mov edx, 0x1d
lea rcx, str.Volume__a_z__0_9____
call sym.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromLatin1_helper_char_const____ptr64__int_
mov qword [rsp + 0x48], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call sym.Qt5Core.dll_public:_void___cdecl_QRegExp::constructor_class_QString_const____ptr64__enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax____ptr64
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018b6ae
cmp ecx, 0xffffffff
je 0x18018b6c1
mov ecx, ebx
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018b6c1
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x60]
call sym.Qt5Core.dll_public:_int___cdecl_QRegExp::indexIn_class_QString_const____ptr64__int__enum_QRegExp::CaretMode_const___ptr64
test eax, eax
jne 0x18018b82b
lea rcx, [rsp + 0x60]
call sym.Qt5Core.dll_public:_int___cdecl_QRegExp::matchedLength_void_const___ptr64
mov r8d, eax
lea rdx, [rbp + 0x10]
mov rcx, rdi
call sym.Qt5Core.dll_public:_class_QStringRef___cdecl_QString::leftRef_int____ptr64
mov dword [rbp - 0x40], 4
lea rcx, [0x1803d89b4]
mov qword [rbp - 0x38], rcx
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.180186920
nop
lea rcx, [rsp + 0x58]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
lea r9, [rbp - 0x50]
mov r8d, 0x104
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x18018b7f9
mov r8d, ebx
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
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 [rsp + 0x50], rax
mov qword [rcx], r12
mov eax, dword [rsp + 0x40]
or eax, 0x50
and eax, 0xffffffef
mov dword [rsp + 0x40], eax
mov rax, qword [rbp - 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018b795
cmp ecx, 0xffffffff
je 0x18018b7a8
mov ecx, ebx
mov rax, qword [rbp - 0x70]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018b7a8
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x70]
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 rcx, [rsp + 0x60]
call sym.Qt5Core.dll_public:_int___cdecl_QRegExp::matchedLength_void_const___ptr64
lea r9, [rsp + 0x50]
mov r8d, eax
xor edx, edx
mov rcx, rdi
call sym.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::replace_int__int__class_QString_const____ptr64____ptr64
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018b7e5
cmp ecx, 0xffffffff
je 0x18018b7f9
mov ecx, ebx
mov rax, qword [rsp + 0x50]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018b7f9
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018b817
cmp ecx, 0xffffffff
je 0x18018b82b
mov rax, qword [rsp + 0x58]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x18018b82b
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
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 rcx, [rsp + 0x60]
call sym.Qt5Core.dll_public:_void___cdecl_QRegExp::destructor_void____ptr64
mov rax, rdi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1802e1ba0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret