Function at 0x18004a220
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov qword [rsp + 0x148], 0xfffffffffffffffe
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x18004a280
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1b0]
call qword [rax + 0x48]
movzx eax, al
test eax, eax
jne 0x18004a2b8
xor eax, eax
test eax, eax
jne 0x18004a2b1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x295
lea rdx, [0x1801aa858]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18004a2b1
int3
xor al, al
jmp 0x18004a696
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180001b40
nop
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 0
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.180034800
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180001988
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 8
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, SafeArrayGetDim
lea r8, [rsp + 0x60]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x1b0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov byte [rsp + 0x44], al
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x18004a66f
mov eax, dword [rsp + 0x40]
cmp rax, 8
jne 0x18004a66f
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.180034800
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180001988
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x88]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, SafeArrayGetDim
lea r8, [rsp + 0x60]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x1b0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov byte [rsp + 0x44], al
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x18004a651
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x18004a651
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x18], 0
je 0x18004a633
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x18], 0xffffffff
je 0x18004a633
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x18]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x18004a4f1
mov rcx, qword [rsp + 0x98]
call fcn.1800d8570
test rax, rax
jbe 0x18004a4f1
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xa0]
call fcn.1800333e0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x1b8]
call fcn.180001d6b
nop
lea rcx, [rsp + 0xa0]
call fcn.18000165e
jmp 0x18004a540
lea rdx, [0x1801aa870]
lea rcx, [rsp + 0xc0]
call fcn.1800334a0
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x1b8]
call fcn.180001d6b
nop
lea rcx, [rsp + 0xc0]
call fcn.18000165e
mov rcx, qword [rsp + 0x1b8]
call fcn.180001a19
test rax, rax
jbe 0x18004a5c8
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xe0]
call fcn.1800333e0
nop
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x100]
call fcn.180034100
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x1b8]
call fcn.180001d6b
nop
lea rcx, [rsp + 0x100]
call fcn.18000165e
nop
lea rcx, [rsp + 0xe0]
call fcn.18000165e
jmp 0x18004a617
lea rdx, str.null
lea rcx, [rsp + 0x120]
call fcn.1800334a0
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x1b8]
call fcn.180001d6b
nop
lea rcx, [rsp + 0x120]
call fcn.18000165e
mov byte [rsp + 0x140], 1
lea rcx, [rsp + 0x70]
call fcn.180001da7
movzx eax, byte [rsp + 0x140]
jmp 0x18004a696
mov byte [rsp + 0x141], 1
lea rcx, [rsp + 0x70]
call fcn.180001da7
movzx eax, byte [rsp + 0x141]
jmp 0x18004a696
mov byte [rsp + 0x142], 0
lea rcx, [rsp + 0x70]
call fcn.180001da7
movzx eax, byte [rsp + 0x142]
jmp 0x18004a696
mov byte [rsp + 0x143], 0
lea rcx, [rsp + 0x70]
call fcn.180001da7
movzx eax, byte [rsp + 0x143]
jmp 0x18004a696
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x1a8
ret