Function at 0x1800055b0
Capabilities:
Get memory capacity

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rax, qword [0x1800c3380]
xor rax, rbp
mov qword [rbp - 8], rax
mov ecx, dword [0x1800c6b84]
mov eax, dword [0x1800c6b80]
mov edx, ecx
sub edx, 0x1d4ae189
sub edx, 1
add edx, 0x1d4ae189
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [rbp - 0x32], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [rbp - 0x31], al
mov dword [rbp - 0x38], 0xda89951a
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x3c], eax
sub eax, 0xa213f1bc
je 0x180005928
jmp 0x18000561f
mov eax, dword [rbp - 0x3c]
sub eax, 0xb8827849
je 0x180005957
jmp 0x180005632
mov eax, dword [rbp - 0x3c]
sub eax, 0xc5a35763
je 0x18000578e
jmp 0x180005645
mov eax, dword [rbp - 0x3c]
sub eax, 0xcf9f3331
je 0x180005882
jmp 0x180005658
mov eax, dword [rbp - 0x3c]
sub eax, 0xd677b60a
je 0x180005801
jmp 0x18000566b
mov eax, dword [rbp - 0x3c]
sub eax, 0xda89951a
je 0x1800056bc
jmp 0x18000567e
mov eax, dword [rbp - 0x3c]
sub eax, 0xed20ae70
je 0x18000594b
jmp 0x180005691
mov eax, dword [rbp - 0x3c]
sub eax, 0x60d43d0
je 0x18000579a
jmp 0x1800056a4
mov eax, dword [rbp - 0x3c]
sub eax, 0x6dfec32c
je 0x180005714
jmp 0x1800056b7
jmp 0x18000596f
mov r11b, byte [rbp - 0x32]
mov r10b, byte [rbp - 0x31]
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xed20ae70
mov ecx, 0x6dfec32c
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18000596f
mov eax, 0x40
call fcn.180089180
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x30], rax
mov eax, 0x10
call fcn.180089180
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov eax, dword [0x1800c6b84]
mov ecx, dword [0x1800c6b80]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xed20ae70
mov ecx, 0xc5a35763
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18000596f
mov dword [rbp - 0x38], 0x60d43d0
jmp 0x18000596f
mov rax, qword [rbp - 0x20]
mov dword [rax], 0x40
mov rcx, qword [rbp - 0x30]
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
add rsp, 0x20
mov rax, qword [rbp - 0x30]
movq xmm0, qword [rax + 8]
movaps xmm1, xmmword [0x1800af460]
punpckldq xmm0, xmm1
movapd xmm1, xmmword [0x1800af470]
subpd xmm0, xmm1
movaps xmm1, xmm0
unpckhpd xmm0, xmm0
addsd xmm0, xmm1
movsd xmm1, qword [0x1800af458]
divsd xmm0, xmm1
movsd qword [rbp - 0x18], xmm0
mov dword [rbp - 0x38], 0xd677b60a
jmp 0x18000596f
mov ecx, dword [0x1800c6b84]
mov eax, dword [0x1800c6b80]
mov edx, ecx
sub edx, 0xab5b8543
sub edx, 1
add edx, 0xab5b8543
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xb8827849
mov ecx, 0xcf9f3331
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18000596f
mov rax, qword [rbp - 0x28]
movsd xmm0, qword [rbp - 0x18]
movsd qword [rax], xmm0
mov rax, qword [rbp - 0x28]
movsd xmm0, qword [0x1800af450]
ucomisd xmm0, qword [rax]
seta al
and al, 1
mov byte [rbp - 9], al
mov ecx, dword [0x1800c6b84]
mov eax, dword [0x1800c6b80]
mov edx, ecx
add edx, 0xa0c527a6
sub edx, 1
sub edx, 0xa0c527a6
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xb8827849
mov ecx, 0xa213f1bc
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18000596f
mov al, byte [rbp - 9]
and al, 1
movzx eax, al
mov dword [rbp - 0x40], eax
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.1800891e0
mov eax, dword [rbp - 0x40]
mov rsp, rbp
pop rbp
ret
mov dword [rbp - 0x38], 0x6dfec32c
jmp 0x18000596f
mov rax, qword [rbp - 0x28]
movsd xmm0, qword [rbp - 0x18]
movsd qword [rax], xmm0
mov rax, qword [rbp - 0x28]
mov dword [rbp - 0x38], 0xcf9f3331
jmp 0x180005609