Function at 0x4fb96a
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.0040921d
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xf4]
push 5
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.00403f80
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 0x4fb9c6
xor bl, bl
jmp 0x4fc104
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 0x4fba51
test edi, edi
je 0x4fba51
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call ebx
mov esi, eax
pop ecx
test esi, esi
je 0x4fba51
cmp dword [ebp - 4], 0
je 0x4fba51
push esi
call fcn.005559e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc8]
call fcn.0043f8cc
push esi
call edi
pop ecx
cmp dword [ebp - 0xb8], 0
jne 0x4fba61
xor bl, bl
jmp 0x4fc0ad
push 0x18
call fcn.00415ffa
pop ecx
test eax, eax
je 0x4fba76
mov ecx, eax
call fcn.0043cdd4
jmp 0x4fba78
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 0x4fba8c
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.004fc5ec
pop ecx
pop ecx
push 0
push 0x5d0348
lea ecx, [ebp - 0x124]
call fcn.0044a169
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.004fb919
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 0x4fbf0c
mov eax, esi
lea ecx, [ebp - 0x124]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.0043e4ec
mov edi, eax
lea eax, [ebp - 0x20]
cmp eax, edi
je 0x4fbb45
mov ecx, eax
call fcn.00403f80
push edi
lea ecx, [ebp - 0x20]
call fcn.00444e92
lea ecx, [ebp - 0x38]
call fcn.00403f80
and dword [ebp - 4], 0
lea edi, [esi + 1]
push 0x5d034c
call fcn.00553a47
push 8
pop esi
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 0x20]
push eax
cmovae ecx, dword [ebp - 0x20]
push 0x5d034c
push 0
push dword [ebp - 0x10]
push ecx
call fcn.004472ce
add esp, 0x18
test eax, eax
jne 0x4fbd97
push 0x5ff8ec
lea ecx, [ebp - 0x38]
call fcn.0040921d
push str.HREF_
lea ecx, [ebp - 0x50]
call fcn.0040921d
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.004fb7cc
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0xb0]
cmp eax, esi
je 0x4fbbdf
mov ecx, eax
call fcn.00403f80
push esi
lea ecx, [ebp - 0xb0]
call fcn.00444e92
lea ecx, [ebp - 0x10c]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
push 0x5ff8ec
lea ecx, [ebp - 0x50]
call fcn.0040921d
push str.ADD_DATE_
lea ecx, [ebp - 0x38]
call fcn.0040921d
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.004fb7cc
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x98]
cmp eax, esi
je 0x4fbc52
mov ecx, eax
call fcn.00403f80
push esi
lea ecx, [ebp - 0x98]
call fcn.00444e92
lea ecx, [ebp - 0x10c]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
push 0x5d0384
lea ecx, [ebp - 0x50]
call fcn.0040921d
push 0x5d0388
lea ecx, [ebp - 0x38]
call fcn.0040921d
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.004fb7cc
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x80]
cmp eax, esi
je 0x4fbcbf
mov ecx, eax
call fcn.00403f80
push esi
lea ecx, [ebp - 0x80]
call fcn.00444e92
lea ecx, [ebp - 0x10c]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
push 0x14
call fcn.00415ffa
pop ecx
test eax, eax
je 0x4fbcf1
mov ecx, eax
call fcn.0043cccc
mov esi, eax
jmp 0x4fbcf3
xor esi, esi
push 0x5cffb4
lea ecx, [ebp - 0x38]
call fcn.0040921d
lea eax, [ebp - 0xb0]
push eax
call fcn.0043d062
pop ecx
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0043d6e7
lea ecx, [ebp - 0x38]
call fcn.00403f80
push str.title
lea ecx, [ebp - 0x38]
call fcn.0040921d
lea eax, [ebp - 0x80]
push eax
call fcn.0043d062
pop ecx
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0043d6e7
lea ecx, [ebp - 0x38]
call fcn.00403f80
cmp dword [ebp - 0x58], 0
je 0x4fbd7d
push str.path
lea ecx, [ebp - 0x38]
call fcn.0040921d
lea eax, [ebp - 0x68]
push eax
call fcn.0043d062
pop ecx
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0043d6e7
lea ecx, [ebp - 0x38]
call fcn.00403f80
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.0043e0c8
jmp 0x4fbee4
push 0x5d038c
call fcn.00553a47
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 0x20]
push eax
cmovae ecx, dword [ebp - 0x20]
push 0x5d038c
push 0
push dword [ebp - 0x10]
push ecx
call fcn.004472ce
add esp, 0x18
test eax, eax
jne 0x4fbe65
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004fb871
push 0x5d0384
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xa
call fcn.0040921d
push 0x5d0388
lea ecx, [ebp - 0x38]
call fcn.0040921d
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.004fb7cc
push eax
lea eax, [ebp - 0x10c]
push 0x5fb114
push eax
call fcn.004bea70
add esp, 0x20
mov ecx, eax
cmp dword [eax + 0x14], esi
jb 0x4fbe31
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00409b94
lea ecx, [ebp - 0x10c]
call fcn.00403f80
lea ecx, [ebp - 0x13c]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
jmp 0x4fbee4
push str.__DL__P_
call fcn.00553a47
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.004472ce
add esp, 0x18
test eax, eax
jne 0x4fbee4
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x4fbece
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.004065d3
lea ecx, [ebp - 0xdc]
call fcn.004fc7b2
jmp 0x4fbee4
mov esi, 0x5f9b70
push esi
call fcn.00553a47
pop ecx
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.00407f20
push edi
push 0x5d0348
lea ecx, [ebp - 0x124]
call fcn.0044a169
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fbb17
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
push 8
pop esi
cmp edx, esi
jb 0x4fbf4b
lea eax, [edx*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x4fbf3c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
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 0x4fbf97
mov ecx, dword [ebp - 0x98]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x4fbf8e
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
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 0x4fbfef
mov ecx, dword [ebp - 0xb0]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x4fbfe6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
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 0x4fc041
mov ecx, dword [ebp - 0x68]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x4fc038
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
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.004fb94a
mov eax, dword [ebp - 0xc]
cmp eax, esi
jb 0x4fc095
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x4fc08c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
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.00403f80
mov eax, dword [ebp - 0xb4]
pop edi
pop esi
cmp eax, 0x10
jb 0x4fc0ec
mov ecx, dword [ebp - 0xc8]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x4fc0e3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
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.00403f80
mov al, bl
pop ebx
leave
ret 4