Function at 0x5e84b2
Capabilities:
Get memory capacity

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
mov rax, qword [rax + 0x228]
mov qword [rbx], rax
mov rax, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
movzx ebx, word [rbx + 0xe]
inc ebx
mov ebx, ebx
movabs rsi, 0x7fffffffffffffff
sub rsi, rbx
mov rbx, qword [rbp + 0x10]
cmp qword [rbx], 0
sete bl
movzx ebx, bl
mov ebx, ebx
sub rsi, rbx
cmp rsi, qword [rax + 0x240]
jg 0x5e8511
mov eax, 0xffffffe4
leave
ret 0x10
mov rax, qword [rbp + 0x18]
push qword [rax]
mov rax, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
movzx ebx, word [rbx + 0xe]
inc ebx
mov ebx, ebx
add rbx, qword [rax + 0x240]
mov rax, qword [rbp + 0x10]
cmp qword [rax], 0
sete al
movzx eax, al
mov eax, eax
add rax, rbx
push rax
call fcn.004c0bb0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jge 0x5e8557
mov eax, dword [rbp - 8]
leave
ret 0x10
mov rax, qword [rbp + 0x18]
cmp qword [rax + 0x1710], 0
je 0x5e85a2
push rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x1710]
lock inc dword [rax]
cmp dword [rax + 4], 0x2b
jne 0x5e87cb
mov qword [rbp - 0x18], rax
push qword [rax + 8]
mov rax, qword [rbp + 0x18]
push qword [rax]
mov rax, qword [rbp + 0x18]
push qword [rax + 0x240]
call fcn.0048e1dd
pop rcx
mov rax, qword [rbp - 0x18]
lock dec dword [rax]
push rax
mov rax, qword [rbp + 0x18]
push qword [rax]
mov rax, qword [rbp + 0x18]
push qword [rax + 0x240]
push qword [rbp + 0x10]
call fcn.004c10c7
pop rcx
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jge 0x5e85cc
mov eax, dword [rbp - 8]
leave
ret 0x10
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x240]
inc rax
mov qword [rbp - 0x10], rax
mov word [rbp - 2], 0
jmp 0x5e8676
mov rax, qword [rbp + 0x18]
cmp qword [rax + 0x1710], 0
je 0x5e862d
push rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x1710]
lock inc dword [rax]
cmp dword [rax + 4], 0x2b
jne 0x5e87cd
mov qword [rbp - 0x18], rax
push qword [rax + 8]
mov rax, qword [rbp + 0x18]
push qword [rax]
push qword [rbp - 0x10]
call fcn.0048e1dd
pop rcx
mov rax, qword [rbp - 0x18]
lock dec dword [rax]
push rax
mov rax, qword [rbp + 0x18]
push qword [rax]
push qword [rbp - 0x10]
movzx eax, word [rbp - 2]
cmp eax, 0x3d
jae 0x5e87cf
mov rbx, qword [rbp + 0x10]
mov rax, qword [rbx + rax*8 + 0x200]
lea rax, [rax + 0x208]
push rax
call fcn.004c10c7
pop rcx
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jge 0x5e866e
mov eax, dword [rbp - 8]
leave
ret 0x10
inc qword [rbp - 0x10]
inc word [rbp - 2]
movzx eax, word [rbp - 2]
mov rbx, qword [rbp + 0x10]
movzx ebx, word [rbx + 0xe]
cmp eax, ebx
jb 0x5e85e9
mov rax, qword [rbp + 0x10]
cmp qword [rax], 0
jne 0x5e8704
mov rax, qword [rbp + 0x18]
cmp qword [rax + 0x1710], 0
je 0x5e86d8
push rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x1710]
lock inc dword [rax]
cmp dword [rax + 4], 0x2b
jne 0x5e87d1
mov qword [rbp - 0x18], rax
push qword [rax + 8]
mov rax, qword [rbp + 0x18]
push qword [rax]
push qword [rbp - 0x10]
call fcn.0048e1dd
pop rcx
mov rax, qword [rbp - 0x18]
lock dec dword [rax]
push rax
mov rax, qword [rbp + 0x18]
push qword [rax]
push qword [rbp - 0x10]
mov rax, qword [rbp + 0x18]
lea rax, [rax + 0x4a8]
push rax
call fcn.004c10c7
pop rcx
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jge 0x5e8704
mov eax, dword [rbp - 8]
leave
ret 0x10
mov rax, qword [rbp + 0x10]
cmp qword [rax + 0x3e8], 0
jne 0x5e873e
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x18]
mov rbx, qword [rbx + 0x240]
mov qword [rax + 0x3e8], rbx
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x18]
mov rbx, qword [rbx + 0x228]
mov qword [rax + 0x3f8], rbx
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x10]
movzx ebx, word [rbx + 0xe]
inc ebx
mov rsi, qword [rbp + 0x10]
cmp qword [rsi], 0
sete sil
movzx esi, sil
add ebx, esi
add dword [rax + 0x3f0], ebx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x18]
mov rbx, qword [rbx + 0x240]
mov qword [rax + 0x228], rbx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
movzx ebx, word [rbx + 0xe]
inc ebx
mov rsi, qword [rbp + 0x10]
cmp qword [rsi], 0
sete sil
movzx esi, sil
add ebx, esi
mov ebx, ebx
add qword [rax + 0x240], rbx
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6a8], 1
mov rcx, qword [rbp + 0x10]
mov edx, 0x200
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_RtlZeroMemory]
add rsp, 0x20
xor eax, eax
leave
ret 0x10
int 5
int 5
int 5
int 5