Function at 0x14011f488
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r12, rdx
mov rsi, rcx
test rdx, rdx
jg 0x14011f4e5
lea r8, str.llSpaceRequired___0
mov edx, 0x10d6
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008f4c8
lea rax, [0x140183048]
mov rcx, qword [0x140183048]
cmp rcx, rax
je 0x14011f519
test byte [rcx + 0x1c], 1
je 0x14011f519
cmp byte [rcx + 0x19], 4
jb 0x14011f519
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
lea r8, [0x14016b250]
mov rcx, qword [rcx + 0x10]
call fcn.140004e50
and qword [rsp + 0x40], 0
and qword [rsp + 0x50], 0
and dword [rsp + 0x48], 0
and dword [rbp - 0x78], 0
xor r14d, r14d
movups xmm0, xmmword [0x140162618]
movdqu xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
and qword [rsp + 0x68], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], 0xa
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x40]
call qword [sym.imp.VSSAPI.DLL_CreateVssBackupComponentsInternal]
nop dword [rax + rax]
mov ebx, eax
lea r15, str.onecoreexternal_sdkinc_atlmfc_atlcoll.h
test eax, eax
jns 0x14011f5d5
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x14011faab
test byte [rcx + 0x1c], 1
je 0x14011faab
cmp byte [rcx + 0x19], 2
jb 0x14011faab
mov edx, 0x97
mov r9d, eax
lea r8, [0x14016b250]
mov rcx, qword [rcx + 0x10]
call fcn.140004e7c
jmp 0x14011faab
lea rdi, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14011f5ff
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008f4c8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x28]
call qword [case.0x140005df3.0]
mov ebx, eax
test eax, eax
jns 0x14011f649
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x14011faab
test byte [rcx + 0x1c], 1
je 0x14011faab
cmp byte [rcx + 0x19], 2
jb 0x14011faab
mov edx, 0x98
jmp 0x14011f5bd
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14011f66c
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008f4c8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x118]
call qword [case.0x140005df3.0]
mov ebx, eax
test eax, eax
jns 0x14011f6ba
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x14011faab
test byte [rcx + 0x1c], 1
je 0x14011faab
cmp byte [rcx + 0x19], 2
jb 0x14011faab
mov edx, 0x99
jmp 0x14011f5bd
movups xmm0, xmmword [0x140162618]
movdqu xmmword [rbp - 0x40], xmm0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x14011f6e9
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008f4c8
mov rbx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], 0
je 0x14011f705
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, rdi
call fcn.14008f4c8
mov rax, qword [rbx]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 3
lea r8d, [r9 - 2]
lea rdx, [rbp - 0x40]
mov rcx, rbx
mov rax, qword [rax + 0x158]
call qword [case.0x140005df3.0]
mov ebx, eax
test eax, eax
jns 0x14011f76b
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x14011faab
test byte [rcx + 0x1c], 1
je 0x14011faab
cmp byte [rcx + 0x19], 2
jb 0x14011faab
mov edx, 0x9a
jmp 0x14011f5bd
lea rcx, [rbp - 8]
call qword [sym.imp.VSSAPI.DLL_VssFreeSnapshotPropertiesInternal]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14011f7af
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008f4c8
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x10]
mov edx, 1
mov rax, qword [rax + 0x18]
call qword [case.0x140005df3.0]
mov ebx, eax
test eax, eax
js 0x14011fa7b
cmp eax, 1
je 0x14011f905
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14011f76b
movups xmm0, xmmword [rbp - 8]
movdqu xmmword [rbp - 0x70], xmm0
mov r8, qword [rbp + 0x68]
mov qword [rbp - 0x60], r8
mov ecx, dword [rsp + 0x68]
mov r9, qword [rsp + 0x58]
test ecx, ecx
jne 0x14011f821
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jmp 0x14011f891
mov rbx, r9
xor edx, edx
test ecx, ecx
je 0x14011f857
test rbx, rbx
je 0x14011fb7e
mov rax, rbx
mov rbx, qword [rbx]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rax + 0x20]
movsd qword [rbp - 0x30], xmm1
cmp qword [rbp - 0x30], r8
jg 0x14011f857
inc edx
cmp edx, ecx
jb 0x14011f82a
cmp edx, ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jne 0x14011f88c
xor r9d, r9d
mov r8, qword [rsp + 0x60]
call fcn.14011fdb0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14011f880
mov qword [rcx], rax
jmp 0x14011f885
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
jmp 0x14011f8fd
test rbx, rbx
jne 0x14011f8b5
xor r8d, r8d
call fcn.14011fdb0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14011f8a9
mov qword [rcx + 8], rax
jmp 0x14011f8ae
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rax
jmp 0x14011f8fd
mov r9, rbx
mov r8, qword [rbx + 8]
call fcn.14011fdb0
mov rdi, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14011f8d2
mov qword [rax], rdi
jmp 0x14011f8f2
cmp rbx, qword [rsp + 0x58]
je 0x14011f8ed
lea r8, str.pOldNode__m_pHead
mov edx, 0x6ad
mov rcx, r15
call fcn.14008f4c8
mov qword [rsp + 0x58], rdi
mov qword [rbx + 8], rdi
lea rdi, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
inc r14d
jmp 0x14011f76b
cmp dword [rsp + 0x48], 0
je 0x14011f924
lea r8, str.ulFetched__0
mov edx, 0x111b
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008f4c8
cmp r14d, dword [rsp + 0x68]
je 0x14011f943
lea r8, str.dwSnapshotCount___DWORD_snapshotList.GetCount__
mov edx, 0x114a
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008f4c8
mov rdi, qword [rsp + 0x58]
xor esi, esi
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x14011f973
xor ecx, ecx
call fcn.14013f1f4
mov ebx, eax
jmp 0x14011f979
mov rsi, qword [rbp - 0x50]
xor ebx, ebx
test ebx, ebx
js 0x14011faa4
cmp rsi, r12
jae 0x14011faa4
cmp r14d, 1
jbe 0x14011fa47
test rdi, rdi
je 0x14011fb7e
mov rax, rdi
mov rdi, qword [rdi]
movups xmm1, xmmword [rax + 0x10]
movsd xmm0, qword [rax + 0x20]
movsd qword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x70], xmm1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14011f9dd
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.14008f4c8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x20], rdx
mov r9d, 1
lea r8d, [r9 + 2]
lea rdx, [rbp - 0x70]
mov rax, qword [rax + 0x138]
call qword [case.0x140005df3.0]
mov ebx, eax
test eax, eax
js 0x14011fa1e
dec r14d
jmp 0x14011f948
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x14011faab
test byte [rcx + 0x1c], 1
je 0x14011faab
cmp byte [rcx + 0x19], 2
jb 0x14011faab
mov edx, LoadRegTypeLib
jmp 0x14011f5bd
mov ebx, 0x8078015e
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x14011faab
test byte [rcx + 0x1c], 1
je 0x14011faab
cmp byte [rcx + 0x19], 2
jb 0x14011faab
mov edx, 0x9c
mov r9d, 0x8078015e
jmp 0x14011f5c0
mov rcx, qword [0x140183048]
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x14011faab
test byte [rcx + 0x1c], 1
je 0x14011faab
cmp byte [rcx + 0x19], 2
jb 0x14011faab
mov edx, 0x9b
jmp 0x14011f5bd
lea rdi, [0x140183048]
lea rcx, [rbp - 8]
call qword [sym.imp.VSSAPI.DLL_VssFreeSnapshotPropertiesInternal]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov rcx, qword [0x140183048]
cmp rcx, rdi
je 0x14011fafa
test byte [rcx + 0x1c], 1
je 0x14011fafa
cmp byte [rcx + 0x19], 4
jb 0x14011fafa
mov edx, LoadRegTypeLib
lea r8, [0x14016b250]
mov rcx, qword [rcx + 0x10]
call fcn.140004e50
nop
lea rcx, [rsp + 0x58]
call fcn.1401152c4
cmp qword [rsp + 0x68], 0
je 0x14011fb21
lea r8, str.m_nElements__0
mov edx, 0x58d
mov rcx, r15
call fcn.14008f4c8
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14011fb39
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005df3.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14011fb50
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005df3.0]
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1401534b0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea r8, str.__atl_condVal
mov edx, 0x522
mov rcx, r15
call fcn.14008f4c8
mov ecx, 0x80004005
call fcn.140001b90
int3