Function at 0x10001a86c
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1330
call fcn.10001c980
sub rsp, rax
mov rax, qword [0x10001f110]
xor rax, rsp
mov qword [rsp + 0x1320], rax
mov rbp, rdx
mov esi, ecx
mov r15d, 1
lea rdx, [0x100007530]
lea rcx, [rsp + 0x60]
mov r8d, 0xe2
mov r9d, r15d
call fcn.100018110
lea rcx, [rsp + 0x1112]
xor r12d, r12d
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0x1110], r12w
call sub.msvcrt.dll_memset
xor eax, eax
lea r8d, [r15 + 0x1b]
lea rcx, [rsp + 0x9c]
xor edx, edx
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x98], r12d
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xd2]
xor edx, edx
mov r8d, 0x1036
mov word [rsp + 0xd0], r12w
call sub.msvcrt.dll_memset
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x44], r12d
mov eax, 0xf7
cmp rbp, r12
je 0x10001acfc
lea r8, [0x100007550]
lea edx, [rax + 0xe]
lea rcx, [rsp + 0x1110]
mov r9d, esi
mov dword [rbp], r15d
mov dword [rsp + 0x60], r12d
mov word [rsp + 0x64], ax
call fcn.10001a404
mov edi, eax
mov dword [rsp + 0x60], eax
cmp eax, r12d
mov eax, 0xfe
jl 0x10001ad05
lea r14d, [r15 + 2]
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x1110]
xor r9d, r9d
mov edx, 0xc0000000
mov r8d, r14d
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x64], ax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x10001a9d7
call fcn.100019734
mov edi, eax
mov dword [rsp + 0x60], eax
mov eax, 0x107
jmp 0x10001ad05
mov qword [rsp + 0x38], r12
mov eax, 0x107
lea r8, [rsp + 0xb8]
mov word [rsp + 0x64], ax
lea rax, [rsp + 0x40]
mov r9d, 0xc
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbx
mov dword [rsp + 0x28], 0xc
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xb8], 7
mov dword [rsp + 0xbc], r12d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r12d
je 0x10001aa9d
cmp dword [rsp + 0x50], 0xc
jne 0x10001aa9d
cmp dword [rsp + 0x54], 0xc
jne 0x10001aa9d
cmp byte [rsp + 0x58], r12b
jne 0x10001aa9d
mov rcx, qword [0x10001f120]
lea rax, [0x10001f120]
cmp rcx, rax
je 0x10001aa82
bt dword [rcx + 0x1c], 0x1c
jae 0x10001aa82
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005960]
mov edx, 0xa
mov r9d, esi
call fcn.10000e620
mov eax, 0x11f
mov dword [rbp], r12d
mov edi, r12d
mov dword [rsp + 0x60], r12d
mov word [rsp + 0x64], ax
jmp 0x10001ad0a
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x40]
mov edi, 0x20
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
lea r8, [rsp + 0xb8]
lea r9d, [rdi - 0x14]
mov edx, 0x2d1400
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0xb8], r15d
mov dword [rsp + 0xbc], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r12d
je 0x10001ab0c
cmp dword [rsp + 0x98], edi
jne 0x10001ab0c
cmp dword [rsp + 0x9c], edi
jne 0x10001ab0c
mov al, byte [rsp + 0xb0]
jmp 0x10001ab28
lea rcx, [rsp + 0x98]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov al, r12b
mov byte [rsp + 0xb0], al
cmp al, 0xf
jne 0x10001ab8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x1110]
call fcn.10001a474
cmp eax, r12d
jl 0x10001ab86
cmp dword [rsp + 0x48], r12d
jne 0x10001ab86
mov rcx, qword [0x10001f120]
lea rax, [0x10001f120]
cmp rcx, rax
je 0x10001ab7c
bt dword [rcx + 0x1c], 0x1c
jae 0x10001ab7c
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005960]
mov edx, 0xb
mov r9d, esi
call fcn.10000e620
mov eax, 0x145
jmp 0x10001aa87
mov al, byte [rsp + 0xb0]
cmp al, r14b
je 0x10001ab9a
cmp al, 0xb
jne 0x10001ac63
mov qword [rsp + 0x38], r12
mov eax, 0x30
mov r9d, 0x1038
mov word [rsp + 0xd0], ax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xd0]
mov dword [rsp + 0x28], r9d
mov edx, 0x4d02c
mov rcx, rbx
mov word [rsp + 0xd2], r14w
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xd8], 0x200
mov dword [rsp + 0xdc], 0xa
mov qword [rsp + 0xe8], 0x38
mov byte [rsp + 0xfe], 0xec
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r12d
je 0x10001ac63
cmp word [rsp + 0x2ba], r15w
jne 0x10001ac63
mov rcx, qword [0x10001f120]
lea rax, [0x10001f120]
cmp rcx, rax
je 0x10001ac59
bt dword [rcx + 0x1c], 0x1c
jae 0x10001ac59
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005960]
mov edx, 0xc
mov r9d, esi
call fcn.10000e620
mov eax, 0x169
jmp 0x10001aa87
lea rdx, [rsp + 0x44]
mov ecx, esi
call fcn.10001a650
cmp eax, r12d
jl 0x10001acc0
mov eax, dword [rsp + 0x44]
cmp eax, r12d
je 0x10001acc0
cmp eax, 0x2000
jbe 0x10001acc0
mov rcx, qword [0x10001f120]
lea rax, [0x10001f120]
cmp rcx, rax
je 0x10001acb6
bt dword [rcx + 0x1c], 0x1c
jae 0x10001acb6
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005960]
mov edx, 0xd
mov r9d, esi
call fcn.10000e620
mov eax, 0x17a
jmp 0x10001aa87
mov rcx, qword [0x10001f120]
lea rax, [0x10001f120]
cmp rcx, rax
je 0x10001acf2
bt dword [rcx + 0x1c], 0x1c
jae 0x10001acf2
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005960]
mov edx, 0xe
mov r9d, esi
call fcn.10000e620
mov eax, 0x17f
jmp 0x10001aa8b
mov edi, 0x80070057
mov dword [rsp + 0x60], edi
mov word [rsp + 0x66], ax
cmp rbx, 0xffffffffffffffff
je 0x10001ad1e
cmp rbx, r12
je 0x10001ad1e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call fcn.100018228
mov eax, edi
mov rcx, qword [rsp + 0x1320]
xor rcx, rsp
call fcn.10001c400
lea r11, [rsp + 0x1330]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret