Function at 0x7ff78714d420
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov edi, edx
mov rbx, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
lea ecx, [r12 + 0x20]
call fcn.7ff78718e8f0
mov qword [rbp - 9], rax
mov qword [rbp + 7], 0x13
mov qword [rbp + 0xf], 0x1f
movups xmm0, xmmword [0x7ff787448218]
movups xmmword [rax], xmm0
movzx ecx, word [0x7ff787448228]
mov word [rax + 0x10], cx
movzx ecx, byte [0x7ff78744822a]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], r12b
mov r8d, edi
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
call fcn.7ff787153eb0
cmp qword [rax + 0x18], 0xf
jbe 0x7ff78714d4b0
mov rax, qword [rax]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
mov rcx, rax
call qword [sym.imp.kernel32.dll_CreateFileA]
mov r14, rax
lea rcx, [rbp + 0x17]
call fcn.7ff78711d510
cmp r14, 0xffffffffffffffff
jne 0x7ff78714d500
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
jmp 0x7ff78714d64b
lea rax, [0x7ff78714d670]
mov qword [rbp - 9], rax
mov qword [rbp - 1], r14
mov qword [rbp - 0x15], r12
mov dword [rbp - 0x19], r12d
mov qword [rbp + 0x7f], r12
mov dword [rbp + 0x77], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x19]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x7ff78714d573
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
jmp 0x7ff78714d63c
mov esi, dword [rbp + 0x83]
mov ecx, esi
call fcn.7ff78718e958
mov r15, rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.ntdll.dll_memset
mov qword [rbp - 0x21], r15
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, 0xc
lea r8, [rbp - 0x19]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.kernel32.dll_DeviceIoControl]
xorps xmm0, xmm0
test eax, eax
jne 0x7ff78714d5e6
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r15
call fcn.7ff78718e8e8
nop
jmp 0x7ff78714d63c
mov eax, dword [r15 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
test eax, eax
jne 0x7ff78714d60a
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r15
call fcn.7ff78718e8e8
nop
jmp 0x7ff78714d63c
lea rdx, [r15 + rax]
mov qword [rbx + 0x18], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x7ff78714d620
mov rcx, rbx
call fcn.7ff78711dbf0
nop
mov rcx, r15
call fcn.7ff78718e8e8
nop
test r14, r14
je 0x7ff78714d64b
mov rcx, r14
call qword [sym.imp.kernel32.dll_CloseHandle]
nop
mov rax, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret