Function at 0x10022a50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c3408
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 dword [ebp - 0x50], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
push dword [ebx]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10022ce8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push dword [ebx]
call fcn.1002c6f0
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x10022ada
xor edi, edi
jmp 0x10022cb6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1016fec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10022ca7
push str.roots
push esi
call fcn.1016fe00
add esp, 8
test eax, eax
je 0x10022ca7
push str.bookmark_bar
push eax
call fcn.1016fe00
add esp, 8
test eax, eax
je 0x10022ca7
push str.children
push eax
call fcn.1016fe00
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10022ca7
call fcn.1016fca0
mov edi, eax
test edi, edi
je 0x10022ca7
push str.13127551599884999
call fcn.1016fcd0
push eax
push str.date_added
push edi
call fcn.1016fc20
push 0x101d2654
call fcn.1016fcd0
push eax
push 0x101d29dc
push edi
call fcn.1016fc20
add esp, 0x20
lea ecx, [ebp - 0x48]
call fcn.10020010
mov ecx, 0x3e8
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], ecx
lea eax, [ebp - 0x48]
cmovge ecx, dword [ebp + 0xc]
push ecx
push 0x101d2d68
push eax
call fcn.100132f0
push dword [ebp - 0x48]
push 0x101d2a84
push edi
call fcn.1005f660
mov eax, dword [ebp - 0x44]
push dword [eax]
push 0x101d29fc
push edi
call fcn.1005f660
mov eax, dword [ebp - 0x58]
push dword [eax]
push 0x101d2654
push edi
call fcn.1005f660
add esp, 0x30
cmp dword [ebp + 0x1c], 0
je 0x10022beb
push edi
push ebx
call fcn.1016fbf0
add esp, 8
jmp 0x10022bf7
push 0
push edi
push ebx
call fcn.1005f6d0
add esp, 0xc
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.1005f550
add esp, 8
push dword [ebp - 0x54]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.10010c10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
mov eax, dword [ebp - 0x5c]
push dword [eax]
call fcn.1002d9f0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.10007310
test edi, edi
je 0x10022c95
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx + 0x24], 0
je 0x10022c95
push 0x101d1840
lea ecx, [ebp - 0x44]
call fcn.10010980
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 5
mov eax, dword [ecx]
call dword [eax]
mov edx, eax
mov ecx, dword [ebx + 0x24]
mov byte [ebp - 4], 6
mov dword [ebp - 0x50], 1
test ecx, ecx
je 0x10022d06
mov eax, dword [ecx]
lea ebx, [ebp - 0x44]
push ebx
lea ebx, [ebp - 0x50]
push ebx
push edx
call dword [eax + 8]
lea ecx, [ebp - 0x4c]
call fcn.1000e5b0
lea ecx, [ebp - 0x44]
call fcn.1000e5b0
lea ecx, [ebp - 0x54]
call fcn.1000e5b0
lea ecx, [ebp - 0x48]
call fcn.1000e5b0
jmp 0x10022ca9
xor edi, edi
test esi, esi
je 0x10022cb6
push esi
call fcn.1016fd50
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10022ce6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022cdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022d0b
push edx
push ecx
call fcn.101799c0
add esp, 8
mov eax, edi
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 0x1c
call fcn.100a2560
call fcn.10190cce
int3