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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4e373b
push eax
mov eax, 0x16fc
mov dword fs:[0], esp
call fcn.004ace40
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 0x4bf139
mov eax, dword [esi + 0x428]
mov ecx, dword [esi + 0x424]
push eax
push ecx
mov ecx, ebx
call fcn.004b8cd0
push str.OptionLoginFav
push edi
call ebp
test eax, eax
jne 0x4bf164
mov edx, dword [esi + 0x428]
mov eax, dword [esi + 0x424]
push edx
push eax
mov ecx, ebx
call fcn.004b8ed0
mov eax, 1
jmp 0x4bf915
push str.ExitIntenetFav
push edi
call ebp
test eax, eax
jne 0x4bf181
mov ecx, ebx
call fcn.004b9190
mov eax, 1
jmp 0x4bf915
push str.SetAutoSyncFav
push edi
call ebp
test eax, eax
jne 0x4bf1af
mov ecx, dword [esi + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004be630
mov eax, 1
jmp 0x4bf915
push str.MergeIntenetFav
push edi
call ebp
test eax, eax
jne 0x4bf1cc
mov ecx, ebx
call fcn.004b8510
mov eax, 1
jmp 0x4bf915
push str.getNetFavUsername
push edi
call ebp
test eax, eax
jne 0x4bf238
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 0x4f6574
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 0x4bf915
push str.getAutoState
push edi
call ebp
test eax, eax
jne 0x4bf26e
mov ecx, ebx
call fcn.004be740
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 0x4bf8eb
push str.getIsLogin
push edi
call ebp
test eax, eax
jne 0x4bf292
mov ecx, ebx
call fcn.004be720
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf568
push str.getIsFirstTheworld
push edi
call ebp
test eax, eax
jne 0x4bf2ed
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.004ad6f0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4bf2de
mov ebx, 1
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf568
push str.GetMergeState
push edi
call ebp
test eax, eax
jne 0x4bf331
mov ecx, ebx
call fcn.004b9390
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 0x4f6b28
push 0x13
push ecx
jmp 0x4bf8f9
push str.GetCurFavSource
push edi
call ebp
test eax, eax
jne 0x4bf397
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
call fcn.004c05d0
add esp, 4
mov ecx, ebx
call fcn.004be800
mov ebx, eax
cmp ebx, 2
jne 0x4bf377
cmp dword [esp + 0x10], 3
jne 0x4bf388
push 0x28
mov ebx, 3
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf568
cmp ebx, 1
jne 0x4bf388
cmp dword [esp + 0x10], 2
jne 0x4bf388
mov ebx, 4
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf568
push str.ReloadFav
push edi
call ebp
test eax, eax
jne 0x4bf3db
push eax
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x4bf3b9
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.004be8c0
mov eax, 1
jmp 0x4bf915
push str.UpFavToServer
push edi
call ebp
test eax, eax
jne 0x4bf400
mov edx, dword [esi + 0x41c]
mov ecx, ebx
push edx
push eax
call fcn.004bee70
mov eax, 1
jmp 0x4bf915
push str.DownFavToClient
push edi
call ebp
test eax, eax
jne 0x4bf426
mov eax, dword [esi + 0x41c]
mov ecx, ebx
push eax
push 1
call fcn.004bee70
mov eax, 1
jmp 0x4bf915
push str.ImportIeFavToSelf
push edi
call ebp
test eax, eax
jne 0x4bf44a
mov ecx, dword [esi + 0x41c]
push ecx
mov ecx, ebx
call fcn.004befd0
mov eax, 1
jmp 0x4bf915
push str.ExportFav
push edi
call ebp
test eax, eax
jne 0x4bf46e
mov edx, dword [esi + 0x41c]
mov ecx, ebx
push edx
call fcn.004bf070
mov eax, 1
jmp 0x4bf915
push str.IsFavImpact
push edi
call ebp
test eax, eax
jne 0x4bf492
mov ecx, ebx
call fcn.004be810
push 0x28
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
jmp 0x4bf568
push str.SetMergeMode
push edi
call ebp
test eax, eax
jne 0x4bf4c0
mov ecx, dword [esi + 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov ecx, ebx
push eax
call fcn.004be820
mov eax, 1
jmp 0x4bf915
push str.GetAutoLogin
push edi
call ebp
test eax, eax
jne 0x4bf511
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
push edx
call fcn.004c04e0
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 0x4f6b28
push 0x13
push ecx
jmp 0x4bf8f9
push str.SetAutoLogin
push edi
call ebp
test eax, eax
jne 0x4bf53d
mov edx, dword [esi + 0x424]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
push eax
call fcn.004c0480
add esp, 8
mov eax, 1
jmp 0x4bf915
push str.GetLastSyncTime
push edi
call ebp
test eax, eax
jne 0x4bf58d
call fcn.004c1070
mov ecx, eax
call fcn.004c78c0
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 0x4f6b28
push 0x13
push eax
jmp 0x4bf8f9
push str.SetFavouritePath
push edi
call ebp
test eax, eax
jne 0x4bf5c3
mov ecx, dword [esi + 0x428]
push ecx
call fcn.004ce1a0
add esp, 4
test eax, eax
je 0x4bf90c
push 3
mov ecx, ebx
call fcn.004be8c0
mov eax, 1
jmp 0x4bf915
push str.GetFavouritePath
push edi
call ebp
test eax, eax
jne 0x4bf68a
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.004c0520
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 0x4bf638
push eax
lea ecx, [esp + 0x1c]
push 6
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4bf638
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.004c0500
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 0x4f6574
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], ebx
mov eax, 1
jmp 0x4bf915
push str.SelectFavBarPath
push edi
call ebp
test eax, eax
jne 0x4bf6e7
lea ecx, [esp + 0x220]
call fcn.004b6380
mov edx, dword [esi + 0x41c]
push 0
push 0
push 2
push edx
lea ecx, [esp + 0x230]
mov dword [esp + 0x1724], 0
call fcn.004b6560
lea ecx, [esp + 0x220]
mov dword [esp + 0x1714], 0xffffffff
call fcn.004b6430
mov eax, 1
jmp 0x4bf915
push str.SetFavBarPath
push edi
call ebp
test eax, eax
je 0x4bf90c
push str.GetFavBarPath
push edi
call ebp
test eax, eax
jne 0x4bf787
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.004c0540
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 0x4f6574
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], ebx
mov eax, 1
jmp 0x4bf915
push str.GetAddFavButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf7e7
lea edx, [esp + 0x10]
mov ecx, 0x5ec778
push edx
push str.ShowAddButton
push 0x50dca8
mov dword [esp + 0x1c], 1
call fcn.00426d40
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 0x4f6b28
push 0x13
push ecx
jmp 0x4bf8f9
push str.SetAddFavButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf85c
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, 0x5ec778
push eax
push str.ShowAddButton
push 0x50dca8
mov dword [esp + 0x1c], 1
call fcn.00426d40
cmp esi, dword [esp + 0x10]
je 0x4bf90c
push esi
push str.ShowAddButton
push 0x50dca8
mov ecx, 0x5ec778
call fcn.00426d60
push esi
call fcn.004c1070
mov ecx, eax
call fcn.004d02d0
mov eax, 1
jmp 0x4bf915
push str.SetNetButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf8b1
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.004c06b0
mov eax, dword [esp + 0x18]
add esp, 8
cmp esi, eax
je 0x4bf90c
push esi
call fcn.004c0690
add esp, 4
push esi
call fcn.004c1070
mov ecx, eax
call fcn.004d02c0
mov eax, 1
jmp 0x4bf915
push str.GetNetButtonVisble
push edi
call ebp
test eax, eax
jne 0x4bf913
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.004c06b0
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 0x4f6b28
push 0x13
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [esi + 0x420], 0x28
mov eax, 1
jmp 0x4bf915
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