Function at 0x14001d9a0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc90]
sub rsp, 0xd90
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0xc80], rax
xor r13d, r13d
mov r12, r8
mov r15, rdx
mov bl, r13b
mov edi, r13d
mov r14, rcx
test bl, bl
jne 0x14001dcd1
lea rcx, [rbp + 0x280]
xor edx, edx
mov r8d, 0x200
call fcn.140021140
lea r8, str..PhysicalDrive_d
lea rcx, [rbp + 0x280]
mov r9d, edi
mov edx, 0xff
call fcn.14001dfe0
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rbp + 0x280]
lea r8d, [r9 + 3]
xor edx, edx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001dcc6
xor eax, eax
lea rcx, [rbp + 0x480]
xor edx, edx
mov qword [rsp + 0x68], rax
mov r8d, 0x800
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x6c], rax
mov dword [rsp + 0x68], r13d
call fcn.140021140
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x480]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, 0x2d1400
mov rcx, rsi
mov dword [rsp + 0x28], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14001dcb7
lea rcx, [rbp - 0x7f]
xor edx, edx
mov r8d, 0xff
mov byte [rbp - 0x80], r13b
call fcn.140021140
lea rcx, [rbp + 0x181]
xor edx, edx
mov r8d, 0xff
call fcn.140021140
lea rcx, [rbp + 0x81]
xor edx, edx
mov r8d, 0xff
mov byte [rbp + 0x80], r13b
call fcn.140021140
mov edx, dword [rbp + 0x490]
mov byte [rbp + 0x180], r13b
test edx, edx
jle 0x14001db27
lea r9, [rbp + 0x180]
lea rcx, [rbp + 0x480]
xor r8d, r8d
call fcn.14001d294
mov edx, dword [rbp + 0x494]
mov byte [rbp + 0x80], r13b
test edx, edx
jle 0x14001db4e
lea r9, [rbp + 0x80]
lea rcx, [rbp + 0x480]
xor r8d, r8d
call fcn.14001d294
mov edx, dword [rbp + 0x498]
mov al, r13b
mov byte [rbp - 0x80], al
test edx, edx
jle 0x14001db77
lea r9, [rbp - 0x80]
lea rcx, [rbp + 0x480]
mov r8d, 1
call fcn.14001d294
mov al, byte [rbp - 0x80]
movsx ecx, al
call fcn.1400223e0
test eax, eax
jne 0x14001db94
movsx ecx, byte [rbp - 0x6d]
call fcn.1400223e0
test eax, eax
je 0x14001dcbd
mov ebx, 0xf
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x48], r13b
mov qword [rsp + 0x60], rbx
cmp byte [rbp - 0x80], r13b
jne 0x14001dbb3
mov r8, r13
jmp 0x14001dbc4
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14001dbbb
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140001d10
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.14001171c
cmp qword [rsp + 0x60], 0x10
jb 0x14001dbf1
mov rcx, qword [rsp + 0x48]
call fcn.14001edb8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x48], r13b
cmp byte [rbp + 0x180], r13b
jne 0x14001dc0e
mov r8, r13
jmp 0x14001dc22
lea rax, [rbp + 0x180]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14001dc19
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x48]
call fcn.140001d10
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.14001171c
cmp qword [rsp + 0x60], 0x10
jb 0x14001dc52
mov rcx, qword [rsp + 0x48]
call fcn.14001edb8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x48], r13b
cmp byte [rbp + 0x80], r13b
jne 0x14001dc6f
mov r8, r13
jmp 0x14001dc83
lea rax, [rbp + 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14001dc7a
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140001d10
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.14001171c
cmp qword [rsp + 0x60], 0x10
jb 0x14001dcb3
mov rcx, qword [rsp + 0x48]
call fcn.14001edb8
mov bl, 1
jmp 0x14001dcbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0x10
jl 0x14001d9e2
mov al, bl
mov rcx, qword [rbp + 0xc80]
xor rcx, rsp
call fcn.14001edd0
mov rbx, qword [rsp + 0xde8]
add rsp, 0xd90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret