Function at 0x14008fc70
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.140203440
sub rsp, rax
mov rax, qword [0x14049bcb8]
xor rax, rsp
mov qword [rsp + 0x1550], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x108], 0
xor r12d, r12d
mov dword [rsp + 0xe4], r12d
lea rax, [rsp + 0x108]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xe8], 0xc00
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], r12
mov dword [rsp + 0xe0], 0xbabe0001
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x58]
xor edx, edx
lea rcx, str.:iprtnt:GLOBAL__
call qword [sym.imp.VBoxRT.dll_RTVfsChainOpenDir]
mov ebx, eax
test eax, eax
jns 0x14008fd69
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, str.Failed_to_open_NTGLOBAL____error__Rrc_
lea rdx, [0x140329e00]
xor ecx, ecx
call fcn.1401e20d0
mov r9d, ebx
mov r8, rax
mov edx, 0x80004005
mov rcx, rdi
call fcn.140014930
jmp 0x140090037
mov esi, 0x1dc
lea rdx, [0x14030eea8]
mov ecx, esi
call qword [sym.imp.VBoxRT.dll_RTMemTmpAllocTag]
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14008fdcb
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.VBoxRT.dll_RTVfsDirRelease]
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, str.Out_of_memory___direntry_buffer_
lea rdx, [0x140329e00]
xor ecx, ecx
call fcn.1401e20d0
mov r8, rax
mov edx, 0x8007000e
mov rcx, rdi
call fcn.140014930
jmp 0x140090037
mov r13d, r12d
nop
mov qword [rsp + 0x60], rsi
mov r9d, 1
lea r8, [rsp + 0x60]
mov rdx, r14
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.VBoxRT.dll_RTVfsDirReadEx]
mov ebx, eax
test eax, eax
jns 0x14008feb7
cmp eax, 0xffffffd7
jne 0x14008fe6f
mov rcx, r14
call qword [sym.imp.VBoxRT.dll_RTMemTmpFree]
cmp qword [rsp + 0x60], rsi
cmovbe rsi, qword [rsp + 0x60]
add rsi, 0x7f
and rsi, 0xffffffffffffffc0
lea rdx, [0x14030eea8]
mov rcx, rsi
call qword [sym.imp.VBoxRT.dll_RTMemTmpAllocTag]
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14008fdd0
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, str.Out_of_memory___direntry_buffer_
lea rdx, [0x140329e00]
xor ecx, ecx
call fcn.1401e20d0
mov r8, rax
mov edx, 0x8007000e
mov rcx, rdi
call fcn.140014930
mov r13d, eax
jmp 0x14008ffcc
cmp ebx, 0xffffff37
je 0x140090020
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, str.RTVfsDirReadEx_failed:__Rrc
lea rdx, [0x140329e00]
xor ecx, ecx
call fcn.1401e20d0
mov r9d, ebx
mov r8, rax
mov edx, 0x80bb0005
mov rcx, rdi
call fcn.140014930
mov r13d, eax
jmp 0x14008ffcc
lea rdx, str.PhysicalDrive
lea rcx, [r14 + 0xd8]
call qword [sym.imp.VBoxRT.dll_RTStrStartsWith]
test al, al
je 0x14008fdd0
lea r9, [r14 + 0xd8]
lea r8, str.._s
mov edx, VarR4FromUI1
lea rcx, [rsp + 0xd10]
call qword [sym.imp.VBoxRT.dll_RTStrPrintf]
mov qword [rsp + 0x48], 0xffffffffffffffff
mov r8d, 0x781
lea rdx, [rsp + 0xd10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.VBoxRT.dll_RTFileOpen]
test eax, eax
jns 0x140090064
mov qword [rsp + 0x20], 0xffffffffffffffff
xor r9d, r9d
lea r8, str.Unknown__Access_denied_
lea rdx, [0x140329e00]
xor ecx, ecx
call fcn.1401e20d0
mov rbx, rax
lea rdx, [rsp + 0xd10]
lea rcx, [rsp + 0x88]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
lea rax, vtable.com::Utf8Str.0
mov qword [rsp + 0x88], rax
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
lea rax, vtable.com::Utf8Str.0
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.140096de0
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
nop
jmp 0x14008fdd0
test r13d, r13d
jns 0x140090020
mov rcx, qword [r15]
mov rax, qword [rcx + 8]
mov qword [rax], r12
mov rsi, qword [rcx]
test rsi, rsi
je 0x14009000f
mov rdi, qword [rsi]
lea rcx, [rsi + 0x30]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
lea rcx, [rsi + 0x10]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
mov edx, 0x50
mov rcx, rsi
call fcn.140202f90
mov rsi, rdi
test rdi, rdi
jne 0x14008ffe3
mov rax, qword [r15]
mov qword [rax], rax
mov rax, qword [r15]
mov qword [rax + 8], rax
mov qword [r15 + 8], r12
mov rcx, r14
call qword [sym.imp.VBoxRT.dll_RTMemTmpFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.VBoxRT.dll_RTVfsDirRelease]
mov eax, r13d
mov rcx, qword [rsp + 0x1550]
xor rcx, rsp
call fcn.140202f70
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], r12d
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xd50]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0xcc], r12
mov dword [rsp + 0xc8], r12d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.VBoxRT.dll_RTFileToNative]
mov rcx, rax
mov qword [rsp + 0x38], r12
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.VBoxRT.dll_RTFileClose]
test ebx, ebx
je 0x140090179
mov eax, dword [rsp + 0xd60]
test eax, eax
je 0x140090179
lea rbx, [rsp + 0xd50]
add rbx, rax
je 0x140090179
mov rcx, rbx
call qword [sym.imp.VBoxRT.dll_RTStrPurgeEncoding]
cmp byte [rbx], 0
je 0x140090179
mov eax, dword [rsp + 0xd5c]
test eax, eax
je 0x140090162
lea rdi, [rsp + 0xd50]
add rdi, rax
je 0x140090162
mov rcx, rdi
call qword [sym.imp.VBoxRT.dll_RTStrPurgeEncoding]
cmp byte [rdi], 0
je 0x140090162
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, [0x14032b4e0]
mov edx, 0x400
lea rcx, [rsp + 0x1150]
call qword [sym.imp.VBoxRT.dll_RTStrPrintf]
jmp 0x140090179
mov r8, rbx
mov edx, 0x400
lea rcx, [rsp + 0x1150]
call qword [sym.imp.VBoxRT.dll_RTStrCopy]
nop
lea rdx, [rsp + 0xd10]
lea rcx, [rsp + 0x88]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
lea rbx, vtable.com::Utf8Str.0
mov qword [rsp + 0x88], rbx
lea rdx, [rsp + 0x1150]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0xa8], rbx
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.140096de0
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
nop
mov rdi, qword [rsp + 0x80]
jmp 0x14008fdd0