Function at 0x1000e1e50
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rbp + 0x110], rax
movzx eax, byte [0x100282d30]
mov rsi, qword [rcx + 0x118]
mov rdi, rcx
mov rbx, qword [rsi + 0xd0]
mov byte [rsp + 0x24], al
mov eax, dword [0x100282d60]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x100282d34]
mov dword [rbp - 0x20], 0
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x20]
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0xf8], rax
movzx eax, byte [0x100282d68]
mov r14d, r9d
mov byte [rsp + 0x24], al
mov eax, dword [0x100282d98]
mov r15d, r8d
mov dword [rsp + 0x20], eax
movzx eax, byte [0x100282d6c]
mov r12d, edx
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x20]
mov dword [rbp + 0xa0], 0x40
mov qword [rbp + 0x100], rax
movzx eax, byte [0x100282da0]
mov byte [rsp + 0x24], al
mov eax, dword [0x100282dd0]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x100282da4]
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x108], rax
xor eax, eax
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp + 0xb0]
mov r11, qword [rbp + 0xa8]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp], rax
mov rax, qword [rbp + 0xc0]
lea rcx, [rbp + 0xe0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp - 0x10], r11
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x20], rax
call fcn.1000c9610
xor ecx, ecx
test eax, eax
cmove ecx, dword [rbp + 0xf0]
mov dword [rbp + 0x28], ecx
test rbx, rbx
je 0x1000e1ff0
movzx eax, word [rbx + 0x80]
mov rcx, rbx
mov word [rbp + 0x30], ax
mov rax, qword [rbx + 0x88]
mov qword [rbp + 0x38], rax
mov rax, qword [rbx + 0x38]
mov qword [rbp + 0x40], rax
mov rax, qword [rbx + 0x40]
mov qword [rbp + 0x48], rax
mov rax, qword [rbx + 0x48]
mov qword [rbp + 0x50], rax
mov rax, qword [rbx + 0x50]
mov qword [rbp + 0x58], rax
call fcn.100084620
jmp 0x1000e2036
mov eax, 0x41
mov word [rbp + 0x30], ax
call fcn.100068470
mov rcx, qword [rax]
mov qword [rbp + 0x38], rcx
call fcn.100068380
mov rcx, qword [rax]
mov qword [rbp + 0x40], rcx
call fcn.1000683a0
mov rcx, qword [rax]
mov qword [rbp + 0x50], 0xffffffffffffffff
mov qword [rbp + 0x48], rcx
call fcn.1000683c0
mov rcx, qword [rax]
mov qword [rbp + 0x58], rcx
call fcn.1000854a0
mov rbx, qword [rdi + 0x28]
mov qword [rbp + 0x60], rax
mov eax, dword [rbp + 0x170]
mov dword [rbp + 0x74], eax
mov dword [rbp + 0x68], r12d
mov dword [rbp + 0x6c], r15d
mov dword [rbp + 0x70], r14d
movzx eax, word [rsi + 0x88]
mov dword [rbp - 0x38], 0
mov word [rbp + 0x78], ax
mov eax, dword [rbp + 0xf8]
mov qword [rbp - 0x30], 0
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp + 0xfc]
mov dword [rbp + 0x80], eax
mov eax, dword [rbp + 0x100]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x104]
mov dword [rbp + 0x88], eax
mov eax, dword [rbp + 0x108]
mov dword [rbp + 0x8c], eax
mov eax, dword [rbp + 0x10c]
mov dword [rbp + 0x90], eax
cmp qword [rbx + 0x40], 0
je 0x1000e211e
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0xa8
call sub.MSVCR100.dll_memset
call fcn.10006b740
mov edx, 0x10
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea ecx, [rdx - 0xf]
call rax
mov ecx, dword [rsp + 0x40]
movzx r11d, ax
mov eax, ecx
shl eax, 0xf
mov dword [rbp - 0x38], r11d
not eax
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor ecx, eax
mov dword [rsp + 0x40], ecx
call fcn.10006e130
test eax, eax
je 0x1000e2135
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1000f6790
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1000f5f90
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.10005f420
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret