Function at 0x14004a2a0
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 - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
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 + 0x48], 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], r14
mov dword [rbp + 8], r14d
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 + 0x1b0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x6c], r14d
mov dword [rsp + 0x70], r14d
movabs rax, 0xb49bcb5d7b1826d6
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rcx, 0xb336234fae1243a
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movabs rax, 0xb49bcb5d7b441c95
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x80], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x88], rax
movdqa xmm0, xmmword [rbp + 0x80]
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0xa0]
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 + 0x1b0]
lea rcx, [rsp + 0x50]
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 [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], r14b
mov dword [rsp + 0x48], 0xa
movups xmmword [rbp + 0x80], xmm0
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14004a4db
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14004a4db
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x14004a510
test cl, 4
jne 0x14004a502
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x14004a502
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14004a510
mov r8, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
test rdx, rdx
je 0x14004a51e
mov rcx, rsi
call fcn.14007e870
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, rsi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140126e40
lea r11, [rsp + 0x3d0]
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