Function at 0x140022a10
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rsi, r8
mov rbp, rdx
mov r14, rcx
mov r10d, dword [0x1401c6d80]
lea r9d, [r10 + 1]
imul r9d, r10d
mov eax, 0x38e38e39
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*8]
add ecx, ecx
sub r9d, ecx
cmp r9d, 0xa
jne 0x140022a8d
xor r8d, r8d
test r10d, r10d
je 0x140022a86
nop dword [rax + rax]
mov ecx, r10d
and ecx, 1
add r8d, ecx
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
jne 0x140022a70
mov dword [0x1401c6d80], r8d
lea rcx, [0x1401be9a8]
mov rax, qword [0x1401be9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0xa8], rbx
mov r8d, dword [0x1401c6d80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
cmp ecx, 7
jne 0x140022adc
dec r8d
mov dword [0x1401c6d80], r8d
lea rcx, [rsp + 0x60]
call fcn.140028c50
mov rdi, rax
lea r8, [0x14014897c]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14001b610
nop
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000f540
nop
lea r8, [0x140148994]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001b610
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000f540
nop
lea r8, [0x140149588]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14001b610
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000f540
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x140022bb5
cmp dword [rdi + 0x10], 0
jl 0x140022ba3
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140022ba3
call fcn.140002540
mov rsi, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140022b95
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0xa8], rax
jmp 0x140022bb5
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0xa8]
call fcn.1400023f0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022bcf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022be9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022c03
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022c1d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022c37
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022c51
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022c6a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0xa8]
call fcn.14002e970
mov ecx, dword [0x1401c6d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 8
jne 0x140022cc6
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
nop
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140022ce2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret