I tried adding the dll with -l C:\Windows\System32\msvcp140.dll:
PS C:\speakeasy-master> python -m speakeasy -o C:\option1_encrypt_nocout.json -t C:\option1_encrypt_nocout.exe -l C:\Windows\System32\msvcp140.dll
File "C:\speakeasy-master\speakeasy\windows\winemu.py", line 1615, in get_fp
files = [os.path.join(path, fn) for fn in os.listdir(path)]
^^^^^^^^^^^^^^^^
NotADirectoryError: [WinError 267] The directory name is invalid: 'C:\\Windows\\System32\\msvcp140.dll'
I get the following error:
I tried adding the dll with -l C:\Windows\System32\msvcp140.dll:
-l C:\Windows\System32\
-l C:\Windows\SysWOW64\
I tried adding an API handler by adding: C:\speakeasy-master\speakeasy\winenv\api\usermode\msvcp140.py using this documentation: https://en.cppreference.com/w/cpp/io/basic_ios/basic_ios
and get the same error:
Did I implement the API handler correctly?
Update: I noticed that basic_ios is not in MSVCP140. It is in MSVC170 https://learn.microsoft.com/en-us/cpp/standard-library/basic-ios-class?view=msvc-170