Function at 0x14000e9f4
Capabilities:
Get storage device properties

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14006dfb8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xor r14d, r14d
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
cmp qword [rdx + 0x18], 8
jb 0x14000ea46
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0xf]
call fcn.1400186a8
nop
mov rcx, qword [rbp + 0x1f]
dec rcx
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rax, qword [rbp + 0xf]
mov qword [rbp + 0x1f], rcx
mov word [rax + rcx*2], r14w
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp - 0x41], rax
cmp rax, 0xffffffffffffffff
jne 0x14000eb35
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14000ead5
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14000eb11
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rax, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x5f]
mov qword [rsp + 0x28], rax
lea rax, str.CreateFileW_failed_for_volume__ls
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.amcorewcd_sourcecommon_src_volumemap.cpp
mov edx, 0x1ec
call fcn.140016e78
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14000ed4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
call fcn.14000e340
jmp 0x14000ed4d
mov dword [rbp - 0x59], r14d
mov qword [rbp + 0x33], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov dword [rbp + 0x2f], r14d
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x28
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp + 0x2f]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14000ec07
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 1
jne 0x14000ebb6
cmp byte [rsi + 0x60], 2
jne 0x14000ebba
mov ebx, 0x80070001
jmp 0x14000ed3a
test eax, eax
jle 0x14000ebc3
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14000ed3a
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rax, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x5f]
mov qword [rsp + 0x28], rax
lea rax, str.DeviceIoControl_failed_for_volume__ls
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.amcorewcd_sourcecommon_src_volumemap.cpp
mov edx, 0x20b
call fcn.140016e78
jmp 0x14000ed3a
cmp dword [rbp - 0x15], 0x2800
jbe 0x14000ec6e
call fcn.140016c38
mov rbx, rax
cmp dword [rax], 3
jbe 0x14000ec64
mov ecx, dword [rbp - 0x15]
mov dword [rbp - 0x55], ecx
mov rcx, rdi
call fcn.1400101b0
mov qword [rbp - 0x51], rax
lea rax, str.SetVolumeHardwareInformation_failed___STORAGE_DEVICE_DESCRIPTOR_size___10KB
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x55]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005db1b]
mov rcx, rbx
call fcn.140010054
mov ebx, 0x80004004
jmp 0x14000ed3a
mov edx, dword [rbp - 0x15]
lea rcx, [rbp - 0x39]
call fcn.140013c20
nop
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x15]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp + 0x2f]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14000ed1d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14000ecd6
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14000ed12
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rax, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x5f]
mov qword [rsp + 0x28], rax
lea rax, str.DeviceIoControl_failed_for_volume__ls
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.amcorewcd_sourcecommon_src_volumemap.cpp
mov edx, 0x224
call fcn.140016e78
nop
lea rcx, [rbp - 0x39]
call fcn.140018540
jmp 0x14000ed3a
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.140038d78
nop
lea rcx, [rbp - 0x39]
call fcn.140018540
mov ebx, r14d
lea rcx, [rbp - 0x41]
call fcn.140018188
nop
lea rcx, [rbp + 0xf]
call fcn.1400183f8
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001ae20
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret