Why electron app looking for system DLLs from the electron app installed location?

The following system DLLs are loading from electron app installed location “C:\Users\AppData\Local\Programs” and “C:\Users\AppData\Local”.

Any reason for this behavior ? and we are informed to Implement proper search order paths when the application searches for Windows DLL files and do validate before executing by the application.

How to proceed with this ?

If this behavior is expected then please provide few information links.

MSIMG32.dll
WINMM.dll
USERENV.dll
DWrite.dll
WINMMBASE.dll
OLEACC.dll
WINMMBASE.dll
IPHLPAPI.DLL
dbghelp.dll
UIAutomationCore.DLL
VERSION.dll
Bcp47Langs.dll
NTASN1.dll
dxgi.dll
ncrypt.dll
VERSION.dll
wininet.dll
dbghelp.dll
iphlpapi.dll
dwmapi.dll
USP10.dll
netapi32.dll
netutils.dll
wkscli.dll
srvcli.dll
mscms.dll
ColorAdapterClient.dll
devobj.dll
UxTheme.dll
oleaccrd.dll
uiautomationcore.dll
netapi32.dll
netutils.dll
wkscli.dll
srvcli.dll