Function at 0x10076870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f3c4
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10184f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.10076af0
push 0x13
push str.Secure_Preferences
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10074860
and dword [ebp - 0x30], 0xfffffe00
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100768f4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x28]
call fcn.1007a410
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.10076cd0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x28]
call fcn.1007a080
lea ecx, [ebp - 0x38]
call fcn.10083a90
and dword [ebp - 0x60], 0xfffffe00
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.10076af0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1007696e
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10076951
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10073df0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x10076987
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006f8c0
push 0xc
push str.Preferences
lea ecx, [ebp - 0x28]
call fcn.10074860
mov eax, dword [ebp - 0x30]
and eax, 0xffffff05
mov dword [ebp - 0x2c], 0
or eax, 5
mov byte [ebp - 0x38], 1
mov dword [ebp - 0x30], eax
push ecx
push str.bookmark_bar
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.100842d0
lea ecx, [ebp - 0x38]
push ecx
push ecx
push str.show_on_all_tabs
mov ecx, eax
call fcn.100842d0
mov ecx, eax
call fcn.10083b50
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.10083a90
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x28]
call fcn.1007a080
lea ecx, [ebp - 0x58]
call fcn.10076690
push str.First_Run
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.100743e0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10076a51
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10076a34
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10073df0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x10076a66
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x10076a8f
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1006f8c0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
mov edx, 0x1016fa9a
call fcn.1007a610
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.10083a90
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10076ac6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006f8c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10116580
mov esp, ebp
pop ebp
ret