Function at 0x1400ffc50
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400ffcb3
test byte [rcx + 0x1c], 1
je 0x1400ffcb3
cmp byte [rcx + 0x19], 4
jb 0x1400ffcb3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x40
call fcn.140004b70
xor ebx, ebx
test rsi, rsi
jne 0x1400ffcd2
lea r8, str.wszTargetName
mov edx, 0x533
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.1400876c8
lea rax, [0x140161300]
mov r15d, 4
mov qword [rsp + 0x30], rax
lea rax, [0x140161308]
mov qword [rsp + 0x38], rax
lea rax, [0x140161310]
mov qword [rsp + 0x40], rax
lea rax, [0x140161318]
mov qword [rsp + 0x48], rax
lea rax, [0x140161320]
mov qword [rbp - 0x79], rax
lea rax, [0x140161328]
mov qword [rbp - 0x71], rax
lea rax, [0x140161330]
mov qword [rbp - 0x69], rax
lea rax, [0x140161338]
mov qword [rbp - 0x61], rax
lea rax, [0x140161340]
mov qword [rbp - 0x59], rax
lea rax, [0x140161348]
mov qword [rbp - 0x51], rax
lea rax, [0x140161350]
mov qword [rbp - 0x49], rax
lea rax, [0x140161358]
mov qword [rbp - 0x41], rax
lea rax, [0x140161360]
mov qword [rbp - 0x39], rax
lea rax, [0x140161368]
mov qword [rbp - 0x31], rax
lea rax, [0x140161370]
mov qword [rbp - 0x29], rax
lea rax, [0x140161378]
mov qword [rbp - 0x21], rax
lea rax, [0x140161380]
mov qword [rbp - 0x19], rax
lea rax, [0x140161388]
mov qword [rbp - 0x11], rax
lea rax, [0x140161390]
mov qword [rbp - 9], rax
lea rax, [0x140161398]
mov qword [rbp - 1], rax
lea rax, [0x1401613a0]
mov qword [rbp + 7], rax
lea rax, [0x1401613a8]
mov qword [rbp + 0xf], rax
lea rax, [0x1401613b0]
mov qword [rbp + 0x17], rax
lea rax, [0x1401613b8]
mov qword [rbp + 0x1f], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov r12d, eax
test eax, eax
jne 0x1400ffe5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov ebx, eax
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140100010
test byte [rcx + 0x1c], 1
je 0x1400fffea
cmp byte [rcx + 0x19], 2
jb 0x1400fffea
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x3d]
mov r9d, eax
lea r8, [0x1401614b8]
call fcn.140004b9c
jmp 0x1400fffe3
mov rcx, qword [0x14017a048]
lea r14, [rsp + 0x30]
mov edi, ebx
test r12d, r15d
je 0x1400ffebc
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400ffea5
test byte [rcx + 0x1c], 1
je 0x1400ffea5
cmp byte [rcx + 0x19], 5
jb 0x1400ffea5
mov r9, qword [r14]
lea r8, [0x1401614b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x43
call fcn.140005c30
mov rcx, qword [0x14017a048]
add r15d, r15d
inc edi
add r14, 8
cmp edi, 0x18
jb 0x1400ffe69
lea r14, [0x14017a048]
jmp 0x1400ffef8
lea r14, [0x14017a048]
cmp rcx, r14
je 0x1400ffef8
test byte [rcx + 0x1c], 1
je 0x1400ffef8
cmp byte [rcx + 0x19], 4
jb 0x1400ffef8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov r9d, edi
mov edx, 0x42
mov r9, qword [rsp + r9*8 + 0x30]
call fcn.140005c30
mov rcx, qword [0x14017a048]
cmp edi, 0x18
jne 0x1400fff35
cmp rcx, r14
je 0x1400fff2b
test byte [rcx + 0x1c], 1
je 0x1400fff2b
cmp byte [rcx + 0x19], 4
jb 0x1400fff2b
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x2c]
mov r9, rsi
lea r8, [0x1401614b8]
call fcn.140005c30
mov rcx, qword [0x14017a048]
mov ebx, 1
jmp 0x1400fffea
mov eax, edi
mov rdx, rsi
mov rdi, qword [rsp + rax*8 + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x1400fffae
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140100010
test byte [rcx + 0x1c], 1
je 0x1400fffea
cmp byte [rcx + 0x19], 2
jb 0x1400fffea
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov dword [rsp + 0x28], eax
mov edx, 0x45
mov r9, rdi
mov qword [rsp + 0x20], rsi
call fcn.140005de0
jmp 0x1400fffe3
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140100010
test byte [rcx + 0x1c], 1
je 0x1400fffea
cmp byte [rcx + 0x19], 4
jb 0x1400fffea
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x46
mov qword [rsp + 0x20], rsi
mov r9, rdi
call fcn.140005d24
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140100010
test byte [rcx + 0x1c], 1
je 0x140100010
cmp byte [rcx + 0x19], 4
jb 0x140100010
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x47
call fcn.140004b70
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14014b700
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret