Function at 0x140043040
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rdi, rcx
xor r13d, r13d
mov dword [rbp - 0x29], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov edx, 2
mov qword [rbp - 0x69], rdx
mov ebx, 0xf
mov qword [rbp - 0x61], rbx
movzx eax, word [0x1400e06dc]
mov word [rbp - 0x79], ax
mov byte [rbp - 0x77], r13b
lea r12, [rbp - 0x79]
mov rsi, qword [rbp - 0x79]
movups xmmword [rbp - 0x59], xmm0
lea r15, [rdx + 4]
lea r14, [rbp - 0x59]
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], rbx
mov ecx, dword [str.._]
mov dword [r14], ecx
lea rcx, [r14 + 4]
mov r8d, edx
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + r15], r13b
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], rbx
cmova rcx, qword [rbp - 0x59]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
mov rdx, qword [rbp - 0x41]
cmp rdx, rbx
jbe 0x140043136
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043131
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b4298
mov qword [rbp - 0x49], r13
mov ebx, 0xf
mov qword [rbp - 0x41], rbx
mov byte [rbp - 0x59], 0
cmp r12, 0xffffffffffffffff
je 0x1400431a4
mov qword [rbp - 0x35], r13
mov dword [rbp - 0x39], r13d
mov qword [rbp + 0x77], r13
mov dword [rbp + 0x6f], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r14d, 0xc
mov r9d, r14d
lea r8, [rbp - 0x39]
mov edx, 0x2d1400
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400431dd
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 7
mov qword [rdi + 0x18], rbx
mov rax, qword [str.Unknown]
mov dword [rdi], eax
movzx eax, word [0x1400d4164]
mov word [rdi + 4], ax
movzx eax, byte [0x1400d4166]
mov byte [rdi + 6], al
mov byte [rdi + 7], 0
jmp 0x1400433f1
mov ebx, dword [rbp + 0x7b]
mov ecx, ebx
call fcn.1400b42cc
mov r15, rax
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r15
mov r9d, r14d
lea r8, [rbp - 0x39]
mov edx, 0x2d1400
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140043269
mov rcx, r15
call fcn.1400b4298
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 7
mov ebx, 0xf
mov qword [rdi + 0x18], rbx
mov rax, qword [str.Unknown]
mov dword [rdi], eax
movzx eax, word [0x1400d4164]
mov word [rdi + 4], ax
movzx eax, byte [0x1400d4166]
mov byte [rdi + 6], al
mov byte [rdi + 7], 0
jmp 0x1400433f1
mov eax, dword [r15 + 0x10]
test eax, eax
je 0x1400432b4
lea rdx, [r15 + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140043290
lea rcx, [rbp - 0x21]
call fcn.140030b80
lea rax, [rbp - 0x21]
mov ebx, 0xf
mov r14d, 0xa
jmp 0x1400432f0
mov qword [rbp - 0x71], r13
mov qword [rbp - 0x69], 7
mov ebx, 0xf
mov qword [rbp - 0x61], rbx
mov rax, qword [str.Unknown]
mov dword [rbp - 0x79], eax
movzx eax, word [0x1400d4164]
mov word [rbp - 0x75], ax
movzx eax, byte [0x1400d4166]
mov byte [rbp - 0x73], al
mov byte [rbp - 0x72], 0
lea rax, [rbp - 0x79]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rbx
mov byte [rax], 0
test r14b, 4
je 0x140043353
and r14d, 0xfffffffb
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x140043353
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004334d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004334d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b4298
nop
test r14b, 2
je 0x140043397
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140043397
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043392
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b4298
mov rcx, r15
call fcn.1400b4298
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp - 1]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0xf]
movups xmmword [rdi + 0x10], xmm1
cmp rbx, 0xf
jbe 0x1400433f1
lea rdx, [rbx + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400433e9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400433e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400b4298
mov rax, rdi
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret