Function at 0x1800067d0
Capabilities:
Get memory capacity

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rax, qword [0x1800c3380]
xor rax, rbp
mov qword [rbp - 8], rax
mov ecx, dword [0x1800c6bac]
mov eax, dword [0x1800c6ba8]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [rbp - 0x22], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [rbp - 0x21], al
mov dword [rbp - 0x28], 0x9ce748ea
mov eax, dword [rbp - 0x28]
mov dword [rbp - 0x2c], eax
sub eax, 0x9ce748ea
je 0x1800068d7
jmp 0x18000683a
mov eax, dword [rbp - 0x2c]
sub eax, 0xaf785191
je 0x180006b97
jmp 0x18000684d
mov eax, dword [rbp - 0x2c]
sub eax, 0xbf53c49b
je 0x180006b58
jmp 0x180006860
mov eax, dword [rbp - 0x2c]
sub eax, 0xe66f2589
je 0x1800069ec
jmp 0x180006873
mov eax, dword [rbp - 0x2c]
sub eax, 0x23c6c9b1
je 0x18000692f
jmp 0x180006886
mov eax, dword [rbp - 0x2c]
sub eax, 0x63f43b8f
je 0x1800069e0
jmp 0x180006899
mov eax, dword [rbp - 0x2c]
sub eax, 0x654efc8f
je 0x180006b4c
jmp 0x1800068ac
mov eax, dword [rbp - 0x2c]
sub eax, 0x7932ab5e
je 0x180006b8b
jmp 0x1800068bf
mov eax, dword [rbp - 0x2c]
sub eax, 0x7e99f209
je 0x180006a6d
jmp 0x1800068d2
jmp 0x180006bfc
mov r11b, byte [rbp - 0x22]
mov r10b, byte [rbp - 0x21]
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, 0x7932ab5e
mov ecx, 0x23c6c9b1
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x28], eax
jmp 0x180006bfc
mov eax, 0x40
call fcn.180088eb0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x20], rax
mov eax, 0x10
call fcn.180088eb0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov ecx, dword [0x1800c6bac]
mov eax, dword [0x1800c6ba8]
mov edx, ecx
add edx, 0x2f5e0174
sub edx, 1
sub edx, 0x2f5e0174
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, 0x7932ab5e
mov ecx, 0x63f43b8f
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x28], eax
jmp 0x180006bfc
mov dword [rbp - 0x28], 0xe66f2589
jmp 0x180006bfc
mov ecx, dword [0x1800c6bac]
mov eax, dword [0x1800c6ba8]
mov edx, ecx
sub edx, 0x8d703f76
sub edx, 1
add edx, 0x8d703f76
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, 0xaf785191
mov ecx, 0x7e99f209
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x28], eax
jmp 0x180006bfc
mov rax, qword [rbp - 0x10]
mov dword [rax], 0x40
mov rcx, qword [rbp - 0x20]
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
add rsp, 0x20
mov rax, qword [rbp - 0x20]
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 [0x1800af450]
divsd xmm0, xmm1
mov rax, qword [rbp - 0x18]
movsd qword [rax], xmm0
mov ecx, dword [0x1800c6bac]
mov eax, dword [0x1800c6ba8]
mov edx, ecx
sub edx, 0x6aa7766c
sub edx, 1
add edx, 0x6aa7766c
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, 0xaf785191
mov ecx, 0x654efc8f
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x28], eax
jmp 0x180006bfc
mov dword [rbp - 0x28], 0xbf53c49b
jmp 0x180006bfc
mov rax, qword [rbp - 0x18]
movsd xmm0, qword [0x1800af480]
ucomisd xmm0, qword [rax]
seta al
and al, 1
movzx eax, al
mov dword [rbp - 0x30], eax
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.180088f10
mov eax, dword [rbp - 0x30]
mov rsp, rbp
pop rbp
ret
mov dword [rbp - 0x28], 0x23c6c9b1
jmp 0x180006bfc
mov rax, qword [rbp - 0x10]
mov dword [rax], 0x40
mov rcx, qword [rbp - 0x20]
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
add rsp, 0x20
mov rax, qword [rbp - 0x20]
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 [0x1800af450]
divsd xmm0, xmm1
mov rax, qword [rbp - 0x18]
movsd qword [rax], xmm0
mov dword [rbp - 0x28], 0x7e99f209
jmp 0x180006824