Function at 0x1800af6f0
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r9
mov r12, r8
mov rdi, rdx
mov r14, rcx
test rdx, rdx
jne 0x1800af73a
mov eax, 0x80004003
jmp 0x1800af990
mov r8, r15
lea rdx, [rbp - 0x39]
call fcn.1800b1480
nop
mov edx, 0x14
lea rcx, [rbp - 0x19]
call fcn.1802043c0
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp rax, qword [rbp - 0x29]
je 0x1800af766
xor bl, bl
jmp 0x1800af786
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
cmp qword [rcx + 0x18], 8
jb 0x1800af77e
mov rcx, qword [rcx]
call fcn.180154bd0
movzx ebx, al
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1800af7c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800af7c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800af7c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 9], xmm0
xor r13d, r13d
mov word [rbp - 0x19], r13w
test bl, bl
je 0x1800af7ea
mov ebx, r13d
jmp 0x1800af93a
xor bl, bl
mov esi, 1
cmp qword [rbp - 0x29], 3
jne 0x1800af845
lea rax, [rbp - 0x39]
mov rdx, qword [rbp - 0x39]
mov r8, qword [rbp - 0x21]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 2], 0x3a
jne 0x1800af845
lea rax, [rbp - 0x39]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 4], 0x5c
jne 0x1800af845
lea rcx, [rbp - 0x39]
cmp r8, 8
cmovae rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x1800af845
movzx ebx, bl
test eax, eax
cmovne ebx, esi
mov qword [rbp - 0x49], r13
test bl, bl
je 0x1800af853
mov rdx, qword [r14 + 8]
jmp 0x1800af856
mov rdx, r13
mov rax, qword [rdi]
lea r9, [rbp - 0x49]
mov r8d, 0x20
mov rcx, rdi
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x1800af92a
cmp qword [rbp - 0x49], 0
je 0x1800af92a
mov qword [rbp - 0x59], r13
mov dword [rbp - 0x51], r13d
mov rsi, r13
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
lea r9, [rbp - 0x51]
lea r8, [rbp - 0x59]
mov edx, 1
call qword [rax + 0x18]
test eax, eax
jne 0x1800af91a
cmp dword [rbp - 0x51], 1
jne 0x1800af8eb
lea r8, [rbp - 0x59]
mov rdx, rdi
call fcn.1800af4a0
test eax, eax
je 0x1800af8eb
cmp eax, 1
sete al
mov dword [rsp + 0x38], 0xffffffff
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
mov r9, rdi
mov r8, r12
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.1800afac0
mov rsi, rax
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800af8fa
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp - 0x59], r13
mov rcx, qword [rbp - 0x49]
mov r10, qword [rcx]
lea r9, [rbp - 0x51]
lea r8, [rbp - 0x59]
mov edx, 1
call qword [r10 + 0x18]
test eax, eax
je 0x1800af8a4
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800af92a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800af93a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1800af97d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800af978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800af978
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], r13w
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180388400
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret