Function at 0x1400c2740
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 [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x28]
call fcn.140004410
nop
mov rcx, qword [rsp + 0x4e8]
call fcn.1400583e0
mov r8d, 9
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x4e8]
call fcn.1400581c0
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, [0x1402f33d0]
mov rcx, qword [rsp + 0x70]
call fcn.140011590
test eax, eax
jne 0x1400c27e0
mov dword [rsp + 0x30], 1
jmp 0x1400c27e8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x78]
call fcn.1400031c0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400c2a8c
mov r8d, 9
lea rdx, [0x1402f33a4]
mov rcx, qword [rsp + 0x4e8]
call fcn.1400066b0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x1400c283e
mov rcx, qword [rsp + 0x4e8]
call fcn.140003fd0
mov dword [rsp + 0x24], eax
mov r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x4e8]
call fcn.1400581c0
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 0x1400c2a80
lea rcx, [rsp + 0xa0]
call fcn.14026f9f4
dec rax
mov qword [rsp + 0x48], rax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x5c
jne 0x1400c2a53
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x5c
jne 0x1400c2a53
mov eax, 2
imul rax, rax, 2
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x3f
jne 0x1400c2a53
mov eax, 2
imul rax, rax, 3
movzx eax, word [rsp + rax + 0xa0]
cmp eax, 0x5c
jne 0x1400c2a53
mov rax, qword [rsp + 0x48]
movzx eax, word [rsp + rax*2 + 0xa0]
cmp eax, 0x5c
jne 0x1400c2a53
mov rax, qword [rsp + 0x48]
shl rax, 1
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x208
jae 0x1400c293b
jmp 0x1400c2940
call fcn.14026431c
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.140004170
nop
lea rcx, [rsp + 0x38]
call fcn.1400583e0
lea rcx, [rsp + 0x38]
call fcn.140003250
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140011590
test eax, eax
jne 0x1400c2a49
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.140004120
lea rdx, [0x1402f33e4]
lea rcx, [rsp + 0x28]
call fcn.140003af0
mov r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x4e8]
call fcn.1400585f0
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.1400085c0
nop
lea rcx, [rsp + 0x90]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x38]
call fcn.1400031c0
jmp 0x1400c2a74
lea rcx, [rsp + 0x38]
call fcn.1400031c0
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x1400c288e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop
lea rcx, [rsp + 0x58]
call fcn.1400031c0
jmp 0x1400c2a9e
mov rdx, qword [rsp + 0x4e8]
lea rcx, [rsp + 0x28]
call fcn.140007070
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x4e0]
call fcn.140007200
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x28]
call fcn.1400031c0
nop
mov rcx, qword [rsp + 0x4e8]
call fcn.1400031c0
mov rax, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x4d0
pop rdi
ret