Function at 0x140117ac8
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 [0x14017b608]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r12, rdx
mov rsi, rcx
test rdx, rdx
jg 0x140117b25
lea r8, str.llSpaceRequired___0
mov edx, 0x10d6
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.140087b08
lea rax, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, rax
je 0x140117b59
test byte [rcx + 0x1c], 1
je 0x140117b59
cmp byte [rcx + 0x19], 4
jb 0x140117b59
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
lea r8, [0x140163ba0]
mov rcx, qword [rcx + 0x10]
call fcn.140004c10
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 [0x14015af68]
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 0x140117c15
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x1401180eb
test byte [rcx + 0x1c], 1
je 0x1401180eb
cmp byte [rcx + 0x19], 2
jb 0x1401180eb
mov edx, 0x97
mov r9d, eax
lea r8, [0x140163ba0]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
jmp 0x1401180eb
lea rdi, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x140117c3f
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.140087b08
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x28]
call qword [case.0x140005bb3.0]
mov ebx, eax
test eax, eax
jns 0x140117c89
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x1401180eb
test byte [rcx + 0x1c], 1
je 0x1401180eb
cmp byte [rcx + 0x19], 2
jb 0x1401180eb
mov edx, 0x98
jmp 0x140117bfd
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x140117cac
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.140087b08
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x118]
call qword [case.0x140005bb3.0]
mov ebx, eax
test eax, eax
jns 0x140117cfa
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x1401180eb
test byte [rcx + 0x1c], 1
je 0x1401180eb
cmp byte [rcx + 0x19], 2
jb 0x1401180eb
mov edx, 0x99
jmp 0x140117bfd
movups xmm0, xmmword [0x14015af68]
movdqu xmmword [rbp - 0x40], xmm0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x140117d29
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.140087b08
mov rbx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], 0
je 0x140117d45
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, rdi
call fcn.140087b08
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.0x140005bb3.0]
mov ebx, eax
test eax, eax
jns 0x140117dab
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x1401180eb
test byte [rcx + 0x1c], 1
je 0x1401180eb
cmp byte [rcx + 0x19], 2
jb 0x1401180eb
mov edx, 0x9a
jmp 0x140117bfd
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 0x140117def
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.140087b08
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.0x140005bb3.0]
mov ebx, eax
test eax, eax
js 0x1401180bb
cmp eax, 1
je 0x140117f45
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140117dab
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 0x140117e61
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jmp 0x140117ed1
mov rbx, r9
xor edx, edx
test ecx, ecx
je 0x140117e97
test rbx, rbx
je 0x1401181be
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 0x140117e97
inc edx
cmp edx, ecx
jb 0x140117e6a
cmp edx, ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jne 0x140117ecc
xor r9d, r9d
mov r8, qword [rsp + 0x60]
call fcn.1401183f0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140117ec0
mov qword [rcx], rax
jmp 0x140117ec5
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
jmp 0x140117f3d
test rbx, rbx
jne 0x140117ef5
xor r8d, r8d
call fcn.1401183f0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140117ee9
mov qword [rcx + 8], rax
jmp 0x140117eee
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rax
jmp 0x140117f3d
mov r9, rbx
mov r8, qword [rbx + 8]
call fcn.1401183f0
mov rdi, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140117f12
mov qword [rax], rdi
jmp 0x140117f32
cmp rbx, qword [rsp + 0x58]
je 0x140117f2d
lea r8, str.pOldNode__m_pHead
mov edx, 0x6ad
mov rcx, r15
call fcn.140087b08
mov qword [rsp + 0x58], rdi
mov qword [rbx + 8], rdi
lea rdi, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
inc r14d
jmp 0x140117dab
cmp dword [rsp + 0x48], 0
je 0x140117f64
lea r8, str.ulFetched__0
mov edx, 0x111b
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.140087b08
cmp r14d, dword [rsp + 0x68]
je 0x140117f83
lea r8, str.dwSnapshotCount___DWORD_snapshotList.GetCount__
mov edx, 0x114a
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.140087b08
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 0x140117fb3
xor ecx, ecx
call fcn.140137834
mov ebx, eax
jmp 0x140117fb9
mov rsi, qword [rbp - 0x50]
xor ebx, ebx
test ebx, ebx
js 0x1401180e4
cmp rsi, r12
jae 0x1401180e4
cmp r14d, 1
jbe 0x140118087
test rdi, rdi
je 0x1401181be
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 0x14011801d
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.140087b08
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.0x140005bb3.0]
mov ebx, eax
test eax, eax
js 0x14011805e
dec r14d
jmp 0x140117f88
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x1401180eb
test byte [rcx + 0x1c], 1
je 0x1401180eb
cmp byte [rcx + 0x19], 2
jb 0x1401180eb
mov edx, LoadRegTypeLib
jmp 0x140117bfd
mov ebx, 0x8078015e
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x1401180eb
test byte [rcx + 0x1c], 1
je 0x1401180eb
cmp byte [rcx + 0x19], 2
jb 0x1401180eb
mov edx, 0x9c
mov r9d, 0x8078015e
jmp 0x140117c00
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x1401180eb
test byte [rcx + 0x1c], 1
je 0x1401180eb
cmp byte [rcx + 0x19], 2
jb 0x1401180eb
mov edx, 0x9b
jmp 0x140117bfd
lea rdi, [0x14017b048]
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 [0x14017b048]
cmp rcx, rdi
je 0x14011813a
test byte [rcx + 0x1c], 1
je 0x14011813a
cmp byte [rcx + 0x19], 4
jb 0x14011813a
mov edx, LoadRegTypeLib
lea r8, [0x140163ba0]
mov rcx, qword [rcx + 0x10]
call fcn.140004c10
nop
lea rcx, [rsp + 0x58]
call fcn.14010d904
cmp qword [rsp + 0x68], 0
je 0x140118161
lea r8, str.m_nElements__0
mov edx, 0x58d
mov rcx, r15
call fcn.140087b08
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140118179
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140118190
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14014bb60
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.140087b08
mov ecx, 0x80004005
call fcn.140001950
int3