Function at 0x1400a9940
Capabilities:
Get disk size

Disassembly:
jmp 0x1400a9940
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov r15, r9
mov rbx, r8
mov r14, rdx
mov r12, rcx
mov dword [rsp + 0x40], 0
xor edx, edx
lea rcx, [0x1402145c8]
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 + 0x48], rax
lea rdx, [0x1402145c8]
mov rcx, r15
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_PEBD_Z]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const____ptr64_]
nop
mov dword [rsp + 0x60], 2
lea rax, [0x1402410bc]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
mov r8d, 1
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::startsWith_class_QLatin1String__enum_Qt::CaseSensitivity_const___ptr64]
test al, al
je 0x1400a9a03
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
mov dword [rsp + 0x40], 1
jmp 0x1400a9d2d
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 0
je 0x1400a9ac8
mov dl, 0x2f
lea rcx, [rbp - 0x7e]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
mov r8d, 1
movzx edx, word [rax]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::startsWith_class_QChar__enum_Qt::CaseSensitivity_const___ptr64]
test al, al
je 0x1400a9a59
lea rdx, [0x14022dc14]
lea rcx, [rsp + 0x30]
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_PEBD_Z]
jmp 0x1400a9bc6
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 2
jl 0x1400a9d0b
mov dl, 0x3a
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ebx, word [rax]
mov r8d, 1
lea rdx, [rsp + 0x52]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_class_QChar___cdecl_QString::at_int_const___ptr64]
cmp word [rax], bx
jne 0x1400a9d0b
mov r8d, 2
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400a9bc6
mov dword [rsp + 0x60], 2
lea rax, [0x1402410c0]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QFileInfo::constructor_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QFileInfo::exists_void_const___ptr64]
test al, al
jne 0x1400a9bbc
mov edx, 8
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QStringList___cdecl_QStandardPaths::standardLocations_enum_QStandardPaths::StandardLocation_]
nop
mov rdi, qword [rsp + 0x78]
movsxd rax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
je 0x1400a9b6b
add rdi, 0x10
lea rcx, [rdi + rax*8]
mov r8d, 2
lea rdx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdi, qword [rsp + 0x78]
mov eax, dword [rdi]
test eax, eax
je 0x1400a9b80
cmp eax, 0xffffffff
je 0x1400a9bbc
lock dec dword [rdi]
jne 0x1400a9bbc
mov rdi, qword [rsp + 0x78]
movsxd rbx, dword [rdi + 0xc]
add rbx, 2
lea rbx, [rdi + rbx*8]
movsxd rsi, dword [rdi + 8]
add rsi, 2
lea rsi, [rdi + rsi*8]
cmp rsi, rbx
je 0x1400a9bb2
nop dword [rax]
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rsi
jne 0x1400a9ba0
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QFileInfo::destructor_void____ptr64]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
mov dl, 0x2f
lea rcx, [rsp + 0x54]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
mov r8d, 1
movzx edx, word [rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const___ptr64]
test al, al
jne 0x1400a9c12
mov dl, 0x2f
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx edx, word [rax]
mov rcx, r15
call qword [reloc.Qt5Core.dll___YQString__QEAAAEAV0_VQChar___Z]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov rcx, rax
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov r8, qword [rbp - 0x60]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140001811
mov rsi, rax
mov r8, qword [rbp - 0x48]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.140001811
mov rdi, rax
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, str._1_free_of__2
lea rcx, [rbp - 0x70]
call fcn.14000457f
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0x72]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8, rsi
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
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, [rbp - 0x68]
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]
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
mov dword [rsp + 0x40], 1
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]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, r14
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret