Function at 0x402fc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
call dword [0x415030]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push str.RenditionCacheFolder
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
call fcn.00401620
mov esi, eax
push 0x40e8f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401620
mov ebx, eax
push 0x40e8f0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00401620
mov eax, dword [eax]
mov esi, dword [esi]
mov ebx, dword [ebx]
lea edx, [ebp - 0x10]
push edx
push esi
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x48]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
mov eax, dword [ebp - 0x18]
push eax
setl bl
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
mov edx, dword [ebp - 0x20]
push edx
mov byte [ebp - 4], 0
call esi
test bl, bl
je 0x403082
push 1
push str.CHpodRenditionMgr::GetCacheFolder___Cannot_get_registry_entry_for_cache_sub_folder.
mov ecx, edi
call fcn.00402e50
mov edi, eax
mov eax, dword [ebp - 0x10]
push eax
jmp 0x403178
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403094
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
ja 0x4030a0
push 0
push str.CHpodRenditionMgr::GetCacheFolder___Empty_cache_sub_folder.
jmp 0x40316b
push 0x40e8f0
lea ecx, [ebp - 0x20]
call fcn.00401620
mov ebx, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [edi + 0x48]
mov edx, dword [eax]
push ebx
mov ebx, dword [ebp - 0x10]
push ebx
push ecx
push eax
mov byte [ebp - 4], 4
call dword [edx + 0x44]
test eax, eax
mov eax, dword [ebp - 0x20]
push eax
setl bl
mov byte [ebp - 4], 0
call esi
test bl, bl
je 0x4030e4
push 0
push str.CHpodRenditionMgr::GetCacheFolder___GetUserDataPath___call_failed.
jmp 0x40316b
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4030f8
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
ja 0x40310c
push 0
push str.CHpodRenditionMgr::GetCacheFolder___Empty_path_for_cache_folder_returned_from_registry.
mov ecx, edi
call fcn.00402e50
mov edx, dword [ebp - 0x10]
push edx
jmp 0x403176
push 0x40e9b8
mov ecx, ebx
call fcn.00402480
mov eax, dword [ebx]
test eax, eax
mov dword [ebp + 8], eax
je 0x40314a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and eax, 0xfffffffc
call fcn.0040c210
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, esp
push ecx
push ebx
push edx
push eax
call fcn.00401150
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403164
test al, 0x10
je 0x403164
mov eax, dword [ebp - 0x10]
push eax
call esi
xor eax, eax
jmp 0x40317c
push 0
push str.CHpodRenditionMgr::GetCacheFolder___Cache_directory_does_not_exist.
mov ecx, edi
call fcn.00402e50
mov ecx, dword [ebp - 0x10]
push ecx
mov edi, eax
call esi
mov eax, edi
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4