Function at 0x140044ea0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x390
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x38], r15
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140105740]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderIDList]
lea rcx, [rsp + 0x78]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140045635
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [0x140111578]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
call qword [rax + 0x28]
test eax, eax
jne 0x140045635
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, 0x2020
mov rdx, qword [r14 + 8]
call qword [rax + 0x20]
test eax, eax
jne 0x140045635
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x40]
lea esi, [r15 + 1]
mov edx, esi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea r12, vtable.micro::utils::QString.0
lea rdi, vtable.mc::MyDrivePanel::MyDriveButton.0
lea r13d, [r15 + 0x16]
test eax, eax
jne 0x140045245
mov dword [rsp + 0x48], 0x400110
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, esi
call qword [rax + 0x48]
test dword [rsp + 0x48], 0x400000
jne 0x14004520c
test dword [rsp + 0x48], 0x100
je 0x14004520c
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140038bf4
nop
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x78], r12
mov rbx, r15
mov qword [rbp - 0x70], rbx
lea rdx, [rbp + 0x60]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
xorps xmm7, xmm7
add eax, 0xfffffffe
cmp eax, esi
ja 0x1400450d8
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x60]
call qword [sym.imp.SHELL32.dll_SHGetDiskFreeSpaceExW]
mov r8d, SafeArrayGetElement
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.1400e7be0
mov r8d, SafeArrayGetElement
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.1400e7be0
mov rax, qword [rbp - 0x50]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x1400450b3
addsd xmm0, qword [0x140136140]
mov rax, qword [rbp - 0x58]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x1400450cc
addsd xmm1, qword [0x140136140]
divsd xmm0, xmm1
cvtpd2ps xmm7, xmm0
mov rbx, qword [rbp - 0x70]
mov ecx, WSACleanup
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rdi, rax
test rax, rax
je 0x14004513a
lea rax, vtable.mc::MyDrivePanel::MyDriveButton.0
mov qword [rdi], rax
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r12
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], r12
mov qword [rdi + 0x40], r15
mov qword [rdi + 0x60], r15
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x50], r15
mov qword [rdi + 0x48], r15
mov dword [rbp - 0x80], 0x20
mov dword [rbp - 0x7c], r13d
mov rax, qword [rbp - 0x80]
mov qword [rdi + 0x58], rax
jmp 0x14004513d
mov rdi, r15
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], rbx
test rbx, rbx
je 0x14004514e
lock add dword [rbx - 0xc], esi
lea r8, str._free_of
lea rdx, [rbp + 8]
lea rcx, [rbp - 8]
call fcn.140008a10
nop
lea r8, [rbp - 0x68]
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140011d2c
nop
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x34], r13d
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400443e4
nop
mov qword [rbp + 0x18], r12
lea rcx, [rbp + 0x18]
call fcn.1400e712c
nop
mov qword [rbp - 8], r12
lea rcx, [rbp - 8]
call fcn.1400e712c
cvtps2pd xmm0, xmm7
movsd qword [rdi + 0x48], xmm0
lea rcx, [r14 + 0x48]
call fcn.140005788
mov rcx, qword [r14 + 0x58]
mov rax, qword [r14 + 0x68]
mov qword [rax + rcx*8], rdi
add qword [r14 + 0x58], rsi
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.1400e712c
nop
mov qword [rbp - 0x68], r12
lea rcx, [rbp - 0x68]
call fcn.1400e712c
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140045207
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004521c
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, esi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x140044fb8
lea rdi, vtable.mc::MyDrivePanel::MyDriveButton.0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140045255
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140045265
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x38], r15
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140105750]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderIDList]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r15
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140068eb0
mov ecx, WSACleanup
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbx, rax
test rax, rax
je 0x1400452fc
mov qword [rax], rdi
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r15
mov qword [rax + 0x58], r15
mov qword [rax + 0x60], r15
mov qword [rax + 0x68], r15
mov qword [rax + 0x50], r15
mov qword [rax + 0x48], r15
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x34], r13d
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x58], rax
jmp 0x1400452ff
mov rbx, r15
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x34], r13d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400443e4
lea rdi, [r14 + 0x48]
mov rcx, rdi
call fcn.140005788
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x20]
mov qword [rax + rcx*8], rbx
add qword [rdi + 0x10], rsi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140045357
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x38], r15
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401056f0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderIDList]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140068eb0
mov ecx, WSACleanup
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbx, rax
mov r14d, 0x20
test rax, rax
je 0x1400453ea
lea rax, vtable.mc::MyDrivePanel::MyDriveButton.0
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x60], r15
mov qword [rbx + 0x68], r15
mov qword [rbx + 0x50], r15
mov qword [rbx + 0x48], r15
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], r13d
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x58], rax
jmp 0x1400453ed
mov rbx, r15
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], r13d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400443e4
mov rcx, rdi
call fcn.140005788
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x20]
mov qword [rax + rcx*8], rbx
add qword [rdi + 0x10], rsi
mov ecx, WSACleanup
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbx, rax
test rax, rax
je 0x140045490
lea rax, vtable.mc::MyDrivePanel::MyDriveButton.0
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x60], r15
mov qword [rbx + 0x68], r15
mov qword [rbx + 0x50], r15
mov qword [rbx + 0x48], r15
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], r13d
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x58], rax
jmp 0x140045493
mov rbx, r15
or r8d, 0xffffffff
lea rdx, str.Go_to_root
lea rcx, [rbp - 0x38]
call fcn.1400e6fc8
nop
or r8d, 0xffffffff
lea rdx, [0x14010ec18]
lea rcx, [rbp - 0x48]
call fcn.1400e6fc8
nop
mov dword [rsp + 0x30], reloc.SHELL32.dll_ILFindLastID
mov dword [rsp + 0x34], r13d
lea rcx, [rbx + 0x18]
lea rdx, [rbp - 0x48]
call fcn.1400e7b9c
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1400e7b9c
or dword [rbx + 0x50], 0xffffffff
mov dword [rbx + 0x54], r15d
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x58], rax
mov qword [rbp - 0x48], r12
lea rcx, [rbp - 0x48]
call fcn.1400e712c
nop
mov qword [rbp - 0x38], r12
lea rcx, [rbp - 0x38]
call fcn.1400e712c
mov rcx, rdi
call fcn.140005788
mov rdx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x20]
mov qword [rax + rdx*8], rbx
add qword [rdi + 0x10], rsi
mov ecx, WSACleanup
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbx, rax
test rax, rax
je 0x14004558a
lea rax, vtable.mc::MyDrivePanel::MyDriveButton.0
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x60], r15
mov qword [rbx + 0x68], r15
mov qword [rbx + 0x50], r15
mov qword [rbx + 0x48], r15
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], r13d
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x58], rax
jmp 0x14004558d
mov rbx, r15
or r14d, 0xffffffff
mov r8d, r14d
lea rdx, str.Go_to_parent
lea rcx, [rbp - 0x28]
call fcn.1400e6fc8
nop
mov r8d, r14d
lea rdx, [0x14011676c]
lea rcx, [rbp - 0x18]
call fcn.1400e6fc8
nop
mov dword [rsp + 0x30], reloc.SHELL32.dll_ILFindLastID
mov dword [rsp + 0x34], r13d
lea rcx, [rbx + 0x18]
lea rdx, [rbp - 0x18]
call fcn.1400e7b9c
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x28]
call fcn.1400e7b9c
mov dword [rbx + 0x50], r14d
mov dword [rbx + 0x54], r15d
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x58], rax
mov qword [rbp - 0x18], r12
lea rcx, [rbp - 0x18]
call fcn.1400e712c
nop
mov qword [rbp - 0x28], r12
lea rcx, [rbp - 0x28]
call fcn.1400e712c
mov rcx, rdi
call fcn.140005788
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x20]
mov qword [rax + rcx*8], rbx
add qword [rdi + 0x10], rsi
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x68]
call fcn.1400e712c
jmp 0x140045638
mov sil, r15b
lea rcx, [rsp + 0x38]
call fcn.1400377d0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140045658
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004566d
mov rdx, qword [rcx]
call qword [rdx + reloc.SHELL32.dll_ILFindLastID]
mov qword [rsp + 0x58], r15
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004567d
mov rdx, qword [rcx]
call qword [rdx + reloc.SHELL32.dll_ILFindLastID]
mov al, sil
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm7, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret