Function at 0x40d330
Capabilities:
Check if file exists

Disassembly:
push 0x9c
mov eax, 0x5bdcf1
call fcn.00598f2b
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov esi, ebx
call fcn.004102c5
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.004acc17
test al, al
jne 0x40d383
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xc]
jb 0x40d383
mov eax, esi
jmp 0x40d391
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
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.004acc17
test al, al
je 0x40d7e6
push 1
call fcn.0040d164
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x63696c]
mov esi, 0x63696c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0040d7ff
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0xffffffff
mov dword [ebp - 0x10], edi
jne 0x40d4a5
mov eax, dword [0x63696c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
call fcn.0044612c
cmp word [section..JuziBro], di
je 0x40d46d
mov eax, dword [0x63696c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.0044612c
mov edx, eax
call fcn.00447f10
push 0x83b
call fcn.0047e8f4
mov esi, dword [ebp - 0x10]
pop ecx
push eax
push esi
push 0x5dddd8
lea eax, [ebp - 0x20]
call fcn.00404f66
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.00407b6b
jmp 0x40d482
push 0x83b
call fcn.0047e8f4
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407af8
or dword [ebp - 0x4c], 0xffffffff
lea eax, [ebp - 0x20]
lea edi, [ebp - 0x48]
call fcn.0040a3cc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00407b6b
jmp 0x40d569
mov eax, dword [ebp - 0x28]
push edi
call fcn.0046ffe2
test eax, eax
je 0x40d7d1
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push str.select__from_bookmark_main_where_bm_id___d
call fcn.00404f66
pop ecx
pop ecx
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call fcn.0047016d
mov ebx, eax
test ebx, ebx
je 0x40d7d1
jmp 0x40d54c
lea edi, [ebp - 0x88]
call fcn.0040d079
mov eax, edi
push eax
push 0
push ebx
mov byte [ebp - 4], 4
call fcn.004701ef
test eax, eax
je 0x40d53d
lea eax, [ebp - 0x7c]
push eax
push 4
push ebx
call fcn.004701ef
test eax, eax
je 0x40d53d
push ebx
push 5
lea edi, [ebp - 0x84]
call fcn.00470212
test eax, eax
je 0x40d53d
xor esi, esi
inc esi
cmp dword [ebp - 0x7c], esi
jne 0x40d53d
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov eax, edi
lea edi, [ebp - 0x48]
call fcn.0040a3cc
mov dword [ebp - 0x10], esi
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.004a8e68
push ebx
call fcn.004701be
test eax, eax
jne 0x40d4df
push ebx
call fcn.004701db
cmp dword [ebp - 0x10], 0
je 0x40d7d1
mov ebx, dword [ebp + 8]
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d791
mov eax, dword [ebp - 0x28]
push 0
call fcn.0046ffe2
test eax, eax
je 0x40d791
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push str.select__from_bookmark_main_where_bm_parent___d
call fcn.00404f66
pop ecx
pop ecx
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call fcn.0047016d
mov ebx, eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x40d78e
lea eax, [ebp - 0xa8]
push eax
call fcn.0040fb09
mov byte [ebp - 4], 5
jmp 0x40d6ea
lea edi, [ebp - 0x88]
call fcn.0040d079
mov eax, edi
push eax
push 0
push ebx
mov byte [ebp - 4], 6
call fcn.004701ef
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x7c]
push eax
push 4
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x70]
push eax
push 3
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x78]
push eax
push 1
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x74]
push eax
push 2
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
push ebx
push 5
lea edi, [ebp - 0x84]
call fcn.00470212
test eax, eax
je 0x40d6db
push ebx
push 6
lea edi, [ebp - 0x80]
call fcn.00470212
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x6c]
push eax
push 7
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x68]
push eax
push 8
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x60]
push eax
push 9
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
lea eax, [ebp - 0x58]
push eax
push 0xa
push ebx
call fcn.004701ef
test eax, eax
je 0x40d6db
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xa8]
push eax
lea ebx, [ebp - 0x10]
call fcn.0040fb5a
lea ebx, [ebp - 0x88]
mov esi, eax
call fcn.0040d854
cmp dword [ebp - 0x78], 0xffffffff
jne 0x40d6d8
mov eax, ebx
push eax
lea eax, [ebp - 0x44]
call fcn.0040f7f9
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.004a8e68
push ebx
call fcn.004701be
test eax, eax
jne 0x40d5cb
push ebx
call fcn.004701db
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
push 0x38
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x40d77e
jmp 0x40d76e
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea ebx, [ebp - 0xa8]
call fcn.0040fc29
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa8]
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.004acc17
test al, al
jne 0x40d77e
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
push 0x38
cdq
pop ecx
idiv ecx
cmp eax, dword [ebp - 0x8c]
je 0x40d77e
mov esi, edi
call fcn.0041083f
add eax, 8
push eax
lea eax, [ebp - 0x44]
call fcn.0040f7f9
lea eax, [ebp - 0x44]
call fcn.0040f7cc
mov eax, dword [eax + 0x14]
cmp eax, 0xffffffff
jne 0x40d710
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 1
call fcn.0040fc01
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x4c]
push ebx
lea ebx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0040f915
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov dword [esi], eax
lea edi, [esi + 4]
lea eax, [ebp - 0x48]
call fcn.0040a3cc
lea eax, [esi + 8]
lea esi, [ebp - 0x44]
call fcn.0040f66a
mov eax, dword [ebp - 0x4c]
push dword [ebp + 8]
lea ebx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0040f915
mov dword [ebp - 0x20], eax
lea edi, [ebp - 0x4c]
call fcn.0040d832
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407b6b
jmp 0x40d7f4
lea esi, [ebp - 0x14]
call fcn.00518626
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.00599003
ret 8