qilingframework / qiling

A True Instrumentable Binary Emulation Framework

Home Page:https://qiling.io

Repository from Github https://github.comqilingframework/qilingRepository from Github https://github.comqilingframework/qiling

The exe compiled with VS2019 cannot be emulated.

Vxer-Lee opened this issue · comments

*Describe the bug
The exe compiled with VS2019 cannot be emulated.

Sample Code

from qiling import Qiling
from qiling.extensions import trace
ql = Qiling(["../examples/rootfs/x86_windows/bin/2.cm1.exe"],"../examples/rootfs/x86_windows")# ../examples/rootfs/x86_windows
trace.enable_full_trace(ql)
ql.run()

Expected behavior

[x]     Error encountered while running bcrypt.dll DllMain, bailing
[!]     Failed to resolve api-ms-win-service-core-l1-1-0.dll
[!]     Failed to resolve api-ms-win-service-core-l1-1-1.dll
[!]     Failed to resolve api-ms-win-service-core-l1-1-2.dll
[!]     Failed to resolve api-ms-win-service-management-l1-1-0.dll
[!]     Failed to resolve api-ms-win-service-management-l2-1-0.dll
[!]     Failed to resolve api-ms-win-service-private-l1-1-4.dll
[!]     Failed to resolve api-ms-win-service-private-l1-1-2.dll
[!]     Failed to resolve api-ms-win-service-private-l1-1-3.dll
[!]     Failed to resolve api-ms-win-service-private-l1-1-0.dll
[!]     Failed to resolve api-ms-win-service-winsvc-l1-1-0.dll
[!]     Failed to resolve api-ms-win-security-audit-l1-1-1.dll
[!]     Failed to resolve api-ms-win-security-audit-l1-1-0.dll

cm2022.zip

Screenshots
image
image