Function at 0x452650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dfe26
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x66c0e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x328], ecx
call fcn.004b5c24
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4526aa
push 0x80004005
call fcn.004047e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x320], eax
mov ecx, dword [0x66dac0]
push str.VistaSrv.DLL
push ecx
lea edx, [ebp - 0x320]
push str._s_s
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x324], 0xffffffff
call fcn.004065c0
mov eax, dword [ebp - 0x320]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x32c], edi
test edi, edi
je 0x45297f
push str.ImportPlaylistFile
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x334], eax
test eax, eax
je 0x452978
lea ecx, [ebp - 0x320]
push ecx
push 0xb4
mov ecx, 0x66d9e8
call fcn.00440520
mov edx, dword [ebp - 0x320]
mov esi, dword [edx - 0xc]
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a8048
mov edi, eax
add esp, 4
mov dword [ebp - 0x330], edi
test edi, edi
je 0x452789
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.005bb320
mov ecx, dword [ebp - 0x320]
push esi
push edi
push esi
push ecx
call fcn.0041a880
add esp, 0x1c
lea edx, [ebp - 0x320]
push edx
push 0x88
mov ecx, 0x66d9e8
call fcn.00440520
mov eax, dword [ebp - 0x320]
mov esi, dword [eax - 0xc]
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a8048
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4527e8
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.005bb320
mov ecx, dword [ebp - 0x320]
push esi
push ebx
push esi
push ecx
call fcn.0041a880
add esp, 0x1c
lea edx, [ebp - 0x320]
push edx
push 0xe6
mov ecx, 0x66d9e8
call fcn.00440520
mov eax, dword [ebp - 0x320]
mov esi, dword [eax - 0xc]
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a8048
mov edi, eax
add esp, 4
test edi, edi
je 0x452847
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.005bb320
mov ecx, dword [ebp - 0x320]
push esi
push edi
push esi
push ecx
call fcn.0041a880
add esp, 0x1c
push 0x208
lea edx, [ebp - 0x31c]
push 0
push edx
call fcn.005bb320
mov ecx, dword [ebp - 0x330]
add esp, 0xc
push 0x452290
lea eax, [ebp - 0x31c]
push eax
push edi
push ebx
push ecx
call dword [ebp - 0x334]
mov dword [ebp - 0x324], eax
test eax, eax
jle 0x452945
push 0x104
lea edx, [ebp - 0x114]
push 0
push edx
call fcn.005bb320
lea eax, [ebp - 0x31c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4528a5
push 0
push 0
push 0x104
sub eax, edx
lea ecx, [ebp - 0x114]
push ecx
sar eax, 1
push eax
lea edx, [ebp - 0x31c]
push edx
push 0x200
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [ebp - 0x328]
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.00415540
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x452945
push ecx
lea edx, [ebp - 0x114]
mov ecx, esp
mov dword [ebp - 0x328], esp
push edx
call fcn.00406c70
lea ecx, [ebp - 0x358]
call fcn.00433110
mov eax, dword [ebp - 0x338]
push eax
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
mov dword [ebp - 0x33c], eax
call fcn.004341a0
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0
call fcn.00430780
mov eax, dword [ebp - 0x330]
test eax, eax
je 0x452958
push eax
call fcn.004a803d
add esp, 4
test ebx, ebx
je 0x452965
push ebx
call fcn.004a803d
add esp, 4
test edi, edi
je 0x452972
push edi
call fcn.004a803d
add esp, 4
mov edi, dword [ebp - 0x32c]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x320]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4529a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bb30e
mov esp, ebp
pop ebp
ret 8