Function at 0x1400210c0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402e7080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rdx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
lea ecx, [r15 + 0x10]
call fcn.140004af0
mov qword [r14], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [r14]
mov qword [rax], r14
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x80]
mov ecx, 0xff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0xff
ja 0x1400213c9
lea rsi, [rsp + 0x80]
lea r12, str.string_subscript_out_of_range
lea r13, [0x14014f67c]
nop dword [rax + rax]
cmp word [rsi], 0
je 0x1400213c9
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov ecx, 0x10
call fcn.140004af0
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x50]
mov qword [rax], rcx
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400211d0
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140013c40
nop
mov rdx, qword [rsp + 0x68]
lea rbx, [rdx - 1]
cmp rbx, rdx
jbe 0x14002124a
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, 0xc84
lea rdx, [0x1401cc100]
lea ecx, [r9 + 2]
call fcn.1400bbbf0
cmp eax, 1
jne 0x140021220
int3
mov qword [rsp + 0x20], r15
mov r9d, 0xc84
lea r8, str.c:program_filesmicrosoft_visual_studio2022community_vc_toolsmsvc14.16.27023includexstring
lea rdx, str.std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t___::operator___
lea rcx, str._string_subscript_out_of_range_
call fcn.1400bc0f0
mov rdx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov r10, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
cmp rdi, 8
cmovae rax, r10
cmp word [rax + rbx*2], 0x5c
jne 0x1400212e1
lea rcx, [rdx - 1]
cmp rcx, rdx
ja 0x14002128a
lea rax, [rsp + 0x58]
cmp rdi, 8
cmovae rax, r10
mov qword [rsp + 0x68], rcx
mov word [rax + rcx*2], r15w
jmp 0x1400212e1
mov r8, rcx
sub r8, rdx
mov rax, rdi
sub rax, rdx
cmp r8, rax
ja 0x1400212cb
mov qword [rsp + 0x68], rcx
lea r9, [rsp + 0x58]
cmp rdi, 8
cmovae r9, r10
lea rdi, [r9 + rdx*2]
test r8, r8
je 0x1400212c0
movzx eax, r15w
mov rcx, r8
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], r15w
jmp 0x1400212e1
mov word [rsp + 0x20], r15w
mov r9, r8
mov rdx, r8
lea rcx, [rsp + 0x50]
call fcn.140016e30
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], rax
je 0x140021364
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140011d60
mov rdi, qword [r14 + 0x10]
mov edx, 3
lea rcx, [rsp + 0x78]
call fcn.14002d5d0
mov rcx, qword [r14]
lea rax, [rcx + 8]
mov rdx, r15
test rcx, rcx
cmovne rdx, rax
test rdx, rdx
je 0x140021353
mov rax, qword [rdx]
test rax, rax
je 0x140021353
nop dword [rax]
cmp qword [rax + 0x10], rdi
jb 0x140021347
ja 0x140021347
mov qword [rax], r15
mov rax, qword [rdx]
mov rax, qword [rax + 8]
mov qword [rdx], rax
jmp 0x14002134e
lea rdx, [rax + 8]
mov rax, qword [rdx]
test rax, rax
jne 0x140021330
lea rcx, [rsp + 0x78]
call fcn.14002d6a0
add qword [r14 + 0x10], 0x28
jmp 0x140021374
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r14
call fcn.140016810
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rsi + rax*2], 0
jne 0x140021380
lea rsi, [rsi + rax*2]
add rsi, 2
lea rcx, [rsp + 0x50]
call fcn.140013b90
lea rcx, [rsp + 0x50]
call fcn.140001a50
mov qword [rsp + 0x48], 0x10
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rcx
mov edx, 0x10
call fcn.140068260
jmp 0x140021170
mov rax, r14
jmp 0x1400213d3
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400681e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret