Function at 0x45ed6a
Capabilities:
Check if file exists

Disassembly:
push 0x4c
mov eax, 0x486ace
call fcn.0048062c
lea eax, [ebp - 0x3c]
push eax
call fcn.0040faa0
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040fcb4
test eax, eax
jne 0x45edb9
mov ecx, dword [ebp + 8]
push 0x49e800
call fcn.00460507
pop ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
call fcn.0040fad9
mov eax, esi
call fcn.00480704
ret 8
mov eax, dword [0x4b457c]
mov esi, 0x4b457c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea edi, [ebp - 0x58]
call fcn.00421338
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0041452d
push str.ChannelCount
push str.Common
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 5
call fcn.00410239
and dword [ebp + 0xc], ebx
test eax, eax
mov dword [ebp - 0x2c], eax
jle 0x45ef60
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push str.Channel_d
push eax
call fcn.00404e7f
mov edi, dword [ebp - 0x1c]
add esp, 0xc
push str.IndexName
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.004103c4
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402394
push 0x49e864
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.00410239
mov ecx, dword [ebp - 0x58]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 0x54], eax
je 0x45ef51
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], ebx
je 0x45ee9e
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x45ef51
push str.CheckFile
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.004103c4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402394
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x45ef14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c38f
lea ecx, [ebp - 0x24]
push str..kid
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040400d
add esp, 0x10
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x24]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040214e
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.0040214e
test bl, bl
jne 0x45ef51
push str.Method
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.004103c4
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402394
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0045f732
test eax, eax
je 0x45ef51
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x14]
call fcn.004608b5
lea ebx, [ebp - 0x58]
mov esi, eax
call fcn.004224a3
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jl 0x45ee31
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040214e
lea esi, [ebp - 0x58]
call fcn.00421a77
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
xor esi, esi
inc esi
jmp 0x45eda2