Function at 0x40dfe9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
lea eax, [ebp - 0xc]
push edi
push eax
xor edi, edi
push 1
push edi
push str.SoftwareDownloadManager
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f5bf
push ebx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 8], 0x208
push eax
push edi
push edi
push str.ExePath
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f5b4
lea eax, [ebp - 0x41c]
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
mov ebx, eax
pop ecx
cmp ebx, edi
pop ecx
je 0x40f5b4
mov esi, str.IDMan.exe
lea eax, [ebx + 2]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40f5b4
lea eax, [ebp - 0x41c]
mov word [ebx], di
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
mov ebx, 0x415784
lea eax, [ebp - 0x214]
push ebx
push eax
mov dword [ebp - 4], edi
call esi
add esp, 0x10
lea eax, [ebp - 4]
push edi
push eax
mov edi, 0x41b968
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.license.txt
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IDMIECC.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.idman.chm
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.idman.hlp
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
push str.IDManTypeInfo.tlb
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IDMGetAll.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.idmmkb.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IEExt.htm
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IEGetAll.htm
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IEGetVL.htm
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IEGetVL2.htm
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.nnprotocol.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.nnprotocol.exe
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.etcprotocol.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.idmmbc.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
push edi
lea eax, [ebp - 0x214]
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.NPIDMan1.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.NPIDMan2.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.tips.txt
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.tutor.chm
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.tutor.hlp
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IDMSetup2.log
push eax
push ebx
lea eax, [ebp - 0x214]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IDMSetup.log
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.Uninstall.exe
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.UNWISE.INI
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.UNWISE.EXE
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.DelPlug.exe
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.INSTALL.LOG
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.idmupdt.exe
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.downlWithIDM.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IDMGrHlp.exe
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.IEMonitor.exe
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
push str.grabber.chm
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.idmmzcc.xpi
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.NP_IDM.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.idmbrbtn.dll
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc2.xpi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc2.dll
push eax
call esi
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc2_64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler3.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler3_64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc3.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc3_64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler5.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler5_64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc7.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc7_64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler7.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler7_64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMShellExt.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMShellExt64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmbrbtn64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmwfp.inf
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmtdi.inf
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmwfp.cat
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmtdi.cat
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmwfp32.sys
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmwfp64.sys
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmtdi32.sys
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmtdi64.sys
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMIntegrator64.exe
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMIECC64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMGetAll64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sdownlWithIDM64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMFType.dat
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMFType64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmftype.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmfsa.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler2.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmcchandler2_64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
push str._sIDMNetMon.dll
lea eax, [ebp - 0x214]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMNetMon64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMGCExt.crx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMOpExt.nex
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._s_setup_error.log
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmvs.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmvconv.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmBroker.exe
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sMediumILStart.exe
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmindex.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc3.xpi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMMsgHost.exe
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
push edi
lea eax, [ebp - 0x214]
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMMsgHost.json
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMMsgHostMoz.json
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmfc.dat
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMGCExt59.crx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMVMPrs.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMVMPrs64.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._slibcrypto.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._slibssl.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sopenssl_license.txt
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sBrotli_license.txt
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMEdgeExt.crx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.defexclist.txt
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.scheduler.chm
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.Languages_
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x14
lea eax, [ebp - 0x41c]
push str.Toolbar_
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x14
lea eax, [ebp - 0x41c]
push str.Sounds_
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x14
lea eax, [ebp - 0x41c]
push str.IDMEdgeExt_
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x14
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sIDMan.exe.Local_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
xor eax, eax
add esp, 0x10
cmp dword [0x41ccd0], eax
jne 0x40f309
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x208
push ecx
lea ecx, [ebp - 0x624]
push ecx
push eax
push eax
push str.AppDataIDMFolder
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f5b4
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc2_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc01_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc02_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc3_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc03_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc5_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sidmmzcc7_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
jmp 0x40f5b4
lea eax, [ebp - 0x41c]
push str.dnlbtmn.txt
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.UrlHistory.txt
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push str.GlobalErrors.log
push eax
lea eax, [ebp - 0x214]
push ebx
push eax
call esi
add esp, 0x10
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmpldr.ini
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sidmpla.ini
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._s_setup_error.log
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004059d7
call fcn.0040d8ca
lea eax, [ebp - 4]
push eax
call fcn.0040df25
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x624]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push 0
push 0
push str.AppDataIDMFolder
mov ebx, 0x208
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
call edi
test eax, eax
jne 0x40f453
lea eax, [ebp - 0x624]
push eax
call fcn.0041009e
pop ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0x624]
push eax
push 0
push 0
push str.TempPath
push dword [ebp - 0xc]
call edi
test eax, eax
mov ebx, 0x417e08
jne 0x40f571
lea eax, [ebp - 0x624]
push eax
call sub.MSVCRT.dll_wcslen
cmp eax, 1
pop ecx
jle 0x40f4f9
cmp word [ebp + eax*2 - 0x626], 0x5c
lea eax, [ebp + eax*2 - 0x626]
jne 0x40f4a4
and word [eax], 0
lea eax, [ebp - 0x624]
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
test eax, eax
pop ecx
je 0x40f4f9
lea edi, [eax + 2]
push 0x414b1c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40f4d7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40f4f9
lea eax, [ebp - 0x624]
push 0x4140b8
push eax
call sub.MSVCRT.dll_wcscat
lea eax, [ebp - 0x624]
push eax
call fcn.0041009e
add esp, 0xc
jmp 0x40f571
lea eax, [ebp - 0x624]
push eax
call sub.MSVCRT.dll_wcslen
cmp eax, 1
pop ecx
jle 0x40f571
cmp word [ebp + eax*2 - 0x626], 0x5c
je 0x40f529
lea eax, [ebp - 0x624]
push 0x4140b8
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sDwnlData_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push str._sGrabberData_
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call fcn.0041009e
add esp, 0x10
lea eax, [ebp - 0x41c]
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
test eax, eax
pop ecx
je 0x40f5b4
add eax, 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40f5b4
lea eax, [ebp - 0x41c]
push 0x4140b8
push eax
call sub.MSVCRT.dll_wcscat
lea eax, [ebp - 0x41c]
push eax
call fcn.0041009e
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
leave
ret