Function at 0x14000acc0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x100
mov rax, qword [0x14027c940]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x118]
call fcn.140002dc0
mov edx, 8
lea rcx, [rsp + 0xc8]
call fcn.140003c20
lea rcx, [rsp + 0xc8]
call fcn.140002780
nop
mov r8d, dword [rsp + 0x110]
lea rdx, str..PhysicalDrive_u
lea rcx, [rsp + 0xc8]
call fcn.140002f90
lea rcx, [rsp + 0xc8]
call fcn.140002a10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x14000ad9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xc8]
call fcn.140002820
mov eax, dword [rsp + 0x64]
jmp 0x14000b057
lea rax, [rsp + 0xd8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0xdc], 0
lea rax, [rsp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0xd0], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0xd8]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000ae65
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0xc8]
call fcn.140002820
mov eax, dword [rsp + 0x68]
jmp 0x14000b057
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov ecx, eax
call fcn.140030a90
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rcx, qword [rsp + 0x90]
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0xd8]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000af6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400145d4
cmp qword [rsp + 0x78], 0
jne 0x14000af2b
mov qword [rsp + 0x98], 0
jmp 0x14000af41
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0xc8]
call fcn.140002820
mov eax, dword [rsp + 0x6c]
jmp 0x14000b057
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14000afe9
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140007540
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x118]
call fcn.1400091a0
nop
lea rcx, [rsp + 0xb8]
call fcn.140002820
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400145d4
cmp qword [rsp + 0x80], 0
jne 0x14000b01c
mov qword [rsp + 0xc0], 0
jmp 0x14000b032
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0xc8]
call fcn.140002820
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401ae750
add rsp, 0x100
pop rdi
ret