Function at 0x14011dd60
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 [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14011ddb9
test byte [rcx + 0x1c], 1
je 0x14011ddb9
cmp byte [rcx + 0x19], 4
jb 0x14011ddb9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov edx, 0x62
call fcn.140004e50
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 0x14011ddfb
lea r8, str.wszTargetVolume
mov edx, 0xd44
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008f4c8
test r12, r12
jne 0x14011de18
lea r8, str.rgVolumeMountedVhdPaths
mov edx, 0xd46
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008f4c8
mov rbx, qword [rbp + 0x60]
test rbx, rbx
jne 0x14011de39
lea r8, str.pImpersonator
mov edx, 0xd47
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008f4c8
mov r15, qword [rbp + 0x68]
test r15, r15
jne 0x14011de5a
lea r8, str.pullSizeToReclaim
mov edx, 0xd48
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008f4c8
and qword [r15], r13
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, rsi
call fcn.14011d15c
mov ebx, eax
test eax, eax
js 0x14011e2fb
cmp dword [rbp + 0x50], 4
jne 0x14011deb3
xor dil, dil
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14011deb3
test byte [rcx + 0x1c], 1
je 0x14011deb3
cmp byte [rcx + 0x19], 5
jb 0x14011deb3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov edx, 0x63
call fcn.140004e50
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140090160
mov ebx, eax
test eax, eax
js 0x14011e2fb
mov r15, qword [rbp - 0x20]
test dil, dil
je 0x14011e048
lea r9, [rbp - 0x18]
mov byte [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.140131494
mov ebx, eax
test eax, eax
js 0x14011e2fb
mov rax, qword [rbp - 0x18]
cmp r14, 0xffffffffffffffff
je 0x14011df4b
cmp rax, 0xffffffffffffffff
je 0x14011df4b
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14011df46
test byte [rcx + 0x1c], 1
je 0x14011df46
cmp byte [rcx + 0x19], 4
jb 0x14011df46
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov edx, 0x64
mov r9, rax
call fcn.140010758
mov rcx, qword [0x140183048]
xor dil, dil
jmp 0x14011df9a
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
cmp rcx, rdx
je 0x14011df93
test byte [rcx + 0x1c], 1
je 0x14011df93
cmp byte [rcx + 0x19], 4
jb 0x14011df93
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov qword [rsp + 0x28], rax
mov edx, 0x65
mov r9, rsi
mov qword [rsp + 0x20], r14
call fcn.14001115c
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
mov r13, qword [rbp - 0x10]
test r13, r13
jne 0x14011dfce
cmp rcx, rsi
je 0x14011dfcb
test byte [rcx + 0x1c], 1
je 0x14011dfcb
cmp byte [rcx + 0x19], 5
jb 0x14011dfcb
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x66]
xor r9d, r9d
lea r8, [0x14016b250]
call fcn.140010758
xor dil, dil
test dil, dil
je 0x14011e048
mov rcx, qword [rbp + 0x60]
xor edx, edx
call fcn.140105978
mov ebx, eax
test eax, eax
js 0x14011e2fb
lea rdx, [rbp - 0x28]
mov rcx, r15
call fcn.1401320a0
mov ebx, eax
test eax, eax
js 0x14011e2fb
mov rcx, qword [rbp + 0x60]
call fcn.140105b24
mov rax, qword [rbp - 0x28]
cmp r13, rax
ja 0x14011e048
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14011e045
test byte [rcx + 0x1c], 1
je 0x14011e045
cmp byte [rcx + 0x19], 5
jb 0x14011e045
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov edx, 0x67
mov qword [rsp + 0x20], rax
mov r9, r13
call fcn.140004ff8
xor dil, dil
mov edx, dword [rbp + 0x58]
mov rcx, r12
call fcn.14011fba4
mov ebx, eax
test eax, eax
jns 0x14011e0a1
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14011e302
test byte [rcx + 0x1c], 1
je 0x14011e302
cmp byte [rcx + 0x19], 2
jb 0x14011e302
mov edx, 0x68
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
call fcn.140004e7c
jmp 0x14011e302
mov rcx, qword [rbp + 0x60]
xor edx, edx
call fcn.140105978
mov ebx, eax
test eax, eax
js 0x14011e2fb
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]
nop dword [rax + rax]
test eax, eax
jne 0x14011e0e6
mov rcx, r15
call fcn.14013f1f4
mov ebx, eax
jmp 0x14011e0f0
mov rsi, qword [rbp + 0x50]
mov r14, qword [rbp - 0x10]
xor ebx, ebx
test ebx, ebx
js 0x14011e2fb
mov rcx, qword [rbp + 0x60]
call fcn.140105b24
call fcn.14011f2bc
cmp rsi, rax
mov r15, rax
cmovb r15, rsi
call fcn.14011dc8c
mov r12, rax
lea rcx, [rax + r15]
cmp r14, rcx
jbe 0x14011e170
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14011e169
test byte [rcx + 0x1c], 1
je 0x14011e169
cmp byte [rcx + 0x19], 4
jb 0x14011e169
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov edx, 0x69
mov qword [rsp + 0x28], r12
mov r9, r14
mov qword [rsp + 0x20], r15
call fcn.1400d2580
mov rcx, qword [0x140183048]
xor al, al
mov byte [rbp + 0x40], al
jmp 0x14011e17a
mov rcx, qword [0x140183048]
mov al, byte [rbp + 0x40]
test dil, dil
je 0x14011e27c
xor r9d, r9d
mov qword [rbp - 0x30], r9
test al, al
je 0x14011e19b
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, [0x140183048]
cmp rcx, rax
je 0x14011e236
test byte [rcx + 0x1c], 1
je 0x14011e1fc
cmp byte [rcx + 0x19], 5
jb 0x14011e1fc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov qword [rsp + 0x30], r14
mov edx, 0x6a
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.1400deaa8
mov r8, qword [rbp - 0x28]
lea rax, [0x140183048]
mov rcx, qword [0x140183048]
cmp rcx, rax
je 0x14011e236
test byte [rcx + 0x1c], 1
je 0x14011e236
cmp byte [rcx + 0x19], 5
jb 0x14011e236
mov rcx, qword [rcx + 0x10]
mov edx, 0x6b
mov qword [rsp + 0x28], r8
mov r9, rsi
lea r8, [0x14016b250]
mov qword [rsp + 0x20], r13
call fcn.1400d2580
mov rcx, qword [0x140183048]
mov r8, qword [rbp - 0x30]
cmp r8, rsi
jbe 0x14011e280
xor dil, dil
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14011e287
test byte [rcx + 0x1c], 1
je 0x14011e287
cmp byte [rcx + 0x19], 4
jb 0x14011e287
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov edx, 0x6c
call fcn.140004e50
mov rcx, qword [0x140183048]
mov r8, qword [rbp - 0x30]
jmp 0x14011e287
mov r8, qword [rbp - 0x30]
lea rsi, [0x140183048]
mov al, byte [rbp + 0x40]
test al, al
je 0x14011e2b9
test dil, dil
jne 0x14011e2be
mov ebx, 0x8078015e
cmp rcx, rsi
je 0x14011e302
test byte [rcx + 0x1c], 1
je 0x14011e302
cmp byte [rcx + 0x19], 2
jb 0x14011e302
mov edx, 0x6d
mov r9d, 0x8078015e
jmp 0x14011e08c
test dil, dil
je 0x14011e2c7
test al, al
je 0x14011e2c7
mov rax, r8
jmp 0x14011e2c9
xor eax, eax
mov rdx, qword [rbp + 0x68]
mov qword [rdx], rax
cmp rcx, rsi
je 0x14011e302
test byte [rcx + 0x1c], 1
je 0x14011e302
cmp byte [rcx + 0x19], 4
jb 0x14011e302
mov rcx, qword [rcx + 0x10]
mov r9, r8
lea r8, [0x14016b250]
mov edx, 0x6e
call fcn.140010758
jmp 0x14011e302
lea rsi, [0x140183048]
mov rcx, qword [rbp + 0x60]
call fcn.140105b24
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14011e320
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14011e34d
test byte [rcx + 0x1c], 1
je 0x14011e34d
cmp byte [rcx + 0x19], 4
jb 0x14011e34d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016b250]
mov edx, 0x6f
call fcn.140004e50
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