Function at 0x1400147b0
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x288
mov r14, rdx
mov r13, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x280], rax
movabs r12, 0x7fffffffffffffef
mov rcx, rdx
call fcn.1400f080c
cmp rax, r12
ja 0x140014c7b
mov rdi, rax
cmp rax, 0xb
jae 0x140014bd3
mov byte [rsp + 0x87], dil
lea rbx, [rsp + 0x70]
test rdi, rdi
je 0x14001482d
cmp rdi, 3
jne 0x140014d57
movzx eax, word [r14 + 4]
mov word [rbx + 4], ax
mov eax, dword [r14]
mov dword [rbx], eax
mov r15, rbx
mov rbp, rbx
mov word [rbp + rdi*2], 0
cmp byte [r15 + 0x17], 0
mov rcx, rbx
jns 0x140014849
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1401df172]
mov r8d, 4
call fcn.1400f09e8
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [r15 + 0x17]
mov rdx, rax
test al, al
jns 0x140014873
mov rdx, qword [rsp + 0x78]
lea rbp, [rcx*4 + 5]
cmp rdx, rbp
jb 0x140014c85
shl rcx, 2
test al, al
jns 0x140014891
mov rbx, qword [rsp + 0x70]
lea rcx, [rbx + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.1400f09e8
test eax, eax
sete sil
mov al, byte [r15 + 0x17]
test al, al
jns 0x1400148bf
mov rcx, qword [rsp + 0x70]
call fcn.1400f0498
test sil, sil
jne 0x140014c8c
xorps xmm0, xmm0
lea r15, [rsp + 0x50]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov rcx, r13
mov rdx, r15
call fcn.140014d90
test al, al
je 0x140014c94
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x1401c8a80]
movaps xmmword [rsp + 0x30], xmm0
mov rcx, r14
call fcn.1400f080c
cmp rax, r12
ja 0x140014c9b
mov rdi, rax
cmp rax, 0xb
jae 0x140014c18
mov byte [rsp + 0x47], dil
lea rbx, [rsp + 0x30]
test rdi, rdi
je 0x14001494f
cmp rdi, 3
jne 0x140014d62
movzx eax, word [r14 + 4]
mov word [rbx + 4], ax
mov eax, dword [r14]
mov dword [rbx], eax
mov r12, rbx
mov rsi, rbx
mov word [rsi + rdi*2], 0
movzx eax, byte [r12 + 0x17]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
mov r9, rax
test al, al
jns 0x140014978
mov r9, qword [rsp + 0x38]
mov rcx, rdx
cmp word [rcx + r9*2 - 2], 0x5c
je 0x140014ca5
test al, al
cmovns rdx, rbx
cmp byte [rsp + 0x67], 0
jns 0x140014997
mov r15, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400f0a30
test eax, eax
je 0x140014cfc
movzx eax, byte [r12 + 0x17]
mov rcx, rax
test al, al
jns 0x1400149b9
mov rcx, qword [rsp + 0x38]
mov sil, 1
cmp rcx, 4
jb 0x140014a2f
mov rcx, rbx
test al, al
jns 0x1400149ce
mov rcx, qword [rsp + 0x30]
lea rdx, [0x1401df172]
mov r8d, 4
call fcn.1400f09e8
test eax, eax
jne 0x140014a2f
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov r9, 0xffffffffffffffff
call fcn.140016f30
cmp byte [r12 + 0x17], 0
js 0x140014c5e
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
xor esi, esi
movzx edi, byte [r12 + 0x17]
mov rax, rdi
test dil, dil
jns 0x140014a42
mov rax, qword [rsp + 0x38]
cmp rax, 3
jb 0x140014c6d
test dil, dil
mov rcx, qword [rsp + 0x30]
mov rax, rbx
cmovs rax, rcx
cmp word [rax + 2], 0x3a
jne 0x140014c6d
test dil, dil
cmovns rcx, rbx
cmp word [rcx + 4], 0x5c
jne 0x140014c6d
movzx eax, word [rax]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb al
or sil, al
je 0x140014d04
test al, al
je 0x140014c74
mov qword [rsp + 0x28], 0
lea rsi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400f5b50
mov rax, rbx
test dil, dil
jns 0x140014ac4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
lea rcx, [rsp + 0x28]
mov dword [rcx], eax
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor edi, edi
cmp eax, 2
jb 0x140014b8a
cmp eax, 0x104
je 0x140014b8a
lea rcx, [rsp + 0x70]
call fcn.1400f080c
mov edi, eax
movzx eax, byte [r12 + 0x17]
test al, al
jns 0x140014b0d
mov rax, qword [rsp + 0x38]
lea rcx, [rdi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
mov rdx, rax
test al, al
jns 0x140014b26
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jne 0x140014c74
test al, al
jns 0x140014b3a
mov rcx, qword [rsp + 0x50]
jmp 0x140014b3f
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rdi
call fcn.1400f09e8
test eax, eax
jne 0x140014c74
cmp byte [r12 + 0x17], 0
jns 0x140014b61
mov rbx, qword [rsp + 0x30]
add rbx, 4
cmp byte [rsp + 0x67], 0
jns 0x140014b73
mov rax, qword [rsp + 0x50]
jmp 0x140014b78
lea rax, [rsp + 0x50]
lea rcx, [rax + rdi*2]
mov rdx, rbx
call fcn.1400f0a30
test eax, eax
sete dil
cmp byte [r12 + 0x17], 0
jns 0x140014b9c
mov rcx, qword [rsp + 0x30]
call fcn.1400f0498
cmp byte [rsp + 0x67], 0
jns 0x140014bad
mov rcx, qword [rsp + 0x50]
call fcn.1400f0498
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400f32c0
mov eax, edi
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rdi + 8]
and rsi, 0xfffffffffffffff8
lea rcx, [rsi + rsi]
call fcn.1400f045c
mov rbp, rax
lea rbx, [rsp + 0x70]
mov qword [rbx], rax
lea rax, [r12 + 0x11]
or rax, rsi
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov r15, rbx
mov r8, rdi
add r8, rdi
mov rcx, rbp
mov rdx, r14
call fcn.1400f5740
jmp 0x140014833
lea rbp, [rdi + 8]
and rbp, 0xfffffffffffffff8
mov rcx, rbp
add rcx, rbp
call fcn.1400f045c
mov rsi, rax
lea rbx, [rsp + 0x30]
mov qword [rbx], rax
add r12, 0x11
or r12, rbp
mov qword [rbx + 0x10], r12
mov qword [rbx + 8], rdi
mov r12, rbx
mov r8, rdi
add r8, rdi
mov rcx, rsi
mov rdx, r14
call fcn.1400f5740
jmp 0x140014955
mov rcx, qword [rsp + 0x30]
call fcn.1400f0498
jmp 0x140014a16
xor eax, eax
jmp 0x140014a88
xor edi, edi
jmp 0x140014b8a
lea rcx, [rsp + 0x70]
call fcn.140126160
xor esi, esi
jmp 0x1400148b1
mov dil, 1
jmp 0x140014bad
xor edi, edi
jmp 0x140014b9c
lea rcx, [rsp + 0x30]
call fcn.140126160
dec r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call fcn.140016f30
cmp byte [r12 + 0x17], 0
jns 0x140014cd6
mov rcx, qword [rsp + 0x30]
call fcn.1400f0498
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
mov al, byte [r12 + 0x17]
mov rdx, qword [rsp + 0x30]
jmp 0x140014985
mov dil, 1
jmp 0x140014b8a
xorps xmm0, xmm0
lea rsi, [rsp + 0x70]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.1400179b0
test al, al
je 0x140014d6d
cmp byte [r12 + 0x17], 0
jns 0x140014d35
mov rbx, qword [rsp + 0x30]
cmp byte [rsp + 0x87], 0
jns 0x140014d44
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
mov rdx, rbx
call fcn.1400f0a30
test eax, eax
sete dil
jmp 0x140014d6f
mov r15, rbx
mov rbp, rbx
jmp 0x140014c02
mov r12, rbx
mov rsi, rbx
jmp 0x140014c48
xor edi, edi
cmp byte [rsp + 0x87], 0
jns 0x140014b8a
mov rcx, qword [rsp + 0x70]
call fcn.1400f0498
jmp 0x140014b8a