Function at 0x14001adb0
Capabilities:
Enumerate disk volumes
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push r12
push r13
sub rsp, 0xdc0
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0xdb0], rax
xor r13d, r13d
mov r12d, ecx
mov word [rsp + 0x380], r13w
cmp rdx, 0xffffffffffffffff
jne 0x14001ae69
mov edx, dword [0x14019bb10]
test edx, edx
jle 0x14001b090
lea rsi, [0x14019ab70]
dec edx
movsxd rax, edx
mov dword [0x14019bb10], edx
mov rbx, qword [rsi + rax*8]
mov qword [rsi + rax*8], r13
test rbx, rbx
je 0x14001ae60
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov edx, 0x9001c
mov rcx, rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x14019bb10]
test edx, edx
jg 0x14001ae01
jmp 0x14001b090
lea rcx, [rsp + 0x380]
mov edx, 0x514
mov qword [rsp + 0xde0], rbp
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14001b088
lea rdx, [rsp + 0x380]
mov r8d, 0x514
mov rcx, rax
mov word [rsp + 0x380], r13w
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x14001b07f
mov qword [rsp + 0xde8], rdi
lea rsi, [0x14019ab70]
nop dword [rax + rax]
lea rcx, [rsp + 0x380]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov word [rsp + rcx*2 + 0x37e], r13w
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x380]
lea r8d, [r9 + 3]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b04f
lea rcx, [rsp + 0x64]
xor edx, edx
mov r8d, 0x31c
mov edi, 0xffffff9c
mov dword [rsp + 0x60], r13d
call fcn.14010c6c0
xor r11d, r11d
xor ecx, ecx
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x4c], r11d
mov dword [rsp + 0x50], r11d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rbx
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0x4c], 0xffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14001afaa
movsx edi, word [rsp + 0x4c]
cmp r12d, edi
jne 0x14001b041
mov rcx, rbx
mov dword [rsp + 0x40], r13d
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edi, r13d
nop
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov edx, 0x90018
mov rcx, rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14001b024
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x14001afe0
movsxd rcx, dword [0x14019bb10]
cmp ecx, 0x1f4
jge 0x14001b041
mov qword [rsi + rcx*8], rbx
inc ecx
mov dword [0x14019bb10], ecx
jmp 0x14001b04f
test rbx, rbx
je 0x14001b04f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x380]
mov r8d, 0x514
mov rcx, rbp
mov word [rsp + 0x380], r13w
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x14001aed0
mov rdi, qword [rsp + 0xde8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rbp, qword [rsp + 0xde0]
mov rcx, qword [rsp + 0xdb0]
xor rcx, rsp
call fcn.14010bcc0
mov rbx, qword [rsp + 0xdf0]
add rsp, 0xdc0
pop r13
pop r12
pop rsi
ret