Function at 0x140002380
Capabilities:
Get hostname
Get memory capacity
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 - 0x510]
sub rsp, 0x610
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rbp - 0x70], 0x40
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140009c64]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x98]
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 + 0x18]
lea rcx, [rbp + 0x10]
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 + 0x10]
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 + 0x10], r14
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
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 + 0x18], rax
mov qword [rbp + 0x80], rsi
mov dword [rbp + 0x88], 4
lea rdx, str.Hardware_information:__n
lea rcx, [rbp + 0x10]
call fcn.140006320
lea rdx, str.__OEM_ID:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov edx, dword [rsp + 0x58]
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, [0x14000975c]
call fcn.140006320
lea rdx, str.__Number_of_processors:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov edx, dword [rsp + 0x78]
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, [0x14000975c]
call fcn.140006320
lea rdx, str.__Page_size:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov edx, dword [rsp + 0x5c]
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._bytes_n
call fcn.140006320
lea rdx, str.__Processor_type:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov edx, dword [rsp + 0x7c]
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, [0x14000975c]
call fcn.140006320
lea rdx, str.__Minimum_application_address:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, qword [rsp + 0x60]
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000975c]
call fcn.140006320
lea rdx, str.__Maximum_application_address:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, qword [rsp + 0x68]
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000975c]
call fcn.140006320
lea rdx, str.__Active_processor_mask:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, qword [rsp + 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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14000975c]
call fcn.140006320
lea rdx, str._nMemory_status:_n
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rbx, qword [rbp - 0x68]
shr rbx, 0x14
lea rdx, str.__Total_physical_memory:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, 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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._MB_n
call fcn.140006320
mov rbx, qword [rbp - 0x60]
shr rbx, 0x14
lea rdx, str.__Free_physical_memory:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, 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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._MB_n
call fcn.140006320
mov rbx, qword [rbp - 0x48]
shr rbx, 0x14
lea rdx, str.__Total_virtual_memory:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, 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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._MB_n
call fcn.140006320
mov rbx, qword [rbp - 0x40]
shr rbx, 0x14
lea rdx, str.__Free_virtual_memory:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, 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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._MB_n
call fcn.140006320
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rbp - 0x30]
cmp ax, 9
jne 0x1400026ab
lea rbx, str.x64__AMD_or_Intel_
jmp 0x1400026de
cmp ax, 5
jne 0x1400026ba
lea rbx, [0x14000998c]
jmp 0x1400026de
cmp ax, 6
jne 0x1400026c9
lea rbx, str.Intel_Itanium_based
jmp 0x1400026de
lea rcx, [0x1400099a4]
lea rbx, str.Unknown_architecture
test ax, ax
cmove rbx, rcx
lea rdx, str._nProcessor_architecture:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
mov rdx, rbx
call fcn.140006320
mov rcx, rax
lea rdx, [0x14000975c]
call fcn.140006320
mov dword [rbp], 0x400
lea rdx, [rbp]
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140002752
lea rdx, str._nComputer_Name:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rcx, rax
lea rdx, [rbp + 0x100]
call fcn.140006320
mov rcx, rax
lea rdx, [0x14000975c]
call fcn.140006320
lea rcx, [rsp + 0x28]
call fcn.140001370
mov rbx, rax
lea rdx, str._nOperating_System:
lea rcx, [rbp + 0x10]
call fcn.140006320
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000277c
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140006be0
lea rdx, [0x14000975c]
mov rcx, rax
call fcn.140006320
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400027d9
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400070b0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov dword [rsp + 0x20], 0xa
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp + 0x88]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140002830
mov rax, qword [rbp + 0x58]
mov r8, qword [rax]
test r8, r8
je 0x140002830
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x80]
cmovb r8, qword [rbp + 0x80]
sub r8, rdx
jmp 0x140002861
test cl, 4
jne 0x140002857
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002857
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x68]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140002861
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14000286f
mov rcx, rdi
call fcn.1400061a0
nop
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx + 0x10], r14
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x88]
mov dword [rbp + rdx + 0xc], r8d
lea rcx, [rbp + 0x18]
call fcn.1400059a0
lea rcx, [rbp + 0x20]
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 + 0x98]
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 + 0x500]
xor rcx, rsp
call fcn.140007090
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret