Function at 0x10014aeb0
Capabilities:
Get memory capacity

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x248]
sub rsp, 0x348
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r13d, r9d
mov rdi, r8
mov qword [rsp + 0x38], r8
mov r15, rdx
mov rsi, rcx
mov r12d, dword [rbp + 0x2b0]
mov rax, qword [rbp + 0x2c0]
mov qword [rsp + 0x40], rax
xor r14d, r14d
xor ebx, ebx
mov qword [rsp + 0x30], rbx
bt r9d, 0xc
jae 0x10014afc5
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x70]
call fcn.1000c95c0
test eax, eax
jne 0x10014afc5
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x50], 0x40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x10014afc5
mov rax, qword [rsi + 0x18]
mov rdi, qword [rax + 0x5a8]
call fcn.10006af10
mov r11d, eax
imul r11, rdi
mov rcx, qword [rsp + 0x60]
add rcx, qword [rbp - 0x60]
cmp r11, rcx
jbe 0x10014afc0
mov edi, 0x8007000e
jmp 0x10014b089
mov rdi, qword [rsp + 0x38]
cmp dword [rsi + 0x28], 0
je 0x10014afe8
lea rcx, [rsi + 0x30]
call fcn.10014a910
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x10014afe8
mov edi, 0x8007000e
jmp 0x10014b011
mov dword [rsp + 0x20], r12d
mov r9d, r13d
mov r8, rdi
mov rdx, r15
mov rcx, qword [rsi + 0x18]
call fcn.1000e3ae0
mov r14, rax
xor ecx, ecx
mov edi, 0x8007000e
test rax, rax
cmove ecx, edi
mov edi, ecx
cmp dword [rsi + 0x28], 0
je 0x10014b089
mov rdx, rbx
test edi, edi
js 0x10014b034
mov qword [rbx + 0x10], r14
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rcx, [rsi + 0x30]
call fcn.10014a6c0
jmp 0x10014b089
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov esi, 0x200
test rdx, rdx
je 0x10014b08e
mov rax, rdx
and rax, 0xffffffffffffe000
je 0x10014b05a
cmp word [rax + 4], si
jne 0x10014b05a
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rdx
je 0x10014b077
cmp word [rcx + 4], si
jne 0x10014b077
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x10014b08e
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x10014b08e
mov esi, 0x200
mov rax, qword [rsp + 0x40]
mov qword [rax], r14
test edi, edi
jns 0x10014b0df
call fcn.10013ca00
test eax, eax
je 0x10014b0df
lea rcx, [rbp - 0x20]
call fcn.10013c9b0
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.10013ca20
mov edx, r13d
lea rcx, [rbp - 0x20]
call fcn.10013ca30
mov edx, dword [rbp + 0x2b8]
lea rcx, [rbp - 0x20]
call fcn.10013ca40
lea rcx, [rbp - 0x20]
call fcn.10013ca50
nop
test rbx, rbx
je 0x10014b12a
mov rax, rbx
and rax, 0xffffffffffffe000
je 0x10014b0f9
cmp word [rax + 4], si
jne 0x10014b0f9
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rbx
je 0x10014b116
cmp word [rcx + 4], si
jne 0x10014b116
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x10014b12a
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 0x28]
mov eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x348
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret