Function at 0x454c10
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x4b3853
call fcn.00473a66
cmp byte [ebp + 8], 1
jne 0x454d3c
lea ecx, [ebp - 0x30]
call fcn.0042d1df
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.00432d00
mov byte [ebp - 4], 2
push str.closeCDRom.vbs
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00418219
add esp, 0xc
mov byte [ebp - 4], 3
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x454cc3
push 0x4f930c
lea ecx, [ebp - 0x10]
call fcn.0040a6cc
mov byte [ebp - 4], 5
mov esi, str.Set_ObjCreateObject__WMPlayer.OCX.7___r_nSet_CDObj.CDROMCollection_r_nIf_CD.Count_1_then_r_nFor_i0_to_CD.Count_1_r_n____CD.Item_i_.eject_r_nNext_r_nFor_i0_to_CD.Count_1_r_n____CD.Item_i_.eject_r_nNext_r_nEnd_If
push esi
call fcn.00413682
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0040a8e3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
push eax
mov byte [ebp - 4], 5
call fcn.00420d79
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push str.WScript.exe__
push eax
call fcn.0042f71d
mov byte [ebp - 4], 8
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x4c58b4
push eax
push ecx
call fcn.00418219
add esp, 0xc
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
call fcn.00420dff
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00409a10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042d237
jmp 0x454e5b
push 0x4f930c
lea ecx, [ebp + 8]
call fcn.0040a6cc
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.0042d1df
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
call fcn.00432d00
mov byte [ebp - 4], 0x12
push str.openCDRom.vbs
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418219
add esp, 0xc
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp + 8]
call fcn.0040aac8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00409a10
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x454dea
push str.Set_ObjCreateObject__WMPlayer.OCX.7___r_n_nSet_CDObj.CDROMCollection_r_nIf_CD.Count_1_then_r_nFor_i0_to_CD.Count_1_r_n________CD.Item_i_.eject_r_nNext_r_nEnd_If
lea ecx, [ebp - 0x14]
call fcn.00418464
mov byte [ebp - 4], 0x15
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 0x16
push esi
mov byte [ebp - 4], 0x15
call fcn.00420d79
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00409a10
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push str.WScript.exe__
push eax
call fcn.0042f71d
mov byte [ebp - 4], 0x18
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x4c58b4
push eax
push ecx
call fcn.00418219
add esp, 0xc
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x18
call fcn.00420dff
pop ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.0042d237
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00409a10
mov al, 1
call fcn.00473b3e
ret 4