Function at 0x14002d0a8
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rdi, rcx
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14002d0f3
test byte [rcx + 0x1c], 1
je 0x14002d0f3
cmp byte [rcx + 0x19], 4
jb 0x14002d0f3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov edx, 0x2a7
call fcn.140004b70
mov ecx, dword [rdi + 0x170]
xor r12d, r12d
and qword [rbp + 0x50], r12
xor esi, esi
and qword [rbp + 0x48], r12
xor r15d, r15d
shl rcx, 4
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], r15
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rbp - 0x18], rax
mov rbx, rax
test rax, rax
jne 0x14002d137
mov ebx, 0x8007000e
jmp 0x14002d434
mov ecx, dword [rdi + 0x170]
shl rcx, 2
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r13, rax
test rax, rax
jne 0x14002d15f
mov ebx, 0x8007000e
jmp 0x14002d3d4
mov ecx, dword [rdi + 0x170]
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r12, rax
test rax, rax
je 0x14002d155
mov eax, dword [rdi + 0x170]
xor r9d, r9d
test eax, eax
je 0x14002d1ca
mov rax, qword [rdi + 0xd8]
mov r8d, r9d
imul rdx, r8, 0x170
mov ecx, r9d
add rcx, rcx
movups xmm0, xmmword [rdx + rax + 0x44]
movdqu xmmword [rbx + rcx*8], xmm0
mov rax, qword [rdi + 0xd8]
mov ecx, dword [rdx + rax + 0x54]
mov dword [r13 + r9*4], ecx
mov byte [r9 + r12], 1
inc r9d
mov eax, dword [rdi + 0x170]
cmp r9d, eax
jb 0x14002d186
lea rcx, [rbp + 0x48]
mov r9, r13
mov qword [rsp + 0x38], rcx
mov r8, rbx
lea rcx, [rbp + 0x50]
xor edx, edx
mov qword [rsp + 0x30], rcx
mov rcx, qword [rdi + 0x238]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
call fcn.1401141dc
mov ebx, eax
test eax, eax
js 0x14002d3d4
mov rcx, qword [rdi + 0x158]
lea r8, [rbp + 0x58]
lea rdx, [0x140152808]
call fcn.14008867c
mov rsi, qword [rbp + 0x58]
mov ebx, eax
test eax, eax
js 0x14002d3d4
xor eax, eax
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x28]
mov qword [rbp + 0x48], rax
lea rdx, [rbp - 0x20]
mov rcx, rsi
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d25f
mov rcx, rsi
call fcn.1401373d4
mov ebx, eax
mov eax, r14d
jmp 0x14002d26d
mov rax, qword [rbp - 0x28]
mov r14, qword [rbp - 0x20]
mov qword [rbp + 0x48], rax
xor ebx, ebx
test ebx, ebx
js 0x14002d3cd
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x14002d2b1
test byte [rcx + 0x1c], 1
je 0x14002d2b1
cmp byte [rcx + 0x19], 4
jb 0x14002d2b1
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1400108c4
mov rcx, qword [0x14017a048]
mov eax, dword [rdi + 0x150]
mov edx, eax
cmp eax, 2
je 0x14002d2ed
cmp eax, 3
je 0x14002d2ed
cmp eax, 4
je 0x14002d2ed
lea r8, str.m_eMediaType__BLB_MT_FIXED__m_eMediaType__BLB_MT_YANKABLE__m_eMediaType__BLB_MT_NETWORK_SHARE
mov edx, 0x40be
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400876c8
mov edx, dword [rdi + 0x150]
mov rcx, qword [0x14017a048]
mov eax, 0x3c
cmp edx, 4
lea r14d, [rax + 0x14]
cmovne r14d, eax
movabs rax, 0x47ae147ae147ae15
imul r14, qword [rbp + 0x48]
mul r14
sub r14, rdx
shr r14, 1
add r14, rdx
shr r14, 6
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14002d352
test byte [rcx + 0x1c], 1
je 0x14002d352
cmp byte [rcx + 0x19], 4
jb 0x14002d352
mov r9, qword [rbp + 0x50]
lea r8, [0x140155270]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2a9
mov qword [rsp + 0x20], r14
call fcn.140004d18
cmp qword [rbp + 0x50], r14
jbe 0x14002d3cd
mov edx, dword [rdi + 0x150]
lea r8, [rbp + 0x60]
mov rcx, qword [rdi + 0x158]
call fcn.14010f39c
mov r15, qword [rbp + 0x60]
test eax, eax
js 0x14002d390
mov rdx, qword [rdi + 0x160]
lea r8, [0x14015e038]
mov rcx, r15
call fcn.1400df620
test eax, eax
jns 0x14002d3cd
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x14002d3d4
test byte [rcx + 0x1c], 1
je 0x14002d3d4
cmp byte [rcx + 0x19], 2
jb 0x14002d3d4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov edx, 0x2aa
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140005ca0
jmp 0x14002d3d4
lea r14, [0x14017a048]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x14002d3f8
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x14002d40c
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rsi, rsi
je 0x14002d420
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x14002d434
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14002d461
test byte [rcx + 0x1c], 1
je 0x14002d461
cmp byte [rcx + 0x19], 4
jb 0x14002d461
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov edx, 0x2ab
call fcn.140004b70
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret