Function at 0x1400a1090
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r14, qword [rbp + 0x2b0]
mov qword [rbp - 0x58], r14
mov rsi, qword [rbp + 0x2b8]
mov qword [rbp - 0x58], rsi
xor r15d, r15d
lea edx, [r15 + 0x40]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rbx, rax
mov qword [rbp - 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x1400a13ca
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
lea rcx, [rbp - 0x20]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400a1120
test rax, rax
je 0x1400a11cc
cmp word [rbp + rax*2 - 0x22], 0x5c
jne 0x1400a1153
dec rax
add rax, rax
cmp rax, 0x80
jae 0x1400a1385
mov word [rbp + rax - 0x20], r15w
mov r8d, 4
lea rdx, [0x140154378]
lea rcx, [rbp - 0x20]
call fcn.1400da8e8
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x18]
test eax, eax
cmove rcx, rdx
mov r8d, 0x104
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400a11cc
lea r8, [0x140143394]
mov edx, 0x104
lea rcx, [rbp + 0x60]
call fcn.1400d59fc
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400a11ad
mov rcx, qword [rsi]
lea rax, [rbp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a11b4
lea rdx, [rbp + 0x60]
call fcn.1400d00c4
test eax, eax
je 0x1400a11fb
mov r8d, 0x40
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x1400a1110
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1400a138b
jmp 0x1400a13f3
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rax, [rbp - 0x20]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a1230
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x78]
call fcn.14000c360
nop
mov r8d, 1
lea rdx, [0x140143394]
lea rcx, [rbp - 0x78]
call fcn.14000bdb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x60]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400a12c5
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.14000c360
nop
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140033ff0
mov rdx, rax
mov rcx, r14
call fcn.140025cc0
nop
lea rcx, [rsp + 0x58]
call fcn.14000c080
nop
lea rcx, [rsp + 0x30]
call fcn.14000c080
nop
lea rcx, [rbp - 0x78]
call fcn.14000c080
nop
lea rcx, [rbp - 0x50]
call fcn.14000c080
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop
mov rcx, rsi
call fcn.14000c080
mov rax, r14
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400b89f0
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x380
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b9214
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Unable_to_convert_NT_path__to_a_volume_GUID_path_
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0x35
mov r9, rsi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.14003f240
lea rdx, [0x140172368]
lea rcx, [rbp - 0x50]
call fcn.1400bb9a0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_enumerate_volumes_
lea rcx, [rbp - 0x50]
call fcn.1400aa6a0
lea rdx, [0x140172368]
lea rcx, [rbp - 0x50]
call fcn.1400bb9a0
int3
lea rcx, str.Unable_to_convert_NT_path__to_a_volume_GUID_path_
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0x35
mov r9, rsi
lea r8, [rsp + 0x20]
mov edx, 3
lea rcx, [rbp - 0x50]
call fcn.14003f240
lea rdx, [0x140172368]
lea rcx, [rbp - 0x50]
call fcn.1400bb9a0
int3