Function at 0x14001e4a0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
mov qword [rbp - 0x10], rcx
xor r15d, r15d
mov dword [rbp - 0x38], r15d
call fcn.1400263b0
test al, al
je 0x14001e4ee
mov rcx, rsi
call fcn.140026660
nop
mov dword [rbp - 0x38], 1
jmp 0x14001e831
mov eax, dword [0x1401d5d60]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 7
jne 0x14001e52c
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea rax, [rbp - 0x28]
mov qword [rbp - 8], rax
lea rcx, str.__r_
mov rax, qword [str.__r_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x30], rbx
lea r12, [0x140157330]
test r12, 0xffffffffffff0000
jne 0x14001e582
movzx ebx, r12w
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14001e5f1
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140002760
jmp 0x14001e5f1
mov r14d, dword [rbx - 0x10]
mov rdi, r12
sub rdi, rbx
sar rdi, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 4
or eax, ecx
jge 0x14001e5b3
mov edx, 4
lea rcx, [rbp - 0x30]
call fcn.140002560
mov rbx, qword [rbp - 0x30]
movsxd rdx, dword [rbx - 0xc]
mov r9d, 8
mov rcx, rbx
add rdx, rdx
cmp rdi, r14
ja 0x14001e5d3
lea r8, [rbx + rdi*2]
call fcn.1400d400c
jmp 0x14001e5db
mov r8, r12
call fcn.1400d41cc
cmp dword [rbx - 0xc], 4
jl 0x14001e826
mov dword [rbx - 0x10], 4
mov word [rbx + 8], r15w
lea rcx, str.__r_
mov rax, qword [str.__r_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x40], rbx
lea r12, [0x140157340]
test r12, 0xffffffffffff0000
jne 0x14001e63f
movzx ebx, r12w
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14001e6ae
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140002760
jmp 0x14001e6ae
mov r14d, dword [rbx - 0x10]
mov rdi, r12
sub rdi, rbx
sar rdi, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0xd
or eax, ecx
jge 0x14001e670
mov edx, 0xd
lea rcx, [rbp - 0x40]
call fcn.140002560
mov rbx, qword [rbp - 0x40]
movsxd rdx, dword [rbx - 0xc]
mov r9d, 0x1a
mov rcx, rbx
add rdx, rdx
cmp rdi, r14
ja 0x14001e690
lea r8, [rbx + rdi*2]
call fcn.1400d400c
jmp 0x14001e698
mov r8, r12
call fcn.1400d41cc
cmp dword [rbx - 0xc], 0xd
jl 0x14001e81b
mov dword [rbx - 0x10], 0xd
mov word [rbx + 0x1a], r15w
lea rcx, str.__r_
mov rax, qword [str.__r_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x20], rbx
lea rax, [0x140156754]
test rax, 0xffffffffffff0000
jne 0x14001e6fc
movzx r14d, ax
mov ecx, r14d
call fcn.1400019e0
test rax, rax
je 0x14001e74b
mov r8d, r14d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140002760
mov rbx, qword [rbp - 0x20]
jmp 0x14001e74b
lea rdx, [rbx - 0x18]
mov r14, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14001e74b
cmp dword [rdx + 0x10], 0
jge 0x14001e72a
cmp dword [rbx - 0xc], 0
jge 0x14001e720
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14001e74b
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e73a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x20], rbx
lea rcx, str.__r_
mov rax, qword [str.__r_]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rdx, [0x14015672c]
test rdx, 0xffffffffffff0000
jne 0x14001e796
movzx r14d, dx
mov ecx, r14d
call fcn.1400019e0
test rax, rax
je 0x14001e7a3
mov r8d, r14d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140002760
jmp 0x14001e7a3
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140002470
nop
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1401d0d48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.14004d0f0
mov dword [rbp - 0x38], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e7e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e801
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e831
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001e831
mov ecx, 0x80070057
call fcn.140001920
nop
mov ecx, 0x80070057
call fcn.140001920
nop
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret