Function at 0x14002d790
Capabilities:
Enumerate disk volumes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x48], 0
mov r13, qword [0x140457a18]
movzx eax, byte [r13]
mov ecx, 0x20a
mov edx, 2
call fcn.140008a30
test rax, rax
je 0x14002dbde
mov rdi, rax
mov r14d, 0x20a
mov r8d, 0x20a
mov rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rdi
mov edx, 0x105
call sub.kernel32.dll_FindFirstVolumeW
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffe
jae 0x14002d86b
mov qword [rsp + 0x50], rsi
mov r12d, 2
nop
cmp word [rdi + r12*2 - 4], 0
je 0x14002d915
cmp word [rdi + r12*2 - 2], 0
je 0x14002d91b
cmp word [rdi + r12*2], 0
je 0x14002d91e
add r12, 3
add r14, 0xfffffffffffffffa
jne 0x14002d820
lea r8, str.C:Userswin10_x64.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.32.0_srcwindowsdisk.rs
mov ecx, 0x106
mov edx, 0x105
call fcn.1400ef270
jmp 0x14002dbed
call fcn.1400570d0
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
test rax, rax
je 0x14002d891
lea rcx, [rsp + 0x28]
call fcn.140057db0
mov edx, 0x20a
mov r8d, 2
mov rcx, rdi
call fcn.140008a40
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14002d8e5
mov rbx, qword [rsp + 0x40]
add rbx, 8
jmp 0x14002d8c9
add rbx, 0x18
dec rdi
je 0x14002d8e5
mov rdx, qword [rbx - 8]
test rdx, rdx
je 0x14002d8c0
mov rcx, qword [rbx]
add rdx, rdx
mov r8d, 2
call fcn.140008a40
jmp 0x14002d8c0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002d907
mov rcx, qword [rsp + 0x40]
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.140008a40
mov eax, 8
xor ecx, ecx
xor edx, edx
jmp 0x14002db39
add r12, 0xfffffffffffffffe
jmp 0x14002d91e
dec r12
lea r15, [r12*2 + 2]
movzx eax, byte [r13]
mov edx, 2
mov rcx, r15
call fcn.140008a30
test rax, rax
je 0x14002dbcf
mov r14, rax
mov rcx, rax
mov rdx, rdi
mov r8, r15
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x38]
call fcn.140026b10
inc r12
mov rax, qword [rsp + 0x40]
mov qword [rax], r12
mov qword [rax + 8], r14
mov qword [rax + 0x10], r12
mov qword [rsp + 0x48], 1
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x105
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
je 0x14002da84
lea r14, [rsp + 0x38]
jmp 0x14002d9db
inc rbp
mov rax, qword [rsp + 0x40]
lea rcx, [rsi + rsi*2]
mov qword [rax + rcx*8], rbp
mov qword [rax + rcx*8 + 8], r12
mov qword [rax + rcx*8 + 0x10], rbp
inc rsi
mov qword [rsp + 0x48], rsi
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x105
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
je 0x14002da84
mov eax, 0x20a
mov ebp, 2
nop word cs:[rax + rax]
cmp word [rdi + rbp*2 - 4], 0
je 0x14002da20
cmp word [rdi + rbp*2 - 2], 0
je 0x14002da30
cmp word [rdi + rbp*2], 0
je 0x14002da33
add rbp, 3
add rax, 0xfffffffffffffffa
jne 0x14002d9f0
jmp 0x14002d850
add rbp, 0xfffffffffffffffe
jmp 0x14002da33
dec rbp
lea r15, [rbp*2 + 2]
movzx eax, byte [r13]
mov edx, 2
mov rcx, r15
call fcn.140008a30
test rax, rax
je 0x14002dbcf
mov r12, rax
mov rcx, rax
mov rdx, rdi
mov r8, r15
call sub.msvcrt.dll_memcpy
mov rsi, qword [rsp + 0x48]
cmp rsi, qword [rsp + 0x38]
jne 0x14002d9a0
mov rcx, r14
call fcn.140026b10
jmp 0x14002d9a0
call fcn.1400570d0
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], 1
test rax, rax
je 0x14002daaf
lea rcx, [rsp + 0x28]
call fcn.140057db0
call fcn.1400570d0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], edx
cmp edx, 0x80070012
jne 0x14002dad6
test rax, rax
je 0x14002dae5
lea rcx, [rsp + 0x20]
call fcn.140057db0
jmp 0x14002dae5
test rax, rax
je 0x14002dae5
lea rcx, [rsp + 0x20]
call fcn.140057db0
mov rcx, rbx
call sub.kernel32.dll_FindVolumeClose
test eax, eax
jne 0x14002db17
call fcn.1400570d0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], 1
test rax, rax
je 0x14002db17
lea rcx, [rsp + 0x28]
call fcn.140057db0
mov edx, 0x20a
mov r8d, 2
mov rcx, rdi
call fcn.140008a40
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
call fcn.140031770
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rcx, rsi
call fcn.140032230
mov rax, qword [rsi]
test rax, rax
je 0x14002dbad
mov rcx, qword [rsi + 8]
shl rax, 5
lea rdx, [rax + rax*4]
mov r8d, 8
call fcn.140008a40
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 2
mov rdx, r15
call fcn.1400dc200
jmp 0x14002dbed
mov ecx, 2
mov edx, 0x20a
call fcn.1400dc220
ud2