Function at 0x1400f83e0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.14016fbf0
cmp byte [rdi + 0x17], 0
jns 0x1400f841a
mov rdi, qword [rsp + 0x70]
lea rdx, [0x1401d4510]
mov r8d, 4
mov rcx, rdi
call fcn.140156ee4
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [rsp + 0x87]
test al, al
jns 0x1400f8449
mov rdx, qword [rsp + 0x78]
jmp 0x1400f844e
mov edx, eax
and edx, 0x7f
lea r8, [rcx*4 + 5]
cmp rdx, r8
jb 0x1400f8814
shl rcx, 2
test al, al
jns 0x1400f846e
mov rax, qword [rsp + 0x70]
jmp 0x1400f8473
lea rax, [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.140156ee4
test eax, eax
sete dil
mov al, byte [rsp + 0x87]
test al, al
jns 0x1400f84a4
mov rcx, qword [rsp + 0x70]
call fcn.14013a790
test dil, dil
jne 0x1400f881b
xorps xmm0, xmm0
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rbx
mov rdx, rdi
call fcn.14012b930
test al, al
je 0x1400f8823
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1401c9ef0]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.14016fbf0
mov al, byte [rbx + 0x17]
movzx r9d, al
test r9b, r9b
jns 0x1400f87ae
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400f8844
mov rbx, qword [rsp + 0x30]
cmp word [rbx + rcx*2 - 2], 0x5c
je 0x1400f882a
test al, al
jns 0x1400f8535
mov rdx, qword [rsp + 0x30]
jmp 0x1400f853a
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x67], 0
jns 0x1400f8546
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140156d34
test eax, eax
je 0x1400f8835
movzx ebx, byte [rsp + 0x47]
mov ecx, ebx
and ecx, 0x7c
test bl, bl
mov rax, qword [rsp + 0x38]
cmovs rcx, rax
cmp rcx, 4
jb 0x1400f883d
test bl, bl
jns 0x1400f8580
mov rcx, qword [rsp + 0x30]
jmp 0x1400f8585
lea rcx, [rsp + 0x30]
lea rdx, [0x1401d4510]
mov r8d, 4
call fcn.140156ee4
test eax, eax
sete dil
jne 0x1400f85ef
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.14008cc70
cmp byte [rsi + 0x17], 0
jns 0x1400f85d8
mov rcx, qword [rsp + 0x30]
call fcn.14013a790
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x38]
mov bl, byte [rsp + 0x47]
mov ecx, ebx
and cl, 0x7f
test bl, bl
movzx ecx, cl
cmovs rcx, rax
cmp rcx, 3
jb 0x1400f87e1
test bl, bl
jns 0x1400f87bc
test rax, rax
je 0x1400f87e8
mov rcx, qword [rsp + 0x30]
cmp word [rcx + 2], 0x3a
jne 0x1400f87e1
cmp rax, 2
jb 0x1400f87e8
cmp word [rcx + 4], 0x5c
jne 0x1400f87e1
movzx eax, word [rcx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb al
test al, al
jne 0x1400f8664
xor dil, 1
je 0x1400f88c6
test al, al
je 0x1400f87dd
mov qword [rsp + 0x280], 0
lea rsi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14013dca0
test bl, bl
jns 0x1400f8698
mov rax, qword [rsp + 0x30]
jmp 0x1400f869d
lea rax, [rsp + 0x30]
mov eax, dword [rax]
lea rcx, [rsp + 0x280]
mov dword [rcx], eax
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor esi, esi
cmp eax, 2
jb 0x1400f876f
cmp eax, 0x104
je 0x1400f876f
lea rcx, [rsp + 0x70]
call fcn.14015bcc0
mov esi, eax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400f86ea
mov rax, qword [rsp + 0x38]
jmp 0x1400f86ed
and eax, 0x7f
lea rcx, [rsi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x1400f8705
mov rdx, qword [rsp + 0x58]
jmp 0x1400f870a
mov edx, eax
and edx, 0x7f
cmp rcx, rdx
jne 0x1400f87dd
test al, al
jns 0x1400f871e
mov rcx, qword [rsp + 0x50]
jmp 0x1400f8723
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rsi
call fcn.140156ee4
test eax, eax
jne 0x1400f87dd
lea rax, [rsp + 0x34]
mov rdx, qword [rax - 4]
add rdx, 4
cmp byte [rax + 0x13], 0
cmovns rdx, rax
cmp byte [rsp + 0x67], 0
jns 0x1400f875b
mov rax, qword [rsp + 0x50]
jmp 0x1400f8760
lea rax, [rsp + 0x50]
lea rcx, [rax + rsi*2]
call fcn.140156d34
test eax, eax
sete sil
cmp byte [rsp + 0x47], 0
jns 0x1400f8780
mov rcx, qword [rsp + 0x30]
call fcn.14013a790
cmp byte [rsp + 0x67], 0
jns 0x1400f8791
mov rcx, qword [rsp + 0x50]
call fcn.14013a790
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.14013bb80
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret
je 0x1400f8844
mov rcx, r9
jmp 0x1400f851e
je 0x1400f87e8
cmp word [rsp + 0x32], 0x3a
jne 0x1400f87e1
cmp bl, 1
jbe 0x1400f87e8
cmp word [rsp + 0x34], 0x5c
jne 0x1400f87e1
lea rcx, [rsp + 0x30]
jmp 0x1400f8646
xor esi, esi
jmp 0x1400f876f
xor eax, eax
jmp 0x1400f8656
lea rax, str.string_index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__pos___size__
mov r8d, 0x456
call fcn.140170320
xor edi, edi
jmp 0x1400f8496
mov sil, 1
jmp 0x1400f8791
xor esi, esi
jmp 0x1400f8780
test al, al
jns 0x1400f8870
mov r9, qword [rsp + 0x38]
jmp 0x1400f8874
mov sil, 1
jmp 0x1400f876f
xor edi, edi
jmp 0x1400f85f8
lea rax, str.string::back__:_string_is_empty
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str._empty__
mov r8d, 0x4c8
call fcn.140170320
and r9d, 0x7f
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.14008cc70
cmp byte [rsi + 0x17], 0
jns 0x1400f88a6
mov rcx, qword [rsp + 0x30]
call fcn.14013a790
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]
jmp 0x1400f852a
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.1400f82d0
test al, al
je 0x1400f88f8
cmp byte [rsp + 0x47], 0
jns 0x1400f88fc
mov rdx, qword [rsp + 0x30]
jmp 0x1400f8901
xor esi, esi
jmp 0x1400f891e
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x87], 0
jns 0x1400f8910
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140156d34
test eax, eax
sete sil
cmp byte [rsp + 0x87], 0
jns 0x1400f876f
mov rcx, qword [rsp + 0x70]
call fcn.14013a790
jmp 0x1400f876f