Function at 0x1006e7d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013c711
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10182f40]
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 0x1006e829
mov ecx, ebx
call fcn.1006dd00
and dword [ebp - 0xd0], 0xfffffe00
mov dword [ebp - 0xcc], 0
lea edx, [ebp - 0xd8]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.10076b50
test al, al
jne 0x1006e866
lea edx, [ebp - 0xd8]
mov ecx, ebx
call fcn.1006dab0
test al, al
je 0x1006e8a4
cmp byte [ebp - 0xd0], 0
je 0x1006e8a4
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.10081ca0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x1006e8cf
xor ebx, ebx
lea ecx, [ebp - 0xd8]
call fcn.10080ed0
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.101149a0
mov esp, ebp
pop ebp
ret
add eax, 0x18
mov byte [ebp - 4], 1
cmp eax, 0x1018aee8
je 0x1006e8a4
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.10081710
push ecx
push str.bookmark_bar
mov ecx, eax
call fcn.10081710
push ecx
push str.children
mov ecx, eax
call fcn.10081710
push eax
lea ecx, [ebp - 0xc0]
call fcn.10080f90
mov ebx, dword [ebp - 0xb8]
test bl, bl
je 0x1006e94d
cmp bl, 6
je 0x1006e94d
lea ecx, [ebp - 0xc0]
xor ebx, ebx
call fcn.10080ed0
jmp 0x1006e8a6
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 0x1006e981
xor ecx, ecx
jmp 0x1006e98f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e986
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.1006f560
mov esi, dword [ebp - 0xa0]
cmp byte [esi], 0
jne 0x1006e9ab
xor ecx, ecx
jmp 0x1006e9b9
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e9b0
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 0x1006ea21
mov ebx, ecx
nop
movsx eax, byte [esi + ebx]
push eax
call fcn.1011cb1f
mov ecx, dword [ebp - 0xa4]
add esp, 4
mov byte [esi + ecx], al
inc esi
cmp esi, edi
jne 0x1006ea00
mov ebx, dword [ebp - 0xb8]
xor esi, esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x9c], esi
call fcn.100813a0
test eax, eax
je 0x1006ecb3
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.10081530
push ecx
push str.name
mov ecx, eax
call fcn.10081710
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.10081020
mov edi, eax
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x1006eac5
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1006eaaa
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d540
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.1006d4d0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1006eade
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1006d540
push esi
lea ecx, [ebp - 0xc0]
call fcn.10081530
push ecx
push 0x1016d95c
mov ecx, eax
call fcn.10081710
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.10081020
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1006eb3b
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006eb20
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006d540
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1006d4d0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1006eb54
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.1006d540
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 0x1006ebbe
mov ebx, dword [ebp - 0xa4]
nop word [eax + eax]
movsx eax, byte [ecx + esi]
push eax
call fcn.1011cb1f
mov ecx, dword [ebp - 0xc4]
add esp, 4
mov byte [ebx + esi], al
inc esi
cmp esi, edi
jne 0x1006eba0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.1006f170
test eax, eax
jne 0x1006ec30
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.1006f170
test eax, eax
jne 0x1006ec30
mov esi, dword [ebp - 0x9c]
test esi, esi
jne 0x1006ec49
cmp ebx, 0x10
jb 0x1006ebff
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d540
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1006ec26
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d540
mov ebx, 1
jmp 0x1006f0a6
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.1006f170
mov esi, dword [ebp - 0x9c]
test eax, eax
jne 0x1006ec58
push esi
lea ecx, [ebp - 0xc0]
call fcn.10081410
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x10
jb 0x1006ec6c
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1006d540
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1006ec93
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1006d540
inc esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x9c], esi
call fcn.100813a0
cmp esi, eax
jb 0x1006ea40
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.10080be0
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.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.10080ed0
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.10080be0
push 0xffffffffffffffff
push 0x1016d8c8
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 0x1016d8dc
call fcn.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
lea ecx, [ebp - 0x98]
call fcn.10080ed0
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.10080be0
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.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.10080ed0
lea eax, [ebp - 0x68]
push eax
sub esp, 8
lea ecx, [ebp - 0xb0]
push str.meta_info
call fcn.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.10080be0
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.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.10080ed0
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.10080be0
push 0xffffffffffffffff
push 0x1016d95c
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.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.10080ed0
mov eax, dword [ebp - 0x90]
and eax, 0xffffff04
mov dword [ebp - 0x8c], 0
or eax, 0x104
mov dword [ebp - 0x90], eax
call fcn.10080be0
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 0x1016d95c
call fcn.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
lea ecx, [ebp - 0x98]
call fcn.10080ed0
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.10081940
xor esi, esi
movsx eax, bl
cmp eax, 7
ja case.0x1006efca.0
jmp dword [eax*4 + 0x1006f110]
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 4], 0
je case.0x1006efca.0
mov eax, dword [eax]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], eax
call fcn.10082000
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x1006f005
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
cmp esi, eax
jae case.0x1006efca.0
push esi
lea ecx, [ebp - 0xc0]
call fcn.10081530
push eax
lea ecx, [ebp - 0x98]
call fcn.10081940
mov ebx, dword [ebp - 0xb8]
inc esi
jmp 0x1006efc2
push ecx
push str.roots
lea ecx, [ebp - 0xd8]
call fcn.10081710
push ecx
push str.bookmark_bar
mov ecx, eax
call fcn.10081710
lea ecx, [ebp - 0x98]
push ecx
sub esp, 8
mov ecx, eax
push str.children
call fcn.10081710
add esp, 4
mov ecx, eax
call fcn.10080f90
mov ecx, dword [ebp - 0xe0]
lea edx, [ebp - 0xd8]
call fcn.100767c0
test al, al
mov ecx, 1
mov ebx, 0
cmovne ebx, ecx
lea ecx, [ebp - 0x98]
call fcn.10080ed0
lea ecx, [ebp - 0x68]
call fcn.10080ed0
lea ecx, [ebp - 0xb0]
call fcn.10080ed0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1006f0bb
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1006d540
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x1006f0e8
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.1006d540
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.10080ed0
jmp 0x1006e8a6