Function at 0x140045370
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 [0x140083040]
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.nz9zsdAzafnxJt1Ebt44hZ2TfKWJkkaRIjahAxr3Ztc
lea rcx, [rsp + 0x40]
call fcn.140065c80
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140044040
cmp qword [rax + 0x18], 0xf
jbe 0x1400453e9
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 0x14004544f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004544a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004544a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
movdqa xmm0, xmmword [0x1400765f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400454a2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004549d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004549d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068eb0
movdqa xmm0, xmmword [0x1400765f0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
cmp rdi, 0xffffffffffffffff
je 0x1400455a1
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 0x140045576
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 0x140045530
mov rcx, rbx
call fcn.140065c80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140068c30
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.Z9TGkm664614VV3Cg0Zw2TyI4fS0SFmshF9CB65Ub2y2Kg1aDqb9pPbSWDLXiYf5f7xnkVDp7DjbuQWIG8kvw
lea rcx, [rsp + 0x60]
call fcn.140064370
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140044040
nop
mov rcx, rax
call fcn.140044190
nop
lea rdx, str.Z9TGkm664614VV3Cg0Zw2V2hqphS88garmTlZ6JzVJnFNJfO4SiZ6z4uVXF4uwSj
lea rcx, [rsp + 0x60]
call fcn.140064370
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140044040
nop
mov rcx, rax
call fcn.140044190
int3