Function at 0x14000e2f0
Capabilities:
Get storage device properties

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1090]
mov eax, 0x1190
call fcn.140073330
sub rsp, rax
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsp + 0x11d0], rbx
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x1080], rax
mov r15, r8
mov ebx, edx
xor eax, eax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
lea r8, str.HDDInf::GetSmartAttributeNVMeStorageQuery
mov qword [rbp + 0x20], r8
lea r13, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationhddinf.h
mov qword [rbp + 0x28], r13
mov dword [rbp + 0x30], 0x315
lea rdi, str.__HDDInf::GetSmartAttributeNVMeStorageQuery_
mov qword [rbp + 0x38], rdi
lea r12, [0x1402a214c]
mov qword [rbp + 0x40], r12
mov dword [rbp + 0x48], 3
lea rdx, str.ENTER__s
lea rcx, [rbp + 0x28]
call fcn.140008d50
nop
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x316
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 3
mov r8d, ebx
lea rdx, str.physicalDriveId___d
lea rcx, [rsp + 0x40]
call fcn.140008d50
xor esi, esi
mov r14d, esi
mov qword [rbp + 0x18], rsi
call fcn.140073e68
mov rcx, rax
test rax, rax
je 0x14000e721
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x18], rax
mov rdx, r12
lea rcx, [rbp + 0x18]
call fcn.140014d50
lea rdi, [rsi - 1]
test al, al
jne 0x14000e42b
mov rax, rdi
nop
inc rax
cmp word [r12 + rax*2], 0
jne 0x14000e410
mov r8d, eax
mov rdx, r12
lea rcx, [rbp + 0x18]
call fcn.140004720
nop
mov dword [rbp + 0x10], esi
mov r8d, ebx
lea rdx, str..PhysicalDrive_d
lea rcx, [rbp + 0x18]
call fcn.1400056c0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rbx, qword [rbp + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x31e
lea rcx, str.__HDDInf::GetSmartAttributeNVMeStorageQuery_
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x78], 3
mov r8, rax
lea rdx, str.hIoCtrl___d
lea rcx, [rsp + 0x68]
call fcn.140008d50
cmp rsi, 0xffffffffffffffff
je 0x14000e6c8
xor edx, edx
mov r8d, 0x1010
lea rcx, [rbp + 0x70]
call fcn.1401f5d40
mov dword [rbp + 0x58], 3
mov dword [rbp + 0x5c], 2
mov qword [rbp + 0x60], 2
xor eax, eax
mov dword [rbp + 0x68], 0x28
mov dword [rbp + 0x6c], 0x1000
mov qword [rbp + 0x50], 0x31
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1030
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x1030
lea r8, [rbp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14d, eax
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x68], 0x32d
lea rax, str.__HDDInf::GetSmartAttributeNVMeStorageQuery_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], 3
mov r9d, dword [rbp + 0x10]
mov r8d, r14d
lea rdx, str.bRet___d__dwReturned___d
lea rcx, [rbp - 0x70]
call fcn.140008d50
test r14d, r14d
jne 0x14000e5f4
mov dword [rbp + 0x64], 0xffffffff
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1030
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x1030
lea r8, [rbp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14d, eax
mov qword [rbp - 0x48], r13
mov dword [rbp - 0x40], 0x333
lea rax, str.__HDDInf::GetSmartAttributeNVMeStorageQuery_
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], 3
mov r9d, dword [rbp + 0x10]
mov r8d, r14d
lea rdx, str.bRet___d__dwReturned___d
lea rcx, [rbp - 0x48]
call fcn.140008d50
test r14d, r14d
je 0x14000e684
cmp dword [rbp + 0x10], 0
jbe 0x14000e684
lea rax, [r15 + 0x200]
test rax, rax
jne 0x14000e61f
call fcn.1401f815c
mov dword [rax], SafeArrayUnaccessData
call fcn.1401f800c
jmp 0x14000e6be
lea rcx, [rbp + 0x80]
mov edx, 4
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x14000e630
jmp 0x14000e6be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], 0x33d
lea rcx, str.__HDDInf::GetSmartAttributeNVMeStorageQuery_
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], r12
mov dword [rbp], 3
mov r8d, eax
lea rdx, str.dwLastErrorCode___d
lea rcx, [rbp - 0x20]
call fcn.140008d50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000e6e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8, qword [rbp + 0x20]
lea rdx, str.LEAVE__s
lea rcx, [rbp + 0x28]
call fcn.140008d50
mov eax, r14d
mov rcx, qword [rbp + 0x1080]
xor rcx, rsp
call fcn.140072680
mov rbx, qword [rsp + 0x11d0]
add rsp, 0x1190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002ad0
int3