Function at 0x140026870
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rbp, r8
mov r14, rdx
mov r13, rcx
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400268c7
test byte [rcx + 0x1c], 1
je 0x1400268c7
cmp byte [rcx + 0x19], 4
jb 0x1400268c7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x238
call fcn.140004c54
xor ebx, ebx
mov edi, ebx
mov r15d, ebx
mov esi, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0xa0], ebx
cmp dword [r13 + 0x170], ebx
ja 0x1400268fd
lea r8, str.m_cVolume___0
mov edx, 0x3469
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008388c
test r14, r14
jne 0x14002691a
lea r8, str.prgVolumes
mov edx, 0x346a
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008388c
mov qword [r14], rbx
mov dword [rbp], ebx
mov eax, dword [r13 + 0x170]
test eax, eax
je 0x140026953
mov rcx, qword [r13 + 0xd8]
mov edx, eax
add rcx, 0x14
cmp dword [rcx], 0xc
lea eax, [r15 + 1]
lea rcx, [rcx + 0x170]
cmove eax, r15d
mov r15d, eax
sub rdx, 1
jne 0x140026938
mov eax, r15d
imul rbp, rax, 0x78
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r12, rax
test rax, rax
jne 0x140026975
mov edi, 0x8007000e
jmp 0x140026bf4
mov r8, rbp
xor edx, edx
mov rcx, r12
call sub.msvcrt.dll_memset
mov eax, ebx
mov dword [rsp + 0xb8], eax
cmp dword [r13 + 0x170], ebx
jbe 0x140026b75
imul r14, rax, 0x170
add r14, qword [r13 + 0xd8]
test rsi, rsi
je 0x1400269b9
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x30], rbx
mov edx, dword [r14 + 0x54]
lea rcx, [r14 + 0x44]
xor r9d, r9d
lea r8, [rsp + 0x30]
call fcn.1400873b0
mov edi, eax
test eax, eax
js 0x140026ceb
cmp dword [r14 + 0x14], 0xc
mov rsi, qword [rsp + 0x30]
jne 0x140026a2c
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140026b50
test byte [rcx + 0x1c], 1
je 0x140026b50
cmp byte [rcx + 0x19], 4
jb 0x140026b50
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x23a
mov r9, rsi
call fcn.140005bdc
jmp 0x140026b50
movups xmm0, xmmword [r14 + 0x44]
mov ecx, dword [rsp + 0xa0]
xor r8d, r8d
imul rbp, rcx, 0x78
inc ecx
add rbp, r12
mov dword [rsp + 0xa0], ecx
movdqu xmmword [rbp], xmm0
lea rdx, [rbp + 0x18]
movups xmm1, xmmword [r14 + 0x138]
movdqu xmmword [rbp + 0x50], xmm1
mov eax, dword [r14 + 0x54]
mov dword [rbp + 0x10], eax
mov eax, dword [r14 + 0x40]
mov dword [rbp + 0x40], eax
mov rcx, qword [r14 + 0x58]
call fcn.14008468c
mov edi, eax
test eax, eax
js 0x140026ba8
mov rcx, qword [r14 + 0x60]
lea rdx, [rbp + 0x20]
xor r8d, r8d
call fcn.14008468c
mov edi, eax
test eax, eax
js 0x140026ba8
mov byte [rbp + 0x28], bl
lea r8, [rbp + 0x14]
mov al, byte [r14 + 0x68]
mov dl, 1
mov rcx, rsi
mov byte [rbp + 0x29], al
call fcn.14012c8b0
mov edi, eax
test eax, eax
js 0x140026cb9
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.14012b770
mov edi, eax
test eax, eax
js 0x140026c87
lea r9, [rsp + 0x40]
mov qword [rbp + 0x38], rbx
lea r8, [rsp + 0x48]
mov rcx, rsi
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x140026b00
mov rcx, rsi
call fcn.14012db30
mov edi, eax
jmp 0x140026b0b
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x38], rax
mov edi, ebx
test edi, edi
js 0x140026c3b
mov rdx, qword [r14 + 0x70]
lea r9, [rbp + 0x48]
movzx ecx, word [r14 + 0x6a]
lea r8, [rbp + 0x44]
call fcn.1400874c4
mov edi, eax
test eax, eax
js 0x140026ba8
mov rax, qword [r14 + 0xe8]
mov qword [rbp + 0x60], rax
mov rax, qword [r14 + 0xf0]
mov qword [rbp + 0x68], rax
mov rax, qword [r14 + 0xf8]
mov qword [rbp + 0x70], rax
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
cmp eax, dword [r13 + 0x170]
jb 0x140026998
mov r14, qword [rsp + 0xa8]
cmp r15d, dword [rsp + 0xa0]
je 0x140026b97
lea r8, str.cVolume__iVolume
mov edx, 0x34d8
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.14008388c
mov rax, qword [rsp + 0xb0]
mov qword [r14], r12
mov r12, rbx
mov dword [rax], r15d
mov rcx, qword [0x140170048]
test rsi, rsi
je 0x140026bc4
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x140170048]
test r12, r12
je 0x140026bfb
cmp dword [r13 + 0x170], ebx
jbe 0x140026beb
mov eax, ebx
imul rcx, rax, 0x78
add rcx, r12
call fcn.1400fa79c
inc ebx
cmp ebx, dword [r13 + 0x170]
jb 0x140026bd2
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140026c28
test byte [rcx + 0x1c], 1
je 0x140026c28
cmp byte [rcx + 0x19], 4
jb 0x140026c28
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x23e
call fcn.140004c54
mov eax, edi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140026baf
test byte [rcx + 0x1c], 1
je 0x140026baf
cmp byte [rcx + 0x19], 2
jb 0x140026baf
mov edx, 0x23d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov r9, rsi
mov dword [rsp + 0x20], edi
call fcn.140005c44
jmp 0x140026ba8
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140026baf
test byte [rcx + 0x1c], 1
je 0x140026baf
cmp byte [rcx + 0x19], 2
jb 0x140026baf
mov edx, 0x23c
jmp 0x140026c6b
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140026baf
test byte [rcx + 0x1c], 1
je 0x140026baf
cmp byte [rcx + 0x19], 2
jb 0x140026baf
mov edx, 0x23b
jmp 0x140026c6b
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x140026d2c
test byte [rcx + 0x1c], 1
je 0x140026d2c
cmp byte [rcx + 0x19], 2
jb 0x140026d2c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b1c0]
mov edx, 0x239
mov r9d, edi
call fcn.140004c78
mov rsi, qword [rsp + 0x30]
jmp 0x140026ba8
mov rsi, qword [rsp + 0x30]
jmp 0x140026baf