Function at 0x47dda0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b161
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3b0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x3c0]
mov ecx, 0xec
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x53577c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov esi, esp
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x20]
call eax
cmp esi, esp
call fcn.00504bf9
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x47de1f
mov esi, esp
mov eax, dword [ebp - 0x28]
push eax
call dword [0x50f3d4]
cmp esi, esp
call fcn.00504bf9
test eax, eax
jne 0x47de26
xor eax, eax
jmp 0x47e501
lea ecx, [ebp - 0x3c]
call fcn.00481310
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00481940
movzx eax, al
test eax, eax
jne 0x47de55
push 0x522690
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004819b0
mov byte [ebp - 4], 1
push str.urls
lea ecx, [ebp - 0x3c]
call fcn.00481470
mov byte [ebp - 0x3b5], al
mov al, byte [ebp - 0x3b5]
mov byte [ebp - 0x45], al
movzx eax, byte [ebp - 0x45]
test eax, eax
jne 0x47dea9
lea ecx, [ebp - 0x3c]
call fcn.00481410
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004813c0
mov eax, dword [ebp - 0x3b0]
jmp 0x47e501
jmp 0x47ded0
mov dword [ebp - 4], 0
jmp 0x47def3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0
call fcn.0046f980
mov ecx, eax
call fcn.0047d500
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push 0x522680
lea ecx, [ebp - 0xa0]
call fcn.004042e0
mov byte [ebp - 4], 3
push str.select__from_urls
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004815e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.004810e0
movzx eax, al
test eax, eax
jne 0x47e491
push 0x522690
push 0x514724
lea ecx, [ebp - 0xc0]
call fcn.00480f30
push eax
lea ecx, [ebp - 0xe4]
call fcn.00403cb0
mov byte [ebp - 4], 5
push 0x522690
lea eax, [ebp - 0xe4]
push eax
call fcn.00412b90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x47dfb2
lea ecx, [ebp - 0xc0]
call fcn.00481130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.00403d20
jmp 0x47df40
push 7
push 0
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040ca70
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], ecx
mov byte [ebp - 4], 6
push 0x514520
mov edx, dword [ebp - 0x3bc]
push edx
call fcn.00412bd0
add esp, 8
mov byte [ebp - 0x395], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38c]
call fcn.00403d20
movzx eax, byte [ebp - 0x395]
test eax, eax
je 0x47e031
lea ecx, [ebp - 0xc0]
call fcn.00481130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.00403d20
jmp 0x47df40
push 0x522690
push str.title
lea ecx, [ebp - 0xc0]
call fcn.00480f30
push eax
lea ecx, [ebp - 0x108]
call fcn.00403cb0
mov byte [ebp - 4], 7
push 0x522690
lea eax, [ebp - 0x108]
push eax
call fcn.00412b90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x47e081
push 0x514714
lea ecx, [ebp - 0x108]
call fcn.00405000
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x368], esp
lea eax, [ebp - 0x108]
push eax
call fcn.00403cf0
mov dword [ebp - 0x3b8], eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.0040bfd0
add esp, 0x20
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 8
push 0
push 0
push str.last_visit_time
lea ecx, [ebp - 0xc0]
call fcn.00480e60
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x344]
push ecx
call fcn.004147a0
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x35c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x358], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x354], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x350]
mov dword [ebp - 0x148], ecx
mov esi, esp
lea eax, [ebp - 0x16c]
push eax
call dword [0x50f194]
cmp esi, esp
call fcn.00504bf9
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.00414750
add esp, 8
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0x93a80
jle 0x47e1bb
lea ecx, [ebp - 0xc0]
call fcn.00481130
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.00404350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00403d20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.00403d20
jmp 0x47df40
lea eax, [ebp - 0x154]
push eax
call fcn.00414610
add esp, 4
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x78]
jg 0x47e22b
jl 0x47e1ee
mov ecx, dword [ebp - 0x188]
cmp ecx, dword [ebp - 0x7c]
ja 0x47e22b
lea ecx, [ebp - 0xc0]
call fcn.00481130
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.00404350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00403d20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.00403d20
jmp 0x47df40
cmp dword [ebp - 0x60], 0xbb8
jle 0x47e266
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.00404350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00403d20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.00403d20
jmp 0x47e491
push 0x522680
lea ecx, [ebp - 0x1ac]
call fcn.004042e0
mov byte [ebp - 4], 9
push 0x51451c
lea ecx, [ebp - 0x32c]
call fcn.004042e0
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3bc]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.004043d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x32c]
call fcn.00404350
lea eax, [ebp - 0x154]
push eax
call fcn.004147e0
add esp, 4
push eax
lea ecx, [ebp - 0x1ac]
call fcn.004043f0
push 0x514518
lea ecx, [ebp - 0x308]
call fcn.004042e0
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x3bc]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.004043d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x308]
call fcn.00404350
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2e4], esp
lea eax, [ebp - 0xe4]
push eax
call fcn.00403cf0
mov dword [ebp - 0x3b8], eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0040c2a0
add esp, 0x20
mov dword [ebp - 0x3bc], eax
mov edx, dword [ebp - 0x3bc]
mov dword [ebp - 0x3c0], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.004043d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2d8]
call fcn.00404350
push 0x514518
lea ecx, [ebp - 0x2b4]
call fcn.004042e0
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3bc]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.004043d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b4]
call fcn.00404350
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.004043d0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004043d0
cmp dword [ebp - 0x6c], 0x1e
jl 0x47e433
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x290], esp
lea eax, [ebp - 0xa0]
push eax
call fcn.00404320
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x1c]
call fcn.0047da50
mov dword [ebp - 0x6c], 0
push 0x522680
lea ecx, [ebp - 0xa0]
call fcn.004043a0
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0xc0]
call fcn.00481130
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ac]
call fcn.00404350
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.00404350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00403d20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.00403d20
jmp 0x47df40
cmp dword [ebp - 0x6c], 0
jle 0x47e4bc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x284], esp
lea eax, [ebp - 0xa0]
push eax
call fcn.00404320
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x1c]
call fcn.0047da50
lea ecx, [ebp - 0x3c]
call fcn.00481410
mov dword [ebp - 0x278], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc0]
call fcn.00480ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00404350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004813c0
mov eax, dword [ebp - 0x278]
push edx
mov ecx, ebp
push eax
lea edx, [0x47e53c]
call fcn.00504c1c
pop eax
pop edx
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.00453735
add esp, 0x3c0
cmp ebp, esp
call fcn.00504bf9
mov esp, ebp
pop ebp
ret