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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rax, [0x1400015d8]
xor r15d, r15d
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, [0x1400015e0]
mov dword [rbp + 0xc0], r15d
mov qword [rsp + 0x28], rax
mov ebx, r15d
lea rax, [0x1400015e8]
mov qword [rsp + 0x30], rax
lea r14d, [r15 + 0x1a]
lea rax, [0x1400015f0]
mov qword [rsp + 0x38], rax
lea rax, [0x1400015f8]
mov qword [rsp + 0x40], rax
lea rax, [0x140001600]
mov qword [rsp + 0x48], rax
lea rax, [0x140001608]
mov qword [rsp + 0x50], rax
lea rax, [0x140001610]
mov qword [rsp + 0x58], rax
lea rax, [0x140001618]
mov qword [rsp + 0x60], rax
lea rax, [0x140001620]
mov qword [rsp + 0x68], rax
lea rax, [0x140001628]
mov qword [rsp + 0x70], rax
lea rax, [0x140001630]
mov qword [rsp + 0x78], rax
lea rax, [0x140001638]
mov qword [rbp - 0x80], rax
lea rax, [0x140001640]
mov qword [rbp - 0x78], rax
lea rax, [0x140001648]
mov qword [rbp - 0x70], rax
lea rax, [0x140001650]
mov qword [rbp - 0x68], rax
lea rax, [0x140001658]
mov qword [rbp - 0x60], rax
lea rax, [0x140001660]
mov qword [rbp - 0x58], rax
lea rax, [0x140001668]
mov qword [rbp - 0x50], rax
lea rax, [0x140001670]
mov qword [rbp - 0x48], rax
lea rax, [0x140001678]
mov qword [rbp - 0x40], rax
lea rax, [0x140001680]
mov qword [rbp - 0x38], rax
lea rax, [0x140001688]
mov qword [rbp - 0x30], rax
lea rax, [0x140001690]
mov qword [rbp - 0x28], rax
lea rax, [0x140001698]
mov qword [rbp - 0x20], rax
lea rax, [0x1400016a0]
mov qword [rbp - 0x18], rax
mov rsi, qword [rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x140004b7e
mov eax, ebx
inc ebx
mov qword [rbp + rax*8 - 0x10], rsi
add rdi, 8
sub r14, 1
jne 0x140004b64
mov word [rbp + 0xd0], r15w
mov rcx, qword [0x14000f810]
mov edx, 8
mov r8d, 0x10040
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140004b90
mov rcx, qword [0x14000f810]
mov edx, 8
mov r8d, 0x10040
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140004bb0
mov edx, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r14, rax
test ebx, ebx
je 0x140004c48
lea r9, [rbp + 0xc0]
mov r8d, 0x78
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x140004c22
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x140004c22
mov word [rbp + 0xd0], r15w
jmp 0x140004c32
dec ebx
mov rdx, rdi
mov rcx, qword [rbp + rbx*8 - 0x10]
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov r8d, 0x8000
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x140004be1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rcx, qword [0x14000f810]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x14000f810]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14000dfa0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret