Function at 0x140117688
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 [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r12, rdx
mov rsi, rcx
test rdx, rdx
jg 0x1401176e5
lea r8, str.llSpaceRequired___0
mov edx, 0x10d6
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.1400876c8
lea rax, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rax
je 0x140117719
test byte [rcx + 0x1c], 1
je 0x140117719
cmp byte [rcx + 0x19], 4
jb 0x140117719
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
lea r8, [0x140162a30]
mov rcx, qword [rcx + 0x10]
call fcn.140004b70
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 [0x140159df8]
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 0x1401177d5
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140117cab
test byte [rcx + 0x1c], 1
je 0x140117cab
cmp byte [rcx + 0x19], 2
jb 0x140117cab
mov edx, 0x97
mov r9d, eax
lea r8, [0x140162a30]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
jmp 0x140117cab
lea rdi, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x1401177ff
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.1400876c8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x28]
call qword [case.0x140005b13.0]
mov ebx, eax
test eax, eax
jns 0x140117849
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140117cab
test byte [rcx + 0x1c], 1
je 0x140117cab
cmp byte [rcx + 0x19], 2
jb 0x140117cab
mov edx, 0x98
jmp 0x1401177bd
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14011786c
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.1400876c8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x118]
call qword [case.0x140005b13.0]
mov ebx, eax
test eax, eax
jns 0x1401178ba
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140117cab
test byte [rcx + 0x1c], 1
je 0x140117cab
cmp byte [rcx + 0x19], 2
jb 0x140117cab
mov edx, 0x99
jmp 0x1401177bd
movups xmm0, xmmword [0x140159df8]
movdqu xmmword [rbp - 0x40], xmm0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1401178e9
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.1400876c8
mov rbx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], 0
je 0x140117905
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, rdi
call fcn.1400876c8
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.0x140005b13.0]
mov ebx, eax
test eax, eax
jns 0x14011796b
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140117cab
test byte [rcx + 0x1c], 1
je 0x140117cab
cmp byte [rcx + 0x19], 2
jb 0x140117cab
mov edx, 0x9a
jmp 0x1401177bd
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 0x1401179af
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.1400876c8
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.0x140005b13.0]
mov ebx, eax
test eax, eax
js 0x140117c7b
cmp eax, 1
je 0x140117b05
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14011796b
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 0x140117a21
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jmp 0x140117a91
mov rbx, r9
xor edx, edx
test ecx, ecx
je 0x140117a57
test rbx, rbx
je 0x140117d7e
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 0x140117a57
inc edx
cmp edx, ecx
jb 0x140117a2a
cmp edx, ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jne 0x140117a8c
xor r9d, r9d
mov r8, qword [rsp + 0x60]
call fcn.140117fb0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140117a80
mov qword [rcx], rax
jmp 0x140117a85
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
jmp 0x140117afd
test rbx, rbx
jne 0x140117ab5
xor r8d, r8d
call fcn.140117fb0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140117aa9
mov qword [rcx + 8], rax
jmp 0x140117aae
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rax
jmp 0x140117afd
mov r9, rbx
mov r8, qword [rbx + 8]
call fcn.140117fb0
mov rdi, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140117ad2
mov qword [rax], rdi
jmp 0x140117af2
cmp rbx, qword [rsp + 0x58]
je 0x140117aed
lea r8, str.pOldNode__m_pHead
mov edx, 0x6ad
mov rcx, r15
call fcn.1400876c8
mov qword [rsp + 0x58], rdi
mov qword [rbx + 8], rdi
lea rdi, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
inc r14d
jmp 0x14011796b
cmp dword [rsp + 0x48], 0
je 0x140117b24
lea r8, str.ulFetched__0
mov edx, 0x111b
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.1400876c8
cmp r14d, dword [rsp + 0x68]
je 0x140117b43
lea r8, str.dwSnapshotCount___DWORD_snapshotList.GetCount__
mov edx, 0x114a
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.1400876c8
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 0x140117b73
xor ecx, ecx
call fcn.1401373d4
mov ebx, eax
jmp 0x140117b79
mov rsi, qword [rbp - 0x50]
xor ebx, ebx
test ebx, ebx
js 0x140117ca4
cmp rsi, r12
jae 0x140117ca4
cmp r14d, 1
jbe 0x140117c47
test rdi, rdi
je 0x140117d7e
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 0x140117bdd
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlcomcli.h
call fcn.1400876c8
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.0x140005b13.0]
mov ebx, eax
test eax, eax
js 0x140117c1e
dec r14d
jmp 0x140117b48
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140117cab
test byte [rcx + 0x1c], 1
je 0x140117cab
cmp byte [rcx + 0x19], 2
jb 0x140117cab
mov edx, LoadRegTypeLib
jmp 0x1401177bd
mov ebx, 0x8078015e
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140117cab
test byte [rcx + 0x1c], 1
je 0x140117cab
cmp byte [rcx + 0x19], 2
jb 0x140117cab
mov edx, 0x9c
mov r9d, 0x8078015e
jmp 0x1401177c0
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140117cab
test byte [rcx + 0x1c], 1
je 0x140117cab
cmp byte [rcx + 0x19], 2
jb 0x140117cab
mov edx, 0x9b
jmp 0x1401177bd
lea rdi, [0x14017a048]
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 [0x14017a048]
cmp rcx, rdi
je 0x140117cfa
test byte [rcx + 0x1c], 1
je 0x140117cfa
cmp byte [rcx + 0x19], 4
jb 0x140117cfa
mov edx, LoadRegTypeLib
lea r8, [0x140162a30]
mov rcx, qword [rcx + 0x10]
call fcn.140004b70
nop
lea rcx, [rsp + 0x58]
call fcn.14010d4c4
cmp qword [rsp + 0x68], 0
je 0x140117d21
lea r8, str.m_nElements__0
mov edx, 0x58d
mov rcx, r15
call fcn.1400876c8
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140117d39
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140117d50
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14014b700
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.1400876c8
mov ecx, 0x80004005
call fcn.140001950
int3