Function at 0x14010efbc
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
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 [0x140170608]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r15, rdx
mov rsi, rcx
test rdx, rdx
jg 0x14010f019
lea r8, str.llSpaceRequired___0
mov edx, 0x10d6
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008388c
lea rax, [0x140170048]
mov r13d, 1
mov rcx, qword [0x140170048]
cmp rcx, rax
je 0x14010f053
test byte [rcx + 0x1c], r13b
je 0x14010f053
cmp byte [rcx + 0x19], 4
jb 0x14010f053
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
lea r8, [0x140158960]
mov rcx, qword [rcx + 0x10]
call fcn.140004c54
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 [0x14014fd28]
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]
mov ebx, eax
test eax, eax
jns 0x14010f102
mov rcx, qword [0x140170048]
lea rdi, [0x140170048]
cmp rcx, rdi
je 0x14010f5c2
test byte [rcx + 0x1c], r13b
je 0x14010f5c2
cmp byte [rcx + 0x19], 2
jb 0x14010f5c2
mov edx, 0x97
mov r9d, eax
lea r8, [0x140158960]
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
jmp 0x14010f5c2
lea rdi, str.sdkinc_atlmfc_atlcomcli.h
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14010f12c
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008388c
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x28]
call qword [case.0x140005adb.0]
mov ebx, eax
test eax, eax
jns 0x14010f176
mov rcx, qword [0x140170048]
lea rdi, [0x140170048]
cmp rcx, rdi
je 0x14010f5c2
test byte [rcx + 0x1c], r13b
je 0x14010f5c2
cmp byte [rcx + 0x19], 2
jb 0x14010f5c2
mov edx, 0x98
jmp 0x14010f0ea
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14010f199
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008388c
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x118]
call qword [case.0x140005adb.0]
mov ebx, eax
test eax, eax
jns 0x14010f1e7
mov rcx, qword [0x140170048]
lea rdi, [0x140170048]
cmp rcx, rdi
je 0x14010f5c2
test byte [rcx + 0x1c], r13b
je 0x14010f5c2
cmp byte [rcx + 0x19], 2
jb 0x14010f5c2
mov edx, 0x99
jmp 0x14010f0ea
movups xmm0, xmmword [0x14014fd28]
movdqu xmmword [rbp - 0x40], xmm0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x14010f216
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008388c
mov rbx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], 0
je 0x14010f232
lea r8, str.p0
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, rdi
call fcn.14008388c
mov rax, qword [rbx]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov r8d, r13d
lea rdx, [rbp - 0x40]
mov rcx, rbx
mov rax, qword [rax + 0x158]
call qword [case.0x140005adb.0]
mov ebx, eax
test eax, eax
jns 0x14010f297
mov rcx, qword [0x140170048]
lea rdi, [0x140170048]
cmp rcx, rdi
je 0x14010f5c2
test byte [rcx + 0x1c], r13b
je 0x14010f5c2
cmp byte [rcx + 0x19], 2
jb 0x14010f5c2
mov edx, 0x9a
jmp 0x14010f0ea
lea rcx, [rbp - 8]
call qword [sym.imp.VSSAPI.DLL_VssFreeSnapshotPropertiesInternal]
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14010f2d5
lea r8, str.p_0
mov edx, 0x9a
mov rcx, rdi
call fcn.14008388c
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x10]
mov edx, r13d
mov rax, qword [rax + 0x18]
call qword [case.0x140005adb.0]
mov ebx, eax
test eax, eax
js 0x14010f592
cmp eax, r13d
je 0x14010f424
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14010f297
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 0x14010f33b
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jmp 0x14010f3ac
mov rbx, r9
xor edx, edx
test ecx, ecx
je 0x14010f372
test rbx, rbx
je 0x14010f6b5
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 0x14010f372
add edx, r13d
cmp edx, ecx
jb 0x14010f344
cmp edx, ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
jne 0x14010f3a7
xor r9d, r9d
mov r8, qword [rsp + 0x60]
call fcn.14010f8bc
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14010f39b
mov qword [rcx], rax
jmp 0x14010f3a0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
jmp 0x14010f41c
test rbx, rbx
jne 0x14010f3d0
xor r8d, r8d
call fcn.14010f8bc
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14010f3c4
mov qword [rcx + 8], rax
jmp 0x14010f3c9
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rax
jmp 0x14010f41c
mov r9, rbx
mov r8, qword [rbx + 8]
call fcn.14010f8bc
mov rdi, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14010f3ed
mov qword [rax], rdi
jmp 0x14010f411
cmp rbx, qword [rsp + 0x58]
je 0x14010f40c
lea r8, str.pOldNode__m_pHead
mov edx, 0x6ab
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.14008388c
mov qword [rsp + 0x58], rdi
mov qword [rbx + 8], rdi
lea rdi, str.sdkinc_atlmfc_atlcomcli.h
add r14d, r13d
jmp 0x14010f297
cmp dword [rsp + 0x48], 0
je 0x14010f443
lea r8, str.ulFetched__0
mov edx, 0x111b
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008388c
cmp r14d, dword [rsp + 0x68]
je 0x14010f462
lea r8, str.dwSnapshotCount___DWORD_snapshotList.GetCount__
mov edx, 0x114a
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008388c
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]
test eax, eax
jne 0x14010f48c
xor ecx, ecx
call fcn.14012db30
mov ebx, eax
jmp 0x14010f492
mov rsi, qword [rbp - 0x50]
xor ebx, ebx
test ebx, ebx
js 0x14010f5bb
cmp rsi, r15
jae 0x14010f5bb
cmp r14d, r13d
jbe 0x14010f55e
test rdi, rdi
je 0x14010f692
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 0x14010f4f5
lea r8, str.p_0
mov edx, 0x9a
lea rcx, str.sdkinc_atlmfc_atlcomcli.h
call fcn.14008388c
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, r13d
mov r8d, 3
lea rdx, [rbp - 0x70]
mov rax, qword [rax + 0x138]
call qword [case.0x140005adb.0]
mov ebx, eax
test eax, eax
js 0x14010f535
dec r14d
jmp 0x14010f467
mov rcx, qword [0x140170048]
lea rdi, [0x140170048]
cmp rcx, rdi
je 0x14010f5c2
test byte [rcx + 0x1c], r13b
je 0x14010f5c2
cmp byte [rcx + 0x19], 2
jb 0x14010f5c2
mov edx, LoadRegTypeLib
jmp 0x14010f0ea
mov ebx, 0x8078015e
mov rcx, qword [0x140170048]
lea rdi, [0x140170048]
cmp rcx, rdi
je 0x14010f5c2
test byte [rcx + 0x1c], r13b
je 0x14010f5c2
cmp byte [rcx + 0x19], 2
jb 0x14010f5c2
mov edx, 0x9c
mov r9d, 0x8078015e
jmp 0x14010f0ed
mov rcx, qword [0x140170048]
lea rdi, [0x140170048]
cmp rcx, rdi
je 0x14010f5c2
test byte [rcx + 0x1c], r13b
je 0x14010f5c2
cmp byte [rcx + 0x19], 2
jb 0x14010f5c2
mov edx, 0x9b
jmp 0x14010f0ea
lea rdi, [0x140170048]
lea rcx, [rbp - 8]
call qword [sym.imp.VSSAPI.DLL_VssFreeSnapshotPropertiesInternal]
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov rcx, qword [0x140170048]
cmp rcx, rdi
je 0x14010f60b
test byte [rcx + 0x1c], r13b
je 0x14010f60b
cmp byte [rcx + 0x19], 4
jb 0x14010f60b
mov edx, LoadRegTypeLib
lea r8, [0x140158960]
mov rcx, qword [rcx + 0x10]
call fcn.140004c54
nop
lea rcx, [rsp + 0x58]
call fcn.1401053b8
cmp qword [rsp + 0x68], 0
je 0x14010f636
lea r8, str.m_nElements__0
mov edx, 0x58b
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.14008388c
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14010f64e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14010f665
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140141360
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
lea r8, str.__atl_condVal
mov edx, 0x520
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.14008388c
mov ecx, 0x80004005
call fcn.140001c2c
int3
lea r8, str.__atl_condVal
mov edx, 0x520
lea rcx, str.sdkinc_atlmfc_atlcoll.h
call fcn.14008388c
mov ecx, 0x80004005
call fcn.140001c2c
int3