Function at 0x14003e2c0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov rax, qword [0x1403abd28]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x140]
call qword [rax + 0x18]
test eax, eax
jne 0x14003e313
mov eax, 0x10df
jmp 0x14003e667
mov dword [rsp + 0xdc], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0xd8], 0x2800
mov ecx, 0x2800
call fcn.14012bbe0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x70], rax
mov r8d, 0xc
xor edx, edx
lea rcx, [rsp + 0xc8]
call sub.MSVCR90.dll_memset
mov dword [rsp + 0xc8], 0
mov dword [rsp + 0xcc], 0
mov r8d, 0x2800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call sub.MSVCR90.dll_memset
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2800
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0xc8]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14003e5bf
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0xc], 0
jbe 0x14003e455
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
cmp dword [rcx + 0xc], eax
jae 0x14003e455
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0xc]
mov rdx, qword [rsp + 0x70]
add rdx, rax
lea rcx, [rsp + 0xa0]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x10], 0
jbe 0x14003e499
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
cmp dword [rcx + 0x10], eax
jae 0x14003e499
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x10]
mov rdx, qword [rsp + 0x70]
add rdx, rax
lea rcx, [rsp + 0x48]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x140]
call fcn.14003e6a0
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x140]
call fcn.14003e6a0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_bool___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const___ptr64]
movzx eax, al
test eax, eax
jne 0x14003e4ea
lea rdx, [0x1401611ac]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x120], eax
cmp dword [rsp + 0x120], 1
je 0x14003e533
cmp dword [rsp + 0x120], 6
je 0x14003e55b
cmp dword [rsp + 0x120], 7
je 0x14003e547
cmp dword [rsp + 0x120], 8
je 0x14003e56f
jmp 0x14003e581
lea rdx, str._SCSI_Device
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
jmp 0x14003e581
lea rdx, str._USB_Device
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
jmp 0x14003e581
lea rdx, str._Firbre_Device
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
jmp 0x14003e581
lea rdx, str._RAID_Device
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x148]
call qword [reloc.MSVCP90.dll___Y__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_AEBV01__Z]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x148]
call qword [reloc.MSVCP90.dll___Y__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_AEBV01__Z]
jmp 0x14003e615
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x100], eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov eax, dword [rsp + 0x100]
jmp 0x14003e667
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
mov dword [rsp + 0x110], 0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov eax, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14012bc90
add rsp, 0x138
ret