Function at 0x5264b8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push str.ExportFavHtml.dll
lea ecx, [ebp - 0x50]
call fcn.00408fc4
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xf4]
push 5
push eax
call fcn.004c0910
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.00403d40
cmp dword [ebp - 0xe0], 8
lea eax, [ebp - 0xf4]
cmovae eax, dword [ebp - 0xf4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x526514
xor bl, bl
jmp 0x526c52
cmp dword [ebp - 0xe0], 8
lea eax, [ebp - 0xf4]
push esi
cmovae eax, dword [ebp - 0xf4]
xor ebx, ebx
push edi
push 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.ExportFavHtml
push edi
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], 0xf
call esi
push str.FreeExportFavHtmlStr
push edi
mov ebx, eax
call esi
mov edi, eax
test ebx, ebx
je 0x52659f
test edi, edi
je 0x52659f
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call ebx
mov esi, eax
pop ecx
test esi, esi
je 0x52659f
cmp dword [ebp - 4], 0
je 0x52659f
push esi
call fcn.00580400
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc8]
call fcn.0043f664
push esi
call edi
pop ecx
cmp dword [ebp - 0xb8], 0
jne 0x5265af
xor bl, bl
jmp 0x526bfb
push 0x18
call fcn.00415d9b
pop ecx
test eax, eax
je 0x5265c4
mov ecx, eax
call fcn.0043cb74
jmp 0x5265c6
xor eax, eax
mov edx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov ecx, dword [edx]
mov dword [edx], eax
test ecx, ecx
je 0x5265da
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0052713a
pop ecx
pop ecx
push 0
push 0x5e4320
lea ecx, [ebp - 0x124]
call fcn.00452e2a
xor edi, edi
mov dword [ebp - 0xc], 7
and dword [ebp - 0x20], edi
lea ecx, [ebp - 0xdc]
and dword [ebp - 0x10], edi
mov esi, eax
call fcn.00526467
xor edx, edx
mov dword [ebp - 0x68], edx
mov ecx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x80], ecx
push 7
pop eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x84], eax
push eax
pop edx
mov dword [ebp - 0x6c], edx
cmp esi, 0xffffffff
je 0x526a5a
mov eax, esi
lea ecx, [ebp - 0x124]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.0043e28c
mov edi, eax
lea eax, [ebp - 0x20]
cmp eax, edi
je 0x526693
mov ecx, eax
call fcn.00403d40
push edi
lea ecx, [ebp - 0x20]
call fcn.00444c2a
lea ecx, [ebp - 0x38]
call fcn.00403d40
and dword [ebp - 4], 0
lea edi, [esi + 1]
push 0x5e4324
call fcn.0057e469
push 8
pop esi
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 0x20]
push eax
cmovae ecx, dword [ebp - 0x20]
push 0x5e4324
push 0
push dword [ebp - 0x10]
push ecx
call fcn.00447066
add esp, 0x18
test eax, eax
jne 0x5268e5
push 0x6122dc
lea ecx, [ebp - 0x38]
call fcn.00408fc4
push str.HREF_
lea ecx, [ebp - 0x50]
call fcn.00408fc4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0052631a
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0xb0]
cmp eax, esi
je 0x52672d
mov ecx, eax
call fcn.00403d40
push esi
lea ecx, [ebp - 0xb0]
call fcn.00444c2a
lea ecx, [ebp - 0x10c]
call fcn.00403d40
lea ecx, [ebp - 0x50]
call fcn.00403d40
lea ecx, [ebp - 0x38]
call fcn.00403d40
push 0x6122dc
lea ecx, [ebp - 0x50]
call fcn.00408fc4
push str.ADD_DATE_
lea ecx, [ebp - 0x38]
call fcn.00408fc4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0052631a
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x98]
cmp eax, esi
je 0x5267a0
mov ecx, eax
call fcn.00403d40
push esi
lea ecx, [ebp - 0x98]
call fcn.00444c2a
lea ecx, [ebp - 0x10c]
call fcn.00403d40
lea ecx, [ebp - 0x38]
call fcn.00403d40
lea ecx, [ebp - 0x50]
call fcn.00403d40
push 0x5e435c
lea ecx, [ebp - 0x50]
call fcn.00408fc4
push 0x5e4360
lea ecx, [ebp - 0x38]
call fcn.00408fc4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0052631a
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x80]
cmp eax, esi
je 0x52680d
mov ecx, eax
call fcn.00403d40
push esi
lea ecx, [ebp - 0x80]
call fcn.00444c2a
lea ecx, [ebp - 0x10c]
call fcn.00403d40
lea ecx, [ebp - 0x38]
call fcn.00403d40
lea ecx, [ebp - 0x50]
call fcn.00403d40
push 0x14
call fcn.00415d9b
pop ecx
test eax, eax
je 0x52683f
mov ecx, eax
call fcn.0043ca6c
mov esi, eax
jmp 0x526841
xor esi, esi
push 0x5e3f94
lea ecx, [ebp - 0x38]
call fcn.00408fc4
lea eax, [ebp - 0xb0]
push eax
call fcn.0043ce02
pop ecx
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0043d487
lea ecx, [ebp - 0x38]
call fcn.00403d40
push str.title
lea ecx, [ebp - 0x38]
call fcn.00408fc4
lea eax, [ebp - 0x80]
push eax
call fcn.0043ce02
pop ecx
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0043d487
lea ecx, [ebp - 0x38]
call fcn.00403d40
cmp dword [ebp - 0x58], 0
je 0x5268cb
push str.path
lea ecx, [ebp - 0x38]
call fcn.00408fc4
lea eax, [ebp - 0x68]
push eax
call fcn.0043ce02
pop ecx
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0043d487
lea ecx, [ebp - 0x38]
call fcn.00403d40
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
push eax
call fcn.0043de68
jmp 0x526a32
push 0x5e4364
call fcn.0057e469
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 0x20]
push eax
cmovae ecx, dword [ebp - 0x20]
push 0x5e4364
push 0
push dword [ebp - 0x10]
push ecx
call fcn.00447066
add esp, 0x18
test eax, eax
jne 0x5269b3
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xdc]
call fcn.005263bf
push 0x5e435c
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xa
call fcn.00408fc4
push 0x5e4360
lea ecx, [ebp - 0x38]
call fcn.00408fc4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0052631a
push eax
lea eax, [ebp - 0x10c]
push 0x60db0c
push eax
call fcn.004ce0e0
add esp, 0x20
mov ecx, eax
cmp dword [eax + 0x14], esi
jb 0x52697f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040993b
lea ecx, [ebp - 0x10c]
call fcn.00403d40
lea ecx, [ebp - 0x13c]
call fcn.00403d40
lea ecx, [ebp - 0x38]
call fcn.00403d40
lea ecx, [ebp - 0x50]
call fcn.00403d40
jmp 0x526a32
push str.__DL__P_
call fcn.0057e469
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 0x20]
push eax
cmovae ecx, dword [ebp - 0x20]
push str.__DL__P_
push 0
push dword [ebp - 0x10]
push ecx
call fcn.00447066
add esp, 0x18
test eax, eax
jne 0x526a32
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x526a1c
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xdc]
add eax, ecx
mov ecx, dword [edx + 8]
dec ecx
mov dword [ebp - 4], eax
dec eax
and ecx, eax
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x68]
call fcn.00406392
lea ecx, [ebp - 0xdc]
call fcn.00527300
jmp 0x526a32
mov esi, 0x60c5e0
push esi
call fcn.0057e469
pop ecx
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.00407cc7
push edi
push 0x5e4320
lea ecx, [ebp - 0x124]
call fcn.00452e2a
mov esi, eax
cmp esi, 0xffffffff
jne 0x526665
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
push 8
pop esi
cmp edx, esi
jb 0x526a99
lea eax, [edx*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x526a8a
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
mov eax, dword [ebp - 0x84]
pop ecx
pop ecx
and dword [ebp - 0x70], 0
xor ecx, ecx
mov word [ebp - 0x80], cx
push 7
pop edi
mov dword [ebp - 0x6c], edi
cmp eax, esi
jb 0x526ae5
mov ecx, dword [ebp - 0x98]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x526adc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
and dword [ebp - 0x88], 0
xor eax, eax
mov word [ebp - 0x98], ax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], edi
cmp eax, esi
jb 0x526b3d
mov ecx, dword [ebp - 0xb0]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x526b34
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
and dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], edi
cmp eax, esi
jb 0x526b8f
mov ecx, dword [ebp - 0x68]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x526b86
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
and dword [ebp - 0x58], 0
lea ecx, [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0x54], edi
mov word [ebp - 0x68], ax
call fcn.00526498
mov eax, dword [ebp - 0xc]
cmp eax, esi
jb 0x526be3
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x526bda
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0xc], edi
mov word [ebp - 0x20], ax
call fcn.00403d40
mov eax, dword [ebp - 0xb4]
pop edi
pop esi
cmp eax, 0x10
jb 0x526c3a
mov ecx, dword [ebp - 0xc8]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x526c31
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
and dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
lea ecx, [ebp - 0xf4]
call fcn.00403d40
mov al, bl
pop ebx
leave
ret 4