Function at 0x14010d934
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r12, r8
mov r14, rdx
mov rsi, rcx
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x14010d98d
test byte [rcx + 0x1c], 1
je 0x14010d98d
cmp byte [rcx + 0x19], 4
jb 0x14010d98d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov edx, 0x62
call fcn.140004c54
xor r15d, r15d
mov dil, 1
mov qword [rbp - 0x20], r15
mov r13d, r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x18], r15
mov byte [rbp + 0x40], dil
mov dword [rbp + 0x50], r15d
test rsi, rsi
jne 0x14010d9cf
lea r8, str.wszTargetVolume
mov edx, 0xd44
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008388c
test r12, r12
jne 0x14010d9ec
lea r8, str.rgVolumeMountedVhdPaths
mov edx, 0xd46
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008388c
mov rbx, qword [rbp + 0x60]
test rbx, rbx
jne 0x14010da0d
lea r8, str.pImpersonator
mov edx, 0xd47
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008388c
mov r15, qword [rbp + 0x68]
test r15, r15
jne 0x14010da2e
lea r8, str.pullSizeToReclaim
mov edx, 0xd48
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008388c
and qword [r15], r13
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, rsi
call fcn.14010cd78
mov ebx, eax
test eax, eax
js 0x14010dec9
cmp dword [rbp + 0x50], 4
jne 0x14010da87
xor dil, dil
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x14010da87
test byte [rcx + 0x1c], 1
je 0x14010da87
cmp byte [rcx + 0x19], 5
jb 0x14010da87
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov edx, 0x63
call fcn.140004c54
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140084468
mov ebx, eax
test eax, eax
js 0x14010dec9
mov r15, qword [rbp - 0x20]
test dil, dil
je 0x14010dc1c
lea r9, [rbp - 0x18]
mov byte [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.140120718
mov ebx, eax
test eax, eax
js 0x14010dec9
mov rax, qword [rbp - 0x18]
cmp r14, 0xffffffffffffffff
je 0x14010db1f
cmp rax, 0xffffffffffffffff
je 0x14010db1f
mov rcx, qword [0x140170048]
lea rsi, [0x140170048]
cmp rcx, rsi
je 0x14010db1a
test byte [rcx + 0x1c], 1
je 0x14010db1a
cmp byte [rcx + 0x19], 4
jb 0x14010db1a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov edx, 0x64
mov r9, rax
call fcn.140010084
mov rcx, qword [0x140170048]
xor dil, dil
jmp 0x14010db6e
mov rcx, qword [0x140170048]
lea rdx, [0x140170048]
cmp rcx, rdx
je 0x14010db67
test byte [rcx + 0x1c], 1
je 0x14010db67
cmp byte [rcx + 0x19], 4
jb 0x14010db67
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov qword [rsp + 0x28], rax
mov edx, 0x65
mov r9, rsi
mov qword [rsp + 0x20], r14
call fcn.140010a14
mov rcx, qword [0x140170048]
lea rsi, [0x140170048]
mov r13, qword [rbp - 0x10]
test r13, r13
jne 0x14010dba2
cmp rcx, rsi
je 0x14010db9f
test byte [rcx + 0x1c], 1
je 0x14010db9f
cmp byte [rcx + 0x19], 5
jb 0x14010db9f
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x66]
xor r9d, r9d
lea r8, [0x140158960]
call fcn.140010084
xor dil, dil
test dil, dil
je 0x14010dc1c
mov rcx, qword [rbp + 0x60]
xor edx, edx
call fcn.1400f62b4
mov ebx, eax
test eax, eax
js 0x14010dec9
lea rdx, [rbp - 0x28]
mov rcx, r15
call fcn.1401212b8
mov ebx, eax
test eax, eax
js 0x14010dec9
mov rcx, qword [rbp + 0x60]
call fcn.1400f6448
mov rax, qword [rbp - 0x28]
cmp r13, rax
ja 0x14010dc1c
mov rcx, qword [0x140170048]
cmp rcx, rsi
je 0x14010dc19
test byte [rcx + 0x1c], 1
je 0x14010dc19
cmp byte [rcx + 0x19], 5
jb 0x14010dc19
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov edx, 0x67
mov qword [rsp + 0x20], rax
mov r9, r13
call fcn.140004ddc
xor dil, dil
mov edx, dword [rbp + 0x58]
mov rcx, r12
call fcn.14010f6e0
mov ebx, eax
test eax, eax
jns 0x14010dc75
mov rcx, qword [0x140170048]
lea rsi, [0x140170048]
cmp rcx, rsi
je 0x14010ded0
test byte [rcx + 0x1c], 1
je 0x14010ded0
cmp byte [rcx + 0x19], 2
jb 0x14010ded0
mov edx, 0x68
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
call fcn.140004c78
jmp 0x14010ded0
mov rcx, qword [rbp + 0x60]
xor edx, edx
call fcn.1400f62b4
mov ebx, eax
test eax, eax
js 0x14010dec9
lea r9, [rbp - 0x18]
mov rcx, r15
lea r8, [rbp + 0x50]
xor esi, esi
lea rdx, [rbp - 0x10]
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14010dcb4
mov rcx, r15
call fcn.14012db10
mov ebx, eax
jmp 0x14010dcbe
mov rsi, qword [rbp + 0x50]
mov r14, qword [rbp - 0x10]
xor ebx, ebx
test ebx, ebx
js 0x14010dec9
mov rcx, qword [rbp + 0x60]
call fcn.1400f6448
call fcn.14010edfc
cmp rsi, rax
mov r15, rax
cmovb r15, rsi
call fcn.14010d864
mov r12, rax
lea rcx, [rax + r15]
cmp r14, rcx
jbe 0x14010dd3e
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x14010dd37
test byte [rcx + 0x1c], 1
je 0x14010dd37
cmp byte [rcx + 0x19], 4
jb 0x14010dd37
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov edx, 0x69
mov qword [rsp + 0x28], r12
mov r9, r14
mov qword [rsp + 0x20], r15
call fcn.1400c42fc
mov rcx, qword [0x140170048]
xor al, al
mov byte [rbp + 0x40], al
jmp 0x14010dd48
mov rcx, qword [0x140170048]
mov al, byte [rbp + 0x40]
test dil, dil
je 0x14010de4a
xor r9d, r9d
mov qword [rbp - 0x30], r9
test al, al
je 0x14010dd69
mov r9, r12
sub r9, r14
add r9, r15
mov qword [rbp - 0x30], r9
mov r8, qword [rbp - 0x28]
mov rax, r13
sub rax, r8
cmp r8, r13
sbb rsi, rsi
and rsi, rax
lea rax, [0x140170048]
cmp rcx, rax
je 0x14010de04
test byte [rcx + 0x1c], 1
je 0x14010ddca
cmp byte [rcx + 0x19], 5
jb 0x14010ddca
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov qword [rsp + 0x30], r14
mov edx, 0x6a
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.1400d0154
mov r8, qword [rbp - 0x28]
lea rax, [0x140170048]
mov rcx, qword [0x140170048]
cmp rcx, rax
je 0x14010de04
test byte [rcx + 0x1c], 1
je 0x14010de04
cmp byte [rcx + 0x19], 5
jb 0x14010de04
mov rcx, qword [rcx + 0x10]
mov edx, 0x6b
mov qword [rsp + 0x28], r8
mov r9, rsi
lea r8, [0x140158960]
mov qword [rsp + 0x20], r13
call fcn.1400c42fc
mov rcx, qword [0x140170048]
mov r8, qword [rbp - 0x30]
cmp r8, rsi
jbe 0x14010de4e
xor dil, dil
lea rsi, [0x140170048]
cmp rcx, rsi
je 0x14010de55
test byte [rcx + 0x1c], 1
je 0x14010de55
cmp byte [rcx + 0x19], 4
jb 0x14010de55
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov edx, 0x6c
call fcn.140004c54
mov rcx, qword [0x140170048]
mov r8, qword [rbp - 0x30]
jmp 0x14010de55
mov r8, qword [rbp - 0x30]
lea rsi, [0x140170048]
mov al, byte [rbp + 0x40]
test al, al
je 0x14010de87
test dil, dil
jne 0x14010de8c
mov ebx, 0x8078015e
cmp rcx, rsi
je 0x14010ded0
test byte [rcx + 0x1c], 1
je 0x14010ded0
cmp byte [rcx + 0x19], 2
jb 0x14010ded0
mov edx, 0x6d
mov r9d, 0x8078015e
jmp 0x14010dc60
test dil, dil
je 0x14010de95
test al, al
je 0x14010de95
mov rax, r8
jmp 0x14010de97
xor eax, eax
mov rdx, qword [rbp + 0x68]
mov qword [rdx], rax
cmp rcx, rsi
je 0x14010ded0
test byte [rcx + 0x1c], 1
je 0x14010ded0
cmp byte [rcx + 0x19], 4
jb 0x14010ded0
mov rcx, qword [rcx + 0x10]
mov r9, r8
lea r8, [0x140158960]
mov edx, 0x6e
call fcn.140010084
jmp 0x14010ded0
lea rsi, [0x140170048]
mov rcx, qword [rbp + 0x60]
call fcn.1400f6448
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14010dee8
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x140170048]
cmp rcx, rsi
je 0x14010df15
test byte [rcx + 0x1c], 1
je 0x14010df15
cmp byte [rcx + 0x19], 4
jb 0x14010df15
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158960]
mov edx, 0x6f
call fcn.140004c54
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret