Function at 0x10006be0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10150508
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x10198e28]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x144], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x11c]
mov ebx, dword [ebp + 8]
push edx
mov dword [ebp - 0x140], ebx
call dword [eax + 8]
push dword [ebp - 0x11c]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10006c71
mov edx, dword [ebp - 0x11c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007060
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10007060
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 1
call fcn.10074f40
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.10004c90
push dword [eax]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 3
call fcn.10075880
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x10006cc3
push eax
call fcn.1012f829
add esp, 4
push str.select_url_title__create_time_from_tb_fav
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x174]
call fcn.10075500
mov byte [ebp - 4], 4
or esi, 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.100754c0
test al, al
jne 0x10007010
lea ecx, [ebp - 0x13c]
call fcn.100029d0
push 0x1015b9dc
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 5
call fcn.100756b0
lea ecx, [ebp - 0x114]
push 0xfde9
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x118]
push eax
call fcn.100062c0
mov edx, dword [ebp - 0x118]
mov byte [ebp - 4], 6
test edx, edx
jne 0x10006d42
xor ecx, ecx
jmp 0x10006d56
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006d47
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x134]
call fcn.10006430
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
cmp eax, ecx
je 0x10006d80
push eax
call fcn.1012f829
add esp, 4
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x168]
cmp dword [eax - 0xc], 0
jne 0x10006e39
call fcn.10075800
mov edx, dword [ebp - 0x12c]
mov eax, esi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10006dbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x130]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10006dd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x134]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10006df6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x138]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10006e13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x13c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10006ce1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10006ce1
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push str.create_time
call fcn.10075730
fstp qword [ebp - 0x14c]
movsd xmm0, qword [ebp - 0x14c]
call fcn.1011bd3f
mov dword [ebp - 0x120], edx
mov edi, eax
mov dword [ebp - 0x124], edi
test edx, edx
jg 0x10006e85
jl 0x10006e7a
cmp edi, 0x64
jae 0x10006e85
lea ecx, [ebp - 0x168]
jmp 0x10006d96
cmp edx, 0x1634578
jg 0x10006eb8
jl 0x10006e97
cmp edi, 0x5d8a0000
jae 0x10006eb8
mov eax, edi
mov ecx, edx
shld ecx, eax, 2
shl eax, 2
add edi, eax
adc edx, ecx
shld edx, edi, 1
add edi, edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edi
push 0x1015b9ec
lea ecx, [ebp - 0x168]
call fcn.100756b0
lea ecx, [ebp - 0x114]
push 0xfde9
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x118]
push eax
call fcn.100062c0
mov edx, dword [ebp - 0x118]
mov byte [ebp - 4], 7
test edx, edx
jne 0x10006ef7
xor ecx, ecx
jmp 0x10006f0f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006f00
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.10006430
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
cmp eax, ecx
je 0x10006f39
push eax
call fcn.1012f829
add esp, 4
mov ecx, dword [ebp - 0x144]
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x13c]
add edi, 0xfffffff0
mov byte [ebp - 4], 8
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x10006fb7
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x10006fa2
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x10006fa2
push edx
call fcn.10005580
add esp, 4
mov dword [ebp - 0x148], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10006f97
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x148]
add eax, 0x10
mov dword [ebp - 0x13c], eax
jmp 0x10006fb1
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.10006430
mov ebx, dword [ebp - 0x140]
mov edx, dword [ebp - 0x150]
mov eax, esi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10006fd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x13c]
push ecx
cmp dword [ebx + 8], eax
je 0x10006ffd
mov ecx, eax
call fcn.10004f20
add dword [ebx + 4], 0x20
lea ecx, [ebp - 0x168]
jmp 0x10006d96
push eax
mov ecx, ebx
call fcn.10004640
lea ecx, [ebp - 0x168]
jmp 0x10006d96
lea ecx, [ebp - 0x168]
call fcn.100752b0
lea ecx, [ebp - 0x174]
call fcn.100751f0
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10007048
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x10007062
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1011bafc
mov esp, ebp
pop ebp
ret 4