Function at 0x1400895d0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1560
call fcn.1401afab0
sub rsp, rax
mov rax, qword [0x1403a1d18]
xor rax, rsp
mov qword [rsp + 0x1550], rax
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov byte [rsp + 0x108], 0
xor r13d, r13d
mov dword [rsp + 0xe4], r13d
lea rax, [rsp + 0x108]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xe8], 0xc00
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0x100], r13
mov dword [rsp + 0xe0], 0xbabe0001
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, str.:iprtnt:GLOBAL__
call qword [sym.imp.BstkRT.dll_RTVfsChainOpenDir]
test eax, eax
jns 0x1400896aa
mov r9d, eax
lea r8, str.Failed_to_open_NTGLOBAL____error__Rrc_
mov edx, 0x80004005
mov rcx, rbx
call fcn.140013c70
jmp 0x140089904
mov esi, 0x1dc
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverHostImpl.cpp
mov ecx, esi
call qword [sym.imp.BstkRT.dll_RTMemTmpAllocTag]
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400896ef
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.BstkRT.dll_RTVfsDirRelease]
lea r8, str.Out_of_memory___direntry_buffer_
mov edx, 0x8007000e
mov rcx, rbx
call fcn.140013c70
jmp 0x140089904
mov r12d, r13d
lea rdi, vtable.com::Utf8Str.0
jmp 0x140089705
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rsi
mov r9d, 1
lea r8, [rsp + 0x68]
mov rdx, r14
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.BstkRT.dll_RTVfsDirReadEx]
test eax, eax
jns 0x1400897af
cmp eax, 0xffffffd7
jne 0x140089785
mov rcx, r14
call qword [sym.imp.BstkRT.dll_RTMemTmpFree]
cmp qword [rsp + 0x68], rsi
cmovbe rsi, qword [rsp + 0x68]
add rsi, 0x7f
and rsi, 0xffffffffffffffc0
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverHostImpl.cpp
mov rcx, rsi
call qword [sym.imp.BstkRT.dll_RTMemTmpAllocTag]
mov r14, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140089705
lea r8, str.Out_of_memory___direntry_buffer_
mov edx, 0x8007000e
mov rcx, rbx
call fcn.140013c70
mov r12d, eax
jmp 0x140089896
cmp eax, 0xffffff37
je 0x1400898ed
mov r9d, eax
lea r8, str.RTVfsDirReadEx_failed:__Rrc
mov edx, 0x80bb0005
mov rcx, rbx
call fcn.140013c70
mov r12d, eax
jmp 0x140089896
lea rdx, str.PhysicalDrive
lea rcx, [r14 + 0xd8]
call qword [sym.imp.BstkRT.dll_RTStrStartsWith]
test al, al
je 0x140089700
lea r9, [r14 + 0xd8]
lea r8, [0x1402b80d8]
mov edx, VarR4FromUI1
lea rcx, [rsp + 0xd10]
call qword [sym.imp.BstkRT.dll_RTStrPrintf]
mov qword [rsp + 0x48], 0xffffffffffffffff
mov r8d, 0x781
lea rdx, [rsp + 0xd10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.BstkRT.dll_RTFileOpen]
test eax, eax
jns 0x140089931
lea rdx, [rsp + 0xd10]
lea rcx, [rsp + 0x88]
call qword [sym.imp.BstkRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0x88], rdi
lea rdx, str.Unknown__Access_denied_
lea rcx, [rsp + 0xa8]
call qword [sym.imp.BstkRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0xa8], rdi
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.14008f2e0
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.BstkRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.BstkRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
nop
jmp 0x140089700
test r12d, r12d
jns 0x1400898ed
mov rcx, qword [r15]
mov rax, qword [rcx + 8]
mov qword [rax], r13
mov rsi, qword [rcx]
test rsi, rsi
je 0x1400898dc
nop dword [rax]
mov rdi, qword [rsi]
lea rcx, [rsi + 0x30]
call qword [sym.imp.BstkRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
lea rcx, [rsi + 0x10]
call qword [sym.imp.BstkRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
mov edx, 0x50
mov rcx, rsi
call fcn.1401af600
mov rsi, rdi
test rdi, rdi
jne 0x1400898b0
mov rax, qword [r15]
mov qword [rax], rax
mov rax, qword [r15]
mov qword [rax + 8], rax
mov qword [r15 + 8], r13
mov rcx, r14
call qword [sym.imp.BstkRT.dll_RTMemTmpFree]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.BstkRT.dll_RTVfsDirRelease]
mov eax, r12d
mov rcx, qword [rsp + 0x1550]
xor rcx, rsp
call fcn.1401af5e0
lea r11, [rsp + 0x1560]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rsp + 0x40], r13d
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xd50]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0xcc], r13
mov dword [rsp + 0xc8], r13d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.BstkRT.dll_RTFileToNative]
mov rcx, rax
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x400
lea rax, [rsp + 0xd50]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0xc8]
mov edx, 0x2d1400
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.BstkRT.dll_RTFileClose]
test ebx, ebx
je 0x140089a42
mov eax, dword [rsp + 0xd60]
test eax, eax
je 0x140089a42
lea rbx, [rsp + 0xd50]
add rbx, rax
je 0x140089a42
mov rcx, rbx
call qword [sym.imp.BstkRT.dll_RTStrPurgeEncoding]
cmp byte [rbx], 0
je 0x140089a42
mov eax, dword [rsp + 0xd5c]
test eax, eax
je 0x140089a2b
lea rdi, [rsp + 0xd50]
add rdi, rax
je 0x140089a2b
mov rcx, rdi
call qword [sym.imp.BstkRT.dll_RTStrPurgeEncoding]
cmp byte [rdi], 0
je 0x140089a2b
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, [0x1402b8108]
mov edx, 0x400
lea rcx, [rsp + 0x1150]
call qword [sym.imp.BstkRT.dll_RTStrPrintf]
jmp 0x140089a42
mov r8, rbx
mov edx, 0x400
lea rcx, [rsp + 0x1150]
call qword [sym.imp.BstkRT.dll_RTStrCopy]
nop
lea rdx, [rsp + 0xd10]
lea rcx, [rsp + 0x88]
call qword [sym.imp.BstkRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
lea rdi, vtable.com::Utf8Str.0
mov qword [rsp + 0x88], rdi
lea rdx, [rsp + 0x1150]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.BstkRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0xa8], rdi
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.14008f2e0
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.BstkRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.BstkRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
jmp 0x14008987f