Function at 0x180001d40
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1800bb040]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r13, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
lea rdx, [rbp - 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x180001ff8
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.18000a1d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
xor r8d, r8d
lea rdx, [0x180063901]
lea rcx, [rsp + 0x38]
call fcn.18000a1d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov r8d, 1
lea rdx, str._._n_r
lea rcx, [rsp + 0x58]
call fcn.18000a1d0
nop
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x58]
nop word [rax + rax]
lea rsi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rsi, r13
lea r12, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova r12, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x68]
cmp rdi, rcx
ja 0x180001ecf
mov rax, rcx
sub rax, rdi
cmp rbx, rax
ja 0x180001ecf
test rdi, rdi
je 0x180001f13
sub rcx, rdi
lea r14, [rcx + r12]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180001ecf
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180001f10
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180001ea0
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xf
mov r13, qword [rsp + 0x78]
jbe 0x180001f53
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001f4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001f4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r12
cmp rbx, 0xffffffffffffffff
je 0x180001ecf
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180009070
add rbx, qword [rsp + 0x48]
jmp 0x180001e40
call fcn.18005fefc
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x180001f93
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001f8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001f8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005fefc
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call fcn.180001a80
mov rdx, rax
mov rcx, r13
call fcn.1800087f0
lea rcx, [rsp + 0x38]
call fcn.180008780
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180001ff8
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001ff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001ff3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005fefc
mov rax, r13
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.18005fb30
lea r11, [rsp + 0x8c0]
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