Function at 0x14002b660
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x340], rbx
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
lea r9d, [r13 + 4]
xor r8d, r8d
lea rdx, [0x1400cd808]
mov rcx, rbx
call fcn.140009a20
test rax, rax
jne 0x14002b6fb
or r9, 0xffffffffffffffff
lea r8d, [r13 + 4]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140006410
nop
mov rdx, rax
mov rcx, rbx
call fcn.140006450
nop
cmp qword [rsp + 0x50], 8
jb 0x14002b6fb
mov rcx, qword [rsp + 0x38]
call fcn.1400a58b8
mov r9d, 7
xor r8d, r8d
lea rdx, [0x1400cf500]
mov rcx, rbx
call fcn.140009a20
test rax, rax
jne 0x14002b928
mov r12d, 2
mov r9d, r12d
or r8, 0xffffffffffffffff
lea rdx, [0x1400d048c]
mov rcx, rbx
call fcn.140009b30
mov rdx, rax
mov r9, qword [rbx + 0x10]
lea rax, [r9 - 2]
cmp rdx, rax
jne 0x14002b928
dec r9
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140006410
cmp qword [rax + 0x18], 8
jb 0x14002b769
mov rax, qword [rax]
mov r8d, 0x104
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
sete dil
cmp qword [rsp + 0x50], 8
jb 0x14002b794
mov rcx, qword [rsp + 0x38]
call fcn.1400a58b8
test dil, dil
je 0x14002b7ae
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
jmp 0x14002b938
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x20]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140006260
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.140025420
nop
cmp qword [rsp + 0x78], 8
jb 0x14002b806
mov rcx, qword [rsp + 0x60]
call fcn.1400a58b8
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
cmp qword [rbp - 0x40], 0
jne 0x14002b85e
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x20]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.140006260
lea rdx, [rsp + 0x38]
jmp 0x14002b88d
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.140006130
lea rdx, [rbp - 0x78]
mov r12d, 4
mov dword [rsp + 0x20], r12d
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
mov rcx, rsi
call fcn.140006450
or r12d, 1
test r12b, 4
je 0x14002b8d9
and r12d, 0xfffffffb
cmp qword [rbp - 0x60], 8
jb 0x14002b8c8
mov rcx, qword [rbp - 0x78]
call fcn.1400a58b8
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
test r12b, 2
je 0x14002b905
cmp qword [rsp + 0x50], 8
jb 0x14002b8f1
mov rcx, qword [rsp + 0x38]
call fcn.1400a58b8
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
cmp qword [rbp - 0x38], 8
jb 0x14002b915
mov rcx, qword [rbp - 0x50]
call fcn.1400a58b8
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r13
mov word [rbp - 0x50], r13w
jmp 0x14002b938
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
cmp qword [rbx + 0x18], 8
jb 0x14002b947
mov rcx, qword [rbx]
call fcn.1400a58b8
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
mov rax, rsi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400a4e70
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret