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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62172b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6d5db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x2258], 0
mov ecx, dword [ebp - 0x40]
call fcn.005c4bed
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Waiting.IsOpenVideo
call fcn.004015a0
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
call fcn.005acd80
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.005adbf0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x860
call fcn.0040bb70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401620
mov edx, dword [ebp - 0x40]
push edx
push 0xf3
mov ecx, dword [ebp - 0x40]
add ecx, 0x7e4
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x7e4]
mov eax, dword [edx + 0x134]
call eax
mov ecx, dword [ebp - 0x40]
push ecx
push 0x103
mov ecx, dword [ebp - 0x40]
add ecx, 0x86c
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x86c]
mov edx, dword [eax + 0x134]
call edx
push 5
mov ecx, dword [ebp - 0x40]
add ecx, 0x86c
call fcn.005cb0bc
mov ecx, dword [ebp - 0x40]
add ecx, 0x1bc
call fcn.0051c9a0
lea eax, [ebp - 0x2c]
push eax
call fcn.005acd80
mov ecx, eax
call fcn.005aceb0
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x58]
call fcn.00587e90
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1bc
call fcn.0051c810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401620
push 0
push 0
mov ecx, dword [ebp - 0x40]
add ecx, 0x1bc
call fcn.0051c850
push 0
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x1bc
call fcn.0051c850
push 4
mov ecx, dword [ebp - 0x40]
add ecx, 0x1bc
call fcn.0051c4a0
push 0x300
call fcn.005c4745
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x34], 0
je 0x49b691
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0050d4f0
mov dword [ebp - 0x5c], eax
jmp 0x49b698
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x2258], edx
call fcn.0041b910
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401580
mov dword [ebp - 4], 4
push 0x657204
call fcn.0041b910
add eax, 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404260
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x2258]
call fcn.0050e110
push 1
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x2258]
call fcn.0050f380
push 1
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x2258]
call fcn.0050e140
mov dword [ebp - 0x18], 0
jmp 0x49b72f
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x40
jge 0x49b7c5
push 0x65720c
push 0x65721c
call fcn.0041b910
add eax, 4
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00404260
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.00401620
lea ecx, [ebp - 0x1c]
call fcn.00587e90
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x49b7b4
lea ecx, [ebp - 0x1c]
call fcn.00587e90
push eax
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x1bc
call fcn.0051ca00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00401620
jmp 0x49b726
mov dword [ebp - 0x3c], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00401620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401620
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret