Function at 0x4cd250
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4fb68b
push eax
mov eax, 0x16fc
mov dword fs:[0], esp
call fcn.004ba380
push ebx
push ebp
mov ebp, dword [esp + 0x1714]
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
lea esi, [ebp + 0x20c]
push str.LoginIntenetFav
mov ebx, ecx
push esi
call edi
test eax, eax
jne 0x4cd2a9
mov eax, dword [ebp + 0x428]
mov ecx, dword [ebp + 0x424]
push eax
push ecx
mov ecx, ebx
call fcn.004c6eb0
push str.OptionLoginFav
push esi
call edi
test eax, eax
jne 0x4cd2d4
mov edx, dword [ebp + 0x428]
mov eax, dword [ebp + 0x424]
push edx
push eax
mov ecx, ebx
call fcn.004c70b0
mov eax, 1
jmp 0x4cd921
push str.ExitIntenetFav
push esi
call edi
test eax, eax
jne 0x4cd2f1
mov ecx, ebx
call fcn.004c7370
mov eax, 1
jmp 0x4cd921
push str.SetAutoSyncFav
push esi
call edi
test eax, eax
jne 0x4cd31f
mov ecx, dword [ebp + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004cc810
mov eax, 1
jmp 0x4cd921
push str.MergeIntenetFav
push esi
call edi
test eax, eax
jne 0x4cd33c
mov ecx, ebx
call fcn.004c66f0
mov eax, 1
jmp 0x4cd921
push str.getNetFavUsername
push esi
call edi
test eax, eax
jne 0x4cd368
add ebx, 0x28
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
inc eax
push ebx
push eax
push ebp
call fcn.004bb0a0
add esp, 0x10
mov eax, 1
jmp 0x4cd921
push str.getAutoState
push esi
call edi
test eax, eax
jne 0x4cd391
mov ecx, ebx
call fcn.004cc920
push eax
push 0x14
push ebp
call fcn.004bb120
add esp, 0xc
mov eax, 1
jmp 0x4cd921
push str.getIsLogin
push esi
call edi
test eax, eax
jne 0x4cd3ba
mov ecx, ebx
call fcn.004cc900
push eax
push 0x14
push ebp
call fcn.004bb120
add esp, 0xc
mov eax, 1
jmp 0x4cd921
push str.getIsFirstTheworld
push esi
call edi
test eax, eax
jne 0x4cd41b
xor esi, esi
mov ecx, 0x81
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
push str.bookmarks.dat
lea edx, [esp + 0x1c]
push 0x104
push edx
stosw word es:[edi], ax
call fcn.004bac30
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
push ecx
call fcn.004ce660
mov edi, dword [esp + 0x14]
xor edx, edx
cmp edi, esi
sete dl
push edx
jmp 0x4cd90d
push str.GetMergeState
push esi
call edi
test eax, eax
jne 0x4cd444
mov ecx, ebx
call fcn.004c7570
push eax
push 0x14
push ebp
call fcn.004bb120
add esp, 0xc
mov eax, 1
jmp 0x4cd921
push str.GetCurFavSource
push esi
call edi
test eax, eax
jne 0x4cd4b6
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.004ce5e0
add esp, 4
mov ecx, ebx
call fcn.004cc9e0
cmp eax, 2
jne 0x4cd48f
cmp dword [esp + 0x10], 3
jne 0x4cd4a0
mov eax, 3
push eax
push 0x14
push ebp
call fcn.004bb120
add esp, 0xc
mov eax, 1
jmp 0x4cd921
cmp eax, 1
jne 0x4cd4a0
cmp dword [esp + 0x10], 2
jne 0x4cd4a0
mov eax, 4
push eax
push 0x14
push ebp
call fcn.004bb120
add esp, 0xc
mov eax, 1
jmp 0x4cd921
push str.ReloadFav
push esi
call edi
test eax, eax
jne 0x4cd4fa
push eax
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x4cd4d8
push 0
call dword [sym.imp.USER32.dll_ReplyMessage]
mov ecx, dword [ebp + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004cca90
mov eax, 1
jmp 0x4cd921
push str.UpFavToServer
push esi
call edi
test eax, eax
jne 0x4cd51f
mov edx, dword [ebp + 0x41c]
mov ecx, ebx
push edx
push eax
call fcn.004ccfe0
mov eax, 1
jmp 0x4cd921
push str.DownFavToClient
push esi
call edi
test eax, eax
jne 0x4cd545
mov eax, dword [ebp + 0x41c]
mov ecx, ebx
push eax
push 1
call fcn.004ccfe0
mov eax, 1
jmp 0x4cd921
push str.ImportIeFavToSelf
push esi
call edi
test eax, eax
jne 0x4cd569
mov ecx, dword [ebp + 0x41c]
push ecx
mov ecx, ebx
call fcn.004cd140
mov eax, 1
jmp 0x4cd921
push str.ExportFav
push esi
call edi
test eax, eax
jne 0x4cd58d
mov edx, dword [ebp + 0x41c]
mov ecx, ebx
push edx
call fcn.004cd1e0
mov eax, 1
jmp 0x4cd921
push str.IsFavImpact
push esi
call edi
test eax, eax
jne 0x4cd5b6
mov ecx, ebx
call fcn.00421ae0
push eax
push 0x14
push ebp
call fcn.004bb120
add esp, 0xc
mov eax, 1
jmp 0x4cd921
push str.SetMergeMode
push esi
call edi
test eax, eax
jne 0x4cd5e4
mov eax, dword [ebp + 0x424]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004cc9f0
mov eax, 1
jmp 0x4cd921
push str.GetAutoLogin
push esi
call edi
test eax, eax
jne 0x4cd60c
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 1
push ecx
call fcn.004ce4f0
mov edx, dword [esp + 0x14]
push edx
jmp 0x4cd90d
push str.SetAutoLogin
push esi
call edi
test eax, eax
jne 0x4cd638
mov eax, dword [ebp + 0x424]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
push eax
call fcn.004ce490
add esp, 8
mov eax, 1
jmp 0x4cd921
push str.GetLastSyncTime
push esi
call edi
test eax, eax
jne 0x4cd65d
call fcn.004cf160
mov ecx, eax
call fcn.004d5a30
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
push eax
jmp 0x4cd90d
push str.SetFavouritePath
push esi
call edi
test eax, eax
jne 0x4cd693
mov ecx, dword [ebp + 0x428]
push ecx
call fcn.004dc7b0
add esp, 4
test eax, eax
je 0x4cd918
push 3
mov ecx, ebx
call fcn.004cca90
mov eax, 1
jmp 0x4cd921
push str.GetFavouritePath
push esi
call edi
test eax, eax
jne 0x4cd71e
mov ecx, 0x81
lea edi, [esp + 0x1a]
mov word [esp + 0x18], ax
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x103
push edx
stosw word es:[edi], ax
call fcn.004ce530
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [esp + 0x20]
push eax
call edi
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cd704
push eax
lea ecx, [esp + 0x1c]
push 6
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4cd704
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.004ce510
lea eax, [esp + 0x20]
push eax
call edi
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x18]
inc esi
push ecx
push esi
push ebp
call fcn.004bb0a0
add esp, 0xc
mov eax, 1
jmp 0x4cd921
push str.SelectFavBarPath
push esi
call edi
test eax, eax
jne 0x4cd77b
lea ecx, [esp + 0x220]
call fcn.004c41c0
mov edx, dword [ebp + 0x41c]
push 0
push 0
push 2
push edx
lea ecx, [esp + 0x230]
mov dword [esp + 0x1724], 0
call fcn.004c43d0
lea ecx, [esp + 0x220]
mov dword [esp + 0x1714], 0xffffffff
call fcn.004c4270
mov eax, 1
jmp 0x4cd921
push str.SetFavBarPath
push esi
call edi
test eax, eax
je 0x4cd918
push str.GetFavBarPath
push esi
call edi
test eax, eax
jne 0x4cd7dd
mov ecx, 0x81
lea edi, [esp + 0x1a]
mov word [esp + 0x18], ax
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
call fcn.004ce550
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [esp + 0x24]
inc eax
push edx
push eax
push ebp
call fcn.004bb0a0
add esp, 0x18
mov eax, 1
jmp 0x4cd921
push str.GetAddFavButtonVisble
push esi
call edi
test eax, eax
jne 0x4cd824
lea eax, [esp + 0x10]
mov ecx, 0x607d38
push eax
push str.ShowAddButton
push 0x528048
mov dword [esp + 0x1c], 1
call fcn.00429f60
mov ecx, dword [esp + 0x10]
push ecx
push 0x14
push ebp
call fcn.004bb120
add esp, 0xc
mov eax, 1
jmp 0x4cd921
push str.SetAddFavButtonVisble
push esi
call edi
test eax, eax
jne 0x4cd899
mov edx, dword [ebp + 0x424]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov ecx, 0x607d38
push eax
push str.ShowAddButton
push 0x528048
mov dword [esp + 0x1c], 1
call fcn.00429f60
cmp esi, dword [esp + 0x10]
je 0x4cd918
push esi
push str.ShowAddButton
push 0x528048
mov ecx, 0x607d38
call fcn.00429f80
push esi
call fcn.004cf160
mov ecx, eax
call fcn.004de780
mov eax, 1
jmp 0x4cd921
push str.SetNetButtonVisble
push esi
call edi
test eax, eax
jne 0x4cd8ee
mov ecx, dword [ebp + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
lea edx, [esp + 0x14]
mov esi, eax
push edx
mov dword [esp + 0x18], 0
call fcn.004ce6e0
mov eax, dword [esp + 0x18]
add esp, 8
cmp esi, eax
je 0x4cd918
push esi
call fcn.004ce6c0
add esp, 4
push esi
call fcn.004cf160
mov ecx, eax
call fcn.004de770
mov eax, 1
jmp 0x4cd921
push str.GetNetButtonVisble
push esi
call edi
test eax, eax
jne 0x4cd91f
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.004ce6e0
mov ecx, dword [esp + 0x18]
push ecx
push 0x14
push ebp
call fcn.004bb120
add esp, 0x10
mov eax, 1
jmp 0x4cd921
xor eax, eax
mov ecx, dword [esp + 0x170c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1708
ret 4