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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x400], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov r8d, 0x30c
lea rdx, [rbp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140001f39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_t____GetModuleFileNameA_Failed_With_Error_:__d__n
call fcn.140001010
lea rcx, [rbp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x104
jge 0x140001f70
lea rcx, [rbp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rdx, rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r14d, ebx
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x14000204c
lea rsi, [rbp - 0x20]
nop dword [rax]
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
lea edi, [rbx + 1]
test eax, eax
cmove edi, ebx
inc r14d
lea rsi, [rsi + 1]
mov ebx, edi
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp r14d, eax
jl 0x140001f90
cmp edi, 3
jbe 0x14000204c
movdqa xmm0, xmmword [0x14000ba80]
mov dword [rsp + 0x30], 0x6f276ad6
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x49c
mov eax, dword [rdx + rcx]
mov ebx, 0x3d0
add rbx, rcx
test al, 1
jne 0x140002037
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x14], 1
lea rax, [rbx + 0x13]
lea rcx, [rsp + 0x33]
cmp rbx, rcx
ja 0x140002020
lea rcx, [rsp + 0x20]
cmp rax, rcx
jb 0x140002020
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x10], eax
jmp 0x14000202a
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x10], eax
lea rcx, [0x140009940]
call fcn.140007e60
nop
mov rcx, rbx
call fcn.1400049f0
mov rcx, rbx
call fcn.140001010
call fcn.140001230
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x30], 2
jae 0x1400020fa
movdqa xmm0, xmmword [0x14000b930]
mov word [rsp + 0x48], 0xbbdc
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x210
mov eax, dword [rcx + rdi]
mov ebx, 0x3f8
test al, 1
jne 0x1400020e1
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [rdi + rbx]
mov byte [rcx + 0x13], 1
lea rax, [rcx + 0x12]
lea rdx, [rsp + 0x4a]
cmp rcx, rdx
ja 0x1400020c4
lea rdx, [rsp + 0x38]
cmp rax, rdx
jb 0x1400020c4
movups xmmword [rcx], xmm0
movzx eax, word [rsp + 0x48]
mov word [rcx + 0x10], ax
mov byte [rcx + 0x12], 0x99
jmp 0x1400020d4
movups xmmword [rcx], xmm0
movzx eax, word [rsp + 0x48]
mov word [rcx + 0x10], ax
mov byte [rcx + 0x12], 0x99
lea rcx, [0x140009910]
call fcn.140007e60
nop
lea r11, [rbx + rdi]
mov rcx, r11
call fcn.140004870
mov rcx, r11
call fcn.140001010
call fcn.140001230
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400021bd
cmp dword [rsp + 0x78], 0x80000000
jae 0x1400021b5
movdqa xmm0, xmmword [0x14000b9e0]
mov word [rsp + 0x60], 0x778c
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x424
mov eax, dword [rcx + rdi]
mov ebx, 0x398
test al, 1
jne 0x14000219c
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [rdi + rbx]
mov byte [rcx + 0x13], 1
lea rax, [rcx + 0x12]
lea rdx, [rsp + 0x62]
cmp rcx, rdx
ja 0x14000217f
lea rdx, [rsp + 0x50]
cmp rax, rdx
jb 0x14000217f
movups xmmword [rcx], xmm0
movzx eax, word [rsp + 0x60]
mov word [rcx + 0x10], ax
mov byte [rcx + 0x12], 0x23
jmp 0x14000218f
movups xmmword [rcx], xmm0
movzx eax, word [rsp + 0x60]
mov word [rcx + 0x10], ax
mov byte [rcx + 0x12], 0x23
lea rcx, [0x1400098e0]
call fcn.140007e60
nop
lea r11, [rbx + rdi]
mov rcx, r11
call fcn.1400046f0
mov rcx, r11
call fcn.140001010
call fcn.140001230
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.1400079c0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret