Function at 0x140049d00
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 [0x1401a9e18]
movzx eax, byte [r13]
mov ecx, 0x20a
mov edx, 2
call fcn.140011db0
test rax, rax
je 0x14004a14e
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 0x140049ddb
mov qword [rsp + 0x50], rsi
mov r12d, 2
nop
cmp word [rdi + r12*2 - 4], 0
je 0x140049e85
cmp word [rdi + r12*2 - 2], 0
je 0x140049e8b
cmp word [rdi + r12*2], 0
je 0x140049e8e
add r12, 3
add r14, 0xfffffffffffffffa
jne 0x140049d90
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.140106450
jmp 0x14004a15d
call fcn.14006e2b0
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
test rax, rax
je 0x140049e01
lea rcx, [rsp + 0x28]
call fcn.14006ef90
mov edx, 0x20a
mov r8d, 2
mov rcx, rdi
call fcn.140011dc0
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140049e55
mov rbx, qword [rsp + 0x40]
add rbx, 8
jmp 0x140049e39
add rbx, 0x18
dec rdi
je 0x140049e55
mov rdx, qword [rbx - 8]
test rdx, rdx
je 0x140049e30
mov rcx, qword [rbx]
add rdx, rdx
mov r8d, 2
call fcn.140011dc0
jmp 0x140049e30
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140049e77
mov rcx, qword [rsp + 0x40]
shl rax, 3
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.140011dc0
mov eax, 8
xor ecx, ecx
xor edx, edx
jmp 0x14004a0a9
add r12, 0xfffffffffffffffe
jmp 0x140049e8e
dec r12
lea r15, [r12*2 + 2]
movzx eax, byte [r13]
mov edx, 2
mov rcx, r15
call fcn.140011db0
test rax, rax
je 0x14004a13f
mov r14, rax
mov rcx, rax
mov rdx, rdi
mov r8, r15
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x38]
call fcn.140042db0
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 0x140049ff4
lea r14, [rsp + 0x38]
jmp 0x140049f4b
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 0x140049ff4
mov eax, 0x20a
mov ebp, 2
nop word cs:[rax + rax]
cmp word [rdi + rbp*2 - 4], 0
je 0x140049f90
cmp word [rdi + rbp*2 - 2], 0
je 0x140049fa0
cmp word [rdi + rbp*2], 0
je 0x140049fa3
add rbp, 3
add rax, 0xfffffffffffffffa
jne 0x140049f60
jmp 0x140049dc0
add rbp, 0xfffffffffffffffe
jmp 0x140049fa3
dec rbp
lea r15, [rbp*2 + 2]
movzx eax, byte [r13]
mov edx, 2
mov rcx, r15
call fcn.140011db0
test rax, rax
je 0x14004a13f
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 0x140049f10
mov rcx, r14
call fcn.140042db0
jmp 0x140049f10
call fcn.14006e2b0
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], 1
test rax, rax
je 0x14004a01f
lea rcx, [rsp + 0x28]
call fcn.14006ef90
call fcn.14006e2b0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], edx
cmp edx, 0x80070012
jne 0x14004a046
test rax, rax
je 0x14004a055
lea rcx, [rsp + 0x20]
call fcn.14006ef90
jmp 0x14004a055
test rax, rax
je 0x14004a055
lea rcx, [rsp + 0x20]
call fcn.14006ef90
mov rcx, rbx
call sub.kernel32.dll_FindVolumeClose
test eax, eax
jne 0x14004a087
call fcn.14006e2b0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], 1
test rax, rax
je 0x14004a087
lea rcx, [rsp + 0x28]
call fcn.14006ef90
mov edx, 0x20a
mov r8d, 2
mov rcx, rdi
call fcn.140011dc0
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.14004df10
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.14004e600
mov rax, qword [rsi]
test rax, rax
je 0x14004a11d
mov rcx, qword [rsi + 8]
shl rax, 5
lea rdx, [rax + rax*4]
mov r8d, 8
call fcn.140011dc0
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.1400f33e0
jmp 0x14004a15d
mov ecx, 2
mov edx, 0x20a
call fcn.1400f3400
ud2