Function at 0x14004ad30
Capabilities:
Get common file path
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov rax, qword [0x1400e6870]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
call fcn.14004b2fc
cmp dword [0x1400df280], 5
movabs r15, 0x400000000000
jbe 0x14004adc5
test qword [0x1400df290], r15
je 0x14004adc5
mov rax, qword [0x1400df298]
and rax, r15
cmp rax, qword [0x1400df298]
jne 0x14004adc5
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400d188f]
xor r8d, r8d
mov dword [rsp + 0x20], 2
lea rcx, [0x1400df280]
call fcn.140001864
lea rdi, [rbx + 0x38]
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rcx
sar rax, 2
test rax, rax
je 0x14004ade0
mov qword [rdi + 8], rcx
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
mov r14d, eax
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14004af15
lea r9, [rsp + 0x38]
xor edx, edx
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
mov rcx, rbx
test eax, eax
je 0x14004ae45
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
shr rdx, 0x14
shr r8, 0x14
call fcn.14004b0c8
mov esi, eax
jmp 0x14004aebd
mov edx, 0x20002
call fcn.14004b268
cmp dword [0x1400df280], 5
mov esi, eax
jbe 0x14004aebd
test qword [0x1400df290], r15
je 0x14004aebd
mov rax, qword [0x1400df298]
and rax, r15
cmp rax, qword [0x1400df298]
jne 0x14004aebd
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
and dword [rsp + 0x74], 0
lea rdx, [0x1400d185e]
mov qword [rsp + 0x68], rax
lea rcx, [0x1400df280]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
call fcn.140001864
mov rcx, qword [rbx + 0x20]
lea r8, [rbp - 0x80]
mov edx, 0x104
call fcn.140003680
test eax, eax
jns 0x14004af90
mov rcx, qword [0x1400df278]
lea r14, [0x1400df278]
cmp rcx, r14
je 0x14004af97
test byte [rcx + 0x1c], 1
je 0x14004af97
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bae28]
mov edx, SafeArrayGetLBound
mov r9d, esi
call fcn.14000a9b0
jmp 0x14004af97
mov edx, 0x20002
mov rcx, rbx
call fcn.14004b268
cmp dword [0x1400df280], 5
mov esi, eax
jbe 0x14004af90
test qword [0x1400df290], r15
je 0x14004af90
mov rax, qword [0x1400df298]
and rax, r15
cmp rax, qword [0x1400df298]
jne 0x14004af90
and dword [rsp + 0x74], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rdx, [0x1400d1831]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
lea rcx, [0x1400df280]
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov dword [rsp + 0x70], 4
call fcn.140001864
lea r14, [0x1400df278]
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
sar rax, 2
test rax, rax
je 0x14004b041
mov rcx, qword [rbx + 0x10]
mov r8, rdi
mov edx, dword [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400ad4ce.0]
mov edi, eax
test eax, eax
jns 0x14004aff9
mov rcx, qword [0x1400df278]
cmp rcx, r14
je 0x14004aff2
test byte [rcx + 0x1c], 1
je 0x14004aff2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bae28]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov r9d, eax
call fcn.14000a9b0
mov eax, edi
jmp 0x14004b093
mov rcx, qword [rbx + 0x10]
mov edx, dword [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400ad4ce.0]
mov ebx, eax
test eax, eax
jns 0x14004b041
mov rcx, qword [0x1400df278]
cmp rcx, r14
je 0x14004b03d
test byte [rcx + 0x1c], 1
je 0x14004b03d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bae28]
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
mov r9d, eax
call fcn.14000a9b0
mov eax, ebx
jmp 0x14004b093
cmp dword [0x1400df280], 5
jbe 0x14004b091
test qword [0x1400df290], r15
je 0x14004b091
mov rax, qword [0x1400df298]
and rax, r15
cmp rax, qword [0x1400df298]
jne 0x14004b091
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400d17e2]
xor r8d, r8d
mov dword [rsp + 0x20], 2
lea rcx, [0x1400df280]
call fcn.140001864
mov eax, esi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400abb00
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret