Function at 0x14005ab24
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 [0x1401c76e0]
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 0x14005ab7b
mov r8d, r14d
jmp 0x14005ab88
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14005ab7e
lea rcx, [rsp + 0x28]
call fcn.140009524
lea rcx, [rsp + 0x28]
call fcn.14005a664
test al, al
je 0x14005abaa
mov ebx, 1
jmp 0x14005adc4
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
call fcn.14005a598
test al, al
je 0x14005ad9f
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 0x14005ac54
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.1400093e4
cmp qword [rsp + 0x40], 8
jb 0x14005ac24
mov rcx, qword [rsp + 0x28]
call fcn.14009bc2c
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.1400027ac
cmp qword [rbp - 0x80], 8
jb 0x14005ac54
mov rcx, qword [rsp + 0x68]
call fcn.14009bc2c
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.1400a27a4
mov ebx, 1
test eax, eax
je 0x14005ada2
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.14000c404
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14005ad9f
cmp rax, rbx
jbe 0x14005acd8
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
cmp word [rcx + rax*2 - 4], 0x5c
jne 0x14005ad9f
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 0x14005ad9f
cmp eax, 0x104
je 0x14005ad9f
lea rax, [rbp - 0x70]
inc rsi
cmp word [rax + rsi*2], r14w
jne 0x14005ad26
mov rax, qword [rsp + 0x38]
mov esi, esi
sub rax, rdi
dec rax
add rax, rsi
cmp rax, qword [rsp + 0x58]
jne 0x14005ad9f
cmp qword [rsp + 0x60], 8
lea rcx, [rsp + 0x48]
lea rdx, [rbp - 0x70]
cmovae rcx, qword [rsp + 0x48]
mov r8d, esi
call fcn.1400a2c54
test eax, eax
jne 0x14005ad9f
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.1400a27a4
test eax, eax
je 0x14005ada2
mov bl, r14b
cmp qword [rsp + 0x60], 8
jb 0x14005adb4
mov rcx, qword [rsp + 0x48]
call fcn.14009bc2c
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
cmp qword [rsp + 0x40], 8
jb 0x14005add6
mov rcx, qword [rsp + 0x28]
call fcn.14009bc2c
mov al, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14009c5b0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret