Function at 0x140049f60
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x150
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14016a0c0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rdx
mov qword [rbp + 0x60], rdx
xor r12d, r12d
movabs rax, 0x242240f5c0fe6249
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x20], rax
movabs rax, 0xc3cb3c579b406486
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x28], rax
movabs rax, 0x7d91dbc03ff23a5e
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x30], rax
movabs rax, 0x679bf4f5580fff54
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x38], rax
movabs rax, 0xbba56dffb34d115c
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x40], rax
movabs rcx, 0xa890f152f29ba51a
mov qword [rbp + 0x60], rcx
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x48], rax
movabs rax, 0x247e40dbc0a26215
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xa0], rax
movabs rax, 0xc3b83c2e9b2864d6
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xa8], rax
movabs rax, 0x7dfddba13f913a37
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xb0], rax
movabs rax, 0x67edf49c587dff10
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xb8], rax
movabs rax, 0xbba56dffb37d1139
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0x60], rcx
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xc8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqa xmm0, xmmword [rbp + 0x40]
vxorps xmm0, xmm0, xmmword [rbp + 0xc0]
vmovdqa xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
mov r8d, 3
lea rcx, [rbp + 0x20]
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
xorps xmm0, xmm0
cmp rax, 0xffffffffffffffff
jne 0x14004a11e
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], r12b
jmp 0x14004a25d
movups xmmword [rbp + 0x80], xmm0
lea rax, [0x14004a290]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x74], r12
mov dword [rbp + 0x70], r12d
mov qword [rbp + 0x60], r12
mov dword [rbp + 0x68], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ntohs
lea r8, [rbp + 0x70]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14004a19e
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], al
jmp 0x14004a24e
mov edi, dword [rbp + 0x64]
mov ecx, edi
call fcn.1400f21c4
mov r15, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x90], r15
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r15
mov r9d, ntohs
lea r8, [rbp + 0x70]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14004a211
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], al
mov rcx, r15
call fcn.1400f1ef0
nop
jmp 0x14004a24e
mov eax, dword [r15 + 0x18]
test eax, eax
jne 0x14004a238
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], al
mov rcx, r15
call fcn.1400f1ef0
nop
jmp 0x14004a24e
lea rdx, [r15 + rax]
mov rcx, rsi
call fcn.140003530
nop
mov rcx, r15
call fcn.1400f1ef0
nop
test r14, r14
je 0x14004a25d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rsi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400f1b70
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret