Function at 0x180204a80
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7b8]
sub rsp, 0x890
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x780], rax
cmp qword [rcx + 0x10], 0
jne 0x180204ad3
mov rax, 0xffffffffffffffff
jmp 0x180204d69
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.180004aa0
nop
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.18015a5e0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor r13d, r13d
mov qword [rsp + 0x30], r13
lea rdx, [rbp - 0x80]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x180204b25
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.180213ed0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov rdi, r13
mov qword [rsp + 0x50], r13
mov esi, 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x40], r13w
mov rbx, qword [rsp + 0x20]
cmp rbx, qword [rsp + 0x28]
je 0x180204be0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180204b64
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x180204bd7
cmp qword [rbx + 0x10], 0
jbe 0x180204d9f
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x180204b87
mov rax, qword [rbx]
movzx r9d, word [rax]
cmp rdi, rsi
jae 0x180204bc3
lea rax, [rdi + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rsi, 8
cmovae rax, qword [rsp + 0x40]
mov word [rax + rdi*2], r9w
mov word [rax + rdi*2 + 2], r13w
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rbx, 0x20
jmp 0x180204b4c
lea rcx, [rsp + 0x40]
call fcn.180032810
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rbx, 0x20
jmp 0x180204b4c
cmp qword [rsp + 0x70], 0
jbe 0x180204d99
lea rax, [rsp + 0x60]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x78]
cmp r12, 8
cmovae rax, r14
movzx ecx, word [rax]
lea rdx, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
cmp rsi, 8
cmovae rdx, r8
test rdi, rdi
je 0x180204c2f
mov rax, rdx
cmp word [rax], cx
je 0x180204c77
add rax, 2
sub rdi, 1
jne 0x180204c20
mov rax, 0xffffffffffffffff
mov r15d, r13d
cmp rax, 0xffffffffffffffff
sete r15b
cmp rsi, 8
jb 0x180204c8c
lea rdx, [rsi*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x180204c84
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180204c84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rax, rax
je 0x180204c2f
sub rax, rdx
sar rax, 1
jmp 0x180204c36
mov rcx, r8
call fcn.180385c70
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x180204d14
mov rdi, qword [rsp + 0x28]
cmp rbx, rdi
je 0x180204cca
mov rcx, rbx
call fcn.180004df0
add rbx, 0x20
cmp rbx, rdi
jne 0x180204cb4
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x180204cfe
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180204cfe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
cmp r12, 8
jb 0x180204d52
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180204d4a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180204d4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
mov eax, r15d
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18000ae60
nop
call fcn.18000ae60
int3