Function at 0x418a27
Capabilities:
Check if file exists

Disassembly:
push 0x9c
mov eax, 0x564a80
call fcn.005399db
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov esi, ebx
call fcn.0041b2d6
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.00470a9c
test al, al
jne 0x418a7a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xc]
jb 0x418a7a
mov eax, esi
jmp 0x418a88
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
call fcn.00470a9c
test al, al
je 0x418e43
call fcn.00418960
mov dword [ebp - 0x20], eax
mov eax, dword [0x5beb28]
mov ecx, 0x5beb28
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00418e5c
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0xffffffff
mov dword [ebp - 0x10], esi
jne 0x418afe
or dword [ebp - 0x4c], 0xffffffff
push str.6e9Y
lea eax, [ebp - 0x48]
push eax
call fcn.004082ed
jmp 0x418bc4
mov eax, dword [ebp - 0x20]
push 1
push esi
call fcn.004a32e1
test eax, eax
je 0x418e2e
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push str.select__from_bookmarks_where_id____d
call fcn.004167f4
pop ecx
pop ecx
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.004a33c7
mov ebx, eax
test ebx, ebx
je 0x418e2e
jmp 0x418ba7
lea edi, [ebp - 0x88]
call fcn.0041887b
mov eax, edi
push eax
push 0
push ebx
mov byte [ebp - 4], 2
call fcn.004a344d
test eax, eax
je 0x418b98
lea eax, [ebp - 0x7c]
push eax
push 4
push ebx
call fcn.004a344d
test eax, eax
je 0x418b98
push ebx
push 5
lea edi, [ebp - 0x84]
call fcn.004a3470
test eax, eax
je 0x418b98
xor esi, esi
inc esi
cmp dword [ebp - 0x7c], esi
jne 0x418b98
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov eax, edi
lea edi, [ebp - 0x48]
call fcn.0041a538
mov dword [ebp - 0x10], esi
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.004ab997
push ebx
call fcn.004a3418
test eax, eax
jne 0x418b3a
push ebx
call fcn.004a3437
cmp dword [ebp - 0x10], 0
je 0x418e2e
mov ebx, dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418dee
mov eax, dword [ebp - 0x20]
push 1
push 0
call fcn.004a32e1
test eax, eax
je 0x418dee
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push str.select__from_bookmarks_where_parent____d
call fcn.004167f4
pop ecx
pop ecx
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.004a33c7
mov ebx, eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x418deb
lea eax, [ebp - 0xa8]
push eax
call fcn.0041aae3
mov byte [ebp - 4], 3
jmp 0x418d47
lea edi, [ebp - 0x88]
call fcn.0041887b
mov eax, edi
push eax
push 0
push ebx
mov byte [ebp - 4], 4
call fcn.004a344d
test eax, eax
je 0x418d38
lea eax, [ebp - 0x7c]
push eax
push 4
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
lea eax, [ebp - 0x70]
push eax
push 3
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
lea eax, [ebp - 0x78]
push eax
push 1
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
lea eax, [ebp - 0x74]
push eax
push 2
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
push ebx
push 5
lea edi, [ebp - 0x84]
call fcn.004a3470
test eax, eax
je 0x418d38
push ebx
push 6
lea edi, [ebp - 0x80]
call fcn.004a3470
test eax, eax
je 0x418d38
lea eax, [ebp - 0x6c]
push eax
push 7
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
lea eax, [ebp - 0x68]
push eax
push 8
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
lea eax, [ebp - 0x60]
push eax
push 9
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
lea eax, [ebp - 0x58]
push eax
push 0xa
push ebx
call fcn.004a344d
test eax, eax
je 0x418d38
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xa8]
push eax
lea ebx, [ebp - 0x10]
call fcn.0041ab37
lea ebx, [ebp - 0x88]
mov esi, eax
call fcn.00418ed7
cmp dword [ebp - 0x78], 0xffffffff
jne 0x418d35
mov eax, ebx
push eax
lea eax, [ebp - 0x44]
call fcn.0041a76b
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.004ab997
push ebx
call fcn.004a3418
test eax, eax
jne 0x418c28
push ebx
call fcn.004a3437
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
push 0x38
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x418ddb
jmp 0x418dcb
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ebx, [ebp - 0xa8]
call fcn.0041ac06
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa8]
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00470a9c
test al, al
jne 0x418ddb
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
push 0x38
cdq
pop ecx
idiv ecx
cmp eax, dword [ebp - 0x8c]
je 0x418ddb
mov esi, edi
call fcn.0041b637
add eax, 8
push eax
lea eax, [ebp - 0x44]
call fcn.0041a76b
lea eax, [ebp - 0x44]
call fcn.0041a73e
mov eax, dword [eax + 0x14]
cmp eax, 0xffffffff
jne 0x418d6d
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 1
call fcn.0041abde
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x4c]
push ebx
lea ebx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0041a889
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov dword [esi], eax
lea edi, [esi + 4]
lea eax, [ebp - 0x48]
call fcn.0041a538
lea eax, [esi + 8]
lea esi, [ebp - 0x44]
call fcn.0041a5af
mov eax, dword [ebp - 0x4c]
push dword [ebp + 8]
lea ebx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0041a889
mov dword [ebp - 0x28], eax
lea edi, [ebp - 0x4c]
call fcn.00418ea9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407d09
jmp 0x418e51
lea esi, [ebp - 0x14]
call fcn.00446b9d
add eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.00539ab3
ret 8