Function at 0x14002bae6
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 [0x140233818]
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.14014ff50
mov rsi, rax
cmp rax, 7
jbe 0x14002bb8b
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x14002c1ba
mov rax, rsi
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, rdi
ja 0x14002bb84
cmp rax, 0xb
mov edi, 0xa
cmovae rdi, rax
lea rcx, [rdi + rdi]
add rcx, 2
cmp rdi, 0x7ff
jb 0x14002bbab
call fcn.14004ec70
jmp 0x14002bbb0
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rdx, r12
call fcn.140149f00
mov word [rsp + rsi*2 + 0x20], 0
jmp 0x14002bbd9
call fcn.1401489b4
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.140149f00
mov word [rbx + rsi*2], 0
mov qword [rsp + 0x20], rbx
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.14002ad0c
mov ebx, eax
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x14002bc2f
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002bc2a
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x14002c1bf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rdi
call fcn.1401489f0
mov sil, 1
test bl, bl
jne 0x14002c13d
lea r14, [rsp + 0x258]
mov qword [r14], 0
movaps xmm6, xmmword [0x1401c5f80]
movups xmmword [r14 + 8], xmm6
mov qword [r14 + 0x18], 7
mov word [r14], 0
mov rcx, r15
mov rdx, r14
call fcn.14002b086
test al, al
je 0x14002bcfc
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.14014ff50
mov rbx, rax
cmp rax, 7
jbe 0x14002bd03
movabs rdi, 0x7ffffffffffffffe
cmp rbx, rdi
ja 0x14002c1ba
mov rax, rbx
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, rdi
ja 0x14002bcf5
cmp rax, 0xb
mov edi, 0xa
cmovae rdi, rax
lea rcx, [rdi + rdi]
add rcx, 2
cmp rdi, 0x7ff
jb 0x14002bd2f
call fcn.14004ec70
jmp 0x14002bd34
xor esi, esi
jmp 0x14002c0ef
lea rsi, [rsp + 0x230]
mov qword [rsi + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rcx, rsi
mov rdx, r12
call fcn.140149f00
mov word [rsp + rbx*2 + 0x230], 0
mov rsi, qword [rsi]
jmp 0x14002bd66
call fcn.1401489b4
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.140149f00
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 0x14002bec7
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 0x14002be04
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x14002c1ba
mov rax, rsi
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, rdi
ja 0x14002bdfd
cmp rax, 0xb
mov edi, 0xa
cmovae rdi, rax
lea rcx, [rdi + rdi]
add rcx, 2
cmp rdi, 0x7ff
jb 0x14002be22
call fcn.14004ec70
jmp 0x14002be27
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], rsi
lea r8, [rsi + rsi]
mov rdx, rbx
call fcn.140149f00
mov word [rsp + rsi*2 + 0x20], 0
jmp 0x14002be57
call fcn.1401489b4
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.140149f00
mov word [r15 + rsi*2], 0
mov qword [rsp + 0x20], r15
mov rdi, qword [rsp + 0x248]
cmp rdi, 8
jb 0x14002be9d
mov rcx, qword [rsp + 0x230]
lea rdx, [rdi + rdi]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002be98
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14002c1bf
add rdi, rdi
add rdi, 0x29
mov rdx, rdi
mov rcx, rax
call fcn.1401489f0
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 0x14002bee2
mov r14, qword [rsp + 0x258]
mov rcx, r14
mov rdx, r12
call fcn.140157668
test eax, eax
je 0x14002bf7e
lea rsi, [rsp + 0x230]
mov rcx, rsi
mov rdx, rsi
call fcn.14002b699
mov ebx, eax
mov rcx, rsi
call fcn.14002b89d
test al, al
jne 0x14002bf86
test bl, bl
je 0x14002bf86
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.14002b8e2
test al, al
je 0x14002bfc4
cmp qword [rsp + 0x248], 8
jb 0x14002bf5e
mov rsi, qword [rsp + 0x230]
cmp qword [rsp + 0x38], 8
jb 0x14002bf6b
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.140157668
test eax, eax
sete sil
jmp 0x14002bfc6
mov sil, 1
jmp 0x14002c0a1
test al, al
je 0x14002c09f
mov qword [rsp + 0x228], 0
lea rsi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14014a5b0
cmp qword [rsp + 0x248], 8
jb 0x14002c017
mov rax, qword [rsp + 0x230]
jmp 0x14002c01f
xor esi, esi
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x14002c0a1
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002c00d
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14002c1bf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
call fcn.1401489f0
jmp 0x14002c0a1
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 0x14002c0a1
cmp eax, 0x104
je 0x14002c0a1
lea rcx, [rsp + 0x20]
call fcn.14014ff50
mov esi, eax
mov rax, qword [rsp + 0x240]
add rax, rsi
add rax, 0xfffffffffffffffe
cmp rax, qword [rsp + 0x268]
jne 0x14002c09f
cmp qword [rsp + 0x270], 8
jb 0x14002c082
mov rcx, qword [rsp + 0x258]
jmp 0x14002c08a
lea rcx, [rsp + 0x258]
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.140157490
test eax, eax
je 0x14002c168
xor esi, esi
mov rax, qword [rsp + 0x248]
cmp rax, 8
jb 0x14002c0ef
mov rcx, qword [rsp + 0x230]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002c0ea
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14002c1bf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
call fcn.1401489f0
mov rax, qword [rsp + 0x270]
cmp rax, 8
jb 0x14002c13d
mov rcx, qword [rsp + 0x258]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002c138
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14002c1bf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbx
call fcn.1401489f0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140149000
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 0x14002c17d
mov rdx, qword [rsp + 0x230]
jmp 0x14002c185
lea rdx, [rsp + 0x230]
add rdx, 4
cmp qword [rsp + 0x270], 8
jb 0x14002c19e
mov rax, qword [rsp + 0x258]
jmp 0x14002c1a6
lea rax, [rsp + 0x258]
lea rcx, [rax + rsi*2]
call fcn.140157668
test eax, eax
sete sil
jmp 0x14002c0a1
call fcn.140054a28
call fcn.14014fc7c
int3