Function at 0x1400d7130
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14035b190]
xor rax, rsp
mov qword [rbp - 9], rax
mov r13, r8
mov r15, rdx
mov qword [rbp - 0x61], rdx
mov r14, rcx
mov qword [rbp - 0x69], rcx
lea rdx, [rbp - 0x59]
call fcn.1400d5cf0
nop
mov rbx, qword [rbp - 0x59]
mov rdi, qword [rbp - 0x51]
cmp rbx, rdi
sete al
test al, al
je 0x1400d71a1
mov sil, 1
jmp 0x1400d73d6
xor eax, eax
mov esi, eax
mov r12d, eax
cmp rbx, rdi
je 0x1400d724b
mov rdx, rbx
lea rcx, [rbp - 0x29]
call qword [sym.imp.AdskRcFileSystemUtility.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_Autodesk::RealityComputing::Utility::Filesystem::lowercaseExtension_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_const]
nop
lea rcx, [rbp - 0x29]
mov r15, qword [rbp - 0x29]
mov r14, qword [rbp - 0x11]
cmp r14, 8
cmovae rcx, r15
mov r9d, 4
lea r8, [0x140284a68]
mov rdx, qword [rbp - 0x19]
call fcn.140037d90
test eax, eax
je 0x1400d7220
mov rcx, rbx
call qword [sym.imp.AdskRcFileSystemUtility.dll_long_long___int64____cdecl_Autodesk::RealityComputing::Utility::Filesystem::fileSize_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
test rax, rax
jns 0x1400d720e
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x1400d7236
inc r8
mov rdx, qword [rbp - 0x29]
jmp 0x1400d722d
cmp rax, rsi
cmovg rsi, rax
add r12, rax
mov r14, qword [rbp - 0x11]
mov r15, qword [rbp - 0x29]
cmp r14, 8
jb 0x1400d7236
lea r8, [r14 + 1]
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.140037050
add rbx, 0x20
cmp rbx, rdi
jne 0x1400d71b1
mov r14, qword [rbp - 0x69]
mov r15, qword [rbp - 0x61]
xorps xmm8, xmm8
cvtsi2sd xmm8, rsi
mulsd xmm8, qword [0x14029c118]
xorps xmm7, xmm7
cvtsi2sd xmm7, r12
mulsd xmm7, qword [0x14029c118]
movaps xmm1, xmm7
mulsd xmm1, qword [0x14029c040]
mulsd xmm1, qword [0x14029c040]
xor ecx, ecx
movsd xmm0, qword [0x14029c270]
comisd xmm1, xmm0
jb 0x1400d72a7
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x1400d72a7
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm1
add rax, rcx
mov qword [r15], rax
mov sil, 1
lea rdx, [r14 + 0x50]
lea rcx, [rbp - 0x69]
call fcn.14004f4c0
nop
mov rcx, rax
call qword [sym.imp.QtCore_Ad_4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov rcx, rax
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1400d72ee
xor dil, dil
mov rbx, qword [rbp - 0x59]
jmp 0x1400d72f5
mov rbx, qword [rbp - 0x61]
mov dil, 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.QtCore_Ad_4.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test dil, dil
je 0x1400d733a
mov qword [r13], rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x1400d731d
addsd xmm0, qword [0x14029c278]
movzx esi, sil
comisd xmm8, xmm0
mov r15d, 0
cmova esi, r15d
shr rbx, 0x14
mov qword [r13], rbx
jmp 0x1400d733d
xor r15d, r15d
mov dil, 1
lea rdx, [r14 + 0x30]
lea rcx, [rbp - 0x69]
call fcn.14004f4c0
nop
mov rcx, rax
call qword [sym.imp.QtCore_Ad_4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov rcx, rax
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1400d7379
xor r14b, r14b
mov rbx, qword [rbp - 0x59]
jmp 0x1400d7380
mov rbx, qword [rbp - 0x61]
mov r14b, 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.QtCore_Ad_4.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test r14b, r14b
je 0x1400d73bc
mov qword [r13], rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x1400d73a8
addsd xmm0, qword [0x14029c278]
movzx edi, dil
comisd xmm7, xmm0
cmova edi, r15d
shr rbx, 0x14
mov qword [r13], rbx
test sil, sil
je 0x1400d73cb
test dil, dil
je 0x1400d73cb
mov sil, 1
jmp 0x1400d73ce
xor sil, sil
mov rbx, qword [rbp - 0x59]
mov rdi, qword [rbp - 0x51]
test rbx, rbx
je 0x1400d73fa
mov r8, rdi
mov rdx, rbx
call fcn.140036ce0
mov r8, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x59]
sub r8, rdx
sar r8, 5
call fcn.140036c70
movzx eax, sil
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14017e520
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x58]
movaps xmm7, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret