Function at 0x40e6f6
Capabilities:
Check if file exists
Copy file
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
mov edi, ecx
push str.extensionsExtAddons
lea eax, [ebp - 0xc]
lea ebx, [edi + 0x18]
mov dword [ebp - 0x28], edi
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00403e0f
mov esi, str.extensionsExtAddonsExtAddons.dll
lea eax, [ebp - 4]
push esi
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push esi
mov dword [ebp - 0xc], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 0xc]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtProxy
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtProxyExtProxy.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsExtProxyExtProxy.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
mov ecx, dword [edi + 4]
push 0x30
push dword [ebp + 8]
call fcn.00411390
push str.extensionsExtSafeAddress
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtSafeAddressExtSafeAddress.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsExtSafeAddressExtSafeAddress.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsSnapPlugin
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsSnapPluginSnapPlugin.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsSnapPluginSnapPlugin.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsSnapPlugin_screener.exe
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsSnapPlugin_screener.exe
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsTranslatorPlugin
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsTranslatorPluginTranslatorPlugin.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsTranslatorPluginTranslatorPlugin.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea eax, [edi + 0x10]
push str.extensionsTranslatorPlugin_
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00410e94
lea eax, [ebp - 0x18]
push str.translate.ini
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00410e94
push dword [ebp - 0x1c]
push 0
push str.firstInstall
push 0x4284ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x40e9a1
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e989
push dword [ebp - 0x18]
call fcn.00414c27
pop ecx
push dword [ebp - 0x1c]
push 0x4284a8
push str.firstInstall
push 0x4284ac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [edi + 4]
push 0x33
push dword [ebp + 8]
call fcn.00411390
push str.extensionsUICenter
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsUICenterUICenter.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsUICenterUICenter.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsonlinefav
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsonlinefavonlinefav.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsonlinefavonlinefav.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
mov ecx, dword [edi + 4]
push 0x36
push dword [ebp + 8]
call fcn.00411390
push str.extensionsExtAdfilter
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtAdfilterExtAdfilter.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsExtAdfilterExtAdfilter.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsExtPages
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtPagesExtPages.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsExtPagesExtPages.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsExtDoctor
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtDoctorExtDoctor.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsExtDoctorExtDoctor.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsLoginEnrolLoginEnrol.dll
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00410e94
push str.extensionsLoginEnrolLoginEnrol.dll.bak
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.00410e94
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ebfb
push dword [ebp - 0x24]
mov dword [edi + 0x50], 2
push dword [ebp - 0x10]
call fcn.0041502d
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ebfb
mov dword [edi + 0x50], 3
push str.extensionsLoginEnrol
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
lea eax, [edi + 0x1c]
push str.extensionsLoginEnrolLoginEnrol.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
mov ecx, dword [edi + 4]
push 0x39
push dword [ebp + 8]
call fcn.00411390
push str.extensionsFavoritesFavorites.dll
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00410e94
push str.extensionsFavoritesFavorites.dll.bak
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00410e94
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ecbc
mov eax, dword [edi + 0x50]
test eax, eax
je 0x40ec94
cmp eax, 1
jne 0x40ecbc
push dword [ebp - 0x20]
mov dword [edi + 0x50], 2
push dword [ebp - 0x14]
call fcn.0041502d
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ecbc
mov dword [edi + 0x50], 3
push str.extensionsFavorites
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsFavoritesFavorites.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsFavoritesFavorites.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
mov eax, dword [edi + 4]
cmp dword [eax + 8], 0
je 0x40ed7e
and word [ebp - 0x230], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x230]
push dword [edi + 0x50]
push 0x4280c4
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x230]
push dword [edi + 0xc]
push eax
push str.State
push str.InstallState
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, edi
call fcn.0040d057
push str.extensionsExtSuggest
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtSuggestExtSuggest.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsExtSuggestExtSuggest.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsExtDownload
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtDownloadExtDownload.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsExtDownloadExtDownload.dll
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsExtChongzhi
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtChongzhiExtChongzhi.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [edi + 0x1c]
push str.extensionsExtChongzhiExtChongzhi.dll
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsExtUrlQuery
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsExtUrlQueryExtUrlQuery.dll
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00410e94
mov ebx, dword [eax]
lea eax, [edi + 0x1c]
push str.extensionsExtUrlQueryExtUrlQuery.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push ebx
push eax
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
mov ecx, dword [edi + 4]
push 0x3c
push dword [ebp + 8]
call fcn.00411390
lea ecx, [ebp - 0x20]
call fcn.00403e0f
lea ecx, [ebp - 0x14]
call fcn.00403e0f
lea ecx, [ebp - 0x24]
call fcn.00403e0f
lea ecx, [ebp - 0x10]
call fcn.00403e0f
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
lea ecx, [ebp - 0x18]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret 4