Function at 0x14000acb4
Capabilities:
Get storage device properties

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14006cfc0]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, rdx
mov rdi, rcx
lea rcx, [rbp - 0x18]
call fcn.140014214
nop
mov rbx, qword [rbp - 8]
dec rbx
lea rcx, [rbp - 0x18]
call fcn.140009b30
mov qword [rbp - 8], rbx
xor r14d, r14d
mov word [rax + rbx*2], r14w
lea rcx, [rbp - 0x18]
call fcn.140009b30
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r14 + 3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
jne 0x14000adb1
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 0x14000ad72
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14000b111
lea rcx, [rbp - 0x18]
call fcn.140009b30
mov rcx, qword [rbp + 0x28]
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, 0x40e
call fcn.140012a04
jmp 0x14000b111
mov dword [rsp + 0x40], r14d
mov qword [rbp - 0x24], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x28
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x28]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14000ae45
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 1
jne 0x14000ae32
cmp byte [rdi + 0x60], 2
jne 0x14000ae36
mov ebx, 0x80070001
jmp 0x14000b111
test eax, eax
jle 0x14000ae3e
movzx eax, ax
or eax, 0x80070000
mov ebx, eax
jmp 0x14000b111
cmp dword [rbp - 0x4c], 0x2800
jbe 0x14000aeb2
call fcn.14001279c
mov rbx, rax
cmp dword [rax], 3
jbe 0x14000aea8
mov edx, dword [rbp - 0x4c]
mov dword [rsp + 0x50], edx
mov rcx, rsi
call fcn.140009b30
mov qword [rsp + 0x48], rax
lea rax, str.SetVolumeHardwareInformation_failed___STORAGE_DEVICE_DESCRIPTOR_size___10KB
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d788]
mov rcx, rbx
call fcn.1400099c8
mov ebx, 0x80004004
jmp 0x14000b111
mov edx, dword [rbp - 0x4c]
lea rcx, [rbp - 0x70]
call fcn.14000f110
nop
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x4c]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x28]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14000af29
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 0x14000af1b
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp - 0x70]
call fcn.140013f9c
jmp 0x14000b111
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.1400337f8
lea rcx, [rsp + 0x58]
call fcn.1400376f0
mov rcx, qword [rax]
mov bl, byte [rcx + 0x30]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000af59
call fcn.14000a4d0
test bl, bl
je 0x14000b105
call fcn.140011a58
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14002f32c
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000b0f6
call fcn.1400334f4
test al, al
je 0x14000b0f6
mov rcx, qword [rsp + 0x78]
call fcn.140031cd8
cmp eax, 0xffffffff
jne 0x14000afeb
call fcn.14001279c
mov rbx, rax
cmp dword [rax], 3
jbe 0x14000b05e
mov rcx, rsi
call fcn.140009b30
mov qword [rsp + 0x58], rax
lea rax, str.SetVolumeHardwareInformation_failed_to_get_extra_attributes___GetDiskNumber_failed
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d3be]
mov rcx, rbx
call fcn.14000d994
jmp 0x14000b05e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x68]
mov ecx, eax
call fcn.140031714
test eax, eax
jns 0x14000b080
call fcn.14001279c
mov rbx, rax
cmp dword [rax], 3
jbe 0x14000b04e
mov rcx, rsi
call fcn.140009b30
mov qword [rsp + 0x58], rax
lea rax, str.SetVolumeHardwareInformation_failed_to_get_extra_attributes___DetectFromConnectedRemovableDevices_failed
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d3be]
mov rcx, rbx
call fcn.14000d994
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000b05e
call fcn.14000a4d0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000b06d
call fcn.14000a4d0
nop
lea rcx, [rbp - 0x70]
call fcn.140013f9c
mov ebx, 0x80004005
jmp 0x14000b111
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14000b0e6
add rdx, 0x4b6
lea rcx, [rdi + 0xf0]
call fcn.14000b390
mov rdx, qword [rsp + 0x68]
add rdx, 0x96c
lea rcx, [rdi + 0x110]
call fcn.14000b390
mov rdx, qword [rsp + 0x68]
add rdx, 0x7da
lea rcx, [rdi + 0x130]
call fcn.14000b390
mov rdx, qword [rsp + 0x68]
add rdx, 0x648
lea rcx, [rdi + 0x150]
call fcn.14000b390
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000b0f6
call fcn.14000a4d0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000b105
call fcn.14000a4d0
nop
lea rcx, [rbp - 0x70]
call fcn.140013f9c
mov ebx, r14d
lea rcx, [rsp + 0x78]
call fcn.140013b4c
nop
lea rcx, [rbp - 0x18]
call fcn.140013e34
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400165f0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret