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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rdx
mov word [rsp + 0x20], 0xd951
mov byte [rsp + 0x22], 4
lea rbx, [rsp + 0x20]
mov edi, 3
nop dword [rax + rax]
movzx edx, byte [rbx]
lea rcx, str._02x
call fcn.140001010
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x140001830
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov ebx, 4
mov qword [rsp + 0x58], rbx
mov r13d, 0xf
mov qword [rsp + 0x60], r13
mov eax, dword [str.word]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], dil
mov rdx, qword [rsi]
lea rcx, [rsp + 0x68]
call fcn.140001ae0
nop
lea r15, [rsp + 0x48]
mov rdi, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rbp - 0x80]
cmp r14, r13
cmova rax, rsi
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x78]
cmp rbx, rcx
ja 0x140001919
sub rcx, rbx
lea r12, [rcx + rax]
movsx r13d, byte [r15]
lea r8, [r12 + 1]
sub r8, rax
mov edx, r13d
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140001913
nop word [rax + rax]
mov r8d, 4
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001973
inc rbx
lea r8, [r12 + 1]
sub r8, rbx
mov edx, r13d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400018e0
mov r13d, 0xf
lea rdx, str.not_found_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001c70
mov rcx, rax
call fcn.140001e50
nop
cmp r14, 0xf
jbe 0x140001a1e
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001a15
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, qword [rsp + 0x28]
mov r13d, 0xf
cmp rbx, 0xffffffffffffffff
je 0x140001919
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001935
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x10], 2
jb 0x140001935
mov dword [rbp - 0x70], 0x40
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp - 0x68]
shr rax, 0x1e
cmp eax, 2
jb 0x140001935
mov ecx, 0x5f5e100
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140001a8a
cmp r14, r13
jbe 0x140001a11
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001a08
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000237c
nop
xor eax, eax
jmp 0x140001a5d
mov rcx, rsi
call fcn.14000237c
nop
cmp r13, 0xf
jbe 0x140001a58
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001a50
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000237c
mov eax, 0xfffffffe
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140002320
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor edx, edx
mov r8d, 0x5f5e100
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x70]
call fcn.1400012a0
nop
mov r8, rax
lea rcx, [rbp - 0x30]
call fcn.140001540
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001230
lea rdx, [0x1400062f0]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3