Function at 0x1400278e0
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rbp, r8
mov r14, rdx
mov r13, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140027937
test byte [rcx + 0x1c], 1
je 0x140027937
cmp byte [rcx + 0x19], 4
jb 0x140027937
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov edx, 0x238
call fcn.140004b70
xor ebx, ebx
mov edi, ebx
mov r15d, ebx
mov esi, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0xa0], ebx
cmp dword [r13 + 0x170], ebx
ja 0x14002796d
lea r8, str.m_cVolume___0
mov edx, 0x3469
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400876c8
test r14, r14
jne 0x14002798a
lea r8, str.prgVolumes
mov edx, 0x346a
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400876c8
mov qword [r14], rbx
mov dword [rbp], ebx
mov eax, dword [r13 + 0x170]
test eax, eax
je 0x1400279c3
mov rcx, qword [r13 + 0xd8]
mov edx, eax
add rcx, 0x14
cmp dword [rcx], 0xc
lea eax, [r15 + 1]
lea rcx, [rcx + 0x170]
cmove eax, r15d
mov r15d, eax
sub rdx, 1
jne 0x1400279a8
mov eax, r15d
imul rbp, rax, 0x78
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r12, rax
test rax, rax
jne 0x1400279eb
mov edi, 0x8007000e
jmp 0x140027c82
mov r8, rbp
xor edx, edx
mov rcx, r12
call sub.msvcrt.dll_memset
mov eax, ebx
mov dword [rsp + 0xb8], eax
cmp dword [r13 + 0x170], ebx
jbe 0x140027bf7
imul r14, rax, 0x170
add r14, qword [r13 + 0xd8]
test rsi, rsi
je 0x140027a35
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x30], rbx
mov edx, dword [r14 + 0x54]
lea rcx, [r14 + 0x44]
xor r9d, r9d
lea r8, [rsp + 0x30]
call fcn.14008b4a4
mov edi, eax
test eax, eax
js 0x140027d7a
cmp dword [r14 + 0x14], 0xc
mov rsi, qword [rsp + 0x30]
jne 0x140027aa8
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140027bd2
test byte [rcx + 0x1c], 1
je 0x140027bd2
cmp byte [rcx + 0x19], 4
jb 0x140027bd2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov edx, 0x23a
mov r9, rsi
call fcn.140005c30
jmp 0x140027bd2
movups xmm0, xmmword [r14 + 0x44]
mov ecx, dword [rsp + 0xa0]
xor r8d, r8d
imul rbp, rcx, 0x78
inc ecx
add rbp, r12
mov dword [rsp + 0xa0], ecx
movdqu xmmword [rbp], xmm0
lea rdx, [rbp + 0x18]
movups xmm1, xmmword [r14 + 0x138]
movdqu xmmword [rbp + 0x50], xmm1
mov eax, dword [r14 + 0x54]
mov dword [rbp + 0x10], eax
mov eax, dword [r14 + 0x40]
mov dword [rbp + 0x40], eax
mov rcx, qword [r14 + 0x58]
call fcn.14008859c
mov edi, eax
test eax, eax
js 0x140027c2a
mov rcx, qword [r14 + 0x60]
lea rdx, [rbp + 0x20]
xor r8d, r8d
call fcn.14008859c
mov edi, eax
test eax, eax
js 0x140027c2a
mov byte [rbp + 0x28], bl
lea r8, [rbp + 0x14]
mov al, byte [r14 + 0x68]
mov dl, 1
mov rcx, rsi
mov byte [rbp + 0x29], al
call fcn.14013603c
mov edi, eax
test eax, eax
js 0x140027d48
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.140134e20
mov edi, eax
test eax, eax
js 0x140027d16
lea r9, [rsp + 0x40]
mov qword [rbp + 0x38], rbx
lea r8, [rsp + 0x48]
mov rcx, rsi
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x140027b82
mov rcx, rsi
call fcn.1401373d4
mov edi, eax
jmp 0x140027b8d
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x38], rax
mov edi, ebx
test edi, edi
js 0x140027cca
mov rdx, qword [r14 + 0x70]
lea r9, [rbp + 0x48]
movzx ecx, word [r14 + 0x6a]
lea r8, [rbp + 0x44]
call fcn.14008b5c0
mov edi, eax
test eax, eax
js 0x140027c2a
mov rax, qword [r14 + 0xe8]
mov qword [rbp + 0x60], rax
mov rax, qword [r14 + 0xf0]
mov qword [rbp + 0x68], rax
mov rax, qword [r14 + 0xf8]
mov qword [rbp + 0x70], rax
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
cmp eax, dword [r13 + 0x170]
jb 0x140027a0e
mov r14, qword [rsp + 0xa8]
cmp r15d, dword [rsp + 0xa0]
je 0x140027c19
lea r8, str.cVolume__iVolume
mov edx, 0x34d8
lea rcx, str.base_stor_blbengine_service_backup.cpp
call fcn.1400876c8
mov rax, qword [rsp + 0xb0]
mov qword [r14], r12
mov r12, rbx
mov dword [rax], r15d
mov rcx, qword [0x14017a048]
test rsi, rsi
je 0x140027c4c
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test r12, r12
je 0x140027c89
cmp dword [r13 + 0x170], ebx
jbe 0x140027c73
mov eax, ebx
imul rcx, rax, 0x78
add rcx, r12
call fcn.140102390
inc ebx
cmp ebx, dword [r13 + 0x170]
jb 0x140027c5a
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140027cb6
test byte [rcx + 0x1c], 1
je 0x140027cb6
cmp byte [rcx + 0x19], 4
jb 0x140027cb6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov edx, 0x23e
call fcn.140004b70
mov eax, edi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140027c31
test byte [rcx + 0x1c], 1
je 0x140027c31
cmp byte [rcx + 0x19], 2
jb 0x140027c31
mov edx, 0x23d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov r9, rsi
mov dword [rsp + 0x20], edi
call fcn.140005ca0
jmp 0x140027c2a
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140027c31
test byte [rcx + 0x1c], 1
je 0x140027c31
cmp byte [rcx + 0x19], 2
jb 0x140027c31
mov edx, 0x23c
jmp 0x140027cfa
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140027c31
test byte [rcx + 0x1c], 1
je 0x140027c31
cmp byte [rcx + 0x19], 2
jb 0x140027c31
mov edx, 0x23b
jmp 0x140027cfa
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140027dbb
test byte [rcx + 0x1c], 1
je 0x140027dbb
cmp byte [rcx + 0x19], 2
jb 0x140027dbb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155270]
mov edx, 0x239
mov r9d, edi
call fcn.140004b9c
mov rsi, qword [rsp + 0x30]
jmp 0x140027c2a
mov rsi, qword [rsp + 0x30]
jmp 0x140027c31