Function at 0x1400023d0
Capabilities:
Get memory capacity

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor ebx, ebx
mov dword [r11 - 0x68], 0x40
lea rcx, [r11 - 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400025fa
mov rdx, qword [rsp + 0x88]
shr rdx, 0x14
lea rcx, [rsp + 0x30]
call fcn.140002cd0
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
lea r15d, [rbx + 0x14]
lea rbp, str.Total_Physical_RAM:
cmp rax, r15
jb 0x1400024d4
lea rax, [r8 + 0x14]
mov qword [rsp + 0x40], rax
lea rsi, [rsp + 0x30]
cmp rcx, 0x10
cmovae rsi, qword [rsp + 0x30]
lea rax, [0x1400054bc]
cmp rax, rsi
jbe 0x140002497
lea rax, [rsi + r8]
cmp rbp, rax
ja 0x140002497
cmp rsi, rbp
ja 0x14000248f
mov r14d, ebx
jmp 0x14000249a
mov r14, rsi
sub r14, rbp
jmp 0x14000249a
mov r14, r15
lea rcx, [rsi + 0x14]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r14]
sub r15, r14
lea rdx, [rbp + 0x14]
add rdx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x1400024eb
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbp
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140003490
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1400054a4]
lea rcx, [rsp + 0x50]
call fcn.140002c50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000259e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002599
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000367c
movdqa xmm0, xmmword [0x140005510]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400026d1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000367c
jmp 0x1400026d1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov rdx, qword [rdi + 0x18]
mov rcx, rdx
shr rcx, 1
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rdx, rax
jbe 0x140002654
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140003640
test rax, rax
je 0x140002680
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140002694
lea rax, [rcx + rdx]
mov esi, 0x2f
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140002687
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002701
jmp 0x140002639
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002694
call fcn.140003640
mov rbx, rax
mov qword [rdi], rbx
mov qword [rdi + 0x10], 0x23
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [str.Failed_to_retrieve_RAM_information.]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x1400054d0]
movups xmmword [rbx + 0x10], xmm1
movzx eax, word [0x1400054e0]
mov word [rbx + 0x20], ax
movzx eax, byte [0x1400054e2]
mov byte [rbx + 0x22], al
mov byte [rbx + 0x23], 0
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140003620
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140001110
int3