Function at 0x140003580
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14002c040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, rcx
movabs rax, 0x3645fce613d9f7bf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xf2d24fd77e192f61
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xf11014fc2d33a0a0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rcx, 0x3dc5c1a1f1e648c2
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x453c94b64ff7abe3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x84bb3d9312784c08
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0xf11014fc2d3390c5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x120]
vmovdqa ymmword [rbp + 0x40], ymm1
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 3
lea rcx, [rbp + 0x40]
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x1400036c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400039d1
mov qword [rbp + 0x6c], r13
mov dword [rbp + 0x68], r13d
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x60], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp + 0x68]
mov edx, 0x2d1400
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140003724
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x1400039d1
mov ebx, dword [rbp + 0x7c]
mov ecx, ebx
call fcn.14001ebc8
mov r14, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rbp + 0x68]
mov edx, 0x2d1400
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140003791
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r14
call fcn.14001e790
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x1400039d1
mov eax, dword [r14 + 0x18]
test eax, eax
je 0x1400039be
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], rcx
lea rbx, [r14 + rax]
call fcn.140001260
mov rcx, rax
test rax, rax
je 0x140003a2a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp], rax
mov rdi, 0xffffffffffffffff
test rbx, rbx
jne 0x140003815
mov r8d, r13d
jmp 0x14000382a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140003820
mov rdx, rbx
lea rcx, [rbp]
call fcn.14000f650
nop
lea rax, [rbp + 0x88]
mov qword [rbp + 0x80], rax
mov rbx, qword [rbp]
test rbx, rbx
jne 0x140003857
mov qword [rbp + 0x80], r13
jmp 0x1400038c7
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140003860
add eax, 1
js 0x140003a35
movsxd rsi, eax
cmp eax, 0x80
jle 0x14000389c
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp + 0x80], rax
test rax, rax
je 0x140003a1f
jmp 0x1400038aa
lea rax, [rbp + 0x88]
mov qword [rbp + 0x80], rax
test rsi, rsi
je 0x1400038c7
test rax, rax
je 0x140003a01
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400038e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], r13
mov rdx, qword [rbp + 0x80]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x1400038f6
mov r8, rdi
lea rcx, [rbp + 8]
call fcn.140010a30
lea rax, [rbp + 8]
cmp r15, rax
je 0x140003966
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14000394a
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140003945
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003998
mov rcx, r8
call fcn.14001e790
movups xmm0, xmmword [rbp + 8]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [r15 + 0x10], xmm1
mov edx, 0xf
mov byte [rbp + 8], 0
jmp 0x14000396a
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1400039a5
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000399f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000399f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e790
nop
lea rax, [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
cmp rcx, rax
je 0x1400039be
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call fcn.14001e790
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14001e770
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
nop
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov ecx, 0x80070057
call fcn.140001150
int3
mov ecx, 0x8007000e
call fcn.140001150
nop
mov ecx, 0x80004005
call fcn.140001150
nop
mov ecx, 0x80070057
call fcn.140001150
int3