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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
push dword [ebx + 0x18]
lea edi, [ebx + 0x18]
mov dword [ebx + 0xc], eax
call fcn.004093f6
push dword [edi]
call fcn.0040947a
pop ecx
test al, al
pop ecx
jne 0x404794
push 0
push 0x40cbe8
push 0x40cbb4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4050ef
mov eax, dword [0x40c020]
push dword [edi]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push str._sTheWorld.exe
push eax
call fcn.00403c5c
add esp, 0xc
mov ecx, ebx
push 0xa
call fcn.0040554f
push dword [ebx + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push str.IsSave
push 0x40cb6c
call esi
cmp eax, 1
jne 0x4047ec
push dword [ebx + 0x38]
push 0x40cb68
push str.IsSave
push 0x40cb6c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebx + 0x38]
push 1
push 0x40cb50
push 0x40cb48
call esi
test eax, eax
jne 0x404819
push dword [ebx + 0x38]
push 0x40cb44
push 0x40cb50
push 0x40cb48
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x14
mov ecx, ebx
call fcn.0040554f
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x40483f
push str.TheWorld.exe
mov ecx, ebx
push dword [edi]
call fcn.004050f6
push dword [ebp - 4]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4048fb
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4048fb
push 1
push 0x40cb0c
push 0x40cabc
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x4048d4
push 0x1388
push dword [ebp - 4]
call fcn.00408c84
pop ecx
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4048fb
push 5
push 0x40cb0c
push 0x40ca78
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
je 0x404886
push str.TheWorld.exe.bak
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call esi
lea ecx, [ebp + 8]
jmp 0x4048ea
push str.TheWorld.exe.bak
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call esi
lea ecx, [ebp + 8]
call fcn.00404036
mov ecx, ebx
call fcn.004055e6
jmp 0x4050e7
push 0x1e
mov ecx, ebx
call fcn.0040554f
push str.TheWorld.exe.bak
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call esi
lea ecx, [ebp + 8]
call fcn.00404036
push 0x28
mov ecx, ebx
call fcn.0040554f
mov esi, 0x40ca38
lea eax, [ebp - 0xc]
push esi
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push esi
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004059cf
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00404036
lea ecx, [ebp - 0xc]
call fcn.00404036
push str.WebApp.exe
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.WebApp.exe
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.UnInst.exe
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.UnInst.exe
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.cloudurls.dat
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.cloudurls.dat
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
lea eax, [ebx + 0x1c]
push str.data
push eax
lea eax, [ebp + 8]
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
lea eax, [ebx + 0x1c]
push str.data_switch.ini
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb al, al
lea ecx, [ebp - 0xc]
inc al
mov byte [ebp + 0xb], al
call fcn.00404036
cmp byte [ebp + 0xb], 0
je 0x404ac1
lea eax, [ebx + 0x1c]
push str.data_switch.ini
push eax
lea eax, [ebp - 8]
push eax
call fcn.004059cf
mov eax, dword [eax]
push str._switch.ini
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
lea eax, [ebx + 0x14]
push str.ExtensionsSafeCentral
push eax
lea eax, [ebp + 8]
push eax
call fcn.004059cf
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00404036
cmp dword [ebp - 0xc], 0
je 0x404b0b
push str.ExtensionsSafeCentral
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
lea eax, [ebx + 0x14]
push str.ExtensionsSafeCentralSafeCentral.dll
push eax
lea eax, [ebp + 8]
push eax
call fcn.004059cf
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00404036
cmp dword [ebp - 0xc], 0
je 0x404b76
push str.ExtensionsSafeCentralSafeCentral.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsSafeCentralSafeCentral.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
lea eax, [ebx + 0x14]
push str.ExtensionsSafeCentralurlproc.dll
push eax
lea eax, [ebp + 8]
push eax
call fcn.004059cf
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00404036
cmp dword [ebp - 0xc], 0
je 0x404be1
push str.ExtensionsSafeCentralurlproc.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsSafeCentralurlproc.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push 0x32
mov ecx, ebx
call fcn.0040554f
push str.ExtensionsExtAddons
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtAddonsExtAddons.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsExtAddonsExtAddons.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.ExtensionsExtMinibar
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtMinibarExtMinibar.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsExtMinibarExtMinibar.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.ExtensionsExtAdfilter
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtAdfilterExtAdfilter.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsExtAdfilterExtAdfilter.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.ExtensionsExtPages
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtPagesExtPages.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsExtPagesExtPages.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.ExtensionsExtProxy
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtProxyExtProxy.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsExtProxyExtProxy.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push 0x3c
mov ecx, ebx
call fcn.0040554f
push str.Skin
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.SkinCrystal_Chrome
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.SkinCrystal_Chrome
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.SkinCrystal_Chrome
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
push dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.0040950f
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.SkinCrystal_Chromeico
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.SkinCrystal_Chromeico
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.SkinCrystal_Chromeico
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
push dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.0040950f
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push 0x46
mov ecx, ebx
call fcn.0040554f
push str.ExtensionsExtSuggest
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtSuggestExtSuggest.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsExtSuggestExtSuggest.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.ExtensionsExtDownload
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtDownloadExtDownload.dll
lea eax, [ebp - 8]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.ExtensionsExtDownloadExtDownload.dll
mov dword [ebp + 8], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
push str.ExtensionsExtUrlQuery
lea eax, [ebp + 8]
push edi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.ExtensionsExtUrlQueryExtUrlQuery.dll
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.004059cf
mov edi, dword [eax]
lea eax, [ebx + 0x14]
push str.ExtensionsExtUrlQueryExtUrlQuery.dll
push eax
lea eax, [ebp + 8]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [ebp + 8]
call fcn.00404036
lea ecx, [ebp - 0xc]
call fcn.00404036
push 0x50
mov ecx, ebx
call fcn.0040554f
push dword [ebx + 0x38]
xor edi, edi
push edi
push str.IsSave
push str.addunstall
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x5a
mov ecx, ebx
call fcn.0040554f
lea esi, [ebx + 0x30]
push str.LinkBar
lea eax, [ebp + 8]
push esi
push eax
call fcn.004059cf
push dword [eax]
call fcn.004093f6
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push str.LinkBar_
lea eax, [ebp + 8]
push esi
push eax
call fcn.004059cf
push dword [eax]
push str.http:__www.ioage.com_tw3_beginner_
call fcn.00408a42
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push 0x40c3e4
lea eax, [ebp + 8]
push esi
push eax
call fcn.004059cf
push dword [eax]
push str.http:__www.ioage.com_tw3_feature_
call fcn.00408a42
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push 0x40c374
lea eax, [ebp + 8]
push esi
push eax
call fcn.004059cf
push dword [eax]
push str.http:__www.ioage.com_tw3_beginner_favoritebar.htm
call fcn.00408a42
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00404036
push 0x64
mov ecx, ebx
call fcn.0040554f
cmp dword [ebx + 4], 6
jle 0x4050a1
mov ecx, ebx
call fcn.00405691
mov ecx, ebx
call fcn.00405198
mov ecx, ebx
call fcn.004052be
mov ecx, ebx
call fcn.00405333
mov ecx, ebx
call fcn.004055f9
cmp dword [ebx + 0x40], edi
je 0x4050c9
mov ecx, ebx
call fcn.00405582
cmp dword [ebx + 0x48], edi
je 0x4050db
cmp dword [ebx + 4], 9
jne 0x4050db
mov ecx, ebx
call fcn.004055b4
call fcn.004092d1
mov ecx, ebx
call fcn.0040518a
lea ecx, [ebp - 4]
call fcn.00404036
pop edi
pop esi
pop ebx
leave
ret 4