Function at 0x1400857b0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x150], 0x40
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov qword [rsp + 0x30], 0x400
mov rax, qword [rsp + 0x30]
imul rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
xor edx, edx
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x78]
div rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x40
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rax + 0xa0]
sub rax, rcx
cmp qword [rsp + 0x38], rax
jae 0x140085854
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0x48], 2
jmp 0x140085892
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rax + 0xa8]
sub rax, rcx
cmp qword [rsp + 0x38], rax
jae 0x140085883
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0x48], 1
jmp 0x140085892
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0x48], 2
jne 0x1400859a4
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax + 0x98]
test eax, eax
je 0x1400858c6
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0x48], 1
xor edx, edx
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0xa0]
div qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x1400858f3
mov dword [rsp + 0x24], 1
jmp 0x1400858fb
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14008591b
lea rax, [0x1402f68f4]
mov qword [rsp + 0x48], rax
jmp 0x140085927
lea rax, [0x1402f70a8]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xa0]
call fcn.14001e490
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14008594e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
jmp 0x140085962
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xb0]
call fcn.1400152d0
mov rax, qword [rsp + 0x1b0]
add rax, 8
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xb0]
lea rdx, str.There_is_not_enough_RAM_on_the_system_for_this_installation.__The_minimum_RAM_required_is__d__S
mov rcx, rax
call fcn.14001d950
jmp 0x140085a8f
mov rax, qword [rsp + 0x1b0]
cmp dword [rax + 0x48], 1
jne 0x140085a8f
xor edx, edx
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0xa8]
div qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jbe 0x1400859e3
mov dword [rsp + 0x28], 1
jmp 0x1400859eb
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140085a0b
lea rax, [0x1402f7644]
mov qword [rsp + 0x60], rax
jmp 0x140085a17
lea rax, [0x1402f76d8]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xc0]
call fcn.14001e490
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140085a3e
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
jmp 0x140085a52
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xd0]
call fcn.1400152d0
mov rax, qword [rsp + 0x1b0]
add rax, 8
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0xd0]
lea rdx, str.The_recommended_amount_of_RAM_for_an_installation_is__d__S.
mov rcx, rax
call fcn.14001d950
lea rcx, [rsp + 0xf0]
call fcn.14000a280
nop
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xe0]
call fcn.1400152d0
lea r8, [rsp + 0xe0]
lea rdx, str._d_MB
lea rcx, [rsp + 0xf0]
call fcn.140014cf0
mov rax, qword [rsp + 0x1b0]
add rax, 8
mov rcx, rax
call fcn.1400165c0
movzx eax, al
test eax, eax
jne 0x140085b01
mov rax, qword [rsp + 0x1b0]
add rax, 8
lea rdx, [0x1402f63bc]
mov rcx, rax
call fcn.14001efd0
lea r8, [rsp + 0xf0]
lea rdx, str.Detected
lea rcx, [rsp + 0x130]
call fcn.14001b910
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea r8, [0x1402f7828]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.140024fb0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x1b0]
add rax, 8
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call fcn.14001efa0
nop
lea rcx, [rsp + 0x110]
call fcn.14000a800
nop
lea rcx, [rsp + 0x130]
call fcn.14000a800
nop
lea rcx, [rsp + 0xf0]
call fcn.14000a800
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x1a8
ret