Function at 0x140041950
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rcx
mov qword [rbp - 0x78], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r8d, [rsi + 0x2c]
lea rdx, str.MW_VCxYJ9FyCxMvDn6o2lm7kCpIuyYnX4nWfRsGY2U
lea rcx, [rsp + 0x40]
call fcn.14004ff50
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140040d90
cmp qword [rax + 0x18], 0xf
jbe 0x1400419c9
mov rax, qword [rax]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
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 rdi, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140041a2f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041a2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052e10
movdqa xmm0, xmmword [0x14005d250]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140041a82
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052e10
movdqa xmm0, xmmword [0x14005d250]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
cmp rdi, 0xffffffffffffffff
je 0x140041b81
mov qword [rbp - 0x70], rsi
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x400
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x70]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140041b56
mov eax, dword [rbp - 0x48]
lea rdx, [rbp - 0x60]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140041b10
mov rcx, rbx
call fcn.14004ff50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140052b90
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.Q0IGohkNova7JRrz47E3K1HBkmkwblNmG8TiY1ePR9jRa4e_EDpDEBUeaaoCry5QjbykLeghF4X8ab60a7vXipiBVkZDmWaiHoiwhKttQ
lea rcx, [rsp + 0x60]
call fcn.14004ec20
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140040d90
nop
mov rcx, rax
call fcn.140041300
nop
lea rdx, str.7YWjPnWllA7VJV4VS5T6MLZjpgkeJH3bLeNfN8VjgugyxF0nySHXInMvUnOKDBpy
lea rcx, [rsp + 0x60]
call fcn.14004ec20
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140040d90
nop
mov rcx, rax
call fcn.140041300
int3