Function at 0x14010ff66
Capabilities:
Get disk information

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2a0
movaps xmmword [rsp + 0x290], xmm6
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.140001b3c
mov rcx, rdi
call fcn.14010f698
mov ebp, eax
test byte [rdi], 1
je 0x14010ffbc
mov rcx, qword [rsp + 0x80]
call fcn.1401438d8
mov dil, 1
test bpl, bpl
jne 0x14011025b
movaps xmm6, xmmword [section..rdata]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.14010fa00
cmp byte [rdi + 0x18], 0
je 0x14011002e
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm6
mov rcx, rdi
mov rdx, rsi
call fcn.140001b3c
mov rcx, rdi
call fcn.140029016
cmp word [rax], 0x5c
jne 0x140110083
movzx r9d, byte [rsp + 0x30]
test r9b, 1
je 0x140110035
mov r9, qword [rsp + 0x38]
jmp 0x140110038
xor edi, edi
jmp 0x14011025b
shr r9d, 1
dec r9
lea rax, [rsp + 0x280]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rsi, [rsp + 0x30]
mov rdx, rsi
xor r8d, r8d
call fcn.14002ba6c
test byte [rsi], 1
je 0x14011006c
mov rcx, qword [rsp + 0x40]
call fcn.1401438d8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x32]
test byte [rdi - 2], 1
mov rdx, rdi
je 0x140110096
mov rdx, qword [rsp + 0x40]
lea rsi, [rsp + 0x52]
test byte [rsi - 2], 1
mov rcx, rsi
je 0x1401100a9
mov rcx, qword [rsp + 0x60]
call fcn.14015f91c
test eax, eax
je 0x14011012e
lea r14, [rsp + 0x30]
mov rcx, r14
mov rdx, r14
call fcn.14010fd7d
mov ebx, eax
mov rcx, r14
call fcn.14010fe3e
test al, al
jne 0x140110136
test bl, bl
je 0x140110136
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
cmp byte [rsp + 0x68], 0
je 0x1401102b3
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call fcn.14010fea5
test al, al
je 0x1401101c3
test byte [rsp + 0x30], 1
je 0x140110116
mov rdi, qword [rsp + 0x40]
test byte [rsp + 0x70], 1
je 0x1401101c7
mov rcx, qword [rsp + 0x80]
jmp 0x1401101cc
mov dil, 1
jmp 0x140110232
test al, al
je 0x140110230
mov qword [rsp + 0x280], 0
lea rbx, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140146ec0
test byte [rsp + 0x30], 1
je 0x14011016b
mov rdi, qword [rsp + 0x40]
mov eax, dword [rdi]
lea rcx, [rsp + 0x280]
mov dword [rcx], eax
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor edi, edi
cmp eax, 2
jb 0x140110232
cmp eax, 0x104
je 0x140110232
lea rcx, [rsp + 0x70]
call fcn.140169634
cmp byte [rsp + 0x68], 0
je 0x1401102a0
mov edi, eax
movzx eax, byte [rsp + 0x30]
test al, 1
je 0x1401101f0
mov rax, qword [rsp + 0x38]
jmp 0x1401101f2
xor edi, edi
jmp 0x1401101da
lea rcx, [rsp + 0x72]
mov rdx, rdi
call fcn.14015f91c
test eax, eax
sete dil
test byte [rsp + 0x70], 1
je 0x140110232
mov rcx, qword [rsp + 0x80]
call fcn.1401438d8
jmp 0x140110232
shr eax, 1
lea rcx, [rdi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x50]
test al, 1
je 0x14011020a
mov rdx, qword [rsp + 0x58]
jmp 0x14011020e
mov edx, eax
shr edx, 1
cmp rcx, rdx
jne 0x140110230
test al, 1
je 0x14011021c
mov rsi, qword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, rsi
mov r8, rdi
call fcn.14015fad8
test eax, eax
je 0x140110283
xor edi, edi
test byte [rsp + 0x30], 1
je 0x140110243
mov rcx, qword [rsp + 0x40]
call fcn.1401438d8
cmp byte [rsp + 0x68], 0
je 0x14011025b
test byte [rsp + 0x50], 1
je 0x14011025b
mov rcx, qword [rsp + 0x60]
call fcn.1401438d8
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140143c30
mov eax, edi
movaps xmm6, xmmword [rsp + 0x290]
add rsp, 0x2a0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
cmp byte [rsp + 0x68], 0
je 0x1401102b3
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rdx, rdi
call fcn.1401102b9
mov edi, eax
jmp 0x140110232
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcincludeoptional:796:_assertion_this__has_value___failed:_optional_operator___called_on_a_disengaged_value_n
call fcn.140005804
call fcn.140008724
int3