Function at 0x14000df60
Capabilities:
Get storage device properties

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1040]
mov eax, 0x1140
call fcn.140073330
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1180], rbx
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x1030], rax
mov rdi, r8
mov ebx, edx
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea r8, str.HDDInf::DoIdentifyDeviceNVMeStorageQuery
mov qword [rbp - 0x30], r8
lea r13, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationhddinf.h
mov qword [rbp - 0x28], r13
mov dword [rbp - 0x20], 0x2eb
lea rax, str.__HDDInf::DoIdentifyDeviceNVMeStorageQuery_
mov qword [rbp - 0x18], rax
lea r12, [0x1402a214c]
mov qword [rbp - 0x10], r12
mov dword [rbp - 8], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x28]
call fcn.140008d50
nop
xor r14d, r14d
mov qword [rbp - 0x38], r14
call fcn.140073e68
mov rcx, rax
test rax, rax
je 0x14000e2e1
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x38], rax
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.140014d50
lea rsi, [r14 - 1]
test al, al
jne 0x14000e06b
mov rax, rsi
nop dword [rax]
inc rax
cmp word [r12 + rax*2], 0
jne 0x14000e050
mov r8d, eax
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.140004720
nop
mov dword [rbp - 0x40], r14d
mov r8d, ebx
lea rdx, str..PhysicalDrive_d
lea rcx, [rbp - 0x38]
call fcn.1400056c0
mov rbx, qword [rbp - 0x38]
cmp dword [rbx - 8], 1
jle 0x14000e09c
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x38]
call fcn.140002f00
mov rbx, qword [rbp - 0x38]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x2f3
lea rcx, str.__HDDInf::DoIdentifyDeviceNVMeStorageQuery_
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 3
mov r8, rax
lea rdx, str.hIoCtrl___d
lea rcx, [rsp + 0x40]
call fcn.140008d50
cmp r15, 0xffffffffffffffff
je 0x14000e288
xor edx, edx
mov r8d, 0x1010
lea rcx, [rbp + 0x20]
call fcn.1401f5d40
mov dword [rbp + 8], 3
mov dword [rbp + 0xc], 1
mov dword [rbp + 0x18], 0x28
mov dword [rbp + 0x1c], 0x1000
mov qword [rbp + 0x10], 1
mov qword [rbp], 0x31
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1030
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0x1030
lea r8, [rbp]
mov edx, 0x2d1400
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14d, eax
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x302
lea rax, str.__HDDInf::DoIdentifyDeviceNVMeStorageQuery_
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x78], 3
mov r9d, dword [rbp - 0x40]
mov r8d, r14d
lea rdx, str.bRet___d__dwReturned___d
lea rcx, [rsp + 0x68]
call fcn.140008d50
test r14d, r14d
je 0x14000e244
cmp dword [rbp - 0x40], 0
jbe 0x14000e244
test rdi, rdi
jne 0x14000e1e5
call fcn.1401f815c
mov dword [rax], SafeArrayUnaccessData
call fcn.1401f800c
jmp 0x14000e27e
lea rax, [rbp + 0x30]
mov ecx, 4
nop
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdi + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdi + 0x60], xmm0
lea rdi, [rdi + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdi - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x14000e1f0
jmp 0x14000e27e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x68], 0x30b
lea rcx, str.__HDDInf::DoIdentifyDeviceNVMeStorageQuery_
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], 3
mov r8d, eax
lea rdx, str.dwLastErrorCode___d
lea rcx, [rbp - 0x70]
call fcn.140008d50
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14000e2a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8, qword [rbp - 0x30]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x28]
call fcn.140008d50
mov eax, r14d
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.140072680
mov rbx, qword [rsp + 0x1180]
add rsp, 0x1140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002ad0
int3