Function at 0x18018f710
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x220], rbx
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x20]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const____ptr64_
nop
lea rcx, [rsp + 0x20]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x18018f8f1
mov eax, 0x100
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], eax
mov edx, eax
mov dword [rsp + 0x28], eax
nop dword [rax]
mov r8d, edx
cmp edx, eax
cmovl r8d, eax
lea rcx, [rsp + 0x60]
call fcn.1800a6fb0
mov rsi, qword [rsp + 0x68]
lea rcx, [rsp + 0x20]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
lea r9, [rsp + 0x28]
mov r8, rsi
mov edx, 1
call sub.MPR.dll_WNetGetUniversalNameW
cmp eax, 0xea
jne 0x18018f7e8
mov eax, dword [rsp + 0x60]
mov edx, dword [rsp + 0x28]
jmp 0x18018f7a0
test eax, eax
jne 0x18018f8c9
mov ebx, 0xffffffff
mov r8d, ebx
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
nop
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f837
cmp ecx, ebx
je 0x18018f84b
mov ecx, ebx
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018f84b
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__
nop
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toUtf8_helper_class_QString_const____ptr64_
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f879
cmp ecx, 0xffffffff
je 0x18018f88d
mov ecx, ebx
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018f88d
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x30]
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 rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
je 0x18018f8a3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f9f3
cmp ecx, 0xffffffff
je 0x18018fa07
mov rcx, qword [rsp + 0x20]
lock xadd dword [rcx], ebx
jmp 0x18018f9ee
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rdi], rcx
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
je 0x18018f9d0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18018f9d0
lea rcx, [rsp + 0x20]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov r8d, 0x33
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x18018f9c6
mov ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x40]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
nop
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f95e
cmp ecx, ebx
je 0x18018f972
mov ecx, ebx
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018f972
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
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, [rsp + 0x38]
mov rcx, rdi
call sym.Qt5Core.dll_private:_static_class_QByteArray___cdecl_QString::toLatin1_helper_inplace_class_QString____ptr64_
nop
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f9a0
cmp ecx, 0xffffffff
je 0x18018f9b4
mov ecx, ebx
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018f9b4
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x38]
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 + 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f9f3
cmp ecx, 0xffffffff
je 0x18018fa07
jmp 0x18018f9e5
lea rcx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rdi], rcx
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018f9f3
cmp ecx, 0xffffffff
je 0x18018fa07
mov ebx, 0xffffffff
mov rax, qword [rsp + 0x20]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x18018fa07
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rsp + 0x20]
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, rdi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1802e1ba0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret