Function at 0x1800133f0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180103990]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r12d, r9d
mov r15, r8
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x58], rdx
mov dword [rsp + 0x40], 0
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rdx], rax
mov dword [rsp + 0x40], 1
lea rdx, [rbp - 0x30]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea rbx, [rbp - 0x30]
cmp word [rbp - 0x30], 0
je 0x18001387d
or r8d, 0xffffffff
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
nop
mov edx, 1
lea rcx, [0x1800a83dc]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x68], rax
mov edx, 1
lea rcx, [0x1800a83d8]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x58], rax
mov r9d, 1
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::replace_class_QString_const____ptr64__class_QString_const____ptr64__enum_Qt::CaseSensitivity____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, dword [r15]
test eax, eax
je 0x180013631
cmp eax, 1
jne 0x18001380d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1800136ec
lea r8d, [rax - 2]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64]
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
jle 0x180013621
cmp dword [r15], 1
jne 0x180013621
test r12d, r12d
jne 0x180013573
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdx, rax
mov rcx, r14
call fcn.180012e10
test al, al
je 0x180013621
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180008260
jmp 0x180013621
cmp r12d, 1
jne 0x180013621
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.180013040
test al, al
je 0x180013609
lea r8, [0x1800a8400]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.180005110
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180005940
nop
mov rdx, rax
mov rcx, rdi
call fcn.180008260
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1800136ec
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x10]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_QtPrivate::QStringList_contains_class_QStringList_const____ptr64__class_QString_const____ptr64__enum_Qt::CaseSensitivity_]
test al, al
jne 0x1800136e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1800136ec
lea r8d, [rax - 2]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64]
nop
mov rax, qword [rsp + 0x48]
cmp dword [rax + 4], 0
jle 0x1800136d3
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdx, rax
mov rcx, r14
call fcn.180012e10
test al, al
jne 0x1800136d3
mov r8d, dword [r14 + 0x18]
test r8d, r8d
je 0x1800136b7
jle 0x1800136d3
mov rax, qword [rdi]
mov edx, dword [rax + 0xc]
sub edx, dword [rax + 8]
cmp r8d, edx
jle 0x1800136d3
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x10]
call fcn.180008260
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180008260
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1800136ec
lea rdx, [r14 + 0x10]
mov rcx, rdi
call fcn.180010b60
cmp dword [r15], 1
jne 0x18001380d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x18001380d
lea r8d, [rax - 1]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64]
nop
test r12d, r12d
jne 0x180013756
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdx, rax
mov rcx, r14
call fcn.180012e10
test al, al
je 0x180013802
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180008260
jmp 0x180013802
cmp r12d, 1
jne 0x180013802
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
call fcn.180013040
test al, al
je 0x1800137ea
lea r8, [0x1800a8400]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.180005110
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.180005940
nop
mov rdx, rax
mov rcx, rdi
call fcn.180008260
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp dword [r15], 3
jne 0x18001382e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x18001382e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180008260
cmp dword [r15], 2
jne 0x180013850
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x180013850
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180008260
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
or rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x180013860
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x180013472
cmp dword [r15], 0
jne 0x180013894
mov rcx, qword [rdi]
mov eax, dword [rcx + 0xc]
sub eax, dword [rcx + 8]
test eax, eax
jle 0x180013894
mov dword [r14 + 0x18], eax
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.18008b810
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret