Function at 0x14002b4d6
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x298
movaps xmmword [rsp + 0x280], xmm6
mov r12, rdx
mov r15, rcx
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], 0
mov rcx, rdx
call fcn.1401809b8
mov rsi, rax
cmp rax, 7
jbe 0x14002b57b
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x14002bbaa
mov rax, rsi
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, rdi
ja 0x14002b574
cmp rax, 0xb
mov edi, 0xa
cmovae rdi, rax
lea rcx, [rdi + rdi]
add rcx, 2
cmp rdi, 0x7ff
jb 0x14002b59b
call fcn.14004ea38
jmp 0x14002b5a0
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rdx, r12
call fcn.1401e0580
mov word [rsp + rsi*2 + 0x20], 0
jmp 0x14002b5c9
call fcn.140172d74
mov rbx, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov r8, rsi
add r8, rsi
mov rcx, rax
mov rdx, r12
call fcn.1401e0580
mov word [rbx + rsi*2], 0
mov qword [rsp + 0x20], rbx
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.14002a6fc
mov ebx, eax
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x14002b61f
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002b61a
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x14002bbaf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rdi
call fcn.140172db0
mov sil, 1
test bl, bl
jne 0x14002bb2d
lea r14, [rsp + 0x258]
mov qword [r14], 0
movaps xmm6, xmmword [0x1401f4330]
movups xmmword [r14 + 8], xmm6
mov qword [r14 + 0x18], 7
mov word [r14], 0
mov rcx, r15
mov rdx, r14
call fcn.14002aa76
test al, al
je 0x14002b6ec
mov qword [rsp + 0x230], 0
movups xmmword [rsp + 0x238], xmm6
mov qword [rsp + 0x248], 7
mov word [rsp + 0x230], 0
mov rcx, r12
call fcn.1401809b8
mov rbx, rax
cmp rax, 7
jbe 0x14002b6f3
movabs rdi, 0x7ffffffffffffffe
cmp rbx, rdi
ja 0x14002bbaa
mov rax, rbx
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, rdi
ja 0x14002b6e5
cmp rax, 0xb
mov edi, 0xa
cmovae rdi, rax
lea rcx, [rdi + rdi]
add rcx, 2
cmp rdi, 0x7ff
jb 0x14002b71f
call fcn.14004ea38
jmp 0x14002b724
xor esi, esi
jmp 0x14002badf
lea rsi, [rsp + 0x230]
mov qword [rsi + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rcx, rsi
mov rdx, r12
call fcn.1401e0580
mov word [rsp + rbx*2 + 0x230], 0
mov rsi, qword [rsi]
jmp 0x14002b756
call fcn.140172d74
mov rsi, rax
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x248], rdi
mov r8, rbx
add r8, rbx
mov rcx, rax
mov rdx, r12
call fcn.1401e0580
mov word [rsi + rbx*2], 0
mov qword [rsp + 0x230], rsi
lea r12, [rsp + 0x230]
mov rax, qword [r12 + 0x10]
mov rdi, qword [r12 + 0x18]
cmp rdi, 8
mov rbx, r12
cmovae rbx, rsi
cmp word [rbx + rax*2 - 2], 0x5c
jne 0x14002b8b7
lea rsi, [rax - 1]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], 0
cmp rax, rsi
cmovb rsi, rax
cmp rsi, 7
jbe 0x14002b7f4
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x14002bbaa
mov rax, rsi
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, rdi
ja 0x14002b7ed
cmp rax, 0xb
mov edi, 0xa
cmovae rdi, rax
lea rcx, [rdi + rdi]
add rcx, 2
cmp rdi, 0x7ff
jb 0x14002b812
call fcn.14004ea38
jmp 0x14002b817
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], rsi
lea r8, [rsi + rsi]
mov rdx, rbx
call fcn.1401e0580
mov word [rsp + rsi*2 + 0x20], 0
jmp 0x14002b847
call fcn.140172d74
mov r15, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
lea r8, [rsi + rsi]
mov rcx, rax
mov rdx, rbx
call fcn.1401e0580
mov word [r15 + rsi*2], 0
mov qword [rsp + 0x20], r15
mov rdi, qword [rsp + 0x248]
cmp rdi, 8
jb 0x14002b88d
mov rcx, qword [rsp + 0x230]
lea rdx, [rdi + rdi]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002b888
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14002bbaf
add rdi, rdi
add rdi, 0x29
mov rdx, rdi
mov rcx, rax
call fcn.140172db0
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x240], xmm1
movaps xmmword [rsp + 0x230], xmm0
mov rdi, qword [rsp + 0x248]
mov rsi, qword [rsp + 0x230]
cmp rdi, 8
cmovae r12, rsi
cmp qword [rsp + 0x270], 8
jb 0x14002b8d2
mov r14, qword [rsp + 0x258]
mov rcx, r14
mov rdx, r12
call fcn.14018231c
test eax, eax
je 0x14002b96e
lea rsi, [rsp + 0x230]
mov rcx, rsi
mov rdx, rsi
call fcn.14002b089
mov ebx, eax
mov rcx, rsi
call fcn.14002b28d
test al, al
jne 0x14002b976
test bl, bl
je 0x14002b976
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
movups xmmword [rdi + 8], xmm6
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea rcx, [rsp + 0x258]
mov rdx, rdi
call fcn.14002b2d2
test al, al
je 0x14002b9b4
cmp qword [rsp + 0x248], 8
jb 0x14002b94e
mov rsi, qword [rsp + 0x230]
cmp qword [rsp + 0x38], 8
jb 0x14002b95b
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.14018231c
test eax, eax
sete sil
jmp 0x14002b9b6
mov sil, 1
jmp 0x14002ba91
test al, al
je 0x14002ba8f
mov qword [rsp + 0x228], 0
lea rsi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401e0c20
cmp qword [rsp + 0x248], 8
jb 0x14002ba07
mov rax, qword [rsp + 0x230]
jmp 0x14002ba0f
xor esi, esi
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x14002ba91
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002b9fd
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14002bbaf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
call fcn.140172db0
jmp 0x14002ba91
lea rax, [rsp + 0x230]
mov eax, dword [rax]
lea rcx, [rsp + 0x228]
mov dword [rcx], eax
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor esi, esi
cmp eax, 2
jb 0x14002ba91
cmp eax, 0x104
je 0x14002ba91
lea rcx, [rsp + 0x20]
call fcn.1401809b8
mov esi, eax
mov rax, qword [rsp + 0x240]
add rax, rsi
add rax, 0xfffffffffffffffe
cmp rax, qword [rsp + 0x268]
jne 0x14002ba8f
cmp qword [rsp + 0x270], 8
jb 0x14002ba72
mov rcx, qword [rsp + 0x258]
jmp 0x14002ba7a
lea rcx, [rsp + 0x258]
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.140182144
test eax, eax
je 0x14002bb58
xor esi, esi
mov rax, qword [rsp + 0x248]
cmp rax, 8
jb 0x14002badf
mov rcx, qword [rsp + 0x230]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002bada
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14002bbaf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
call fcn.140172db0
mov rax, qword [rsp + 0x270]
cmp rax, 8
jb 0x14002bb2d
mov rcx, qword [rsp + 0x258]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002bb28
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14002bbaf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
call fcn.140172db0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140173230
mov eax, esi
movaps xmm6, xmmword [rsp + 0x280]
add rsp, 0x298
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp qword [rsp + 0x248], 8
jb 0x14002bb6d
mov rdx, qword [rsp + 0x230]
jmp 0x14002bb75
lea rdx, [rsp + 0x230]
add rdx, 4
cmp qword [rsp + 0x270], 8
jb 0x14002bb8e
mov rax, qword [rsp + 0x258]
jmp 0x14002bb96
lea rax, [rsp + 0x258]
lea rcx, [rax + rsi*2]
call fcn.14018231c
test eax, eax
sete sil
jmp 0x14002ba91
call fcn.140054d3c
call fcn.14017a8e4
int3