Function at 0x14001ac00
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
lea rax, vtable.fast_array_class_IntRect_.0
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov r12d, dword [rcx + 0x4ac]
mov esi, dword [rcx + 0x2fc]
imul esi, dword [rcx + reloc.mfc90u.dll_CRecentFileList::CRecentFileList]
mov edi, dword [rcx + reloc.mfc90u.dll_CPropertySheet::CPropertySheet]
mov ebx, dword [rcx + 0x2f0]
mov ebp, 0x200
xor edx, edx
lea r8d, [r15 + 0x3c]
lea rcx, [rsp + 0x54]
call sub.MSVCR90.dll_memset
mov dword [rsp + 0x50], 0x40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r11, qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
cmp rax, r11
cmovb r11, rax
pxor xmm0, xmm0
cvtsi2sd xmm0, r11
movsd xmm2, qword [0x14004e2f0]
test r11, r11
jns 0x14001acb7
addsd xmm0, xmm2
pxor xmm1, xmm1
cvtsi2sd xmm1, r15
test r15, r15
jns 0x14001acc9
addsd xmm1, xmm2
subsd xmm0, xmm1
xorpd xmm2, xmm2
comisd xmm2, xmm0
jbe 0x14001acdb
movapd xmm0, xmm2
mulsd xmm0, qword [0x14004e2e8]
comisd xmm0, xmm2
jbe 0x14001ad4c
movd xmm1, r12d
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movd xmm2, esi
cvtdq2pd xmm2, xmm2
divsd xmm0, xmm2
call sub.MSVCR90.dll_sqrt
addsd xmm0, qword [0x14004d388]
movsd xmm2, xmm0
shufpd xmm2, xmm2, 0
cvttpd2dq xmm0, xmm2
cvtdq2pd xmm1, xmm0
cmpltpd xmm2, xmm1
andpd xmm2, xmmword [0x14004c750]
subpd xmm1, xmm2
cvtpd2dq xmm0, xmm1
movdqa xmmword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x90]
cmp eax, ebp
cmovl eax, ebp
mov ebp, eax
mov esi, ebx
mov r12d, edi
test ebp, ebp
jle 0x14001ad94
mov esi, ebp
mov r12d, ebp
mov edx, ebp
imul edx, ebp
mov eax, ebx
imul eax, edi
cmp eax, edx
jg 0x14001ad6f
mov esi, ebx
mov r12d, edi
jmp 0x14001ad94
mov ecx, edi
cmp ebx, edi
cmovl ecx, ebx
cmp ecx, ebp
jge 0x14001ad94
cmp ecx, ebx
jne 0x14001ad8a
mov esi, ecx
mov eax, edx
cdq
idiv ecx
mov r12d, eax
jmp 0x14001ad94
mov r12d, ecx
mov eax, edx
cdq
idiv ecx
mov esi, eax
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
movd xmm0, esi
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd xmm2, xmm1
shufpd xmm2, xmm2, 0
cvttpd2dq xmm0, xmm2
cvtdq2pd xmm1, xmm0
movapd xmm4, xmmword [0x14004c750]
movapd xmm0, xmm1
cmpltpd xmm0, xmm2
andpd xmm0, xmm4
addpd xmm0, xmm1
cvtpd2dq xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movd xmm2, edi
cvtdq2pd xmm2, xmm2
movd xmm1, r12d
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm1
movsd xmm3, xmm2
shufpd xmm3, xmm3, 0
cvttpd2dq xmm0, xmm3
cvtdq2pd xmm1, xmm0
movapd xmm0, xmm1
cmpltpd xmm0, xmm3
andpd xmm0, xmm4
addpd xmm0, xmm1
cvtpd2dq xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov r13d, dword [rsp + 0x90]
mov eax, r13d
mov r14d, dword [rsp + 0xa0]
imul eax, r14d
mov dword [rsp + 0x20], eax
movsxd rdx, eax
lea rcx, [rsp + 0x28]
call fcn.140006240
mov dword [rsp + 0x90], r15d
mov dword [rsp + 0x94], r15d
mov dword [rsp + 0x98], esi
mov dword [rsp + 0x9c], r12d
mov rbp, r15
mov r15, qword [rsp + 0x30]
test r13d, r13d
jle 0x14001af1d
xor r10d, r10d
nop
test r14d, r14d
jle 0x14001af10
xor r9d, r9d
mov r8, rbp
shl r8, 4
add r8, r15
mov r11, r14
add rbp, r14
nop dword [rax]
mov rdx, r8
add r8, 0x10
lea rcx, [rsp + 0x90]
mov eax, dword [rcx]
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rdx + 0xc], eax
mov eax, dword [rdx + 8]
lea ecx, [r9 + rax]
mov eax, ebx
cmp ecx, ebx
cmovl eax, ecx
mov dword [rdx + 8], eax
mov eax, dword [rdx + 0xc]
lea ecx, [r10 + rax]
mov eax, edi
cmp ecx, edi
cmovl eax, ecx
mov dword [rdx + 0xc], eax
mov eax, dword [rdx]
lea ecx, [r9 + rax]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov dword [rdx], eax
mov eax, dword [rdx + 4]
lea ecx, [r10 + rax]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov dword [rdx + 4], eax
add r9d, esi
sub r11, 1
jne 0x14001aea0
add r10d, r12d
sub r13, 1
jne 0x14001ae80
test r15, r15
je 0x14001af49
lea r9, [fcn.140018370]
mov r8d, dword [r15 - 4]
mov edx, 0x10
mov rcx, r15
call fcn.140037398
lea rcx, [r15 - 4]
call sub.mfc90u.dll_delete__
mov eax, dword [rsp + 0x20]
jmp 0x14001af4d
mov eax, dword [rsp + 0x20]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret