Function at 0x1006e8a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013ea11
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10184f40]
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 0x1006e8f9
mov ecx, ebx
call fcn.1006ddd0
and dword [ebp - 0xd0], 0xfffffe00
mov dword [ebp - 0xcc], 0
lea edx, [ebp - 0xd8]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.1007a410
test al, al
jne 0x1006e936
lea edx, [ebp - 0xd8]
mov ecx, ebx
call fcn.1006db80
test al, al
je 0x1006e974
cmp byte [ebp - 0xd0], 0
je 0x1006e974
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.10084860
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x1006e99f
xor ebx, ebx
lea ecx, [ebp - 0xd8]
call fcn.10083a90
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.10116580
mov esp, ebp
pop ebp
ret
add eax, 0x18
mov byte [ebp - 4], 1
cmp eax, 0x1018d020
je 0x1006e974
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.100842d0
push ecx
push str.bookmark_bar
mov ecx, eax
call fcn.100842d0
push ecx
push str.children
mov ecx, eax
call fcn.100842d0
push eax
lea ecx, [ebp - 0xc0]
call fcn.10083b50
mov ebx, dword [ebp - 0xb8]
test bl, bl
je 0x1006ea1d
cmp bl, 6
je 0x1006ea1d
lea ecx, [ebp - 0xc0]
xor ebx, ebx
call fcn.10083a90
jmp 0x1006e976
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 0x1006ea51
xor ecx, ecx
jmp 0x1006ea5f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ea56
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.1006f630
mov esi, dword [ebp - 0xa0]
cmp byte [esi], 0
jne 0x1006ea7b
xor ecx, ecx
jmp 0x1006ea89
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ea80
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.1006f630
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 0x1006eaf1
mov ebx, ecx
nop
movsx eax, byte [esi + ebx]
push eax
call fcn.1011e831
mov ecx, dword [ebp - 0xa4]
add esp, 4
mov byte [esi + ecx], al
inc esi
cmp esi, edi
jne 0x1006ead0
mov ebx, dword [ebp - 0xb8]
xor esi, esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x9c], esi
call fcn.10083f60
test eax, eax
je 0x1006ed83
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.100840f0
push ecx
push str.name
mov ecx, eax
call fcn.100842d0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.10083be0
mov edi, eax
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x1006eb95
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1006eb7a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d640
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.1006d5d0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1006ebae
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1006d640
push esi
lea ecx, [ebp - 0xc0]
call fcn.100840f0
push ecx
push 0x1016fa4c
mov ecx, eax
call fcn.100842d0
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.10083be0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1006ec0b
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006ebf0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006d640
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1006d5d0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1006ec24
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1006d640
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 0x1006ec8e
mov ebx, dword [ebp - 0xa4]
nop word [eax + eax]
movsx eax, byte [ecx + esi]
push eax
call fcn.1011e831
mov ecx, dword [ebp - 0xc4]
add esp, 4
mov byte [ebx + esi], al
inc esi
cmp esi, edi
jne 0x1006ec70
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.1006f240
test eax, eax
jne 0x1006ed00
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.1006f240
test eax, eax
jne 0x1006ed00
mov esi, dword [ebp - 0x9c]
test esi, esi
jne 0x1006ed19
cmp ebx, 0x10
jb 0x1006eccf
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d640
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1006ecf6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d640
mov ebx, 1
jmp 0x1006f176
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.1006f240
mov esi, dword [ebp - 0x9c]
test eax, eax
jne 0x1006ed28
push esi
lea ecx, [ebp - 0xc0]
call fcn.10083fd0
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x10
jb 0x1006ed3c
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d640
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1006ed63
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d640
inc esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x9c], esi
call fcn.10083f60
cmp esi, eax
jb 0x1006eb10
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.100837a0
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.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.10083a90
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.100837a0
push 0xffffffffffffffff
push 0x1016f9b8
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 0x1016f9cc
call fcn.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
lea ecx, [ebp - 0x98]
call fcn.10083a90
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.100837a0
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.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.10083a90
lea eax, [ebp - 0x68]
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push str.meta_info
call fcn.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.100837a0
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.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.10083a90
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.100837a0
push 0xffffffffffffffff
push 0x1016fa4c
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.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.10083a90
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.100837a0
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 0x1016fa4c
call fcn.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
lea ecx, [ebp - 0x98]
call fcn.10083a90
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.10084500
xor esi, esi
movsx eax, bl
cmp eax, 7
ja case.0x1006f09a.0
jmp dword [eax*4 + 0x1006f1e0]
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 4], 0
je case.0x1006f09a.0
mov eax, dword [eax]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], eax
call fcn.10084bc0
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x1006f0d5
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
cmp esi, eax
jae case.0x1006f09a.0
push esi
lea ecx, [ebp - 0xc0]
call fcn.100840f0
push eax
lea ecx, [ebp - 0x98]
call fcn.10084500
mov ebx, dword [ebp - 0xb8]
inc esi
jmp 0x1006f092
push ecx
push str.roots
lea ecx, [ebp - 0xd8]
call fcn.100842d0
push ecx
push str.bookmark_bar
mov ecx, eax
call fcn.100842d0
lea ecx, [ebp - 0x98]
push ecx
sub esp, 8
mov ecx, eax
push str.children
call fcn.100842d0
add esp, 4
mov ecx, eax
call fcn.10083b50
mov ecx, dword [ebp - 0xe0]
lea edx, [ebp - 0xd8]
call fcn.1007a080
test al, al
mov ecx, 1
mov ebx, 0
cmovne ebx, ecx
lea ecx, [ebp - 0x98]
call fcn.10083a90
lea ecx, [ebp - 0x68]
call fcn.10083a90
lea ecx, [ebp - 0xb0]
call fcn.10083a90
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1006f18b
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1006d640
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x1006f1b8
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.1006d640
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.10083a90
jmp 0x1006e976