Function at 0x14002a978
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov sil, dl
mov rbx, rcx
call fcn.1400d0c20
cmp eax, 0x600
jb 0x14002acc5
mov rcx, rbx
call fcn.140161824
xor r14d, r14d
test al, al
jne 0x14002acc5
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x21], r14
lea r12d, [r14 + 7]
mov qword [rbp - 0x19], r12
mov word [rbp - 0x31], r14w
lea r8, [rbp - 0x31]
mov rdx, rbx
lea rcx, [0x140236e60]
call fcn.1400894b8
mov qword [rbp - 0x11], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], r14w
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.1400e1c20
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov r15d, 0x1000
cmp eax, 3
jne 0x14002abd5
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
lea rax, [rbp - 0x35]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14002aa94
mov eax, dword [rbp - 0x35]
and eax, 0x80008
cmp eax, 8
jne 0x14002abd5
lea rcx, [rbp - 0x31]
call fcn.1400cc064
mov ebx, 1
cmp eax, 0xffffffff
je 0x14002aad6
test al, 0x10
jne 0x14002aad6
lea rcx, [rbp - 0x31]
call fcn.14002a7b4
mov ecx, eax
shr ecx, 1
shr eax, 2
and al, bl
test bl, cl
je 0x14002abd8
test al, al
je 0x14002abd8
lea rcx, [rbp - 0x31]
call fcn.1400e3a58
mov dil, r14b
lea rcx, [rbp - 0x31]
call fcn.1400cbff4
test al, al
jne 0x14002abb1
mov dil, bl
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.1400042c0
nop
lea rcx, [rbp - 0x31]
call fcn.1400e3a58
lea rdx, [rbp + 0xf]
mov r10, qword [rbp + 0x27]
cmp r10, 8
setae r11b
mov rcx, qword [rbp + 0xf]
cmovae rdx, rcx
lea r9, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r9, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
cmp r8, qword [rbp + 0x1f]
jne 0x14002ac73
test r8, r8
je 0x14002ab71
sub r9, rdx
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14002ac73
add rdx, 2
sub r8, rbx
jne 0x14002ab5a
test r11b, r11b
je 0x14002aba4
lea rdx, [r10*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x14002ab9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002acfb
call fcn.1401af9bc
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r12
mov word [rbp + 0xf], r14w
lea rcx, [rbp - 0x31]
call fcn.14002a7b4
mov ecx, eax
shr ecx, 1
and cl, bl
shr eax, 2
test bl, al
je 0x14002abd8
test dil, dil
je 0x14002abd1
test sil, sil
je 0x14002abd5
test cl, cl
je 0x14002abd8
mov bl, r14b
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14002ac14
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, r15
jb 0x14002ac0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002acf5
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14002ac62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, r15
jb 0x14002ac5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002acef
call fcn.1401af9bc
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], r12
mov word [rbp - 0x31], r14w
mov al, bl
jmp 0x14002acc7
test r11b, r11b
je 0x14002aca2
lea rdx, [r10*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x14002ac9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002acfb
call fcn.1401af9bc
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r12
mov word [rbp + 0xf], r14w
lea rcx, [rbp - 0x31]
call fcn.1400cbff4
test al, al
jne 0x14002abb1
jmp 0x14002aaed
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1401b6b94
nop
call fcn.1401b6b94
nop
call fcn.1401b6b94
int3