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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e33ab
push eax
mov eax, 0x16fc
mov dword fs:[0], esp
call fcn.004acae0
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 0x4bedf9
mov eax, dword [esi + 0x428]
mov ecx, dword [esi + 0x424]
push eax
push ecx
mov ecx, ebx
call fcn.004b8990
push str.OptionLoginFav
push edi
call ebp
test eax, eax
jne 0x4bee24
mov edx, dword [esi + 0x428]
mov eax, dword [esi + 0x424]
push edx
push eax
mov ecx, ebx
call fcn.004b8b90
mov eax, 1
jmp 0x4bf5d5
push str.ExitIntenetFav
push edi
call ebp
test eax, eax
jne 0x4bee41
mov ecx, ebx
call fcn.004b8e50
mov eax, 1
jmp 0x4bf5d5
push str.SetAutoSyncFav
push edi
call ebp
test eax, eax
jne 0x4bee6f
mov ecx, dword [esi + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004be2f0
mov eax, 1
jmp 0x4bf5d5
push str.MergeIntenetFav
push edi
call ebp
test eax, eax
jne 0x4bee8c
mov ecx, ebx
call fcn.004b81d0
mov eax, 1
jmp 0x4bf5d5
push str.getNetFavUsername
push edi
call ebp
test eax, eax
jne 0x4beef8
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 0x4f6580
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 0x4bf5d5
push str.getAutoState
push edi
call ebp
test eax, eax
jne 0x4bef2e
mov ecx, ebx
call fcn.004be400
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 0x4bf5ab
push str.getIsLogin
push edi
call ebp
test eax, eax
jne 0x4bef52
mov ecx, ebx
call fcn.004be3e0
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf228
push str.getIsFirstTheworld
push edi
call ebp
test eax, eax
jne 0x4befad
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.004ad390
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4bef9e
mov ebx, 1
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf228
push str.GetMergeState
push edi
call ebp
test eax, eax
jne 0x4beff1
mov ecx, ebx
call fcn.004b9050
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 0x4f6b34
push 0x13
push ecx
jmp 0x4bf5b9
push str.GetCurFavSource
push edi
call ebp
test eax, eax
jne 0x4bf057
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
call fcn.004c02a0
add esp, 4
mov ecx, ebx
call fcn.004be4c0
mov ebx, eax
cmp ebx, 2
jne 0x4bf037
cmp dword [esp + 0x10], 3
jne 0x4bf048
push 0x28
mov ebx, 3
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf228
cmp ebx, 1
jne 0x4bf048
cmp dword [esp + 0x10], 2
jne 0x4bf048
mov ebx, 4
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf228
push str.ReloadFav
push edi
call ebp
test eax, eax
jne 0x4bf09b
push eax
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x4bf079
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.004be580
mov eax, 1
jmp 0x4bf5d5
push str.UpFavToServer
push edi
call ebp
test eax, eax
jne 0x4bf0c0
mov edx, dword [esi + 0x41c]
mov ecx, ebx
push edx
push eax
call fcn.004beb30
mov eax, 1
jmp 0x4bf5d5
push str.DownFavToClient
push edi
call ebp
test eax, eax
jne 0x4bf0e6
mov eax, dword [esi + 0x41c]
mov ecx, ebx
push eax
push 1
call fcn.004beb30
mov eax, 1
jmp 0x4bf5d5
push str.ImportIeFavToSelf
push edi
call ebp
test eax, eax
jne 0x4bf10a
mov ecx, dword [esi + 0x41c]
push ecx
mov ecx, ebx
call fcn.004bec90
mov eax, 1
jmp 0x4bf5d5
push str.ExportFav
push edi
call ebp
test eax, eax
jne 0x4bf12e
mov edx, dword [esi + 0x41c]
mov ecx, ebx
push edx
call fcn.004bed30
mov eax, 1
jmp 0x4bf5d5
push str.IsFavImpact
push edi
call ebp
test eax, eax
jne 0x4bf152
mov ecx, ebx
call fcn.004be4d0
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf228
push str.SetMergeMode
push edi
call ebp
test eax, eax
jne 0x4bf180
mov ecx, dword [esi + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004be4e0
mov eax, 1
jmp 0x4bf5d5
push str.GetAutoLogin
push edi
call ebp
test eax, eax
jne 0x4bf1d1
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
push edx
call fcn.004c01b0
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 0x4f6b34
push 0x13
push ecx
jmp 0x4bf5b9
push str.SetAutoLogin
push edi
call ebp
test eax, eax
jne 0x4bf1fd
mov edx, dword [esi + 0x424]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
push eax
call fcn.004c0150
add esp, 8
mov eax, 1
jmp 0x4bf5d5
push str.GetLastSyncTime
push edi
call ebp
test eax, eax
jne 0x4bf24d
call fcn.004c0d40
mov ecx, eax
call fcn.004c7590
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 0x4f6b34
push 0x13
push eax
jmp 0x4bf5b9
push str.SetFavouritePath
push edi
call ebp
test eax, eax
jne 0x4bf283
mov ecx, dword [esi + 0x428]
push ecx
call fcn.004cdeb0
add esp, 4
test eax, eax
je 0x4bf5cc
push 3
mov ecx, ebx
call fcn.004be580
mov eax, 1
jmp 0x4bf5d5
push str.GetFavouritePath
push edi
call ebp
test eax, eax
jne 0x4bf34a
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.004c01f0
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 0x4bf2f8
push eax
lea ecx, [esp + 0x1c]
push 6
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4bf2f8
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.004c01d0
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 0x4f6580
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], ebx
mov eax, 1
jmp 0x4bf5d5
push str.SelectFavBarPath
push edi
call ebp
test eax, eax
jne 0x4bf3a7
lea ecx, [esp + 0x220]
call fcn.004b6040
mov edx, dword [esi + 0x41c]
push 0
push 0
push 2
push edx
lea ecx, [esp + 0x230]
mov dword [esp + 0x1724], 0
call fcn.004b6220
lea ecx, [esp + 0x220]
mov dword [esp + 0x1714], 0xffffffff
call fcn.004b60f0
mov eax, 1
jmp 0x4bf5d5
push str.SetFavBarPath
push edi
call ebp
test eax, eax
je 0x4bf5cc
push str.GetFavBarPath
push edi
call ebp
test eax, eax
jne 0x4bf447
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.004c0210
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 0x4f6580
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], ebx
mov eax, 1
jmp 0x4bf5d5
push str.GetAddFavButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf4a7
lea edx, [esp + 0x10]
mov ecx, 0x5ec7a8
push edx
push str.ShowAddButton
push 0x50dcd8
mov dword [esp + 0x1c], 1
call fcn.004260a0
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 0x4f6b34
push 0x13
push ecx
jmp 0x4bf5b9
push str.SetAddFavButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf51c
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, 0x5ec7a8
push eax
push str.ShowAddButton
push 0x50dcd8
mov dword [esp + 0x1c], 1
call fcn.004260a0
cmp esi, dword [esp + 0x10]
je 0x4bf5cc
push esi
push str.ShowAddButton
push 0x50dcd8
mov ecx, 0x5ec7a8
call fcn.004260c0
push esi
call fcn.004c0d40
mov ecx, eax
call fcn.004cffe0
mov eax, 1
jmp 0x4bf5d5
push str.SetNetButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf571
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.004c0380
mov eax, dword [esp + 0x18]
add esp, 8
cmp esi, eax
je 0x4bf5cc
push esi
call fcn.004c0360
add esp, 4
push esi
call fcn.004c0d40
mov ecx, eax
call fcn.004cffd0
mov eax, 1
jmp 0x4bf5d5
push str.GetNetButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf5d3
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.004c0380
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 0x4f6b34
push 0x13
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], 0x28
mov eax, 1
jmp 0x4bf5d5
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