Function at 0x140024010
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rdi, rcx
xor ecx, ecx
mov dword [rbp - 0x40], ecx
mov edx, dword [0x1401c4d60]
lea r8d, [rdx + 2]
lea eax, [rdx + 1]
imul r8d, eax
imul r8d, edx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 3
jne 0x14002407b
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea rax, [rbp - 0x30]
mov qword [rbp - 8], rax
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rdx, str.Debug
test rdx, 0xffffffffffff0000
jne 0x1400240cc
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x1400240dc
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400025a0
jmp 0x1400240dc
mov r8d, 5
lea rcx, [rbp - 0x38]
call fcn.1400022b0
nop
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x48], rax
lea rdx, str.DebuggedNewTabUrl
test rdx, 0xffffffffffff0000
jne 0x140024125
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140024135
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400025a0
jmp 0x140024135
mov r8d, 0x11
lea rcx, [rbp + 0x48]
call fcn.1400022b0
nop
lea rdx, [0x14014d8b8]
lea rcx, [rbp - 0x30]
call fcn.140002100
mov r14, rax
lea rcx, [0x1401bc9a8]
mov rdx, qword [0x1401bc9a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp + 0x40], rax
lea rdx, str._new_debug.js
test rdx, 0xffffffffffff0000
jne 0x140024191
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x1400241a1
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400025a0
jmp 0x1400241a1
mov r8d, 0xd
lea rcx, [rbp + 0x40]
call fcn.1400022b0
nop
lea rcx, [rbp - 0x18]
call fcn.140028f00
mov rsi, rax
lea rcx, [0x1401bc9a8]
mov rdx, qword [0x1401bc9a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp + 0x38], rax
lea rdx, str.file:__
test rdx, 0xffffffffffff0000
jne 0x1400241f6
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140024206
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400025a0
jmp 0x140024206
mov r8d, 7
lea rcx, [rbp + 0x38]
call fcn.1400022b0
nop
mov r8, rsi
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.14000f690
nop
lea r8, [rbp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14000f690
nop
mov qword [rsp + 0x28], r14
mov rcx, qword [0x1401bfd48]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x38]
lea r8, [rbp + 0x48]
mov rdx, rax
mov rcx, rdi
call fcn.140049040
mov dword [rbp - 0x40], 1
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002426c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140024285
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002429e
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 0x1400242b7
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 0x1400242d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400242e9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140024301
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret