Function at 0x14000ae10
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 [0x1404b3fb8]
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 [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], sil
lea r9, str.Error_:_string_is_null
lea edx, [rsi + 0x16]
lea rcx, [rbp - 0x78]
call fcn.140008fc0
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, [0x140414578]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x14000af12
mov rcx, qword [rbp - 0x60]
cmp rcx, 4
jb 0x14000aee9
lea rax, [rbp - 0x78]
cmp rcx, 0x10
cmovae rax, qword [rbp - 0x78]
mov qword [rbp - 0x68], 4
mov dword [rax], 0x6c6c756e
mov byte [rax + 4], sil
jmp 0x14000aefe
lea r9, [0x14041457c]
mov edx, 4
lea rcx, [rbp - 0x78]
call fcn.140008fc0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14000b120
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140415ff8]
mov qword [rbp - 0x40], rax
lea rax, [0x140415f30]
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, [0x140001340]
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 [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x40], 0xa
mov ecx, dword [rbp + 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000b00a
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax]
test rbx, rbx
je 0x14000b00a
mov rax, qword [rbp - 8]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x40]
cmovb rbx, qword [rbp + 0x40]
jmp 0x14000b02c
test cl, 4
jne 0x14000b062
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000b062
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 0x14000b062
lea rcx, [rsp + 0x68]
cmp rbx, 0xf
ja 0x14000b059
mov qword [rsp + 0x78], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x68], 0
jmp 0x14000b062
mov rdx, rbx
call fcn.140008fc0
nop
mov ecx, esi
cmp qword [rsp + 0x78], rcx
jbe 0x14000b094
mov rdx, rsi
nop
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
add byte [rdx + rax], 6
inc ecx
lea rdx, [rdx + 1]
movsxd rax, ecx
cmp rax, qword [rsp + 0x78]
jb 0x14000b070
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
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.14000ec40
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 - 0x60]
cmp rdx, 0x10
jb 0x14000b120
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b11b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b11b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012e770
mov rax, rdi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14012e750
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret