Function at 0x140029ed0
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], 0
mov rcx, rdx
call fcn.14009b320
mov rsi, rax
cmp rax, 7
jbe 0x140029f70
movabs r15, 0x7ffffffffffffffe
cmp rsi, r15
ja 0x14002a5a6
mov rax, rsi
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, r15
ja 0x140029f69
cmp rax, 0xb
mov r15d, 0xa
cmovae r15, rax
lea rcx, [r15 + r15]
add rcx, 2
cmp r15, 0x7ff
jb 0x140029f90
call fcn.140050b10
jmp 0x140029f95
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rdx, rdi
call fcn.1400beaa0
mov word [rsp + rsi*2 + 0x20], 0
jmp 0x140029fbe
call fcn.140093af0
mov rbx, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r15
mov r8, rsi
add r8, rsi
mov rcx, rax
mov rdx, rdi
call fcn.1400beaa0
mov word [rbx + rsi*2], 0
mov qword [rsp + 0x20], rbx
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400290e0
mov esi, eax
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x14002a014
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002a00f
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002a5ab
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140093b30
mov bl, 1
test sil, sil
jne 0x14002a530
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x258]
mov qword [rsi + 8], r15
xor ebx, ebx
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], 0
mov rcx, r14
mov rdx, rsi
call fcn.140029461
test al, al
je 0x14002a4e2
mov qword [rsp + 0x238], r15
xor eax, eax
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x248], 7
mov word [rsp + 0x230], 0
mov rcx, rdi
call fcn.14009b320
mov rbx, rax
cmp rax, 7
jbe 0x14002a0eb
movabs r12, 0x7ffffffffffffffe
cmp rbx, r12
ja 0x14002a5a6
mov rax, rbx
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, r12
ja 0x14002a0e4
cmp rax, 0xb
mov r12d, 0xa
cmovae r12, rax
lea rcx, [r12 + r12]
add rcx, 2
cmp r12, 0x7ff
jb 0x14002a117
call fcn.140050b10
jmp 0x14002a11c
lea r14, [rsp + 0x230]
mov qword [r14 + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rcx, r14
mov rdx, rdi
call fcn.1400beaa0
mov word [rsp + rbx*2 + 0x230], 0
mov r14, qword [r14]
jmp 0x14002a14f
call fcn.140093af0
mov r14, rax
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x248], r12
mov r8, rbx
add r8, rbx
mov rcx, rax
mov rdx, rdi
call fcn.1400beaa0
mov word [r14 + rbx*2], 0
mov qword [rsp + 0x230], r14
lea rdi, [rsp + 0x230]
mov rax, qword [rdi + 0x10]
mov r13, qword [rdi + 0x18]
cmp r13, 8
mov rbx, rdi
cmovae rbx, r14
cmp word [rbx + rax*2 - 2], 0x5c
jne 0x14002a2b6
lea r12, [rax - 1]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], 0
cmp rax, r12
cmovb r12, rax
cmp r12, 7
jbe 0x14002a1ef
movabs r13, 0x7ffffffffffffffe
cmp r12, r13
ja 0x14002a5a6
mov rax, r12
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, r13
ja 0x14002a1e8
cmp rax, 0xb
mov r13d, 0xa
cmovae r13, rax
lea rcx, [r13 + 2]
add rcx, r13
cmp r13, 0x7ff
jb 0x14002a20e
call fcn.140050b10
jmp 0x14002a213
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], r12
lea r8, [r12 + r12]
mov rdx, rbx
call fcn.1400beaa0
mov word [rsp + r12*2 + 0x20], 0
jmp 0x14002a243
call fcn.140093af0
mov r14, rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lea r8, [r12 + r12]
mov rcx, rax
mov rdx, rbx
call fcn.1400beaa0
mov word [r14 + r12*2], 0
mov qword [rsp + 0x20], r14
mov r13, qword [rsp + 0x248]
cmp r13, 8
jb 0x14002a28c
mov rcx, qword [rsp + 0x230]
lea rdx, [r13 + 2]
add rdx, r13
cmp rdx, 0x1000
jb 0x14002a287
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14002a5ab
add r13, r13
add r13, 0x29
mov rdx, r13
mov rcx, rax
call fcn.140093b30
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x240], xmm1
movaps xmmword [rsp + 0x230], xmm0
mov r13, qword [rsp + 0x248]
mov r14, qword [rsp + 0x230]
cmp r13, 8
cmovae rdi, r14
cmp qword [rsp + 0x270], 8
jb 0x14002a2d1
mov rsi, qword [rsp + 0x258]
mov rcx, rsi
mov rdx, rdi
call fcn.14009b6d4
test eax, eax
je 0x14002a3c5
lea rsi, [rsp + 0x230]
mov rcx, rsi
mov rdx, rsi
call fcn.140029a85
mov ebx, eax
mov rcx, rsi
call fcn.140029c88
test al, al
jne 0x14002a3cc
test bl, bl
je 0x14002a3cc
lea rdi, [rsp + 0x20]
mov qword [rdi + 8], r15
xor ebx, ebx
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea rcx, [rsp + 0x258]
mov rdx, rdi
call fcn.140029ccd
test al, al
je 0x14002a374
cmp qword [rsp + 0x248], 8
jb 0x14002a357
mov rsi, qword [rsp + 0x230]
cmp qword [rsp + 0x38], 8
jb 0x14002a364
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.14009b6d4
test eax, eax
sete bl
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x14002a494
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002a3bb
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002a5ab
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140093b30
jmp 0x14002a494
mov bl, 1
jmp 0x14002a494
test al, al
je 0x14002a492
mov qword [rsp + 0x228], 0
lea rsi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400bf140
cmp qword [rsp + 0x248], 8
jb 0x14002a40a
mov rax, qword [rsp + 0x230]
jmp 0x14002a412
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 ebx, ebx
cmp eax, 2
jb 0x14002a494
cmp eax, 0x104
je 0x14002a494
lea rcx, [rsp + 0x20]
call fcn.14009b320
mov esi, eax
mov rax, qword [rsp + 0x240]
add rax, rsi
add rax, 0xfffffffffffffffe
cmp rax, qword [rsp + 0x268]
jne 0x14002a492
cmp qword [rsp + 0x270], 8
jb 0x14002a475
mov rcx, qword [rsp + 0x258]
jmp 0x14002a47d
lea rcx, [rsp + 0x258]
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.14009b870
test eax, eax
je 0x14002a555
xor ebx, ebx
mov rax, qword [rsp + 0x248]
cmp rax, 8
jb 0x14002a4e2
mov rcx, qword [rsp + 0x230]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002a4dd
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002a5ab
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140093b30
mov rax, qword [rsp + 0x270]
cmp rax, 8
jb 0x14002a530
mov rcx, qword [rsp + 0x258]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002a52b
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002a5ab
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140093b30
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140093e10
mov eax, ebx
add rsp, 0x280
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [rsp + 0x248], 8
jb 0x14002a56a
mov rdx, qword [rsp + 0x230]
jmp 0x14002a572
lea rdx, [rsp + 0x230]
add rdx, 4
cmp qword [rsp + 0x270], 8
jb 0x14002a58b
mov rax, qword [rsp + 0x258]
jmp 0x14002a593
lea rax, [rsp + 0x258]
lea rcx, [rax + rsi*2]
call fcn.14009b6d4
test eax, eax
sete bl
jmp 0x14002a494
call fcn.1400519a0
call fcn.14009afa0
int3