Function at 0x180014518
Capabilities:
Get storage device properties

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
movsx eax, dl
movzx r8d, ax
lea rdx, [0x180068f78]
lea rcx, [r11 - 0x50]
call fcn.18002132c
nop
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae rcx, qword [rsp + 0x90]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea r8d, [rdi + 3]
mov dword [rsp + 0x20], r8d
xor r9d, r9d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x68], rax
cmp rax, rdi
je 0x180014787
cmp rax, 0xffffffffffffffff
je 0x180014787
mov dword [rsp + 0x78], edi
xor eax, eax
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0xc]
lea r8, [rsp + 0x78]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
jne 0x18001465d
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], rdi
mov byte [rsi + 8], dil
xor r8d, r8d
lea rdx, [0x1800677fc]
mov rcx, rsi
call fcn.1800026f8
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0xa8], 8
jb 0x180014655
mov rcx, qword [rsp + 0x90]
call fcn.180043070
mov rax, rsi
jmp 0x1800147da
lea rax, vtable.MemoryHolder_unsigned_char_.0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
mov ecx, dword [rsp + 0x4c]
mov qword [rsp + 0x60], rcx
call fcn.180042b8c
mov rbp, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbp
mov r9d, 0xc
lea r8, [rsp + 0x78]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
jne 0x180014718
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], rdi
mov byte [rsi + 8], dil
xor r8d, r8d
lea rdx, [0x1800677fc]
mov rcx, rsi
call fcn.1800026f8
nop
cmp rbp, rdi
je 0x1800146ee
mov rcx, rbp
call fcn.1800435cc
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0xa8], 8
jb 0x180014710
mov rcx, qword [rsp + 0x90]
call fcn.180043070
mov rax, rsi
jmp 0x1800147da
mov eax, dword [rbp + 0x18]
add rax, rbp
lea rdx, [0x1800677fc]
cmp rax, rdi
cmovne rdx, rax
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], rdi
mov byte [rsi + 8], dil
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rsi
call fcn.1800026f8
nop
mov rcx, rbp
call fcn.1800435cc
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0xa8], 8
jb 0x180014782
mov rcx, qword [rsp + 0x90]
call fcn.180043070
mov rax, rsi
jmp 0x1800147da
mov qword [rsi + 0x20], 0xf
mov qword [rsi + 0x18], rdi
mov byte [rsi + 8], dil
xor r8d, r8d
lea rdx, [0x1800677fc]
mov rcx, rsi
call fcn.1800026f8
nop
cmp rbx, 0xffffffffffffffff
je 0x1800147bf
cmp rbx, rdi
je 0x1800147bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0xa8], 8
jb 0x1800147d7
mov rcx, qword [rsp + 0x90]
call fcn.180043070
mov rax, rsi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180042bb0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret