Function at 0x140056040
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 [0x14010e410]
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 0x1400560a4
lea rdx, [rsp + 0x20]
call fcn.14003dfb0
movdqa xmm0, xmmword [0x1400f87d0]
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 0x140056152
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 0x14005611e
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0xb0], xmm0
jmp 0x14005614a
cmp r8d, 0x80000003
jne 0x140056135
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0xc0], xmm0
jmp 0x14005614a
cmp r8d, 0x80000004
jne 0x14005614a
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0xd0], xmm0
inc r8d
cmp r8d, r9d
jbe 0x1400560f0
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x80]
call fcn.1400a0d20
lea rax, [0x1400f7490]
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.140049040
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.140048fb0
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 [0x1400f4b64]
mov word [rsp + 0x20], ax
cmp byte [0x1400f4b65], 0
je 0x140056229
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x32
mov rbx, qword [rbp + 0x78]
shr rbx, 0x14
mov edx, dword [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.140061d20
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400501b0
mov rcx, rax
mov rdx, rbx
call fcn.140061b20
lea rax, [rbp + 0xb0]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140056260
lea rdx, [rbp + 0xb0]
mov rcx, rsi
call fcn.14003dba0
movzx eax, word [0x1400f4b64]
mov word [rsp + 0x20], ax
cmp byte [0x1400f4b65], 0
je 0x140056298
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x32
lea rax, [rsp + 0x20]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400562a0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003dba0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x1400f8800]
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 0x140056314
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x140056314
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x140056345
test cl, 4
jne 0x14005633b
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005633b
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 0x140056345
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140056357
lea rcx, [rbp + 0xb0]
call fcn.140062cc0
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.14003dba0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400563c8
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400563c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005644f
call fcn.14009e5b8
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.1400613a0
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.14009d254
nop
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14009df90
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.1400ad3d4
int3