Function at 0x41a700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
mov eax, dword [0x5dbcc8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5e9800
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0
call fcn.00420c70
cmp dword [0x5e9820], 1
mov dword [0x5e9820], 0xffffffff
jne 0x41aadb
push 0x5a56d0
lea ecx, [ebp - 0x14]
call fcn.0040cf20
push str.1905Down
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 1
call fcn.0040d090
add esp, 0xc
push 0x5a5018
push eax
lea edx, [ebp - 0x18]
mov bl, 2
push edx
mov byte [ebp - 4], bl
call fcn.0040d090
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040d610
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a7be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a7e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x30]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a4c0
add esp, 0xc
push str..mp4
push eax
lea ecx, [ebp - 0x1c]
mov bl, 4
push ecx
mov byte [ebp - 4], bl
call fcn.0040d090
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040d610
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a83b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a85e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5a7b34
lea ecx, [ebp - 0x10]
call fcn.0040cf20
push str.1905Down
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 6
call fcn.0040d090
add esp, 0xc
push 0x5a5018
push eax
lea eax, [ebp - 0x1c]
mov bl, 7
push eax
mov byte [ebp - 4], bl
call fcn.0040d090
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040d610
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x30]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a4c0
add esp, 0xc
push str..mp4
push eax
lea ecx, [ebp - 0x1c]
mov bl, 9
push ecx
mov byte [ebp - 4], bl
call fcn.0040d090
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0040d610
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a947
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a96a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x41a980
lea edx, [ebp - 0x14]
push edx
jmp 0x41a992
mov eax, dword [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x41aa95
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x98]
call fcn.0040d610
lea esi, [ebp - 0x44]
call fcn.00412890
mov byte [ebp - 4], 0xb
mov edx, dword [ebp + 0x18]
cmp dword [edx - 0xc], 0
jne 0x41a9b8
lea eax, [ebp + 0x10]
push eax
jmp 0x41a9bc
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040d610
lea edx, [ebp + 0x30]
push edx
lea ecx, [ebp - 0x40]
call fcn.0040d610
push 3
push 0x5a6d74
lea ecx, [ebp - 0x3c]
call fcn.0040d560
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040d610
cmp dword [ebp + 0xb4], 0
je 0x41aa07
mov edx, dword [ebp + 0xb0]
mov ecx, dword [ebp + 8]
push 0
call fcn.00418610
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0xb4], esp
push ecx
lea ecx, [ebp - 0x44]
call fcn.00413a00
push 1
mov ecx, 0x5e6c4c
call fcn.00414720
lea eax, [ebp - 0x44]
call fcn.004129f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41aa52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aa75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp + 0xc]
call fcn.00406a80
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xb0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aab8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aadb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp + 0xc]
call fcn.00406a80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xb0