Function at 0x1400dc460
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14014a4d8]
mov qword [rbp - 0x80], rax
lea rax, [0x14014a180]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x18]
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 - 0x68]
lea rcx, [rbp - 0x80]
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 - 0x80]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x68]
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 - 0x68], rax
mov qword [rbp], rsi
mov dword [rbp + 8], esi
lea rdx, [0x140046c30]
lea rcx, [rbp - 0x70]
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 rdi, rax
mov ebx, dword [rsp + 0x6c]
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov r8d, 0x105
lea rdx, [rbp + 0x190]
lea rcx, [0x14013329c]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
cmovne ebx, dword [rsp + 0x68]
mov edx, ebx
mov rcx, rdi
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 [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], sil
mov dword [rsp + 0x40], 0xa
movups xmmword [rsp + 0x50], xmm0
mov ebx, esi
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400dc64f
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400dc64c
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rdi, rax
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rsi, rax
mov rbx, qword [rbp]
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
cmp rsi, rbx
cmovb rsi, rbx
sub rsi, rdi
mov rbx, rdi
jmp 0x1400dc68a
mov ecx, dword [rbp + 8]
test cl, 4
jne 0x1400dc6ce
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x1400dc685
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rdi, rax
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rsi, rax
sub rsi, rdi
mov rbx, rdi
jmp 0x1400dc68a
mov rdi, qword [rsp + 0x50]
test rbx, rbx
je 0x1400dc6ce
mov rax, qword [r14 + 0x18]
cmp rsi, rax
ja 0x1400dc6bc
mov rbx, r14
cmp rax, 0xf
jbe 0x1400dc6a4
mov rbx, qword [r14]
mov qword [r14 + 0x10], rsi
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x1400dc6ce
mov r9, rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140082770
nop
mov rcx, qword [rbp - 0x80]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx - 0x80], r15
mov rcx, qword [rbp - 0x80]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x7c], r8d
lea rcx, [rbp - 0x68]
call fcn.14007cc90
lea rcx, [rbp - 0x60]
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 + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r14
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140126e40
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret