Function at 0x1400b3f18
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov rsi, r9
mov dword [rsp + 0x40], ebx
mov r14, r8
mov rbp, rcx
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
lea r13, [0x14015c278]
mov r15b, 4
cmp rcx, r12
je 0x1400b3f88
test byte [rcx + 0x1c], r15b
je 0x1400b3f88
cmp byte [rcx + 0x19], r15b
jb 0x1400b3f88
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x1d]
mov r8, r13
call fcn.140004b70
mov dword [rsi], ebx
test rbp, rbp
jne 0x1400b3fa7
lea r8, str.wszDeviceName
mov edx, 0x1d6
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.1400876c8
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.msvcrt.dll_memset
or rcx, 0xffffffffffffffff
mov rax, rcx
inc rax
cmp word [rbp + rax*2], bx
jne 0x1400b3fc0
test rax, rax
jne 0x1400b3fdf
mov dword [rsi], 0x57
mov ebx, 0x16
jmp 0x1400b4130
inc rcx
cmp word [rbp + rcx*2], bx
jne 0x1400b3fdf
cmp word [rbp + rcx*2 - 2], 0x5c
lea rax, [0x14015bee8]
lea r8, [0x14015bed8]
mov r9, rbp
cmove r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1400100a8
test eax, eax
js 0x1400b3fcf
mov dword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
jne 0x1400b40ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8, [rsp + 0x40]
mov rcx, rbp
mov edi, eax
call fcn.1400b3c54
test eax, eax
je 0x1400b40aa
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b409e
test byte [rcx + 0x1c], r15b
je 0x1400b409e
cmp byte [rcx + 0x19], 2
jb 0x1400b409e
mov rcx, qword [rcx + 0x10]
mov edx, 0x1e
mov r9, rbp
mov dword [rsp + 0x20], eax
mov r8, r13
call fcn.140005ca0
mov ebx, 0x16
mov dword [rsi], edi
jmp 0x1400b4130
mov eax, dword [rsp + 0x40]
shr eax, 0xb
test al, 1
je 0x1400b4187
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b40e7
test byte [rcx + 0x1c], r15b
je 0x1400b40e7
cmp byte [rcx + 0x19], r15b
jb 0x1400b40e7
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x1f
mov r8, r13
call fcn.140005c30
lea r8, str.NTFS
mov edx, 0x10
mov rcx, r14
call fcn.14003bbe8
test eax, eax
js 0x1400b4130
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b4159
test byte [rcx + 0x1c], r15b
je 0x1400b4137
cmp byte [rcx + 0x19], r15b
jb 0x1400b4137
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r9, rbp
mov qword [rsp + 0x20], r14
mov r8, r13
call fcn.140005d24
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b4159
test byte [rcx + 0x1c], r15b
je 0x1400b4159
cmp byte [rcx + 0x19], r15b
jb 0x1400b4159
mov rcx, qword [rcx + 0x10]
mov edx, 0x23
mov r8, r13
call fcn.140004b70
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14014b700
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp edi, 0x3ed
je 0x1400b41de
cmp edi, 1
je 0x1400b41de
cmp edi, 0x57
je 0x1400b41de
mov dword [rsi], edi
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b41d4
test byte [rcx + 0x1c], r15b
je 0x1400b41d4
cmp byte [rcx + 0x19], 2
jb 0x1400b41d4
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x21
mov dword [rsp + 0x20], edi
mov r8, r13
call fcn.140005ca0
mov rcx, qword [0x14017a048]
mov ebx, 0x16
jmp 0x1400b4137
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b420c
test byte [rcx + 0x1c], r15b
je 0x1400b420c
cmp byte [rcx + 0x19], r15b
jb 0x1400b420c
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x20
mov r8, r13
call fcn.140005c30
lea r8, [0x140155268]
jmp 0x1400b40ee