Function at 0x140012000
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 [0x14003f060]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rax, [0x14000e5a0]
xor r15d, r15d
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, [0x14000e5a8]
mov dword [rbp + 0xc0], r15d
mov qword [rsp + 0x28], rax
mov ebx, r15d
lea rax, [0x14000e5b0]
mov qword [rsp + 0x30], rax
lea r14d, [r15 + 0x1a]
lea rax, [0x14000e5b8]
mov qword [rsp + 0x38], rax
lea rax, [0x14000e5c0]
mov qword [rsp + 0x40], rax
lea rax, [0x14000e5c8]
mov qword [rsp + 0x48], rax
lea rax, [0x14000e5d0]
mov qword [rsp + 0x50], rax
lea rax, [0x14000e5d8]
mov qword [rsp + 0x58], rax
lea rax, [0x14000e5e0]
mov qword [rsp + 0x60], rax
lea rax, [0x14000e5e8]
mov qword [rsp + 0x68], rax
lea rax, [0x14000e5f0]
mov qword [rsp + 0x70], rax
lea rax, [0x14000e5f8]
mov qword [rsp + 0x78], rax
lea rax, [0x14000e600]
mov qword [rbp - 0x80], rax
lea rax, [0x14000e608]
mov qword [rbp - 0x78], rax
lea rax, [0x14000e610]
mov qword [rbp - 0x70], rax
lea rax, [0x14000e618]
mov qword [rbp - 0x68], rax
lea rax, [0x14000e620]
mov qword [rbp - 0x60], rax
lea rax, [0x14000e628]
mov qword [rbp - 0x58], rax
lea rax, [0x14000e630]
mov qword [rbp - 0x50], rax
lea rax, [0x14000e638]
mov qword [rbp - 0x48], rax
lea rax, [0x14000e640]
mov qword [rbp - 0x40], rax
lea rax, [0x14000e648]
mov qword [rbp - 0x38], rax
lea rax, [0x14000e650]
mov qword [rbp - 0x30], rax
lea rax, [0x14000e658]
mov qword [rbp - 0x28], rax
lea rax, [0x14000e660]
mov qword [rbp - 0x20], rax
lea rax, [0x14000e668]
mov qword [rbp - 0x18], rax
mov rsi, qword [rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x14001218e
mov eax, ebx
inc ebx
mov qword [rbp + rax*8 - 0x10], rsi
add rdi, 8
sub r14, 1
jne 0x140012174
mov word [rbp + 0xd0], r15w
mov rcx, qword [0x1400419a0]
mov edx, 8
mov r8d, 0x10040
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400121a0
mov rcx, qword [0x1400419a0]
mov edx, 8
mov r8d, 0x10040
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1400121c0
mov edx, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r14, rax
test ebx, ebx
je 0x140012258
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 0x140012232
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x140012232
mov word [rbp + 0xd0], r15w
jmp 0x140012242
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 0x1400121f1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rcx, qword [0x1400419a0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1400419a0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14001eb70
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