Function at 0x14018cfd0
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x280
mov r14, rdx
mov r12, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x278], rax
movabs r15, 0x7fffffffffffffef
mov rcx, rdx
call fcn.1401d0678
cmp rax, r15
ja 0x14018d50c
mov rbx, rax
cmp rax, 0xb
jae 0x14018d02d
lea rsi, [rsp + 0x70]
mov byte [rsi + 0x17], bl
test rbx, rbx
jne 0x14018d05a
jmp 0x14018d06b
lea rdi, [rbx + 8]
and rdi, 0xfffffffffffffff8
lea rcx, [rdi + rdi]
call fcn.1401a2e6c
mov rsi, rax
mov qword [rsp + 0x70], rax
lea rax, [r15 + 0x11]
or rax, rdi
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rbx
mov r8, rbx
add r8, rbx
mov rcx, rsi
mov rdx, r14
call fcn.1401a6090
mov word [rsi + rbx*2], 0
cmp byte [rsp + 0x87], 0
jns 0x14018d082
mov rcx, qword [rsp + 0x70]
jmp 0x14018d087
lea rcx, [rsp + 0x70]
lea rdx, [0x14034ff46]
mov r8d, 4
call fcn.1401c349c
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [rsp + 0x87]
mov rdx, rax
test al, al
jns 0x14018d0b4
mov rdx, qword [rsp + 0x78]
lea rbx, [rcx*4 + 5]
cmp rdx, rbx
jae 0x14018d0c5
xor esi, esi
jmp 0x14018d0fc
shl rcx, 2
test al, al
jns 0x14018d0d4
mov rax, qword [rsp + 0x70]
jmp 0x14018d0d9
lea rax, [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.1401c349c
test eax, eax
sete sil
mov al, byte [rsp + 0x87]
test al, al
jns 0x14018d10a
mov rcx, qword [rsp + 0x70]
call fcn.1401a2ea8
mov bl, 1
test sil, sil
jne 0x14018d4aa
xorps xmm0, xmm0
lea r13, [rsp + 0x50]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov rcx, r12
mov rdx, r13
call fcn.14018c940
test al, al
je 0x14018d17e
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rsp + 0x30], xmm0
mov rcx, r14
call fcn.1401d0678
cmp rax, r15
ja 0x14018d516
mov rdi, rax
cmp rax, 0xb
jae 0x14018d185
lea rsi, [rsp + 0x30]
mov byte [rsi + 0x17], dil
test rdi, rdi
jne 0x14018d1af
jmp 0x14018d1c0
xor ebx, ebx
jmp 0x14018d499
lea rbx, [rdi + 8]
and rbx, 0xfffffffffffffff8
lea rcx, [rbx + rbx]
call fcn.1401a2e6c
mov rsi, rax
mov qword [rsp + 0x30], rax
add r15, 0x11
or r15, rbx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rdi
mov r8, rdi
add r8, rdi
mov rcx, rsi
mov rdx, r14
call fcn.1401a6090
mov word [rsi + rdi*2], 0
movzx eax, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x30]
test al, al
jns 0x14018d1de
mov r9, qword [rsp + 0x38]
mov rcx, rdx
jmp 0x14018d1e6
lea rcx, [rsp + 0x30]
mov r9, rax
cmp word [rcx + r9*2 - 2], 0x5c
jne 0x14018d241
dec r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rsi, [rsp + 0x30]
mov rdx, rsi
xor r8d, r8d
call fcn.1400b9ce0
cmp byte [rsi + 0x17], 0
jns 0x14018d221
mov rcx, qword [rsp + 0x30]
call fcn.1401a2ea8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
mov al, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x30]
test al, al
lea rsi, [rsp + 0x30]
cmovns rdx, rsi
cmp byte [rsp + 0x67], 0
jns 0x14018d258
mov r13, qword [rsp + 0x50]
mov rcx, r13
call fcn.1401c32ec
test eax, eax
je 0x14018d37c
movzx eax, byte [rsp + 0x47]
mov rcx, rax
test al, al
jns 0x14018d279
mov rcx, qword [rsp + 0x38]
mov dil, 1
cmp rcx, 4
jb 0x14018d2f6
test al, al
jns 0x14018d28b
mov rsi, qword [rsp + 0x30]
lea rdx, [0x14034ff46]
mov r8d, 4
mov rcx, rsi
call fcn.1401c349c
test eax, eax
jne 0x14018d2f6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rsi, [rsp + 0x30]
mov r8d, 4
mov rdx, rsi
mov r9, 0xffffffffffffffff
call fcn.1400b9ce0
cmp byte [rsi + 0x17], 0
jns 0x14018d2dd
mov rcx, qword [rsp + 0x30]
call fcn.1401a2ea8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
xor edi, edi
movzx ebx, byte [rsp + 0x47]
mov rax, rbx
test bl, bl
jns 0x14018d307
mov rax, qword [rsp + 0x38]
cmp rax, 3
jb 0x14018d344
test bl, bl
lea rcx, [rsp + 0x30]
mov rdx, qword [rcx]
mov rax, rcx
cmovs rax, rdx
cmp word [rax + 2], 0x3a
jne 0x14018d344
test bl, bl
cmovs rcx, rdx
cmp word [rcx + 4], 0x5c
jne 0x14018d344
movzx eax, word [rax]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb al
jmp 0x14018d346
xor eax, eax
or dil, al
je 0x14018d383
test al, al
je 0x14018d486
mov qword [rsp + 0x28], 0
lea rsi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401a64a0
test bl, bl
jns 0x14018d3c3
mov rax, qword [rsp + 0x30]
jmp 0x14018d3c8
mov bl, 1
jmp 0x14018d488
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.14018ced0
test al, al
je 0x14018d3bc
cmp byte [rsp + 0x47], 0
jns 0x14018d439
mov rdx, qword [rsp + 0x30]
jmp 0x14018d43e
xor ebx, ebx
jmp 0x14018d45a
lea rax, [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 ebx, ebx
cmp eax, 2
jb 0x14018d488
cmp eax, 0x104
je 0x14018d488
lea rcx, [rsp + 0x70]
call fcn.1401d0678
mov esi, eax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14018d410
mov rax, qword [rsp + 0x38]
lea rcx, [rsi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
mov rdx, rax
test al, al
jns 0x14018d429
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jne 0x14018d486
test al, al
jns 0x14018d470
mov rcx, qword [rsp + 0x50]
jmp 0x14018d475
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x87], 0
jns 0x14018d44d
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.1401c32ec
test eax, eax
sete bl
cmp byte [rsp + 0x87], 0
jns 0x14018d488
mov rcx, qword [rsp + 0x70]
call fcn.1401a2ea8
jmp 0x14018d488
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rsi
call fcn.1401c349c
test eax, eax
je 0x14018d4cf
xor ebx, ebx
cmp byte [rsp + 0x47], 0
jns 0x14018d499
mov rcx, qword [rsp + 0x30]
call fcn.1401a2ea8
cmp byte [rsp + 0x67], 0
jns 0x14018d4aa
mov rcx, qword [rsp + 0x50]
call fcn.1401a2ea8
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401a4270
mov eax, ebx
add rsp, 0x280
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x47], 0
jns 0x14018d4dd
mov rdx, qword [rsp + 0x30]
jmp 0x14018d4e2
lea rdx, [rsp + 0x30]
add rdx, 4
cmp byte [rsp + 0x67], 0
jns 0x14018d4f4
mov rax, qword [rsp + 0x50]
jmp 0x14018d4f9
lea rax, [rsp + 0x50]
lea rcx, [rax + rsi*2]
call fcn.1401c32ec
test eax, eax
sete bl
jmp 0x14018d488
lea rcx, [rsp + 0x70]
call fcn.1400b7d50
lea rcx, [rsp + 0x30]
call fcn.1400b7d50
int3