Function at 0x1401134e8
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov esi, r15d
cmp qword [rdx], r15
jne 0x140113527
lea edi, [r15 + 0x57]
jmp 0x14011389d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [r14]
mov qword [rbp - 0x29], rcx
mov rax, qword [r14 + 8]
mov qword [rbp - 0x21], rax
test rax, rax
je 0x14011354d
lock inc dword [rax + 8]
mov rax, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
mov qword [rbx + 0xb0], rcx
mov rdi, qword [rbx + 0xb8]
mov qword [rbx + 0xb8], rax
or r12d, 0xffffffff
test rdi, rdi
je 0x140113597
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x140113597
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
add eax, r12d
jne 0x140113597
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rax, qword [r14]
mov cl, byte [rax + 0x18]
mov byte [rbx + 0x5c], cl
mov rax, qword [r14]
mov rax, qword [rax + 0x10]
mov qword [rbx + 0xe0], rax
mov rax, qword [r14]
mov rcx, qword [rax]
call fcn.140111538
mov byte [rbp + 0x6f], al
mov edi, 0x4000000
mov rax, qword [r14]
mov rdx, qword [rax]
mov rcx, rbx
call fcn.140111698
mov ecx, 0x24000000
test eax, eax
cmove edi, ecx
mov dword [rbp + 0x77], edi
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov rax, qword [r14]
mov rdx, qword [rax]
lea rcx, [rbp - 0x19]
call fcn.1401132b8
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
mov r9d, 3
mov r8d, 0x10000000
mov rdx, qword [rax]
lea rcx, [rbp - 0x49]
call fcn.14007db5c
mov edi, eax
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140113639
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jns 0x140113647
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14011366a
mov rax, qword [r14]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0xf]
lea rdx, [rbp + 0x17]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp qword [rbp + 0x7f], r15
jne 0x140113673
mov edi, reloc.OLEAUT32.dll_VarBstrFromCy
mov r12, qword [rbp - 0x49]
jmp 0x14011388f
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov r12, r15
mov edi, reloc.OLEAUT32.dll_VarBstrFromCy
mov r13, qword [rbp - 0x49]
mov qword [rbp - 0x39], r13
cmp r12, qword [rbp + 0x7f]
jae 0x140113826
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x10]
test al, al
jne 0x1401137fa
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x1401136ce
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x1401137fa
mov rax, qword [rbp + 0x7f]
mov r13, rax
cmp byte [rbp + 0x6f], 0
je 0x1401136f5
mov edx, 0x40000000
cmp rax, rdx
jb 0x1401136f5
mov r13d, edx
mov rcx, rax
sub rcx, r12
cmp rcx, rdx
cmovb r13, rcx
mov ecx, dword [rbp + 0x77]
shr ecx, 0x1d
and cl, 1
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rbx + 0xe0]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], cl
mov r9d, dword [rbx + 0x68]
mov r8, r13
mov rdx, qword [rbp - 0x39]
mov rcx, rbx
call fcn.140112b18
mov esi, eax
test eax, eax
jne 0x1401137f4
add r12, r13
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x140113762
mov rdx, qword [rbp + 0x7f]
mov r8, rdx
cmp r12, rdx
jae 0x14011375c
mov r9, qword [rcx]
mov rdx, r12
call qword [r9 + 0x28]
jmp 0x140113762
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp byte [rbp + 0x6f], 0
je 0x14011368f
add r15, r13
cmp r15, 0x40000000
jb 0x14011368f
and qword [rbp - 0x49], 0
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.140089e84
mov r11, qword [r14]
mov rdx, qword [r11]
lea rcx, [rbp - 0x31]
call fcn.1401132b8
mov dword [rsp + 0x28], 0x24000000
mov dword [rsp + 0x20], 1
mov r9d, 3
mov r8d, 0x10000000
mov rdx, qword [rax]
lea rcx, [rbp - 0x49]
call fcn.14007db5c
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401137e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r15d, r15d
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
jmp 0x14011368f
cmp eax, edi
je 0x140113808
jmp 0x1401137ff
mov esi, 0x4c7
test esi, esi
jne 0x140113826
jmp 0x14011368f
mov rcx, qword [rbx + 0xe0]
xor r15d, r15d
test rcx, rcx
je 0x140113829
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x7f]
mov r8, rdx
call qword [rax + 0x28]
jmp 0x140113829
xor r15d, r15d
mov r12, r15
mov qword [rbp - 0x49], r15
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.140089e84
cmp esi, edi
cmove esi, r15d
mov edi, esi
mov rbx, qword [rbp - 0x11]
mov rsi, rbx
mov r13, qword [rbp - 9]
cmp rbx, r13
je 0x140113867
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
add rsi, 8
cmp rsi, r13
jne 0x140113855
mov rsi, rbx
cmp rbx, r13
je 0x140113881
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 8
cmp rsi, r13
jne 0x14011386f
test rbx, rbx
je 0x14011388f
mov rcx, rbx
call fcn.1400be0f4
nop
test r12, r12
je 0x14011389d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret