Function at 0x1400088e0
Capabilities:
Check os version
Get memory capacity
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r14d, r14d
mov dword [rbp + 0x90], r14d
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140015480]
mov qword [rbp + 0xc0], rax
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov ebx, 1
mov dword [rbp + 0x90], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xc0]
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 + 0xc0]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], r12
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r15, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xc8], r15
mov byte [rbp + 0x144], r14b
mov byte [rbp + 0x139], r14b
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x148], r14
mov rax, qword [0x14001bcc8]
mov qword [rbp + 0x13c], rax
mov qword [rbp + 0x130], r14
mov r8d, 2
lea rdx, str.Logs_system_log.txt
lea rcx, [rbp + 0xc8]
call fcn.14000dc60
test rax, rax
jne 0x140008a3f
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
cmp qword [rbp + 0x148], 0
jne 0x140008a61
lea rdx, str.Failed_to_open_log_file._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000dec0
jmp 0x140008f93
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov r8d, 5
lea rdx, str.e_35m
lea rcx, [rbp + 0x98]
call fcn.14000ed20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8d, 0xe
lea rdx, str.Logging_WinVer
lea rcx, [rsp + 0x30]
call fcn.14000ed20
nop
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.140001ba0
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x114
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
jne 0x140008b73
lea rdx, str.Windows_Version:
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
cmp dword [rsp + 0x74], 0xa
jne 0x140008b4a
cmp dword [rsp + 0x78], 0
jne 0x140008b4a
lea rax, str.Windows_11
lea rdx, str.Windows_10
cmp dword [rsp + 0x7c], 0x55f0
cmovae rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
lea rdx, str.__Build
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
mov edx, dword [rsp + 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]
lea rdx, [0x140014c0c]
jmp 0x140008b81
lea rax, [rbp + 0xc0]
lea rdx, str.Failed_to_get_Windows_version._n
mov rcx, rax
call fcn.14000dec0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8d, 5
lea rdx, str.e_35m
lea rcx, [rsp + 0x30]
call fcn.14000ed20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov r8d, 0xb
lea rdx, str.Logging_RAM
lea rcx, [rbp + 0x98]
call fcn.14000ed20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x98]
call fcn.140001ba0
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140008c45
lea rdx, str.Total_Physical_Memory__GB_:
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
mov rdx, qword [rsp + 0x38]
shr rdx, 0x1e
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_long_unsigned___int64_____ptr64]
lea rdx, str._GB_n
jmp 0x140008c53
lea rax, [rbp + 0xc0]
lea rdx, str.Failed_to_get_memory_information._n
mov rcx, rax
call fcn.14000dec0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8d, 5
lea rdx, str.e_35m
lea rcx, [rsp + 0x30]
call fcn.14000ed20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov r8d, 0x10
lea rdx, str.Logging_Username
lea rcx, [rbp + 0x98]
call fcn.14000ed20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x98]
call fcn.140001ba0
mov dword [rbp + 0x90], 0x101
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140008d1b
lea rdx, str.Username:
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.14000dec0
lea rdx, [0x140014c8c]
jmp 0x140008d29
lea rax, [rbp + 0xc0]
lea rdx, str.Failed_to_get_username._n
mov rcx, rax
call fcn.14000dec0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8d, 5
lea rdx, str.e_35m
lea rcx, [rsp + 0x30]
call fcn.14000ed20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov r8d, 0x19
lea rdx, str.Logging_Running_Processes
lea rcx, [rbp + 0x98]
call fcn.14000ed20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x98]
call fcn.140001ba0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x98]
call fcn.140008680
nop
mov rdi, qword [rbp + 0x98]
mov rsi, qword [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
cmp rdi, rsi
jne 0x140008e00
lea rdx, str.No_processes_found_or_failed_to_retrieve_processes.
call fcn.14000dec0
lea rdx, [0x14000e0a0]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140008e65
lea rdx, str.Running_Processes:
call fcn.14000dec0
lea rdx, [0x14000e0a0]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, rdi
nop
lea rdx, str.___
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140008e40
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000f7d0
lea rdx, [0x14000e0a0]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
add rbx, 0x20
cmp rbx, rsi
jne 0x140008e20
test rdi, rdi
je 0x140008eb3
mov rdx, rsi
mov rcx, rdi
call fcn.14000ee20
mov rdx, qword [rbp + 0xa8]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140008eab
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008eab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400113d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8d, 5
lea rdx, str.e_35m
lea rcx, [rsp + 0x30]
call fcn.14000ed20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
mov r8d, 0xb
lea rdx, str.Logging_KEY
lea rcx, [rbp + 0x98]
call fcn.14000ed20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x98]
call fcn.140001ba0
lea rdx, str.KEY_:
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
mov rcx, rax
lea rdx, str.35A36BF395FE
call fcn.14000dec0
lea rdx, [0x14000e0a0]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0xc8]
call fcn.14000dba0
test rax, rax
jne 0x140008f90
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov ebx, r14d
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xc0], r12
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xbc], edx
mov qword [rbp + 0xc8], r15
cmp qword [rbp + 0x148], 0
je 0x140009008
lea rcx, [rbp + 0x138]
mov rax, qword [rbp + 0xe0]
cmp qword [rax], rcx
jne 0x140009008
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x150]
mov qword [rax], rcx
mov rax, qword [rbp + 0x100]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x118]
mov dword [rax], edx
cmp byte [rbp + 0x144], 0
je 0x14000901d
lea rcx, [rbp + 0xc8]
call fcn.14000dba0
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xd0]
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 + 0x168]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400113b0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret