Function at 0x1400bca33
Capabilities:
Get disk information

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x280
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rbp, [rsp + 0x70]
mov rcx, rbp
call fcn.140002dac
mov rcx, rbp
call fcn.1400bc1b4
mov ebx, eax
test byte [rbp], 1
je 0x1400bca82
mov rcx, qword [rsp + 0x80]
call fcn.1401203c4
mov bpl, 1
test bl, bl
jne 0x1400bcd31
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
mov qword [rdx + 0x10], 0
mov rcx, rdi
call fcn.1400bc446
test al, al
je 0x1400bcaf2
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rdi], xmm0
mov rcx, rdi
mov rdx, rsi
call fcn.140002dac
movzx r9d, byte [rdi]
mov al, 1
mov rdx, qword [rdi + 0x10]
lea r14, [rsp + 0x32]
and al, r9b
je 0x1400bcaf9
mov r9, qword [rsp + 0x38]
mov rcx, rdx
jmp 0x1400bcaff
xor ebp, ebp
jmp 0x1400bcd20
shr r9, 1
mov rcx, r14
cmp word [rcx + r9*2 - 2], 0x5c
jne 0x1400bcb87
dec r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rdi, [rsp + 0x30]
mov rdx, rdi
xor r8d, r8d
call fcn.1400257ea
test byte [rdi], 1
jne 0x1400bcb3d
mov word [rsp + 0x32], 0
mov byte [rsp + 0x30], 0
jmp 0x1400bcb6a
mov rax, qword [rsp + 0x40]
mov word [rax], 0
mov qword [rsp + 0x38], 0
test byte [rsp + 0x30], 1
je 0x1400bcb6a
mov rcx, qword [rsp + 0x40]
call fcn.1401203c4
mov qword [rsp + 0x30], 0
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x40], rdx
mov al, byte [rsp + 0x30]
and al, 1
test al, al
cmove rdx, r14
lea rsi, [rsp + 0x52]
test byte [rsi - 2], 1
mov rcx, rsi
je 0x1400bcba0
mov rcx, qword [rsp + 0x60]
call fcn.1401379e0
test eax, eax
je 0x1400bcc14
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov rdx, rdi
call fcn.1400bc806
mov ebx, eax
mov rcx, rdi
call fcn.1400bc8f5
test al, al
jne 0x1400bcc1c
test bl, bl
je 0x1400bcc1c
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movaps xmmword [rdx], xmm0
mov qword [rdx + 0x10], 0
lea rcx, [rsp + 0x50]
call fcn.1400bc940
test al, al
je 0x1400bcc9d
mov al, 1
test byte [rsp + 0x30], al
je 0x1400bcbfd
mov r14, qword [rsp + 0x40]
test byte [rsp + 0x70], al
je 0x1400bcca1
mov rcx, qword [rsp + 0x80]
jmp 0x1400bcca6
mov bpl, 1
jmp 0x1400bcd0f
test al, al
je 0x1400bcd0d
mov qword [rsp + 0x28], 0
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401236f0
test byte [rsp + 0x30], 1
mov rax, r14
je 0x1400bcc51
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
lea rcx, [rsp + 0x28]
mov dword [rcx], eax
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor ebp, ebp
cmp eax, 2
jb 0x1400bcd0f
cmp eax, 0x104
je 0x1400bcd0f
lea rcx, [rsp + 0x70]
call fcn.140140af4
mov edi, eax
movzx eax, byte [rsp + 0x30]
mov cl, 1
test al, cl
je 0x1400bccca
mov rax, qword [rsp + 0x38]
jmp 0x1400bcccd
xor ebp, ebp
jmp 0x1400bccb4
lea rcx, [rsp + 0x72]
mov rdx, r14
call fcn.1401379e0
test eax, eax
sete bpl
test byte [rsp + 0x70], 1
je 0x1400bcd0f
mov rcx, qword [rsp + 0x80]
call fcn.1401203c4
jmp 0x1400bcd0f
shr rax, 1
lea rdx, [rdi + rax]
add rdx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x50]
test al, cl
je 0x1400bcce5
mov rcx, qword [rsp + 0x58]
jmp 0x1400bcceb
mov rcx, rax
shr rcx, 1
cmp rdx, rcx
jne 0x1400bcd0d
mov rcx, rsi
test al, 1
je 0x1400bccfc
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov r8, rdi
call fcn.140137b90
test eax, eax
je 0x1400bcd51
xor ebp, ebp
test byte [rsp + 0x30], 1
je 0x1400bcd20
mov rcx, qword [rsp + 0x40]
call fcn.1401203c4
test byte [rsp + 0x50], 1
je 0x1400bcd31
mov rcx, qword [rsp + 0x60]
call fcn.1401203c4
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401207e0
mov eax, ebp
add rsp, 0x280
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov al, 1
test byte [rsp + 0x30], al
je 0x1400bcd5e
mov r14, qword [rsp + 0x40]
add r14, 4
test byte [rsp + 0x50], al
je 0x1400bcd6d
mov rsi, qword [rsp + 0x60]
lea rcx, [rsi + rdi*2]
mov rdx, r14
call fcn.1401379e0
test eax, eax
sete bpl
jmp 0x1400bcd0f