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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rbx, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov byte [rbp - 0x30], 0
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14004ad0b
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
test eax, eax
je 0x14004ad0b
movzx r10d, word [rsp + 0x40]
movzx r8d, word [rsp + 0x44]
mov edx, r10d
mov ecx, r10d
mov eax, r8d
mov r9d, r8d
shr ecx, 5
and edx, 0x1f
shr eax, 9
add edx, edx
shr r10d, 0xb
mov dword [rsp + 0x38], edx
and ecx, 0x3f
mov dword [rsp + 0x30], ecx
lea rdx, str._d__d__d__02d:_02d:_02d
shr r8d, 5
lea rcx, [rbp - 0x30]
add eax, 0x7bc
mov dword [rsp + 0x28], r10d
and r9d, 0x1f
mov dword [rsp + 0x20], eax
and r8d, 0xf
call fcn.14001b910
lea r8, [rbp - 0x30]
mov rcx, rbx
lea rdx, str._r_nError_occurred_at__s._r_n
call fcn.14004a0e0
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x208
call fcn.140081700
mov r8d, 0x206
lea rdx, [rbp + 0x210]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14004ad5f
lea rdx, str.Unknown
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0xc8
call fcn.140081700
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], 0xc6
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14004ad9c
lea rdx, str.Unknown
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea r9, [rbp + 0x40]
mov rcx, rbx
lea r8, [rbp + 0x210]
lea rdx, str._s__run_by__s._r_n
call fcn.14004a0e0
lea rcx, [rbp + 0x110]
call fcn.14004a6a0
mov rcx, rbx
test eax, eax
je 0x14004adde
lea r8, [rbp + 0x110]
lea rdx, str.Operating_system:___s_r_n
call fcn.14004a0e0
jmp 0x14004adea
lea rdx, str.Operating_system:__Could_not_Determine_r_n
call fcn.14004a0e0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rbp - 0x7c]
lea rdx, str._d_processor_s___type__d._r_n
mov r8d, dword [rbp - 0x80]
mov rcx, rbx
call fcn.14004a0e0
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x38
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r8d, dword [rbp - 0x6c]
lea rdx, str._d___memory_in_use._r_n
mov rcx, rbx
call fcn.14004a0e0
mov r8, qword [rbp - 0x68]
lea rdx, str._d_MBytes_physical_memory._r_n
add r8, 0xfffff
mov rcx, rbx
shr r8, 0x14
call fcn.14004a0e0
mov r8, qword [rbp - 0x60]
lea rdx, str._d_MBytes_physical_memory_free._r_n
add r8, 0xfffff
mov rcx, rbx
shr r8, 0x14
call fcn.14004a0e0
mov r8, qword [rbp - 0x58]
lea rdx, str._d_MBytes_paging_file._r_n
add r8, 0xfffff
mov rcx, rbx
shr r8, 0x14
call fcn.14004a0e0
mov r8, qword [rbp - 0x50]
lea rdx, str._d_MBytes_paging_file_free._r_n
add r8, 0xfffff
mov rcx, rbx
shr r8, 0x14
call fcn.14004a0e0
mov r8, qword [rbp - 0x48]
lea rdx, str._d_MBytes_user_address_space._r_n
add r8, 0xfffff
mov rcx, rbx
shr r8, 0x14
call fcn.14004a0e0
mov r8, qword [rbp - 0x40]
lea rdx, str._d_MBytes_user_address_space_free._r_n
add r8, 0xfffff
mov rcx, rbx
shr r8, 0x14
call fcn.14004a0e0
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140050f90
mov rbx, qword [rsp + 0x548]
add rsp, 0x530
pop rbp
ret