Function at 0x14001ec70
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
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x14009f100]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rsi, rcx
mov qword [rbp - 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov edi, 1
mov dword [rsp + 0x40], edi
mov dword [rbp - 0x58], 0x400
mov r15d, r12d
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r13, vtable.std::ios_base.0
nop dword [rax]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x40]
call fcn.140060a10
lea rcx, [rbp - 0x40]
call fcn.14001f9f0
nop
lea rdx, str..PhysicalDrive
lea rcx, [rbp - 0x40]
call fcn.1400223e0
mov edx, r15d
mov rcx, rax
call fcn.140020750
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov r9d, 0xf
mov qword [rbp - 0x80], r9
mov byte [rsp + 0x68], 0
or edi, 4
mov dword [rsp + 0x40], edi
movups xmmword [rbp - 0x78], xmm0
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14001ed7a
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x14001ed7a
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x14001eda9
test cl, 4
jne 0x14001eda1
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001eda1
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14001eda9
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14001edbc
lea rcx, [rsp + 0x68]
call fcn.1400173f0
mov r9, qword [rbp - 0x80]
and edi, 0xfffffffb
or edi, 2
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x68]
cmp r9, 0xf
cmova rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14001ee37
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ee32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f27f
call fcn.140036bb4
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
cmp r14, 0xffffffffffffffff
je 0x14001f1eb
mov qword [rbp - 0x50], r12
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x50]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14001f181
cmp dword [rbp + 0x1e0], 0
je 0x14001f181
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0xb0]
call fcn.140060a10
lea rcx, [rbp + 0xb0]
call fcn.14001f9f0
nop
mov eax, dword [rbp + 0x1e0]
lea rdx, [rbp + 0x1d0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14001eef0
lea rcx, [rsp + 0x48]
call fcn.1400024a0
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp + 0xb0]
call fcn.140023650
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14001ef65
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ef60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f285
call fcn.140036bb4
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x28
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x700a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14001efde
mov rbx, qword [rbp + 0x1b8]
lea rdx, [0x14008f70c]
lea rcx, [rbp + 0xb0]
call fcn.1400223e0
shr rbx, 0x1e
mov rdx, rbx
mov rcx, rax
call fcn.140020550
mov rcx, rax
lea rdx, str._GB_
call fcn.1400223e0
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
or edi, 0x10
mov dword [rsp + 0x40], edi
movups xmmword [rbp - 0x78], xmm0
mov ecx, dword [rbp + 0x128]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14001f03f
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x14001f03f
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x120]
cmovb r8, qword [rbp + 0x120]
sub r8, rdx
jmp 0x14001f077
test cl, 4
jne 0x14001f06f
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001f06f
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x108]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14001f077
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14001f086
lea rcx, [rsp + 0x48]
call fcn.1400173f0
and edi, 0xffffffef
or edi, 8
mov dword [rsp + 0x40], edi
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14001f0bc
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x48], 0
add qword [rsi + 8], 0x20
jmp 0x14001f0ce
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.140023910
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14001f107
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f101
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f279
call fcn.140036bb4
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], rbx
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.1400200b0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xac], edx
mov qword [rbp + 0x138], r13
lea rcx, [rbp + 0x138]
call fcn.1400357a8
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15d
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], rbx
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.1400200b0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x44], edx
mov qword [rbp + 0x48], r13
lea rcx, [rbp + 0x48]
call fcn.1400357a8
nop
jmp 0x14001ecf0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], rbx
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.1400200b0
mov rcx, qword [rbp - 0x40]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx - 0x40], rax
mov rcx, qword [rbp - 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x44], r8d
mov qword [rbp + 0x48], r13
lea rcx, [rbp + 0x48]
call fcn.1400357a8
nop
mov rax, rsi
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140036840
lea r11, [rsp + 0x6e0]
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 fcn.140046420
nop
call fcn.140046420
nop
call fcn.140046420
int3