Function at 0x10021da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c32da
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
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 edi, ecx
mov dword [ebp - 0x90], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
push dword [ebx]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10022204
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 0x10021ed4
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 dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000cf00
mov byte [ebp - 4], 1
call fcn.100a97a0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x147
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007f90
mov esi, eax
push str.Start_process_file:
push esi
mov byte [ebp - 4], 2
call fcn.1000fad0
mov ecx, dword [ebx]
mov edx, 0x101d2100
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.1000fad0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10008e90
lea ecx, [ebp - 0x28]
call fcn.10007310
lea ecx, [ebp - 0x40]
call fcn.10007310
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
push eax
push dword [ebx]
call fcn.1002c6f0
add esp, 8
cmp dword [ebp - 0x48], 0
jne 0x10021f08
xor ebx, ebx
jmp 0x100221d2
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1016fec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x100221c3
push str.roots
push esi
call fcn.1016fe00
add esp, 8
test eax, eax
je 0x100221c3
push str.bookmark_bar
push eax
call fcn.1016fe00
add esp, 8
test eax, eax
je 0x100221c3
push dword [ebp - 0x8c]
mov ecx, edi
push dword [ebp - 0x98]
push eax
call fcn.10022230
mov ebx, eax
mov dword [ebp - 0x8c], ebx
test ebx, ebx
je 0x100220c6
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.1005f550
add esp, 8
push dword [ebp - 0x90]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.10010c10
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x94]
push dword [eax]
call fcn.1002d9f0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.10007310
test edi, edi
jne 0x100220b7
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 0x100220ad
push 0x19
push str.BrowserBrowserChrome.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000cf00
mov byte [ebp - 4], 8
call fcn.100a97a0
mov ebx, eax
lea ecx, [ebp - 0x134]
push 0x15c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007f90
mov edi, eax
push 0x101d2e04
push edi
mov byte [ebp - 4], 9
call fcn.1000fad0
add esp, 8
mov ecx, edi
push dword [ebp - 0x94]
call fcn.1001fe60
mov edi, eax
push str.__modifycount
push edi
call fcn.10008dd0
add esp, 8
mov ecx, edi
push dword [ebp - 0x8c]
call fcn.1001ae40
mov edx, dword [ebx]
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10008e90
lea ecx, [ebp - 0x40]
call fcn.10007310
lea ecx, [ebp - 0x28]
call fcn.10007310
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.1000e5b0
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 0x100221bb
push 0x19
push str.BrowserBrowserChrome.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.1000cf00
mov byte [ebp - 4], 0xb
call fcn.100a97a0
mov edi, eax
lea ecx, [ebp - 0x1cc]
push 0x16e
lea eax, [ebp - 0x70]
mov dword [ebp - 0x98], edi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10007f90
mov ebx, eax
push str.Modify_count
push ebx
mov byte [ebp - 4], 0xc
call fcn.1000fad0
add esp, 8
mov ecx, ebx
push dword [ebp - 0x8c]
call fcn.1001ae40
push 0x101d2e60
push ebx
call fcn.10008dd0
mov edi, dword [edi]
add esp, 8
mov ecx, ebx
push dword [ebp - 0x94]
call fcn.1001fe60
mov ecx, dword [ebp - 0x98]
push eax
call dword [edi + 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.10008e90
lea ecx, [ebp - 0x88]
call fcn.10007310
lea ecx, [ebp - 0x70]
call fcn.10007310
mov ebx, dword [ebp - 0x8c]
jmp 0x100221c5
xor ebx, ebx
test esi, esi
je 0x100221d2
push esi
call fcn.1016fd50
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10022202
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100221f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022222
push edx
push ecx
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 0xc
call fcn.10190cce
int3