Function at 0x1400296d8
Capabilities:
Get disk information
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xd8]
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rbx, rdx
lea r8, [0x1400e7f50]
lea rcx, [rbp + 0x70]
call fcn.140025300
nop
mov r8d, 7
lea rdx, [0x1400e85c8]
lea rcx, [rbx + 0x28]
call fcn.140001a78
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rcx, qword [rbp + 0x70]
mov dword [rsp + 0x38], reloc.OLEAUT32.dll_SafeArrayLock
lea rax, [rbp + 0x90]
mov qword [rsp + 0x30], rax
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov r14d, eax
lea rax, [rbp + 0x90]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x1400297a0
lea rdx, [rbp + 0x90]
lea rcx, [rbx + 0x28]
call fcn.140001a78
test r14d, r14d
jne 0x140029852
call fcn.140062444
lea r9d, [r14 + 1]
mov r8, qword [rax]
mov edx, r9d
lea rcx, [rsp + 0x68]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetVolumeInfo_Filessytem_failed_caption
mov rcx, rbx
call fcn.140015a04
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rbx
call fcn.140017544
lea rdx, str.__ErrorCode
mov rcx, rbx
call fcn.140015a04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x10]
call fcn.14000c32c
lea rax, [rbp + 0x10]
mov qword [rsp + 0x58], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x10], rax
jmp 0x14002991f
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rbx + 0x48], rdi
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rcx, qword [rbp + 0x70]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x140029935
call fcn.140062444
mov r9d, 1
mov r8, qword [rax]
mov edx, r9d
lea rcx, [rsp + 0x68]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetVolumeInfo_Size_failed_caption
mov rcx, rbx
call fcn.140015a04
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rbx
call fcn.140017544
lea rdx, str.__ErrorCode
mov rcx, rbx
call fcn.140015a04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x10]
call fcn.14000c32c
lea rax, [rbp + 0x10]
mov qword [rsp + 0x58], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x10], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x10]
call fcn.140069698
jmp 0x140029950
mov rax, qword [rsp + 0x40]
shr rax, 0x14
mov dword [rbx + 0x4c], eax
mov rax, qword [rsp + 0x48]
shr rax, 0x14
mov dword [rbx + 0x48], eax
mov dil, 1
lea rcx, [rbp + 0x70]
call fcn.140001a14
mov al, dil
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.14006b320
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret