Function at 0x140127318
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x98
mov r14, r8
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140127375
test byte [rcx + 0x1c], 1
je 0x140127375
cmp byte [rcx + 0x19], 4
jb 0x140127375
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bb00]
mov edx, 0x17
call fcn.140004e50
xor esi, esi
lea rbx, str.base_stor_blbengine_blbengutils_blbcatalogutils.cpp
and qword [rbp + 0x5f], rsi
xor r15d, r15d
xor edi, edi
mov qword [rbp - 0x31], r15
xor r12d, r12d
mov qword [rbp - 0x41], rsi
xor r13d, r13d
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r13
cmp qword [rbp + 0x6f], rsi
jne 0x1401273bb
lea r8, str.pullTotalTargetSpace
mov edx, 0x172
mov rcx, rbx
call fcn.14008f4c8
cmp qword [rbp + 0x77], rsi
jne 0x1401273d5
lea r8, str.pullTotalTargetFreeSpace
mov edx, 0x173
mov rcx, rbx
call fcn.14008f4c8
cmp qword [rbp + 0x7f], rsi
jne 0x1401273ef
lea r8, str.pullCurrentBackupSize
mov edx, 0x174
mov rcx, rbx
call fcn.14008f4c8
mov rbx, qword [rbp + 0x87]
test rbx, rbx
jne 0x140127413
lea r8, str.pullPartialVolumeBackupSize
mov edx, 0x175
lea rcx, str.base_stor_blbengine_blbengutils_blbcatalogutils.cpp
call fcn.14008f4c8
mov rax, qword [rbp + 0x77]
and qword [rbx], rsi
and qword [rax], rsi
mov rax, qword [rbp + 0x6f]
and qword [rax], rsi
mov rax, qword [rbp + 0x7f]
and qword [rax], rsi
mov eax, dword [r14 + 8]
sub eax, 2
cmp eax, 2
jbe 0x140127441
mov ebx, 0x80070057
jmp 0x140127838
lea rcx, [rbp - 0x41]
call fcn.1400978dc
mov ebx, eax
test eax, eax
js 0x140127834
cmp dword [r14 + 8], 4
jne 0x14012761e
mov r12, qword [rbp + 0x57]
mov dl, 1
mov rcx, r12
call fcn.140105978
mov ebx, eax
test eax, eax
js 0x140127834
mov rsi, qword [rbp - 0x41]
lea r8, [rbp - 0x51]
mov rcx, qword [r14 + 0x10]
mov rdx, rsi
call fcn.14011c7bc
mov ebx, eax
test eax, eax
js 0x140127615
mov rbx, qword [r14 + 0x10]
lea r9, [rbp - 0x19]
and qword [rbp - 0x49], rdi
lea r8, [rbp - 0x31]
and qword [rbp - 0x39], rdi
lea rdx, [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x1401274cc
mov rcx, rbx
call fcn.14013f1f4
mov ebx, eax
jmp 0x1401274de
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x39], rax
xor ebx, ebx
test ebx, ebx
jns 0x140127527
mov rcx, qword [0x140183048]
lea r12, [0x140183048]
cmp rcx, r12
je 0x14012751e
test byte [rcx + 0x1c], 1
je 0x14012751e
cmp byte [rcx + 0x19], 2
jb 0x14012751e
mov r9, qword [r14 + 0x10]
mov edx, 0x18
mov dword [rsp + 0x20], ebx
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bb00]
call fcn.140005f80
mov rdi, qword [rbp - 0x51]
jmp 0x14012783f
mov rdi, qword [rbp - 0x51]
lea rax, [rbp - 0x21]
mov r9, qword [r14 + 0x58]
xor edx, edx
mov r8, qword [r14 + 0x50]
mov rcx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14011bfdc
mov ebx, eax
test eax, eax
jns 0x1401275b2
mov rcx, qword [0x140183048]
lea r12, [0x140183048]
cmp rcx, r12
je 0x14012783f
test byte [rcx + 0x1c], 1
je 0x14012783f
cmp byte [rcx + 0x19], 2
jb 0x14012783f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bb00]
mov edx, 0x19
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140005f80
jmp 0x14012783f
mov rcx, r12
call fcn.140105b24
mov r13, qword [rbp - 0x21]
lea r14, [0x140183048]
mov r12, qword [rbp - 0x29]
mov rcx, qword [0x140183048]
cmp rcx, r14
je 0x14012780b
test byte [rcx + 0x1c], 1
je 0x14012780b
cmp byte [rcx + 0x19], 4
mov r14, qword [rbp - 0x49]
jb 0x14012780f
mov rax, qword [rbp - 0x39]
mov r9, r12
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1401269c4
jmp 0x14012780f
mov rdi, qword [rbp - 0x51]
jmp 0x140127838
mov rcx, qword [rbp + 0x67]
lea r8, [rbp - 0x31]
lea rdx, [0x14015ab98]
call fcn.14009047c
mov r15, qword [rbp - 0x31]
mov ebx, eax
test eax, eax
js 0x140127834
and qword [rbp - 0x49], rsi
lea r9, [rbp - 9]
and qword [rbp - 0x39], rsi
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x19]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x140127673
mov rcx, r15
call fcn.14013f1f4
mov ebx, eax
jmp 0x140127685
mov rax, qword [rbp - 0x11]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x39], rax
xor ebx, ebx
mov rsi, qword [rbp - 0x41]
test ebx, ebx
js 0x140127838
lea r8, [rbp - 0x51]
mov rdx, rsi
mov rcx, r15
call fcn.14011c5a8
mov ebx, eax
test eax, eax
jns 0x1401276e2
mov rcx, qword [0x140183048]
lea r12, [0x140183048]
cmp rcx, r12
je 0x14012751e
test byte [rcx + 0x1c], 1
je 0x14012751e
cmp byte [rcx + 0x19], 2
jb 0x14012751e
mov edx, 0x1a
mov dword [rsp + 0x20], eax
mov r9, r15
jmp 0x14012750e
mov rdi, qword [rbp - 0x51]
test rdi, rdi
jne 0x140127731
mov rcx, qword [0x140183048]
lea r14, [0x140183048]
cmp rcx, r14
je 0x14012780b
test byte [rcx + 0x1c], 1
je 0x1401275d0
cmp byte [rcx + 0x19], 4
jb 0x1401275d0
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x1b]
mov r9, r15
lea r8, [0x14016bb00]
call fcn.140005f10
jmp 0x1401275c9
mov rdx, qword [rbp + 0x67]
lea rax, [rbp + 0x5f]
mov rcx, qword [rbp + 0x4f]
mov r9b, 1
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.14011a840
test eax, eax
jns 0x14012778a
mov rcx, qword [0x140183048]
lea r12, [0x140183048]
cmp rcx, r12
je 0x140127791
test byte [rcx + 0x1c], 1
je 0x140127791
cmp byte [rcx + 0x19], 3
jb 0x140127791
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bb00]
mov edx, 0x1c
mov r9d, eax
call fcn.140004e7c
jmp 0x140127791
lea r12, [0x140183048]
mov r9, qword [r14 + 0x58]
lea rax, [rbp - 0x21]
mov r8, qword [r14 + 0x50]
mov rcx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x60]
mov r14, qword [rbp + 0x5f]
mov rdx, r14
mov qword [rsp + 0x20], rax
call fcn.14011bfdc
mov ebx, eax
test eax, eax
jns 0x1401275ba
mov rcx, qword [0x140183048]
cmp rcx, r12
je 0x140127843
test byte [rcx + 0x1c], 1
je 0x140127843
cmp byte [rcx + 0x19], 2
jb 0x140127843
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bb00]
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140005f80
jmp 0x140127843
mov r14, qword [rbp - 0x49]
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x77]
mov qword [rax], r12
mov rax, qword [rbp - 0x39]
mov qword [rcx], rax
mov rax, qword [rbp + 0x6f]
mov qword [rax], r14
mov rax, qword [rbp + 0x87]
mov qword [rax], r13
jmp 0x140127838
mov rsi, qword [rbp - 0x41]
lea r12, [0x140183048]
mov r14, qword [rbp + 0x5f]
mov rcx, qword [rbp + 0x57]
call fcn.140105b24
test rsi, rsi
je 0x140127860
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rdi, rdi
je 0x140127874
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x140127890
mov rcx, r14
call fcn.1400a173c
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x1401278a4
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
cmp rcx, r12
je 0x1401278d1
test byte [rcx + 0x1c], 1
je 0x1401278d1
cmp byte [rcx + 0x19], 4
jb 0x1401278d1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bb00]
mov edx, 0x1f
call fcn.140004e50
mov eax, ebx
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret