Function at 0x1401009b8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140100a1b
test byte [rcx + 0x1c], 1
je 0x140100a1b
cmp byte [rcx + 0x19], 4
jb 0x140100a1b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov edx, 0x40
call fcn.14000c328
xor ebx, ebx
test rsi, rsi
jne 0x140100a3a
lea r8, str.wszTargetName
mov edx, 0x533
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.1400906e0
lea rax, [0x14015ed40]
mov r14d, 4
mov qword [rsp + 0x30], rax
lea rax, [0x14015ed48]
mov qword [rsp + 0x38], rax
lea rax, [0x14015ed50]
mov qword [rsp + 0x40], rax
lea rax, [0x14015ed58]
mov qword [rsp + 0x48], rax
lea rax, [0x14015ed60]
mov qword [rbp - 0x79], rax
lea rax, [0x14015ed68]
mov qword [rbp - 0x71], rax
lea rax, [0x14015ed70]
mov qword [rbp - 0x69], rax
lea rax, [0x14015ed78]
mov qword [rbp - 0x61], rax
lea rax, [0x14015ed80]
mov qword [rbp - 0x59], rax
lea rax, [0x14015ed88]
mov qword [rbp - 0x51], rax
lea rax, [0x14015ed90]
mov qword [rbp - 0x49], rax
lea rax, [0x14015ed98]
mov qword [rbp - 0x41], rax
lea rax, [0x14015eda0]
mov qword [rbp - 0x39], rax
lea rax, [0x14015eda8]
mov qword [rbp - 0x31], rax
lea rax, [0x14015edb0]
mov qword [rbp - 0x29], rax
lea rax, [0x14015edb8]
mov qword [rbp - 0x21], rax
lea rax, [0x14015edc0]
mov qword [rbp - 0x19], rax
lea rax, [0x14015edc8]
mov qword [rbp - 0x11], rax
lea rax, [0x14015edd0]
mov qword [rbp - 9], rax
lea rax, [0x14015edd8]
mov qword [rbp - 1], rax
lea rax, [0x14015ede0]
mov qword [rbp + 7], rax
lea rax, [0x14015ede8]
mov qword [rbp + 0xf], rax
lea rax, [0x14015edf0]
mov qword [rbp + 0x17], rax
lea rax, [0x14015edf8]
mov qword [rbp + 0x1f], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
jne 0x140100bbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140100b73
mov ebx, eax
jmp 0x140100b7c
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140100d59
test byte [rcx + 0x1c], 1
je 0x140100d33
cmp byte [rcx + 0x19], 2
jb 0x140100d33
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov edx, 0x41
mov r9d, ebx
call fcn.14000c354
jmp 0x140100d2c
mov rcx, qword [0x140173048]
mov edi, ebx
cmp edi, 0x18
jae 0x140100c73
test r15d, r14d
je 0x140100c10
cmp rcx, r13
je 0x140100c09
test byte [rcx + 0x1c], 1
je 0x140100c09
cmp byte [rcx + 0x19], 5
jb 0x140100c09
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov r9d, edi
mov edx, 0x43
mov r9, qword [rsp + r9*8 + 0x30]
call fcn.140015150
mov rcx, qword [0x140173048]
add r14d, r14d
inc edi
jmp 0x140100bc6
cmp rcx, r13
je 0x140100c3e
test byte [rcx + 0x1c], 1
je 0x140100c3e
cmp byte [rcx + 0x19], 4
jb 0x140100c3e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov r9d, edi
mov edx, 0x42
mov r9, qword [rsp + r9*8 + 0x30]
call fcn.140015150
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 0x140100cf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140100caf
mov ebx, eax
jmp 0x140100cb8
jne 0x140100c3e
cmp rcx, r13
je 0x140100ca5
test byte [rcx + 0x1c], 1
je 0x140100ca5
cmp byte [rcx + 0x19], 4
jb 0x140100ca5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov edx, 0x44
mov r9, rsi
call fcn.140015150
mov rcx, qword [0x140173048]
mov ebx, 1
jmp 0x140100d33
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140100d59
test byte [rcx + 0x1c], 1
je 0x140100d33
cmp byte [rcx + 0x19], 2
jb 0x140100d33
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov edx, 0x45
mov dword [rsp + 0x28], ebx
mov r9, rdi
mov qword [rsp + 0x20], rsi
call fcn.1400152ec
jmp 0x140100d2c
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140100d59
test byte [rcx + 0x1c], 1
je 0x140100d33
cmp byte [rcx + 0x19], 4
jb 0x140100d33
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov edx, 0x46
mov qword [rsp + 0x20], rsi
mov r9, rdi
call fcn.140015238
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140100d59
test byte [rcx + 0x1c], 1
je 0x140100d59
cmp byte [rcx + 0x19], 4
jb 0x140100d59
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015eef8]
mov edx, 0x47
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140007410
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret