Download OpenSSL sources and extract them with Bash:
tar -xvzf /c/Users/D-Ef/Downloads/openssl-3.0.2.tar.gz
Download NASM, open x64 Native Tools Command Prompt for VS 2022 and run the following commands:
set PATH=%PATH%;E:\PFiles\nasm-2.15.05
where nasm
set PATH=%PATH%;E:\PFiles\Strawberry\perl\bin
where perl
set MY_INSTALL_DIR=E:\libs\OpenSSL
echo %MY_INSTALL_DIR%
perl Configure VC-WIN64A --prefix="%MY_INSTALL_DIR%" --openssldir="%MY_INSTALL_DIR%"