Function at 0x1802062e0
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 [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x780], rax
cmp qword [rcx + 0x10], 0
jne 0x180206333
mov rax, 0xffffffffffffffff
jmp 0x1802065c9
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.180005900
nop
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.18015fbe0
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 0x180206385
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.1802149a0
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 0x180206440
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1802063c4
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x180206437
cmp qword [rbx + 0x10], 0
jbe 0x1802065ff
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1802063e7
mov rax, qword [rbx]
movzx r9d, word [rax]
cmp rdi, rsi
jae 0x180206423
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 0x1802063ac
lea rcx, [rsp + 0x40]
call fcn.1800345a0
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rbx, 0x20
jmp 0x1802063ac
cmp qword [rsp + 0x70], 0
jbe 0x1802065f9
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 0x18020648f
mov rax, rdx
cmp word [rax], cx
je 0x1802064d7
add rax, 2
sub rdi, 1
jne 0x180206480
mov rax, 0xffffffffffffffff
mov r15d, r13d
cmp rax, 0xffffffffffffffff
sete r15b
cmp rsi, 8
jb 0x1802064ec
lea rdx, [rsi*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1802064e4
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802064e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rax, rax
je 0x18020648f
sub rax, rdx
sar rax, 1
jmp 0x180206496
mov rcx, r8
call fcn.180393fb0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x180206574
mov rdi, qword [rsp + 0x28]
cmp rbx, rdi
je 0x18020652a
mov rcx, rbx
call fcn.180005c50
add rbx, 0x20
cmp rbx, rdi
jne 0x180206514
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18020655e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18020655e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180393fb0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
cmp r12, 8
jb 0x1802065b2
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1802065aa
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802065aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
mov eax, r15d
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180393f50
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.18000be20
nop
call fcn.18000be20
int3