Function at 0x14000d190
Capabilities:
Get disk size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x750]
sub rsp, 0x850
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x8a8], rbx
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov r12, r8
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x38], r8
xor r15b, r15b
mov ecx, dword [0x1401cbd80]
lea r9d, [rcx + 2]
lea eax, [rcx + 1]
imul r9d, eax
imul r9d, ecx
mov eax, 0x66666667
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r9d, eax
cmp r9d, 0xb
jne 0x14000d226
lea ecx, [r9 - 7]
call fcn.1400d1e38
mov rcx, rax
mov eax, dword [0x1401cbd80]
mov dword [rcx], eax
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov eax, dword [0x1401cbd80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
and ecx, 0x80000007
jge 0x14000d24b
dec ecx
or ecx, 0xfffffff8
inc ecx
cmp ecx, 6
jne 0x14000d265
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov qword [rsp + 0x58], r13
mov rcx, qword [r14 + 0xa0]
or rsi, 0xffffffffffffffff
test rcx, rcx
jne 0x14000d290
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000d28b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000db27
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + VariantChangeTypeEx]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x14000d316
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
mov r8d, ebx
lea rdx, str.runJSFunction_get_Document__d
lea rcx, [rbp - 0x58]
call fcn.140012850
mov rax, qword [r14]
lea rdx, [rbp - 0x58]
mov rcx, r14
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000d300
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000d311
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000db27
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, str._D_3
call qword [rax]
mov ebx, eax
cmp qword [rsp + 0x50], 0
jne 0x14000d39d
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
mov r8d, ebx
lea rdx, str.runJSFunction_QueryInterface__d
lea rcx, [rbp - 0x60]
call fcn.140012850
mov rax, qword [r14]
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000d387
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000d398
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000db27
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x38]
mov ebx, eax
cmp qword [rsp + 0x60], 0
jne 0x14000d439
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov r8d, ebx
lea rdx, str.runJSFunction_get_Script__d
lea rcx, [rbp - 0x78]
call fcn.140012850
mov rax, qword [r14]
lea rdx, [rbp - 0x78]
mov rcx, r14
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000d412
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000d423
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000d434
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000db27
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14000d448
mov qword [rsp + 0x68], r13
jmp 0x14000d463
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14000d463
mov ecx, 0x8007000e
call fcn.140001920
nop
mov dword [rsp + 0x70], r13d
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x800
mov edi, 1
mov r9d, edi
lea r8, [rsp + 0x68]
lea rdx, [0x14014a7b8]
call qword [rax + 0x28]
mov ebx, eax
mov ecx, dword [0x1401cbd80]
imul ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 0xe
jne 0x14000d4eb
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test ebx, ebx
jns 0x14000d6fa
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov r8d, ebx
lea rdx, str.runJSFunction_GetIDsOfNames__d
lea rcx, [rbp - 0x80]
call fcn.140012850
cmp ebx, 0x80020006
jne 0x14000d606
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.140002110
mov rdi, rax
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, [0x140154184]
test rdx, 0xffffffffffff0000
jne 0x14000d587
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14000d598
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400025b0
jmp 0x14000d598
mov r8d, 1
lea rcx, [rsp + 0x78]
call fcn.1400022c0
nop
mov r8, rdi
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.140010500
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x80]
call fcn.140010fc0
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000d5d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000d5ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000d606
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, dword [0x1401cbd80]
imul r8d, r8d
mov eax, 0xb21642c9
imul r8d
add edx, r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub r8d, edx
cmp r8d, 7
jne 0x14000d646
lea ecx, [r8 - 3]
call fcn.1400d1e38
mov rcx, rax
mov eax, dword [0x1401cbd80]
mov dword [rcx], eax
mov rax, qword [r14]
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [rax + RegisterTypeLib]
mov eax, dword [0x1401cbd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0xb
jne 0x14000d6ae
mov eax, reloc.OLEAUT32.dll_RegisterTypeLib
mov r8d, 0x11
nop word [rax + rax]
test r8d, r8d
je 0x14000d6a5
mov ecx, r8d
cdq
idiv r8d
mov r8d, edx
mov eax, ecx
test ecx, ecx
jne 0x14000d690
add eax, r8d
mov dword [0x1401cbd80], eax
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000d6c7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000d6e4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000d6f5
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000db27
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x40], edi
mov eax, 0x18
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1400d0cc8
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x3c], r13d
mov rcx, qword [r12]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, rax
mov rax, qword [rbp - 0x50]
mov qword [rax + 8], rcx
mov eax, dword [0x1401cbd80]
imul eax, eax
and eax, 0x8000000f
jge 0x14000d753
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xe
jne 0x14000d888
mov rbx, r13
mov edi, 0xca
call fcn.1400d2038
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp + rbx*8 + 0xf0], xmm0
inc rbx
cmp rbx, rdi
jb 0x14000d764
mov r9, r13
mov r10d, 0xc9
nop dword [rax + rax]
mov edx, 0xc9
cmp r9, rdx
jge 0x14000d874
cmp r10, 4
jl 0x14000d83d
lea rcx, [rbp + 0x728]
mov r8d, 0xc5
sub r8, r9
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x14000d7ea
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x14000d802
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x14000d81a
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x14000d834
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x14000d7d0
cmp rdx, r9
jle 0x14000d874
movsd xmm0, qword [rbp + rdx*8 + 0xf0]
movsd xmm1, qword [rbp + rdx*8 + 0xe8]
comisd xmm0, xmm1
jbe 0x14000d86c
movsd qword [rbp + rdx*8 + 0xf0], xmm1
movsd qword [rbp + rdx*8 + 0xe8], xmm0
dec rdx
cmp rdx, r9
jg 0x14000d842
inc r9
dec r10
dec rdi
jne 0x14000d790
mov edi, 1
mov ecx, 8
mov rax, qword [rbp - 0x50]
mov word [rax], cx
mov r8d, dword [0x1401cbd80]
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
sub ecx, eax
cmp ecx, 1
jne 0x14000d8cc
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov r8d, dword [0x1401cbd80]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
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 0x14000d91e
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov dword [rbp - 0x70], 0xffffffff
mov r8d, dword [0x1401cbd80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 7
jne 0x14000d997
dec r8d
mov dword [0x1401cbd80], r8d
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x28], rdx
mov word [rsp + 0x20], di
xor r9d, r9d
lea r8, [0x14014a7b8]
mov edx, dword [rsp + 0x70]
call qword [rax + 0x30]
mov ebx, eax
mov eax, dword [0x1401cbd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 3
jne 0x14000da0a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov rcx, qword [rbp - 0x50]
call fcn.1400d272c
test ebx, ebx
jns 0x14000daac
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
mov r8d, ebx
lea rdx, str.runJSFunction_Invoke__d
lea rcx, [rbp - 0x68]
call fcn.140012850
mov rax, qword [r14]
lea rdx, [rbp - 0x68]
mov rcx, r14
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000da71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000da99
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000daaa
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000db27
mov r15b, 1
mov eax, dword [0x1401cbd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 4
jne 0x14000daee
mov ecx, 4
call fcn.1400d1e38
mov rcx, rax
mov eax, dword [0x1401cbd80]
mov dword [rcx], eax
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000db16
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000db27
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000db38
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000db51
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, r15b
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.1400d1680
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x850
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret