Function at 0x140006450
Capabilities:
Get hostname
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rbp + 0xa0], sendto
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [rbp + 0xa4], 0x104
lea rdx, [rbp + 0xa4]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rbp - 0x80], 0x114
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rbp + 0x1a0], 0x40
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000dc78]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
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 + 0x20], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xb0], r14
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
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 + 0xb8], rax
mov qword [rbp + 0x120], rsi
mov dword [rbp + 0x128], 4
lea rdx, str.Windows_Version:
lea rcx, [rbp + 0xb0]
call fcn.1400023a0
mov edx, dword [rbp - 0x7c]
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 rcx, rax
lea rdx, [0x14000d800]
call fcn.1400023a0
mov edx, dword [rbp - 0x78]
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 rcx, rax
lea rdx, str.__Build
call fcn.1400023a0
lea rcx, [0x14000db94]
lea rbx, str.Windows_9x
cmp dword [rbp - 0x70], 2
cmove rbx, rcx
mov edx, dword [rbp - 0x74]
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 rcx, rax
lea rdx, [0x14000dba4]
call fcn.1400023a0
mov rcx, rax
mov rdx, rbx
call fcn.1400023a0
mov rcx, rax
lea rdx, [0x14000db90]
call fcn.1400023a0
mov rcx, rax
lea rdx, str.Computer_Name:
call fcn.1400023a0
mov rcx, rax
lea rdx, [rbp + 0x1e0]
call fcn.1400023a0
mov rcx, rax
lea rdx, [0x14000da84]
call fcn.1400023a0
mov rcx, rax
lea rdx, str.User_Name:
call fcn.1400023a0
mov rcx, rax
lea rdx, [rbp + 0x1f0]
call fcn.1400023a0
mov rcx, rax
lea rdx, [0x14000da84]
call fcn.1400023a0
mov rcx, rax
lea rdx, str.Processor_Architecture:
call fcn.1400023a0
movzx ecx, word [rsp + 0x48]
cmp cx, 9
jne 0x1400066bd
lea rdx, [0x14000db44]
jmp 0x1400066d2
lea r8, [0x14000db48]
lea rdx, str.Unknown
test cx, cx
cmove rdx, r8
mov rcx, rax
call fcn.1400023a0
mov rcx, rax
lea rdx, [0x14000da84]
call fcn.1400023a0
mov rcx, rax
lea rdx, str.CPU_Cores:
call fcn.1400023a0
mov edx, dword [rsp + 0x68]
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 rcx, rax
lea rdx, [0x14000da84]
call fcn.1400023a0
mov rcx, rax
lea rdx, str.Total_Physical_Memory:
call fcn.1400023a0
lea rdx, [0x140005650]
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___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call r8
mov rcx, qword [rbp + 0x1a8]
xorps xmm1, xmm1
test rcx, rcx
js 0x140006770
cvtsi2sd xmm1, rcx
jmp 0x140006785
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [0x14000df98]
mov rcx, rbx
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___double____ptr64]
mov rcx, rax
lea rdx, str._GB_n
call fcn.1400023a0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], sendto
mov byte [rdi], 0
mov dword [rsp + 0x20], 0xa
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp + 0x128]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140006803
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x140006803
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x120]
cmovb r8, qword [rbp + 0x120]
sub r8, rdx
jmp 0x14000683d
test cl, 4
jne 0x140006833
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140006833
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x108]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14000683d
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14000684b
mov rcx, rdi
call fcn.1400020a0
nop
mov rcx, qword [rbp + 0xb0]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx + 0xb0], r14
mov rcx, qword [rbp + 0xb0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x88]
mov dword [rbp + rdx + 0xac], r8d
lea rcx, [rbp + 0xb8]
call fcn.140001bf0
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14000a9b0
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret