Function at 0x14005eb40
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140118480]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], ebx
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], edx
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], ebx
mov dword [rbp + 0x28], ecx
mov dword [rbp + 0x2c], edx
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], ebx
mov dword [rbp + 0x38], ecx
mov dword [rbp + 0x3c], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005ebc0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.14006aec0
nop
lea rcx, [rbp - 0x70]
call fcn.14005e3a0
nop
mov dword [rsp + 0x50], 0x40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x58]
shr rcx, 0x14
lea r10, [rbp + 5]
movabs r8, 0xcccccccccccccccd
nop dword [rax]
dec r10
mov rax, r8
mul rcx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ebx, [rax + rdx]
add bl, bl
sub cl, bl
add cl, 0x30
mov byte [r10], cl
mov rcx, rdx
test rdx, rdx
jne 0x14005ec10
lea r9, [rsp + 0x20]
lea r8, [rbp + 5]
mov rdx, r10
lea rcx, [rsp + 0x28]
call fcn.14006f690
nop
mov r8d, 3
lea rdx, [0x1400fd9e4]
lea rcx, [rsp + 0x28]
call fcn.140068f80
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14005ecc8
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ecc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ecc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2f00
movdqa xmm0, xmmword [0x1401003a0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14005e4c0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14005ed2c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ed26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ed26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2f00
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14005ed6a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ed65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ed65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2f00
movdqa xmm0, xmmword [0x1401003a0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14005edb9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005edb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005edb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2f00
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400e2ab0
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rbp
ret