Function at 0x180017260
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 [0x180380fe8]
movzx eax, byte [r13]
mov ecx, 0x20a
mov edx, 2
call fcn.18000a890
test rax, rax
je 0x1800176ae
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 0x18001733b
mov qword [rsp + 0x50], rsi
mov r12d, 2
nop
cmp word [rdi + r12*2 - 4], 0
je 0x1800173e5
cmp word [rdi + r12*2 - 2], 0
je 0x1800173eb
cmp word [rdi + r12*2], 0
je 0x1800173ee
add r12, 3
add r14, 0xfffffffffffffffa
jne 0x1800172f0
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.1800f21b0
jmp 0x1800176bd
call fcn.1800560b0
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
test rax, rax
je 0x180017361
lea rcx, [rsp + 0x28]
call fcn.180056c30
mov edx, 0x20a
mov r8d, 2
mov rcx, rdi
call fcn.18000a8a0
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x1800173b5
mov rbx, qword [rsp + 0x40]
add rbx, 8
jmp 0x180017399
add rbx, 0x18
dec rdi
je 0x1800173b5
mov rdx, qword [rbx - 8]
test rdx, rdx
je 0x180017390
mov rcx, qword [rbx]
add rdx, rdx
mov r8d, 2
call fcn.18000a8a0
jmp 0x180017390
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1800173d7
mov rcx, qword [rsp + 0x40]
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.18000a8a0
mov eax, 8
xor ecx, ecx
xor edx, edx
jmp 0x180017609
add r12, 0xfffffffffffffffe
jmp 0x1800173ee
dec r12
lea r15, [r12*2 + 2]
movzx eax, byte [r13]
mov edx, 2
mov rcx, r15
call fcn.18000a890
test rax, rax
je 0x18001769f
mov r14, rax
mov rcx, rax
mov rdx, rdi
mov r8, r15
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x38]
call fcn.180028260
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 0x180017554
lea r14, [rsp + 0x38]
jmp 0x1800174ab
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 0x180017554
mov eax, 0x20a
mov ebp, 2
nop word cs:[rax + rax]
cmp word [rdi + rbp*2 - 4], 0
je 0x1800174f0
cmp word [rdi + rbp*2 - 2], 0
je 0x180017500
cmp word [rdi + rbp*2], 0
je 0x180017503
add rbp, 3
add rax, 0xfffffffffffffffa
jne 0x1800174c0
jmp 0x180017320
add rbp, 0xfffffffffffffffe
jmp 0x180017503
dec rbp
lea r15, [rbp*2 + 2]
movzx eax, byte [r13]
mov edx, 2
mov rcx, r15
call fcn.18000a890
test rax, rax
je 0x18001769f
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 0x180017470
mov rcx, r14
call fcn.180028260
jmp 0x180017470
call fcn.1800560b0
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], 1
test rax, rax
je 0x18001757f
lea rcx, [rsp + 0x28]
call fcn.180056c30
call fcn.1800560b0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], edx
cmp edx, 0x80070012
jne 0x1800175a6
test rax, rax
je 0x1800175b5
lea rcx, [rsp + 0x20]
call fcn.180056c30
jmp 0x1800175b5
test rax, rax
je 0x1800175b5
lea rcx, [rsp + 0x20]
call fcn.180056c30
mov rcx, rbx
call sub.kernel32.dll_FindVolumeClose
test eax, eax
jne 0x1800175e7
call fcn.1800560b0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], 1
test rax, rax
je 0x1800175e7
lea rcx, [rsp + 0x28]
call fcn.180056c30
mov edx, 0x20a
mov r8d, 2
mov rcx, rdi
call fcn.18000a8a0
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.180023db0
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.1800244f0
mov rax, qword [rsi]
test rax, rax
je 0x18001767d
mov rcx, qword [rsi + 8]
shl rax, 5
lea rdx, [rax + rax*4]
mov r8d, 8
call fcn.18000a8a0
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.1800debd0
jmp 0x1800176bd
mov ecx, 2
mov edx, 0x20a
call fcn.1800debf0
ud2