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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d1d2b
push eax
mov eax, 0x16fc
mov dword fs:[0], esp
call fcn.0049bb40
push ebx
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push esi
mov esi, dword [esp + 0x1718]
push edi
push str.LoginIntenetFav
mov ebx, ecx
lea edi, [esi + 0x20c]
push edi
call ebp
test eax, eax
jne 0x4add29
mov eax, dword [esi + 0x428]
mov ecx, dword [esi + 0x424]
push eax
push ecx
mov ecx, ebx
call fcn.004a78c0
push str.OptionLoginFav
push edi
call ebp
test eax, eax
jne 0x4add54
mov edx, dword [esi + 0x428]
mov eax, dword [esi + 0x424]
push edx
push eax
mov ecx, ebx
call fcn.004a7ac0
mov eax, 1
jmp 0x4ae505
push str.ExitIntenetFav
push edi
call ebp
test eax, eax
jne 0x4add71
mov ecx, ebx
call fcn.004a7d80
mov eax, 1
jmp 0x4ae505
push str.SetAutoSyncFav
push edi
call ebp
test eax, eax
jne 0x4add9f
mov ecx, dword [esi + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004ad220
mov eax, 1
jmp 0x4ae505
push str.MergeIntenetFav
push edi
call ebp
test eax, eax
jne 0x4addbc
mov ecx, ebx
call fcn.004a7100
mov eax, 1
jmp 0x4ae505
push str.getNetFavUsername
push edi
call ebp
test eax, eax
jne 0x4ade28
add ebx, 0x28
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
lea ebp, [eax + eax + 2]
mov dword [esp + 0x14], eax
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x414], edi
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 0x4e33c0
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x414]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], ebp
mov eax, 1
jmp 0x4ae505
push str.getAutoState
push edi
call ebp
test eax, eax
jne 0x4ade5e
mov ecx, ebx
call fcn.004ad330
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov ecx, 0xa
xor eax, eax
mov dword [esi + 0x414], edi
push ebx
rep stosd dword es:[edi], eax
jmp 0x4ae4db
push str.getIsLogin
push edi
call ebp
test eax, eax
jne 0x4ade82
mov ecx, ebx
call fcn.004ad310
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4ae158
push str.getIsFirstTheworld
push edi
call ebp
test eax, eax
jne 0x4adedd
xor ebx, ebx
mov ecx, 0x81
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
rep stosd dword es:[edi], eax
push str.bookmarks.dat
lea ecx, [esp + 0x1c]
push 0x104
push ecx
stosw word es:[edi], ax
call fcn.0049c3f0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4adece
mov ebx, 1
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4ae158
push str.GetMergeState
push edi
call ebp
test eax, eax
jne 0x4adf21
mov ecx, ebx
call fcn.004a7f80
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov ecx, 0xa
xor eax, eax
mov dword [esi + 0x414], edi
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x414]
push 0x4e3808
push 0x13
push ecx
jmp 0x4ae4e9
push str.GetCurFavSource
push edi
call ebp
test eax, eax
jne 0x4adf87
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
call fcn.004af1c0
add esp, 4
mov ecx, ebx
call fcn.004ad3f0
mov ebx, eax
cmp ebx, 2
jne 0x4adf67
cmp dword [esp + 0x10], 3
jne 0x4adf78
push 0x28
mov ebx, 3
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4ae158
cmp ebx, 1
jne 0x4adf78
cmp dword [esp + 0x10], 2
jne 0x4adf78
mov ebx, 4
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4ae158
push str.ReloadFav
push edi
call ebp
test eax, eax
jne 0x4adfcb
push eax
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x4adfa9
push 0
call dword [sym.imp.USER32.dll_ReplyMessage]
mov ecx, dword [esi + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004ad4b0
mov eax, 1
jmp 0x4ae505
push str.UpFavToServer
push edi
call ebp
test eax, eax
jne 0x4adff0
mov edx, dword [esi + 0x41c]
mov ecx, ebx
push edx
push eax
call fcn.004ada60
mov eax, 1
jmp 0x4ae505
push str.DownFavToClient
push edi
call ebp
test eax, eax
jne 0x4ae016
mov eax, dword [esi + 0x41c]
mov ecx, ebx
push eax
push 1
call fcn.004ada60
mov eax, 1
jmp 0x4ae505
push str.ImportIeFavToSelf
push edi
call ebp
test eax, eax
jne 0x4ae03a
mov ecx, dword [esi + 0x41c]
push ecx
mov ecx, ebx
call fcn.004adbc0
mov eax, 1
jmp 0x4ae505
push str.ExportFav
push edi
call ebp
test eax, eax
jne 0x4ae05e
mov edx, dword [esi + 0x41c]
mov ecx, ebx
push edx
call fcn.004adc60
mov eax, 1
jmp 0x4ae505
push str.IsFavImpact
push edi
call ebp
test eax, eax
jne 0x4ae082
mov ecx, ebx
call fcn.004ad400
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4ae158
push str.SetMergeMode
push edi
call ebp
test eax, eax
jne 0x4ae0b0
mov ecx, dword [esi + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004ad410
mov eax, 1
jmp 0x4ae505
push str.GetAutoLogin
push edi
call ebp
test eax, eax
jne 0x4ae101
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
push edx
call fcn.004af0d0
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov edi, eax
mov ecx, 0xa
xor eax, eax
mov dword [esi + 0x414], edi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x414]
push eax
push 0x4e3808
push 0x13
push ecx
jmp 0x4ae4e9
push str.SetAutoLogin
push edi
call ebp
test eax, eax
jne 0x4ae12d
mov edx, dword [esi + 0x424]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
push eax
call fcn.004af070
add esp, 8
mov eax, 1
jmp 0x4ae505
push str.GetLastSyncTime
push edi
call ebp
test eax, eax
jne 0x4ae17d
call fcn.004afc20
mov ecx, eax
call fcn.004b62a0
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov edi, eax
mov ecx, 0xa
xor eax, eax
mov dword [esi + 0x414], edi
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x414]
push ebx
push 0x4e3808
push 0x13
push eax
jmp 0x4ae4e9
push str.SetFavouritePath
push edi
call ebp
test eax, eax
jne 0x4ae1b3
mov ecx, dword [esi + 0x428]
push ecx
call fcn.004bc6a0
add esp, 4
test eax, eax
je 0x4ae4fc
push 3
mov ecx, ebx
call fcn.004ad4b0
mov eax, 1
jmp 0x4ae505
push str.GetFavouritePath
push edi
call ebp
test eax, eax
jne 0x4ae27a
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.004af110
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [esp + 0x20]
push eax
call edi
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x4ae228
push eax
lea ecx, [esp + 0x1c]
push 6
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4ae228
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.004af0f0
lea eax, [esp + 0x20]
push eax
call edi
add esp, 0xc
mov ebp, eax
lea ebx, [ebp + ebp + 2]
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x414], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x414]
lea eax, [esp + 0x18]
push eax
push 0x4e33c0
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], ebx
mov eax, 1
jmp 0x4ae505
push str.SelectFavBarPath
push edi
call ebp
test eax, eax
jne 0x4ae2d7
lea ecx, [esp + 0x220]
call fcn.004a4f70
mov edx, dword [esi + 0x41c]
push 0
push 0
push 2
push edx
lea ecx, [esp + 0x230]
mov dword [esp + 0x1724], 0
call fcn.004a5150
lea ecx, [esp + 0x220]
mov dword [esp + 0x1714], 0xffffffff
call fcn.004a5020
mov eax, 1
jmp 0x4ae505
push str.SetFavBarPath
push edi
call ebp
test eax, eax
je 0x4ae4fc
push str.GetFavBarPath
push edi
call ebp
test eax, eax
jne 0x4ae377
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.004af130
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, eax
lea ebx, [ebp + ebp + 2]
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x414], edi
add esp, 0x10
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x414]
lea eax, [esp + 0x18]
push eax
push 0x4e33c0
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], ebx
mov eax, 1
jmp 0x4ae505
push str.GetAddFavButtonVisble
push edi
call ebp
test eax, eax
jne 0x4ae3d7
lea edx, [esp + 0x10]
mov ecx, 0x5d1330
push edx
push str.ShowAddButton
push 0x4f3878
mov dword [esp + 0x1c], 1
call fcn.004238e0
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov ecx, 0xa
xor eax, eax
mov dword [esi + 0x414], edi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x414]
push eax
push 0x4e3808
push 0x13
push ecx
jmp 0x4ae4e9
push str.SetAddFavButtonVisble
push edi
call ebp
test eax, eax
jne 0x4ae44c
mov edx, dword [esi + 0x424]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov ecx, 0x5d1330
push eax
push str.ShowAddButton
push 0x4f3878
mov dword [esp + 0x1c], 1
call fcn.004238e0
cmp esi, dword [esp + 0x10]
je 0x4ae4fc
push esi
push str.ShowAddButton
push 0x4f3878
mov ecx, 0x5d1330
call fcn.00423900
push esi
call fcn.004afc20
mov ecx, eax
call fcn.004be7a0
mov eax, 1
jmp 0x4ae505
push str.SetNetButtonVisble
push edi
call ebp
test eax, eax
jne 0x4ae4a1
mov ecx, dword [esi + 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.004af260
mov eax, dword [esp + 0x18]
add esp, 8
cmp esi, eax
je 0x4ae4fc
push esi
call fcn.004af240
add esp, 4
push esi
call fcn.004afc20
mov ecx, eax
call fcn.004be790
mov eax, 1
jmp 0x4ae505
push str.GetNetButtonVisble
push edi
call ebp
test eax, eax
jne 0x4ae503
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.004af260
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov edi, eax
mov ecx, 0xa
xor eax, eax
mov dword [esi + 0x414], edi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push ecx
mov edx, dword [esi + 0x414]
push 0x4e3808
push 0x13
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], 0x28
mov eax, 1
jmp 0x4ae505
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