Function at 0x1001dce0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2c82
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x1022b584]
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 - 0x15c], ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push dword [esi]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x158], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e179
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], 0
call fcn.100acbb0
push 0xfde9
push dword [esi]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
call fcn.100aae50
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x1001dd74
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100ad960
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1001ddb8
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ddae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e26b
push edx
push ecx
call fcn.101799c0
add esp, 8
push str.select_id__url_title__create_time_from_tb_fav
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100ad540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
call fcn.100ad3e0
test al, al
jne 0x1001e163
lea ecx, [ebp - 0x34]
call fcn.10010fa0
push 0x101d2654
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 4
call fcn.100ad7a0
lea ecx, [ebp - 0x14c]
push 0xfde9
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x150]
push eax
call fcn.1001cd40
mov edx, dword [ebp - 0x150]
mov byte [ebp - 4], 5
test edx, edx
jne 0x1001de31
xor ecx, ecx
jmp 0x1001de45
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001de36
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.1000f6e0
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 4
cmp eax, ecx
je 0x1001de6c
push eax
call fcn.10190ee6
add esp, 4
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x180]
cmp dword [eax - 0xc], 0
jne 0x1001df18
call fcn.100ad8e0
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001dea3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001debe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ded9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001def4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ddd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001ddd3
push 0
push 0
push str.create_time
call fcn.100ad820
mov dword [ebp - 0x18], edx
mov esi, eax
mov dword [ebp - 0x1c], esi
test edx, edx
jg 0x1001df44
jl 0x1001df39
cmp esi, 0x64
jae 0x1001df44
lea ecx, [ebp - 0x180]
jmp 0x1001de7f
cmp edx, 0x1634578
jg 0x1001df71
jl 0x1001df56
cmp esi, 0x5d8a0000
jae 0x1001df71
mov eax, esi
mov ecx, edx
shld ecx, eax, 2
shl eax, 2
add esi, eax
adc edx, ecx
shld edx, esi, 1
add esi, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
push str.title
lea ecx, [ebp - 0x180]
call fcn.100ad7a0
lea ecx, [ebp - 0x14c]
push 0xfde9
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x150]
push eax
call fcn.1001cd40
mov edx, dword [ebp - 0x150]
mov byte [ebp - 4], 6
test edx, edx
jne 0x1001dfb0
xor ecx, ecx
jmp 0x1001dfc4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001dfb5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.1000f6e0
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 4
cmp eax, ecx
je 0x1001dfeb
push eax
call fcn.10190ee6
add esp, 4
mov ecx, dword [ebp - 0x15c]
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x34]
add esi, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x1001e061
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1001e04f
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1001e04f
push edx
call fcn.100121a0
add esp, 4
mov dword [ebp - 0x154], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x1001e047
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x154]
add eax, 0x10
mov dword [ebp - 0x34], eax
jmp 0x1001e05b
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x34]
call fcn.1000f6e0
mov edi, dword [ebp - 0x158]
mov edx, dword [ebp - 0x160]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e083
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x101d2a84
lea ecx, [ebp - 0x180]
call fcn.100ad860
cmp dword [edi], eax
jge 0x1001e09b
mov dword [edi], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x154], 0x3e8
mov dword [ebp - 0x168], 0x3e8
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1001e270
mov eax, dword [ecx]
lea edx, [ebp - 0x154]
push edx
lea edx, [ebp - 0x168]
push edx
lea edx, [ebp - 0x34]
push edx
call dword [eax + 8]
test eax, eax
je 0x1001e147
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.100117f0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 4]
call fcn.100117f0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 8]
call fcn.100117f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0xc]
call fcn.100117f0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x10]
call fcn.100117f0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x1c], eax
call fcn.10011550
lea ecx, [ebp - 0x180]
call fcn.100acf20
lea ecx, [ebp - 0x18c]
call fcn.100ace60
mov eax, 1
jmp 0x1001e17b
lea ecx, [ebp - 0x180]
call fcn.100ad8e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10011550
jmp 0x1001ddd3
lea ecx, [ebp - 0x180]
call fcn.100acf20
lea ecx, [ebp - 0x18c]
call fcn.100ace60
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.101799ce
mov esp, ebp
pop ebp
ret 0x10
call fcn.10190cce
call fcn.100a2560
int3