Function at 0x1400bb1d0
Capabilities:
Get disk information

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x280
mov rdi, rdx
mov rbp, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.140004f50
mov rcx, rsi
call fcn.1400ba950
mov ebx, eax
cmp byte [rsi + 0x17], 0
jns 0x1400bb21c
mov rcx, qword [rsp + 0x70]
call fcn.140190860
mov r14b, 1
test bl, bl
jne 0x1400bb497
xorps xmm0, xmm0
lea rsi, [rsp + 0x50]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, rbp
mov rdx, rsi
call fcn.1400babf0
test al, al
je 0x1400bb2b2
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140004f50
movzx eax, byte [rsi + 0x17]
mov rcx, qword [rsi]
mov r9, rax
test al, al
jns 0x1400bb26f
mov r9, qword [rsp + 0x38]
mov rsi, rcx
cmp word [rsi + r9*2 - 2], 0x5c
jne 0x1400bb307
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.14006b4f0
cmp byte [rsi + 0x17], 0
js 0x1400bb2ba
mov word [rsp + 0x30], 0
mov byte [rsp + 0x47], 0
jmp 0x1400bb2e7
xor r14d, r14d
jmp 0x1400bb487
mov rax, qword [rsp + 0x30]
mov word [rax], 0
mov qword [rsp + 0x38], 0
cmp byte [rsp + 0x47], 0
jns 0x1400bb2e7
mov rcx, qword [rsp + 0x30]
call fcn.140190860
mov qword [rsp + 0x40], 0
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 rcx, qword [rsp + 0x30]
test al, al
lea rdx, [rsp + 0x30]
cmovs rdx, rcx
xor eax, eax
cmp byte [rsp + 0x67], al
jns 0x1400bb321
mov rcx, qword [rsp + 0x50]
jmp 0x1400bb326
lea rcx, [rsp + 0x50]
call fcn.1401a9cc0
test eax, eax
je 0x1400bb3a4
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rsi
call fcn.1400bafb0
mov ebx, eax
mov rcx, rsi
call fcn.1400bb0a0
test al, al
jne 0x1400bb3ac
test bl, bl
je 0x1400bb3ac
xorps xmm0, xmm0
lea rdi, [rsp + 0x70]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1400bb0e0
test al, al
je 0x1400bb3cb
xor eax, eax
cmp byte [rsp + 0x47], al
jns 0x1400bb382
mov rsi, qword [rsp + 0x30]
lea rdi, [rsp + 0x70]
cmp byte [rdi + 0x17], al
mov rcx, rdi
jns 0x1400bb394
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
call fcn.1401a9cc0
test eax, eax
sete r14b
jmp 0x1400bb3ce
mov r14b, 1
jmp 0x1400bb471
test al, al
je 0x1400bb46e
mov qword [rsp + 0x28], 0
cmp byte [rsp + 0x47], 0
jns 0x1400bb3e7
mov rax, qword [rsp + 0x30]
jmp 0x1400bb3ec
xor r14d, r14d
cmp byte [rdi + 0x17], 0
jns 0x1400bb471
mov rcx, qword [rsp + 0x70]
call fcn.140190860
jmp 0x1400bb471
lea rax, [rsp + 0x30]
mov eax, dword [rax]
lea rcx, [rsp + 0x28]
mov dword [rcx], eax
lea rdx, [rsp + 0x70]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor r14d, r14d
cmp eax, 2
jb 0x1400bb471
cmp eax, 0x104
je 0x1400bb471
lea rcx, [rsp + 0x70]
call fcn.1401b5060
mov esi, eax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400bb42f
mov rax, qword [rsp + 0x38]
lea rcx, [rsi + rax]
add rcx, 0xfffffffffffffffe
movzx eax, byte [rsp + 0x67]
mov rdx, rax
test al, al
jns 0x1400bb448
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jne 0x1400bb46e
test al, al
jns 0x1400bb458
mov rcx, qword [rsp + 0x50]
jmp 0x1400bb45d
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r8, rsi
call fcn.1401a9e60
test eax, eax
je 0x1400bb4b8
xor r14d, r14d
cmp byte [rsp + 0x47], 0
jns 0x1400bb482
mov rcx, qword [rsp + 0x30]
call fcn.140190860
lea rsi, [rsp + 0x50]
cmp byte [rsi + 0x17], 0
jns 0x1400bb497
mov rcx, qword [rsp + 0x50]
call fcn.140190860
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140190ca0
mov eax, r14d
add rsp, 0x280
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
cmp byte [rsp + 0x47], al
jns 0x1400bb4c7
mov rdx, qword [rsp + 0x30]
jmp 0x1400bb4cc
lea rdx, [rsp + 0x30]
add rdx, 4
cmp byte [rsp + 0x67], al
jns 0x1400bb4dd
mov rax, qword [rsp + 0x50]
jmp 0x1400bb4e2
lea rax, [rsp + 0x50]
lea rcx, [rax + rsi*2]
call fcn.1401a9cc0
test eax, eax
sete r14b
jmp 0x1400bb471