Function at 0x1006e810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10137661
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1017cf40]
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, edx
mov dword [ebp - 0xdc], edi
mov ebx, ecx
mov dword [ebp - 0xe0], ebx
mov edx, dword [ebp + 8]
push ebx
mov dword [ebp - 0xa0], edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006e869
mov ecx, ebx
call fcn.1006dd40
and dword [ebp - 0xd0], 0xfffffe00
mov dword [ebp - 0xcc], 0
lea edx, [ebp - 0xd8]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.10079f50
test al, al
jne 0x1006e8a6
lea edx, [ebp - 0xd8]
mov ecx, ebx
call fcn.1006daf0
test al, al
je 0x1006e8e4
cmp byte [ebp - 0xd0], 0
je 0x1006e8e4
mov esi, dword [ebp - 0xd8]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xa8], str.roots
push eax
mov ecx, esi
mov dword [ebp - 0xa4], 0
call fcn.1007f1f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x1006e90f
xor ebx, ebx
lea ecx, [ebp - 0xd8]
call fcn.1007e420
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.1010f1c0
mov esp, ebp
pop ebp
ret
add eax, 0x18
mov byte [ebp - 4], 1
cmp eax, 0x10185020
je 0x1006e8e4
and dword [ebp - 0xb8], 0xfffffe00
mov dword [ebp - 0xb4], 0
push ecx
push str.roots
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.1007ec60
push ecx
push str.bookmark_bar
mov ecx, eax
call fcn.1007ec60
push ecx
push str.children
mov ecx, eax
call fcn.1007ec60
push eax
lea ecx, [ebp - 0xc0]
call fcn.1007e4e0
mov ebx, dword [ebp - 0xb8]
test bl, bl
je 0x1006e98d
cmp bl, 6
je 0x1006e98d
lea ecx, [ebp - 0xc0]
xor ebx, ebx
call fcn.1007e420
jmp 0x1006e8e6
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 7
cmp byte [edi], 0
jne 0x1006e9c1
xor ecx, ecx
jmp 0x1006e9cf
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e9c6
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.1006f560
mov esi, dword [ebp - 0xa0]
cmp byte [esi], 0
jne 0x1006e9eb
xor ecx, ecx
jmp 0x1006e9f9
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e9f0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.1006f560
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
cmp esi, 0x10
cmovae eax, edx
cmovae ecx, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x48]
add eax, ecx
cmp esi, 0x10
lea ecx, [ebp - 0x58]
mov edi, eax
cmovae ecx, edx
xor edx, edx
sub edi, ecx
xor esi, esi
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x1006ea61
mov ebx, ecx
nop
movsx eax, byte [esi + ebx]
push eax
call fcn.10117481
mov ecx, dword [ebp - 0xa4]
add esp, 4
mov byte [esi + ecx], al
inc esi
cmp esi, edi
jne 0x1006ea40
mov ebx, dword [ebp - 0xb8]
xor esi, esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x9c], esi
call fcn.1007e8f0
test eax, eax
je 0x1006ecf3
nop dword [eax]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.1007ea80
push ecx
push str.name
mov ecx, eax
call fcn.1007ec60
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.1007e570
mov edi, eax
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x1006eb05
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1006eaea
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d5b0
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.1006d540
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1006eb1e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1006d5b0
push esi
lea ecx, [ebp - 0xc0]
call fcn.1007ea80
push ecx
push 0x10168a28
mov ecx, eax
call fcn.1007ec60
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.1007e570
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1006eb7b
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006eb60
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006d5b0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1006d540
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1006eb94
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1006d5b0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmp ebx, 0x10
cmovae eax, edx
cmovae ecx, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
add eax, ecx
cmp ebx, 0x10
lea ecx, [ebp - 0x28]
mov edi, eax
cmovae ecx, edx
xor edx, edx
sub edi, ecx
mov dword [ebp - 0xc4], ecx
xor esi, esi
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x1006ebfe
mov ebx, dword [ebp - 0xa4]
nop word [eax + eax]
movsx eax, byte [ecx + esi]
push eax
call fcn.10117481
mov ecx, dword [ebp - 0xc4]
add esp, 4
mov byte [ebx + esi], al
inc esi
cmp esi, edi
jne 0x1006ebe0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.1006f1b0
test eax, eax
jne 0x1006ec70
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.1006f1b0
test eax, eax
jne 0x1006ec70
mov esi, dword [ebp - 0x9c]
test esi, esi
jne 0x1006ec89
cmp ebx, 0x10
jb 0x1006ec3f
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d5b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1006ec66
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d5b0
mov ebx, 1
jmp 0x1006f0e6
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.1006f1b0
mov esi, dword [ebp - 0x9c]
test eax, eax
jne 0x1006ec98
push esi
lea ecx, [ebp - 0xc0]
call fcn.1007e960
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x10
jb 0x1006ecac
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d5b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1006ecd3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d5b0
inc esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x9c], esi
call fcn.1007e8f0
cmp esi, eax
jb 0x1006ea80
mov ebx, dword [ebp - 0xb8]
and dword [ebp - 0xa8], 0xfffffe00
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.1007e130
push 0xffffffffffffffff
push str.13200757869761410
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xe
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push str.date_added
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.1007e420
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.1007e130
push 0xffffffffffffffff
push 0x10168994
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xf
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push 0x101689a8
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
lea ecx, [ebp - 0x98]
call fcn.1007e420
and dword [ebp - 0x60], 0xfffffe00
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.1007e130
push 0xffffffffffffffff
push str.13200757869761592
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x12
push eax
sub esp, 8
lea ecx, [ebp - 0x68]
push str.last_visited_desktop
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.1007e420
lea eax, [ebp - 0x68]
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push str.meta_info
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.1007e130
push 0xffffffffffffffff
push dword [ebp - 0xdc]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x13
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push str.name
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.1007e420
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.1007e130
push 0xffffffffffffffff
push 0x10168a28
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x14
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push str.type
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.1007e420
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.1007e130
mov edx, dword [ebp - 0xa0]
push 0xffffffffffffffff
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x98]
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push 0x10168a28
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
lea ecx, [ebp - 0x98]
call fcn.1007e420
and dword [ebp - 0x90], 0xfffffe00
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x98]
call fcn.1007ee90
xor esi, esi
movsx eax, bl
cmp eax, 7
ja case.0x1006f00a.0
jmp dword [eax*4 + 0x1006f150]
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 4], 0
je case.0x1006f00a.0
mov eax, dword [eax]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], eax
call fcn.1007f550
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x1006f045
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
cmp esi, eax
jae case.0x1006f00a.0
push esi
lea ecx, [ebp - 0xc0]
call fcn.1007ea80
push eax
lea ecx, [ebp - 0x98]
call fcn.1007ee90
mov ebx, dword [ebp - 0xb8]
inc esi
jmp 0x1006f002
push ecx
push str.roots
lea ecx, [ebp - 0xd8]
call fcn.1007ec60
push ecx
push str.bookmark_bar
mov ecx, eax
call fcn.1007ec60
lea ecx, [ebp - 0x98]
push ecx
sub esp, 8
mov ecx, eax
push str.children
call fcn.1007ec60
add esp, 4
mov ecx, eax
call fcn.1007e4e0
mov ecx, dword [ebp - 0xe0]
lea edx, [ebp - 0xd8]
call fcn.10079bc0
test al, al
mov ecx, 1
mov ebx, 0
cmovne ebx, ecx
lea ecx, [ebp - 0x98]
call fcn.1007e420
lea ecx, [ebp - 0x68]
call fcn.1007e420
lea ecx, [ebp - 0xb0]
call fcn.1007e420
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1006f0fb
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1006d5b0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x1006f128
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.1006d5b0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.1007e420
jmp 0x1006e8e6