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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4d0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x28]
call fcn.140004d40
nop
mov rcx, qword [rsp + 0x4e8]
call fcn.140048820
mov r8d, 9
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x4e8]
call fcn.140048770
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rdx, str.DEVICEH
mov rcx, qword [rsp + 0x70]
call fcn.1400039d0
test eax, eax
jne 0x1400b41c0
mov dword [rsp + 0x30], 1
jmp 0x1400b41c8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x78]
call fcn.140001910
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400b446c
mov r8d, 9
lea rdx, [0x14014d984]
mov rcx, qword [rsp + 0x4e8]
call fcn.1400034e0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x1400b421e
mov rcx, qword [rsp + 0x4e8]
call fcn.140004a80
mov dword [rsp + 0x24], eax
mov r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x4e8]
call fcn.140048770
nop
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x1400b4460
lea rcx, [rsp + 0xa0]
call fcn.1400e9024
dec rax
mov qword [rsp + 0x48], rax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x5c
jne 0x1400b4433
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x5c
jne 0x1400b4433
mov eax, 2
imul rax, rax, 2
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x3f
jne 0x1400b4433
mov eax, 2
imul rax, rax, 3
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x5c
jne 0x1400b4433
mov rax, qword [rsp + 0x48]
movzx eax, word [rsp + rax*2 + 0xa0]
cmp eax, 0x5c
jne 0x1400b4433
mov rax, qword [rsp + 0x48]
shl rax, 1
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x208
jae 0x1400b431b
jmp 0x1400b4320
call fcn.1400dc820
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0xa0], ax
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov eax, 2
imul rax, rax, 4
lea rax, [rsp + rax + 0xa0]
mov r8d, 0x104
lea rdx, [rsp + 0x2b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x38]
call fcn.140004430
nop
lea rcx, [rsp + 0x38]
call fcn.140048820
lea rcx, [rsp + 0x38]
call fcn.140004640
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400039d0
test eax, eax
jne 0x1400b4429
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.140004670
lea rdx, [0x14014d9c4]
lea rcx, [rsp + 0x28]
call fcn.140003ca0
mov r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x4e8]
call fcn.140003440
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x28]
call fcn.140003c90
nop
lea rcx, [rsp + 0x90]
call fcn.140001910
nop
lea rcx, [rsp + 0x38]
call fcn.140001910
jmp 0x1400b4454
lea rcx, [rsp + 0x38]
call fcn.140001910
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x1400b426e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop
lea rcx, [rsp + 0x58]
call fcn.140001910
jmp 0x1400b447e
mov rdx, qword [rsp + 0x4e8]
lea rcx, [rsp + 0x28]
call fcn.140004b30
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x4e0]
call fcn.140004cb0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x28]
call fcn.140001910
nop
mov rcx, qword [rsp + 0x4e8]
call fcn.140001910
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x4d0
pop rdi
ret