Function at 0x403cbe
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x42b6ce
call fcn.0041afb1
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403f63
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
and dword [ebp - 0x18], ebx
and dword [ebp - 4], ebx
xor edi, edi
mov dword [ebp - 0x2c], edi
sub esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040418e
or esi, 0xffffffff
test eax, eax
js 0x403f43
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.0040443c
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x403d2c
push 0x80004003
call fcn.00417e40
push eax
call fcn.0040446f
cmp ax, si
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
sete bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
je 0x403f40
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x403d22
lea eax, [ebp + 8]
push eax
call fcn.00404400
push eax
lea ecx, [ebp - 0x2c]
call fcn.004041f9
mov eax, dword [ebp + 8]
test eax, eax
je 0x403d74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.video
call fcn.004042e8
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x403d22
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.004043a2
mov byte [ebp - 4], 4
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403d22
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x20]
mov ebx, 0x1048
mov dword [ebp - 0x14], 1
push ebx
call fcn.00417e2e
pop ecx
push ebx
mov dword [ebp + 8], eax
call fcn.00417e2e
mov esi, eax
mov dword [esp], 0x9c40
mov dword [ebp - 0x24], esi
call fcn.00417e2e
pop ecx
push ebx
mov dword [ebp - 0x10], eax
call fcn.00417e2e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
test ecx, ecx
je 0x403f08
test esi, esi
je 0x403f01
cmp dword [ebp - 0x10], 0
je 0x403f01
test ebx, ebx
je 0x403f01
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], eax
jle 0x403f01
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x403d22
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004042ac
push 0x824
mov byte [ebp - 4], 5
push dword [ebp + 8]
mov esi, dword [ebp - 0x30]
push str.title
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x403e60
mov eax, dword [esi]
push esi
call dword [eax + 4]
call fcn.00403b6d
push 0x824
push dword [ebp - 0x24]
push str.litpic
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x403e81
mov eax, dword [esi]
push esi
call dword [eax + 4]
call fcn.00403b6d
push 0x4e20
push dword [ebp - 0x10]
push str.desc
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x403ea2
mov eax, dword [esi]
push esi
call dword [eax + 4]
call fcn.00403b6d
push 0x824
push ebx
push str.playerUrl
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x403ec1
mov eax, dword [esi]
push esi
call dword [eax + 4]
call fcn.00403b6d
mov eax, dword [ebp + 0xc]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x24]
mov ecx, dword [eax]
push dword [ebp + 8]
push dword [ebp - 0x1c]
call fcn.00410e24
mov byte [ebp - 4], 4
test esi, esi
je 0x403eeb
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jl 0x403e28
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push ecx
call fcn.004183e2
pop ecx
test esi, esi
je 0x403f13
push esi
call fcn.004183e2
pop ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403f21
push eax
call fcn.004183e2
pop ecx
test ebx, ebx
je 0x403f2c
push ebx
call fcn.004183e2
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403f3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or esi, 0xffffffff
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test edi, edi
je 0x403f51
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x403f61
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
call fcn.0041af8e
ret 8