Function at 0x140071620
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x1400bb040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rdi, rcx
mov qword [rbp - 0x50], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], 6
mov eax, dword [str.failed]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1400aa1cc]
mov word [rsp + 0x6c], ax
mov byte [rsp + 0x6e], sil
mov dword [rsp + 0x38], 0xff
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8d, 0xff
lea rdx, [rbp + 0x1c0]
lea rcx, [0x1400aa1d0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x14007173f
mov rax, qword [rbp - 0x80]
cmp rax, 6
jb 0x140071713
lea rbx, [rsp + 0x68]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x68]
mov qword [rsp + 0x78], 6
lea r8d, [rsi + 6]
lea rdx, str.failed
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], sil
jmp 0x140071729
lea r9, str.failed
mov edx, 6
lea rcx, [rsp + 0x68]
call fcn.140075aa0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14007194c
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400ada68]
mov qword [rbp - 0x40], rax
lea rax, [0x1400aa8d8]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 2
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x40], r14
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x40], rsi
mov dword [rbp + 0x48], esi
lea rdx, [0x1400608a0]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov dword [rsp + 0x40], 0xa
mov ecx, dword [rbp + 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140071834
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax]
test rbx, rbx
je 0x140071834
mov rax, qword [rbp - 8]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x40]
cmovb rbx, qword [rbp + 0x40]
jmp 0x140071856
test cl, 4
jne 0x14007188a
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007188a
mov rax, qword [rbp - 0x10]
mov r9, qword [rax]
mov rax, qword [rbp + 0x28]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x14007188a
lea rcx, [rbp - 0x78]
cmp rbx, 0xf
ja 0x140071881
mov qword [rbp - 0x68], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x78], 0
jmp 0x14007188a
mov rdx, rbx
call fcn.140075aa0
nop
mov ecx, esi
cmp qword [rbp - 0x68], rcx
jbe 0x1400718c1
mov rdx, rsi
nop word [rax + rax]
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rax, qword [rbp - 0x78]
add byte [rdx + rax], 0xc
inc ecx
lea rdx, [rdx + 1]
movsxd rax, ecx
cmp rax, qword [rbp - 0x68]
jb 0x1400718a0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r14
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x28]
call fcn.140072ee0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14007194c
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071947
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140071947
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082328
mov rax, rdi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1400820c0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret