Function at 0x678ea0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x7c7e6e
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp + 0x50], edi
lea ecx, [ebp + 0x54]
call fcn.00678790
mov eax, dword [edi]
mov edx, dword [eax + 8]
lea ecx, [ebp + 0x70]
push ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call edx
mov eax, dword [ebp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x678f47
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x678f22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x54]
call fcn.00678b50
mov ecx, dword [ebp + 0x68]
push ecx
call fcn.00704960
mov edx, dword [ebp + 0x54]
push edx
mov dword [ebp + 0x68], esi
call fcn.00704960
add esp, 8
jmp 0x679259
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00604620
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 3
call fcn.00604460
mov eax, dword [ebp + 0x70]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00607360
push str.select_url_title__create_time_from_tb_fav
lea ecx, [ebp + 0x34]
push ecx
lea ecx, [ebp + 8]
call fcn.006069b0
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 5
call fcn.006053c0
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 4
call fcn.00605360
mov bl, 6
jmp 0x678fa0
lea ecx, [ebp + 0x14]
call fcn.00605910
test al, al
jne 0x679198
lea ecx, [ebp + 0x2c]
call fcn.00648b30
push 0x83096c
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call fcn.00606c20
push 0xfde9
lea edx, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], edx
call fcn.00580860
mov esi, dword [ebp - 0x114]
mov byte [ebp - 4], 7
test esi, esi
jne 0x678ff7
xor eax, eax
jmp 0x67900f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x679000
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x34]
call fcn.00406740
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], bl
cmp eax, ecx
je 0x679035
push eax
call fcn.007238ab
add esp, 4
mov edx, dword [ebp + 0x34]
cmp dword [edx - 0xc], 0
lea ecx, [ebp + 0x14]
jne 0x679057
call fcn.00605960
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 4
call fcn.00675d50
jmp 0x678fa0
push 0
push 0
push str.create_time
call fcn.00606cf0
mov ecx, eax
mov eax, edx
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], eax
test eax, eax
jg 0x67907f
jl 0x67907a
cmp ecx, 0x64
jae 0x67907f
lea ecx, [ebp + 0x14]
jmp 0x679041
cmp eax, 0x1634578
jg 0x6790a1
jl 0x679090
cmp ecx, 0x5d8a0000
jae 0x6790a1
push 0
push 0xa
push eax
push ecx
call fcn.00729750
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], edx
push str.title
lea ecx, [ebp + 0x14]
call fcn.00606c20
lea ecx, [ebp - 0x110]
push 0xfde9
mov dword [ebp - 0x114], ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.00580860
mov esi, dword [ebp - 0x114]
mov byte [ebp - 4], 8
test esi, esi
jne 0x6790dd
xor eax, eax
jmp 0x6790f1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6790e2
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.00406740
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
mov byte [ebp - 4], bl
cmp eax, edx
je 0x679117
push eax
call fcn.007238ab
add esp, 4
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [ebp + 0x4c]
push ecx
mov ecx, edi
call edx
push eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 9
call fcn.00404210
mov eax, dword [ebp + 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x679152
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x68]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [ebp + 0x2c]
push ecx
push edx
push eax
lea ecx, [ebp + 0x54]
call fcn.006760b0
push 1
lea ecx, [ebp + 0x54]
mov esi, eax
call fcn.00676150
mov dword [edi], esi
mov eax, dword [esi + 4]
lea ecx, [ebp + 0x14]
mov dword [eax], esi
call fcn.00605960
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 4
call fcn.00675d50
mov edi, dword [ebp + 0x50]
jmp 0x678fa0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 3
call fcn.00605360
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.006067f0
mov eax, dword [ebp + 0x70]
mov ebx, 1
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6791db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x68]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp + 0x68]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], 0
cmp esi, eax
je 0x679212
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.00675d50
push esi
call fcn.00704960
mov eax, dword [ebp + 0x68]
add esp, 4
mov esi, edi
cmp edi, eax
jne 0x6791f6
push eax
call fcn.00704960
mov ecx, dword [ebp + 0x54]
push ecx
mov dword [ebp + 0x68], 0
call fcn.00704960
add esp, 8
mov eax, ebx
jmp 0x67925b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4