Function at 0x1400118e3
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
jmp 0x14001c7e0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x798
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x14a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7b8]
mov rax, qword [0x140039080]
xor rax, rbp
mov qword [rbp + 0x758], rax
lea rcx, [0x1400430fa]
call fcn.140011cda
nop
mov edx, 0xe8
lea rcx, [rbp + 0x1a0]
call fcn.140011843
mov edx, 1
lea rcx, [rbp + 0x1a0]
call fcn.140011d02
nop
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
mov dword [rbp + 0x60], 0x40
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
mov r8d, dword [rbp + 0x788]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2a8], rax
cmp qword [rbp + 0x2a8], 0
je 0x14001ca00
lea rax, [rbp + 0x328]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x308]
lea r8, [rbp + 0x2e8]
lea rdx, [rbp + 0x2c8]
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
nop
lea rdx, [rbp + 0x348]
lea rcx, [rbp + 0x308]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x328]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop
lea rdx, str.Process_ID:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
mov edx, dword [rbp + 0x788]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140031cb0]
mov rcx, rax
call fcn.140011690
nop
lea rdx, str.Process_Start_Time:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
movzx edx, word [rbp + 0x348]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [0x140031ce0]
mov rcx, rax
call fcn.140011690
movzx edx, word [rbp + 0x34a]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [0x140031ce0]
mov rcx, rax
call fcn.140011690
movzx edx, word [rbp + 0x34e]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [0x140031cdc]
mov rcx, rax
call fcn.140011690
movzx edx, word [rbp + 0x350]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [0x140031cd8]
mov rcx, rax
call fcn.140011690
movzx edx, word [rbp + 0x352]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [0x140031cd8]
mov rcx, rax
call fcn.140011690
movzx edx, word [rbp + 0x354]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [0x140031cb0]
mov rcx, rax
call fcn.140011690
nop
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14001ca14
lea rdx, str.Failed_to_open_process_to_get_creation_time._n
lea rcx, [rbp + 0x1a0]
call fcn.140011690
nop
lea rdx, str.Processor_Architecture:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
movzx edx, word [rbp + 8]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
lea rdx, [0x140031cb0]
mov rcx, rax
call fcn.140011690
nop
lea rdx, str.Number_of_Processors:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
mov edx, dword [rbp + 0x28]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140031cb0]
mov rcx, rax
call fcn.140011690
nop
lea rdx, str.Page_Size:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
mov edx, dword [rbp + 0xc]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140031cb0]
mov rcx, rax
call fcn.140011690
nop
xor edx, edx
mov rax, qword [rbp + 0x68]
mov ecx, 0x100000
div rcx
mov qword [rbp + 0x748], rax
lea rdx, str.Total_Physical_Memory:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
mov rcx, qword [rbp + 0x748]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str._MB_n
mov rcx, rax
call fcn.140011690
nop
xor edx, edx
mov rax, qword [rbp + 0x70]
mov ecx, 0x100000
div rcx
mov qword [rbp + 0x748], rax
lea rdx, str.Available_Physical_Memory:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
mov rcx, qword [rbp + 0x748]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str._MB_n
mov rcx, rax
call fcn.140011690
nop
xor edx, edx
mov rax, qword [rbp + 0x88]
mov ecx, 0x100000
div rcx
mov qword [rbp + 0x748], rax
lea rdx, str.Total_Virtual_Memory:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
mov rcx, qword [rbp + 0x748]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str._MB_n
mov rcx, rax
call fcn.140011690
nop
xor edx, edx
mov rax, qword [rbp + 0x90]
mov ecx, 0x100000
div rcx
mov qword [rbp + 0x748], rax
lea rdx, str.Available_Virtual_Memory:
lea rcx, [rbp + 0x1a0]
call fcn.140011690
mov rcx, qword [rbp + 0x748]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str._MB_n
mov rcx, rax
call fcn.140011690
nop
mov edx, 0x108
lea rcx, [rbp + 0x3b0]
call fcn.1400115fa
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 8
mov rdx, qword [rbp + 0x780]
lea rcx, [rbp + 0x3b0]
call fcn.1400114b0
nop
lea rcx, [rbp + 0x3b0]
call fcn.140011933
movzx eax, al
test eax, eax
je 0x14001cc78
lea rdx, [rbp + 0x718]
lea rcx, [rbp + 0x1a0]
call fcn.1400118b6
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x748]
mov qword [rbp + 0x750], rax
mov rdx, qword [rbp + 0x750]
lea rcx, [rbp + 0x3b0]
call fcn.140011780
nop
lea rcx, [rbp + 0x718]
call fcn.140011b59
nop
lea rcx, [rbp + 0x3b0]
call fcn.14001112c
nop
jmp 0x14001cc9c
lea rdx, str.Failed_to_open_file_for_logging.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140011690
lea rdx, [0x14001161d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x3b0]
call fcn.140011ccb
nop
lea rcx, [rbp + 0x1a0]
call fcn.1400112cb
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140030600]
call fcn.140011adc
mov rcx, qword [rbp + 0x758]
xor rcx, rbp
call fcn.14001160e
lea rsp, [rbp + 0x768]
pop rdi
pop rbp
ret