Function at 0x140063870
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x278], rax
xor eax, eax
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], 7
mov word [rsi], 0
mov rcx, rdx
call fcn.1403326e0
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.14027a0b0
mov rcx, rsi
call fcn.140063010
mov edi, eax
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x1400638ed
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
mov sil, 1
test dil, dil
jne 0x140063c00
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x258]
mov qword [rdi + 8], r15
xor esi, esi
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, r14
mov rdx, rdi
call fcn.140063242
test al, al
je 0x140063bdd
lea rsi, [rsp + 0x230]
mov qword [rsi + 8], r15
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], 7
mov word [rsi], 0
mov rcx, rbx
call fcn.1403326e0
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.14027a0b0
mov rax, qword [rsi + 0x18]
cmp rax, 8
mov rcx, qword [rsi]
mov r9, qword [rsi + 0x10]
mov rdx, rsi
cmovae rdx, rcx
cmp word [rdx + r9*2 - 2], 0x5c
jne 0x140063a09
dec r9
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], 0
lea rbx, [rsp + 0x230]
mov rdx, rbx
xor r8d, r8d
call fcn.140048bd8
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x1400639df
mov rcx, qword [rsp + 0x230]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x240], xmm1
movaps xmmword [rsp + 0x230], xmm0
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x230]
cmp rax, 8
cmovae rsi, rcx
cmp qword [rsp + 0x270], 8
jb 0x140063a24
mov rdi, qword [rsp + 0x258]
mov rcx, rdi
mov rdx, rsi
call fcn.140337044
test eax, eax
je 0x140063aee
lea rdi, [rsp + 0x230]
mov rcx, rdi
mov rdx, rdi
call fcn.140063645
mov ebx, eax
mov rcx, rdi
call fcn.140063738
test al, al
jne 0x140063af6
test bl, bl
je 0x140063af6
lea rbx, [rsp + 0x20]
mov qword [rbx + 8], r15
xor esi, esi
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], 0
lea rcx, [rsp + 0x258]
mov rdx, rbx
call fcn.14006377d
test al, al
je 0x140063ac8
cmp qword [rsp + 0x248], 8
jb 0x140063aaa
mov rdi, qword [rsp + 0x230]
cmp qword [rsp + 0x38], 8
jb 0x140063ab7
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
mov rdx, rdi
call fcn.140337044
test eax, eax
sete sil
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140063bba
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
jmp 0x140063bba
mov sil, 1
jmp 0x140063bba
test al, al
je 0x140063bb8
mov qword [rsp + 0x228], 0
lea rsi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1403224b0
cmp qword [rsp + 0x248], 8
jb 0x140063b34
mov rax, qword [rsp + 0x230]
jmp 0x140063b3c
lea rax, [rsp + 0x230]
mov eax, dword [rax]
lea rcx, [rsp + 0x228]
mov dword [rcx], eax
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor esi, esi
cmp eax, 2
jb 0x140063bba
cmp eax, 0x104
je 0x140063bba
lea rcx, [rsp + 0x20]
call fcn.1403326e0
mov esi, eax
mov rax, qword [rsp + 0x240]
add rax, rsi
add rax, 0xfffffffffffffffe
cmp rax, qword [rsp + 0x268]
jne 0x140063bb8
cmp qword [rsp + 0x270], 8
jb 0x140063b9f
mov rcx, qword [rsp + 0x258]
jmp 0x140063ba7
lea rcx, [rsp + 0x258]
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.14033be9c
test eax, eax
je 0x140063c21
xor esi, esi
mov rax, qword [rsp + 0x248]
cmp rax, 8
jb 0x140063bdd
mov rcx, qword [rsp + 0x230]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
mov rax, qword [rsp + 0x270]
cmp rax, 8
jb 0x140063c00
mov rcx, qword [rsp + 0x258]
lea rdx, [rax + rax]
add rdx, 2
call fcn.14003fe72
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14031e660
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp qword [rsp + 0x248], 8
jb 0x140063c36
mov rdx, qword [rsp + 0x230]
jmp 0x140063c3e
lea rdx, [rsp + 0x230]
add rdx, 4
cmp qword [rsp + 0x270], 8
jb 0x140063c57
mov rax, qword [rsp + 0x258]
jmp 0x140063c5f
lea rax, [rsp + 0x258]
lea rcx, [rax + rsi*2]
call fcn.140337044
test eax, eax
sete sil
jmp 0x140063bba