Function at 0x14006a5c0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400ad010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rcx
mov qword [rbp + 0x70], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140097ae8]
mov qword [rsp + 0x70], rax
lea rax, [0x140097938]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 8]
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 - 0x78]
lea rcx, [rsp + 0x70]
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 [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
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 - 0x78], rax
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], esi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp + 0x70], eax
mov dword [rbp + 0x74], ebx
mov dword [rbp + 0x78], ecx
mov dword [rbp + 0x7c], edx
movzx edx, word [rbp + 0x7e]
add dx, word [rbp + 0x7c]
add dx, word [rbp + 0x7a]
add dx, cx
add dx, word [rbp + 0x76]
add dx, bx
add dx, word [rbp + 0x72]
add dx, ax
lea rcx, [rbp - 0x80]
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_short_int____ptr64]
mov dword [rbp + 0x70], esi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140097ab8]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rbp + 0x70]
mov edx, eax
shr edx, 0x10
add dx, ax
lea rcx, [rbp - 0x80]
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_short_int____ptr64]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.140064870
nop
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14006a330
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14006a76d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a768
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a768
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088cac
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], send
mov byte [rsp + 0x48], 0
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x70], r14
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea ebx, [rdx - 0x98]
mov dword [rsp + rdx + 0x6c], ebx
lea rcx, [rbp - 0x78]
call fcn.14005ebd0
lea rcx, [rbp - 0x70]
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 + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400888c0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret