Function at 0x14005fe70
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 0x14005fef0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140003400
nop
lea rcx, [rbp - 0x70]
call fcn.14005f6d0
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 0x14005ff40
lea r9, [rsp + 0x20]
lea r8, [rbp + 5]
mov rdx, r10
lea rcx, [rsp + 0x28]
call fcn.140070b20
nop
mov r8d, 3
lea rdx, [0x1400fea8c]
lea rcx, [rsp + 0x28]
call fcn.1400032f0
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 0x14005fff8
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fff3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e458c
movdqa xmm0, xmmword [0x140101250]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14005f7f0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14006005c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060056
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060056
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e458c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14006009a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060095
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060095
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e458c
movdqa xmm0, xmmword [0x140101250]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400600e9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400600e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400600e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e458c
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400e4530
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rbp
ret