Function at 0x140052f60
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1400fc410]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
mov byte [rsp + 0x20], r14b
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
lea rax, [rsp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x140052fc4
lea rdx, [rsp + 0x20]
call fcn.14003dab0
movdqa xmm0, xmmword [0x1400e7de0]
movdqu xmmword [rsp + 0x28], xmm0
mov r8d, 0x80000000
mov eax, r8d
xor ecx, ecx
cpuid
mov r9d, eax
mov dword [rsp + 0x2c], ebx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
cmp eax, 0x80000000
jb 0x140053072
nop dword [rax + rax]
mov eax, r8d
xor ecx, ecx
cpuid
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], ebx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
cmp r8d, 0x80000002
jne 0x14005303e
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0xb0], xmm0
jmp 0x14005306a
cmp r8d, 0x80000003
jne 0x140053055
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0xc0], xmm0
jmp 0x14005306a
cmp r8d, 0x80000004
jne 0x14005306a
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0xd0], xmm0
inc r8d
cmp r8d, r9d
jbe 0x140053010
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x80]
call fcn.1400910f0
lea rax, [0x1400e6648]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x38], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov dword [rsp + 0x24], 3
lea r12, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 8], r12
mov dword [rbp + 4], 0x78
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 8]
call fcn.1400482b0
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140048220
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], 4
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rbp + 0x70], 0x40
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
movzx eax, word [0x1400e3e04]
mov word [rsp + 0x20], ax
cmp byte [0x1400e3e05], 0
je 0x140053149
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x3a
mov rbx, qword [rbp + 0x78]
shr rbx, 0x14
mov edx, dword [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.14005c400
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14004d340
mov rcx, rax
mov rdx, rbx
call fcn.14005c200
lea rax, [rbp + 0xb0]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140053180
lea rdx, [rbp + 0xb0]
mov rcx, rsi
call fcn.14003d6a0
movzx eax, word [0x1400e3e04]
mov word [rsp + 0x20], ax
cmp byte [0x1400e3e05], 0
je 0x1400531b8
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x3a
lea rax, [rsp + 0x20]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400531c0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003d6a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x1400e7e10]
movdqu xmmword [rbp + 0xc0], xmm1
mov byte [rbp + 0xb0], 0
mov dword [rsp + 0x24], 0x13
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp - 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140053234
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x140053234
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x140053265
test cl, 4
jne 0x14005325b
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005325b
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140053265
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140053277
lea rcx, [rbp + 0xb0]
call fcn.14005d3a0
nop
mov dword [rsp + 0x24], 0xb
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
mov rcx, rsi
call fcn.14003d6a0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400532e8
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400532e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005336f
call fcn.14008e998
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.14005ba80
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r12
mov rcx, qword [rbp - 0x80]
movsxd rdx, dword [rcx + 4]
lea ebx, [rdx - 0x10]
mov dword [rsp + rdx + 0x7c], ebx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.14008d634
nop
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14008e370
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14009d7a4
int3