Function at 0x140082ff0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x140166028]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.140025820
cmp byte [rdi + 0x17], 0
jns 0x14008302a
mov rdi, qword [rsp + 0x70]
lea rdx, [0x140151e50]
mov r8d, 4
mov rcx, rdi
call fcn.1400de8f4
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [rsp + 0x87]
test al, al
jns 0x140083059
mov rdx, qword [rsp + 0x78]
jmp 0x14008305e
mov edx, eax
and edx, 0x7f
lea r8, [rcx*4 + 5]
cmp rdx, r8
jb 0x140083424
shl rcx, 2
test al, al
jns 0x14008307e
mov rax, qword [rsp + 0x70]
jmp 0x140083083
lea rax, [rsp + 0x70]
lea rcx, [rax + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.1400de8f4
test eax, eax
sete dil
mov al, byte [rsp + 0x87]
test al, al
jns 0x1400830b4
mov rcx, qword [rsp + 0x70]
call fcn.1400c46a0
test dil, dil
jne 0x14008342b
xorps xmm0, xmm0
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rbx
mov rdx, rdi
call fcn.1400b5810
test al, al
je 0x140083433
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14014b720]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.140025820
mov al, byte [rbx + 0x17]
movzx r9d, al
test r9b, r9b
jns 0x1400833be
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140083454
mov rbx, qword [rsp + 0x30]
cmp word [rbx + rcx*2 - 2], 0x5c
je 0x14008343a
test al, al
jns 0x140083145
mov rdx, qword [rsp + 0x30]
jmp 0x14008314a
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x67], 0
jns 0x140083156
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1400de744
test eax, eax
je 0x140083445
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 0x14008344d
test bl, bl
jns 0x140083190
mov rcx, qword [rsp + 0x30]
jmp 0x140083195
lea rcx, [rsp + 0x30]
lea rdx, [0x140151e50]
mov r8d, 4
call fcn.1400de8f4
test eax, eax
sete dil
jne 0x1400831ff
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.140028ee0
cmp byte [rsi + 0x17], 0
jns 0x1400831e8
mov rcx, qword [rsp + 0x30]
call fcn.1400c46a0
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 0x1400833f1
test bl, bl
jns 0x1400833cc
test rax, rax
je 0x1400833f8
mov rcx, qword [rsp + 0x30]
cmp word [rcx + 2], 0x3a
jne 0x1400833f1
cmp rax, 2
jb 0x1400833f8
cmp word [rcx + 4], 0x5c
jne 0x1400833f1
movzx eax, word [rcx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb al
test al, al
jne 0x140083274
xor dil, 1
je 0x1400834d6
test al, al
je 0x1400833ed
mov qword [rsp + 0x280], 0
lea rsi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400c7ad0
test bl, bl
jns 0x1400832a8
mov rax, qword [rsp + 0x30]
jmp 0x1400832ad
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 0x14008337f
cmp eax, 0x104
je 0x14008337f
lea rcx, [rsp + 0x70]
call fcn.1400e2e70
mov esi, eax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400832fa
mov rax, qword [rsp + 0x38]
jmp 0x1400832fd
and eax, 0x7f
lea rcx, [rsi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x140083315
mov rdx, qword [rsp + 0x58]
jmp 0x14008331a
mov edx, eax
and edx, 0x7f
cmp rcx, rdx
jne 0x1400833ed
test al, al
jns 0x14008332e
mov rcx, qword [rsp + 0x50]
jmp 0x140083333
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rsi
call fcn.1400de8f4
test eax, eax
jne 0x1400833ed
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 0x14008336b
mov rax, qword [rsp + 0x50]
jmp 0x140083370
lea rax, [rsp + 0x50]
lea rcx, [rax + rsi*2]
call fcn.1400de744
test eax, eax
sete sil
cmp byte [rsp + 0x47], 0
jns 0x140083390
mov rcx, qword [rsp + 0x30]
call fcn.1400c46a0
cmp byte [rsp + 0x67], 0
jns 0x1400833a1
mov rcx, qword [rsp + 0x50]
call fcn.1400c46a0
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400c59b0
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret
je 0x140083454
mov rcx, r9
jmp 0x14008312e
je 0x1400833f8
cmp word [rsp + 0x32], 0x3a
jne 0x1400833f1
cmp bl, 1
jbe 0x1400833f8
cmp word [rsp + 0x34], 0x5c
jne 0x1400833f1
lea rcx, [rsp + 0x30]
jmp 0x140083256
xor esi, esi
jmp 0x14008337f
xor eax, eax
jmp 0x140083266
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.1400f6b10
xor edi, edi
jmp 0x1400830a6
mov sil, 1
jmp 0x1400833a1
xor esi, esi
jmp 0x140083390
test al, al
jns 0x140083480
mov r9, qword [rsp + 0x38]
jmp 0x140083484
mov sil, 1
jmp 0x14008337f
xor edi, edi
jmp 0x140083208
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.1400f6b10
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.140028ee0
cmp byte [rsi + 0x17], 0
jns 0x1400834b6
mov rcx, qword [rsp + 0x30]
call fcn.1400c46a0
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 0x14008313a
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.140082ee0
test al, al
je 0x140083508
cmp byte [rsp + 0x47], 0
jns 0x14008350c
mov rdx, qword [rsp + 0x30]
jmp 0x140083511
xor esi, esi
jmp 0x14008352e
lea rdx, [rsp + 0x30]
cmp byte [rsp + 0x87], 0
jns 0x140083520
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.1400de744
test eax, eax
sete sil
cmp byte [rsp + 0x87], 0
jns 0x14008337f
mov rcx, qword [rsp + 0x70]
call fcn.1400c46a0
jmp 0x14008337f