Function at 0x100206c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c308b
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebx]
push ecx
push esp
call dword [eax]
mov ecx, ebx
call fcn.100133b0
test al, al
je 0x10020815
call fcn.100a97a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100207e9
push 0x19
push str.BrowserBrowserChrome.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000cf00
mov byte [ebp - 4], 2
call fcn.100a97a0
mov edi, eax
lea ecx, [ebp - 0xf8]
push 0x1c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007f90
mov esi, eax
push str.alread_read_local_ini_favrite
push esi
mov byte [ebp - 4], 3
call fcn.1000fad0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.10008e90
lea ecx, [ebp - 0x28]
call fcn.10007310
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10007310
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x1002080b
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x50]
mov ecx, eax
push edi
push esi
push dword [eax + 4]
call fcn.1001a8c0
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ebx, 1
jmp 0x10020a7f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x54], eax
cmp eax, dword [ebx + 8]
je 0x10020a3d
nop dword [eax + eax]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax]
sub eax, 0x10
mov byte [ebp - 4], 4
push eax
call fcn.100121a0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 5
jge 0x10020882
push 0x104
lea ecx, [ebp - 0x58]
call fcn.1000f500
mov esi, dword [ebp - 0x58]
cmp dword [esi - 8], 0x104
jl 0x10020ae9
push str.Bookmarks
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [esi - 8]
push esi
call fcn.101952b4
add esp, 8
test eax, eax
js 0x10020ae9
cmp eax, dword [esi - 8]
jg 0x10020ae9
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100208e9
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1002c6f0
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x1002094c
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002090b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10020a2b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002093d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10020ae4
push edx
push ecx
call fcn.101799c0
add esp, 8
jmp 0x10020a2b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1016fec0
mov edi, eax
add esp, 4
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 6
test edi, edi
jne 0x100209c7
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10020989
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10020a2b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100209bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10020ae4
push edx
push ecx
call fcn.101799c0
add esp, 8
jmp 0x10020a2b
push str.roots
push edi
call fcn.1016fe00
add esp, 8
test eax, eax
je 0x100209fa
push str.bookmark_bar
push eax
call fcn.1016fe00
add esp, 8
test eax, eax
je 0x100209fa
push eax
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
push dword [ebp - 0x5c]
call fcn.10023af0
push edi
call fcn.1016fd50
add esp, 4
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10020a1f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10007310
mov eax, dword [ebp - 0x54]
add eax, 4
mov dword [ebp - 0x54], eax
cmp eax, dword [ebx + 8]
jne 0x10020830
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebx]
push ecx
push esp
mov ecx, ebx
call dword [eax]
mov ecx, ebx
call fcn.10015670
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x10020a72
push dword [ebp - 0x60]
mov eax, dword [ebp - 0x50]
mov ecx, eax
push edi
push esi
push dword [eax + 4]
call fcn.1001a8c0
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
xor ebx, ebx
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
setne bl
test esi, esi
je 0x10020ac4
cmp esi, edi
je 0x10020a98
mov ecx, esi
call fcn.10011550
add esi, 0x20
cmp esi, edi
jne 0x10020a87
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffe0
cmp ecx, 0x1000
jb 0x10020aba
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10020ae4
push ecx
push esi
call fcn.101799c0
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret 8
call fcn.10190cce
push 0x80070057
call fcn.10009b10
int3