Function at 0x14003b400
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x288]
sub rsp, 0x388
xor ebx, ebx
mov rdi, rcx
mov qword [rsp + 0x68], rbx
lea ecx, [rbx + 0x20]
call fcn.140045e04
movups xmm0, xmmword [str.Error_:_string_is_null]
mov rsi, rax
mov dword [rsp + 0x38], 0xff
lea r9, [rbp + 0x2b8]
mov r8d, 0xff
movups xmmword [rax], xmm0
mov ecx, dword [0x140053990]
lea rdx, [rbp + 0x180]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x140053994]
mov word [rax + 0x14], cx
lea rcx, [0x140053998]
mov byte [rax + 0x16], bl
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x14003b530
lea ecx, [rbx + 0x40]
call fcn.140045e04
movups xmm0, xmmword [str.Error:_Not_elevated__please_run_this_with_admin_rights_]
mov rbx, rax
mov qword [rsp + 0x70], 0x37
mov edx, 0x20
mov qword [rsp + 0x78], 0x3f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400539b0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400539c0]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x1400539d0]
mov dword [rax + 0x30], ecx
mov rcx, rsi
movzx eax, word [0x1400539d4]
mov word [rbx + 0x34], ax
movzx eax, byte [0x1400539d6]
mov byte [rbx + 0x36], al
mov byte [rbx + 0x37], 0
call fcn.140046098
movups xmm1, xmmword [rsp + 0x70]
mov qword [rsp + 0x60], rbx
mov rax, rdi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
add rsp, 0x388
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, [0x140054bf0]
mov qword [rsp + 0x380], r14
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x18]
lea rax, [0x140054b40]
mov qword [rbp - 0x70], rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
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]
mov rax, qword [rbp - 0x80]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r14
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], rbx
lea rdx, [0x14003b290]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x70]
mov dword [rbp + 8], ebx
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 [rbp + 0x2b8]
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]
mov ecx, dword [rbp + 8]
xorps xmm0, xmm0
mov eax, ecx
mov qword [rsp + 0x50], rbx
and al, 0x22
mov qword [rsp + 0x58], socket
mov r9, rbx
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x40], bl
movups xmmword [rsp + 0x60], xmm0
cmp al, 2
je 0x14003b619
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14003b619
cmp r8, qword [rbp]
mov rax, qword [rbp - 0x48]
cmovb r8, qword [rbp]
mov rdx, qword [rax]
sub r8, rdx
jmp 0x14003b64a
test cl, 4
jne 0x14003b640
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003b640
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14003b64a
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14003b65e
lea rcx, [rsp + 0x40]
call fcn.140043c90
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14003b696
mov rcx, rbx
nop word [rax + rax]
cmp qword [rsp + 0x58], 0x10
lea rax, [rsp + 0x40]
lea rcx, [rcx + 1]
cmovae rax, qword [rsp + 0x40]
inc ebx
add byte [rcx + rax - 1], 0x14
movsxd rax, ebx
cmp rax, qword [rsp + 0x50]
jb 0x14003b670
mov rax, qword [rbp - 0x80]
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r14
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 fcn.140043940
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 edx, 0x20
mov rcx, rsi
call fcn.140046098
mov r14, qword [rsp + 0x380]
mov rax, rdi
add rsp, 0x388
pop rdi
pop rsi
pop rbx
pop rbp
ret