Function at 0x14005caa0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14d, r14d
mov r12d, 7
or rsi, 0xffffffffffffffff
mov rbx, rcx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
cmp word [rdx], r14w
jne 0x14005caf7
mov r8d, r14d
jmp 0x14005cb04
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14005cafa
lea rcx, [rsp + 0x28]
call fcn.140005d28
lea rcx, [rsp + 0x28]
call fcn.14005c5c4
test al, al
je 0x14005cb26
mov ebx, 1
jmp 0x14005cd40
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
call fcn.14005c4f8
test al, al
je 0x14005cd1b
cmp qword [rsp + 0x40], 8
mov r9, qword [rsp + 0x38]
lea rax, [rsp + 0x28]
cmovae rax, qword [rsp + 0x28]
cmp word [rax + r9*2 - 2], 0x5c
jne 0x14005cbd0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
dec r9
xor r8d, r8d
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
call fcn.140005be8
cmp qword [rsp + 0x40], 8
jb 0x14005cba0
mov rcx, qword [rsp + 0x28]
call fcn.14006bd10
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r14
mov word [rsp + 0x28], r14w
call fcn.14000449c
cmp qword [rbp - 0x80], 8
jb 0x14005cbd0
mov rcx, qword [rsp + 0x68]
call fcn.14006bd10
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmovae rdx, qword [rsp + 0x28]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call fcn.14009eabc
mov ebx, 1
test eax, eax
je 0x14005cd1e
lea eax, [rbx + 0x39]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov r9d, ebx
xor r8d, r8d
mov word [rsp + 0x20], ax
call fcn.14000b098
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14005cd1b
cmp rax, rbx
jbe 0x14005cc54
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
cmp word [rcx + rax*2 - 4], 0x5c
jne 0x14005cd1b
xor eax, eax
cmp qword [rsp + 0x40], 8
mov word [rbp - 0x78], r14w
mov dword [rbp - 0x76], eax
mov word [rbp - 0x72], ax
lea rax, [rsp + 0x28]
cmovae rax, qword [rsp + 0x28]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x78]
mov eax, dword [rax + rdi*2 - 2]
mov r8d, 0x104
mov dword [rbp - 0x78], eax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x14005cd1b
cmp eax, 0x104
je 0x14005cd1b
lea rax, [rbp - 0x70]
inc rsi
cmp word [rax + rsi*2], r14w
jne 0x14005cca2
mov rax, qword [rsp + 0x38]
mov esi, esi
sub rax, rdi
dec rax
add rax, rsi
cmp rax, qword [rsp + 0x58]
jne 0x14005cd1b
cmp qword [rsp + 0x60], 8
lea rcx, [rsp + 0x48]
lea rdx, [rbp - 0x70]
cmovae rcx, qword [rsp + 0x48]
mov r8d, esi
call fcn.14009f024
test eax, eax
jne 0x14005cd1b
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
lea rax, [rsp + 0x48]
cmovae rdx, qword [rsp + 0x28]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
add rdx, 2
lea rcx, [rax + rsi*2]
lea rdx, [rdx + rdi*2]
call fcn.14009eabc
test eax, eax
je 0x14005cd1e
mov bl, r14b
cmp qword [rsp + 0x60], 8
jb 0x14005cd30
mov rcx, qword [rsp + 0x48]
call fcn.14006bd10
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
cmp qword [rsp + 0x40], 8
jb 0x14005cd52
mov rcx, qword [rsp + 0x28]
call fcn.14006bd10
mov al, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400991d0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret