Function at 0x1400012b0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rbx, rcx
mov qword [rbp - 0x50], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x140009d60]
movdqu xmmword [rbp - 0x68], xmm1
mov byte [rbp - 0x78], dil
lea r8d, [rdi + 0x16]
lea rdx, str.Error_:_string_is_null
lea rcx, [rbp - 0x78]
call fcn.1400063c0
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, [0x1400097a0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x14000138a
lea r8d, [rdi + 0x37]
lea rdx, str.Error:_Not_elevated__please_run_this_with_admin_rights_
lea rcx, [rbp - 0x78]
call fcn.1400063c0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbx + 0x10], xmm1
jmp 0x140001590
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140009d40]
mov qword [rbp - 0x40], rax
lea rax, [0x140009c58]
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 rsi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x40], rsi
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], rdi
mov dword [rbp + 0x48], edi
lea rdx, [0x140001290]
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 r9, rdi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], recv
mov byte [rsp + 0x68], r9b
mov dword [rsp + 0x40], 0xa
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [rbp + 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000148d
mov rax, qword [rbp + 0x18]
mov r8, qword [rax]
test r8, r8
je 0x14000148d
mov rax, qword [rbp - 8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x40]
cmovb r8, qword [rbp + 0x40]
sub r8, rdx
jmp 0x1400014be
test cl, 4
jne 0x1400014b4
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400014b4
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x28]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x1400014be
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400014d2
lea rcx, [rsp + 0x68]
call fcn.1400063c0
mov r9, qword [rsp + 0x78]
mov edx, edi
test r9, r9
je 0x140001504
mov rcx, rdi
nop dword [rax]
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
add byte [rcx + rax], 0x14
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, qword [rsp + 0x78]
jb 0x1400014e0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbx + 0x10], xmm1
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], rsi
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.140005ba0
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 0x140001590
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000158b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000158b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007a90
mov rax, rbx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140007a70
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret