Function at 0x14015b3e0
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140495598]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov rbx, qword [rdx + 0x10]
mov qword [rsp + 0x28], rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8d, [rsi + 0x48]
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
test eax, eax
jne 0x14015b462
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14015b466
mov rsi, qword [rbp - 0x60]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov ecx, 3
mov word [r15 + 0xe], cx
mov edi, 1
mov dword [rsp + 0x20], edi
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov word [rbp - 0x72], cx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov r14d, 4
mov word [rsp + 0x7e], r14w
mov dword [rbp - 0x70], 0x40
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r8, qword [rbp - 0x60]
mov r15, 0xffffffffffffffff
test eax, eax
cmove r8, r15
lea rax, str.free
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], r14d
mov r9, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14002bad0
mov dword [rbp - 0x70], 0x40
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r8, qword [rbp - 0x68]
test eax, eax
cmove r8, r15
lea rax, str.total
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 5
mov r9, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14002bad0
lea rax, str.resident_set_memory
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], reloc.WS2_32.dll_send
mov r9, rbx
mov r8, rsi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14002bad0
xorps xmm8, xmm8
movups xmmword [rbp - 0x18], xmm8
movsd qword [rbp - 0x20], xmm8
lea r13, [rbp - 0x20]
mov ebx, 0x216
lea r15d, [rdi + 0xf]
movsd xmm7, qword [0x14044ee28]
mov r14, qword [rsp + 0x78]
mov esi, dword [rsp + 0x74]
mov r12d, dword [rsp + 0x70]
movsd xmm6, qword [r13]
movsd qword [rsp + 0x30], xmm6
lea rcx, [rsp + 0x30]
call fcn.140333b00
cmp ax, 0xffff
je 0x14015b5dd
or edi, 2
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov word [rsp + 0x6e], bx
movaps xmm6, xmmword [rsp + 0x60]
movsd xmm6, xmm8
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
mov word [rsp + 0x6e], ax
test dil, 4
je 0x14015b5d4
and edi, 0xfffffffb
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
jmp 0x14015b60c
mulsd xmm6, xmm7
movaps xmm0, xmm6
call fcn.140359fac
divsd xmm0, xmm7
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov word [rsp + 0x5e], bx
movaps xmm6, xmmword [rsp + 0x50]
movsd xmm6, xmm0
movaps xmmword [rsp + 0x50], xmm6
cmp r12d, esi
jb 0x14015b66d
test esi, esi
jne 0x14015b61a
mov ebx, r15d
jmp 0x14015b625
lea ebx, [rsi + 1]
shr ebx, 1
add ebx, esi
cmp ebx, esi
jbe 0x14015b668
mov rdx, r14
movabs rax, 0xffffffffffff
and rdx, rax
mov r9d, ebx
shl r9, 4
mov r8d, esi
shl r8, 4
mov rcx, qword [rsp + 0x28]
call fcn.140023b40
movabs rcx, 0xffff000000000000
and r14, rcx
or r14, rax
mov qword [rsp + 0x78], r14
mov esi, ebx
mov dword [rsp + 0x74], ebx
mov ebx, 0x216
mov ecx, r12d
add rcx, rcx
mov rax, r14
movabs r8, 0xffffffffffff
and rax, r8
inc r12d
mov dword [rsp + 0x70], r12d
movups xmmword [rax + rcx*8], xmm6
xor eax, eax
mov word [rsp + 0x5e], ax
add r13, 8
lea rax, [rbp - 8]
cmp r13, rax
jne 0x14015b582
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov r12d, 0x405
mov word [rsp + 0x5e], r12w
mov rax, qword [rsp + 0x58]
movabs r14, 0xffff000000000000
and rax, r14
lea rcx, str.memory
or rax, rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 6
mov r15, qword [rsp + 0x38]
mov ecx, dword [r15]
mov eax, dword [r15 + 4]
mov ebx, reloc.WS2_32.dll_recv
cmp ecx, eax
jb 0x14015b74d
test eax, eax
je 0x14015b70a
lea edi, [rax + 1]
shr edi, 1
add edi, eax
jmp 0x14015b70c
mov edi, ebx
mov rsi, qword [rsp + 0x28]
cmp edi, eax
jbe 0x14015b752
mov rdx, qword [r15 + 8]
and rdx, r8
mov r8, rax
mov r9d, edi
shl r9, 5
shl r8, 5
mov rcx, rsi
call fcn.140023b40
and qword [r15 + 8], r14
or qword [r15 + 8], rax
mov dword [r15 + 4], edi
mov ecx, dword [r15]
movabs r8, 0xffffffffffff
jmp 0x14015b752
mov rsi, qword [rsp + 0x28]
mov rax, qword [r15 + 8]
and rax, r8
shl rcx, 5
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rcx + rax + 0x10], xmm1
xor edi, edi
mov word [rbp - 0x72], di
inc dword [r15]
mov ecx, dword [r15]
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov word [rsp + 0x5e], r12w
mov rax, qword [rsp + 0x58]
and rax, r14
lea rdx, str.load_average
or rax, rdx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], recv
mov eax, dword [r15 + 4]
cmp ecx, eax
jb 0x14015b7f9
test eax, eax
je 0x14015b7bf
lea ebx, [rax + 1]
shr ebx, 1
add ebx, eax
cmp ebx, eax
jbe 0x14015b7f9
mov rdx, qword [r15 + 8]
and rdx, r8
mov r8, rax
mov r9d, ebx
shl r9, 5
shl r8, 5
mov rcx, rsi
call fcn.140023b40
and qword [r15 + 8], r14
or qword [r15 + 8], rax
mov dword [r15 + 4], ebx
mov ecx, dword [r15]
movabs r8, 0xffffffffffff
mov rax, qword [r15 + 8]
and rax, r8
shl rcx, 5
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rcx + rax + 0x10], xmm1
mov word [rsp + 0x7e], di
inc dword [r15]
call fcn.14030ff8c
lea rcx, str.hardware_concurrency
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x68], shutdown
mov r9, rsi
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.14002e2b0
nop
mov rax, r15
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1403115a0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret