Function at 0x4cd950
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4ed5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esi + 8]
mov dword [esp + 0x14], esi
mov dword [esi + 4], ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov dword [esp + 0x2c], ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x34], ebp
lea edi, [esi + 0x3c]
mov byte [esp + 0x2c], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x40]
mov byte [esp + 0x2c], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x18], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x28], ebp
mov ecx, edi
mov byte [esp + 0x2c], 5
mov dword [esi + 0x14], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x38], 0x98967f
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], ebp
call sub.MFC42.DLL_CString::Empty
mov ecx, ebx
call sub.MFC42.DLL_CString::Empty
mov eax, dword [0x53a380]
mov ecx, 0x53a380
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x53404c]
mov bl, 6
cmp eax, ebp
mov byte [esp + 0x2c], bl
jne 0x4cdb23
cmp dword [0x534048], ebp
jne 0x4cdb23
push 0x110
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebp
mov byte [esp + 0x2c], 7
je 0x4cda51
mov ecx, edi
call fcn.0043e060
mov dword [edi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
mov eax, edi
jmp 0x4cda53
xor eax, eax
mov edx, dword [0x538d98]
mov ecx, dword [0x525b68]
mov dword [0x534048], eax
xor edi, edi
lea eax, [edx - 1]
mov byte [esp + 0x2c], bl
cmp eax, ebp
mov dword [esp + 0x10], ecx
jl 0x4cda92
mov ecx, dword [0x538d94]
mov ebx, dword [ecx]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x10]
cmp ebx, dword [ecx + 4]
jge 0x4cda92
inc edi
add ecx, 8
cmp edi, eax
jle 0x4cda7b
cmp edi, edx
jl 0x4cdaa8
lea edx, [edi + 1]
push 0xffffffffffffffff
push edx
mov ecx, 0x538d90
call fcn.00403700
jmp 0x4cdaec
mov ebx, edx
inc edx
push 0xffffffffffffffff
push edx
mov ecx, 0x538d90
call fcn.00403700
mov eax, edi
shl eax, 0x1d
sub eax, edi
add eax, ebx
shl eax, 3
push eax
mov eax, dword [0x538d94]
lea ecx, [eax + edi*8]
lea edx, [eax + edi*8 + 8]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [0x538d94]
add esp, 0xc
lea ecx, [eax + edi*8]
push 1
push ecx
call fcn.00403860
mov edx, dword [esp + 0x10]
lea eax, [edi*8]
mov edi, dword [0x538d94]
mov ecx, 0x404a80
mov dword [eax + edi], ecx
mov ecx, dword [0x538d94]
mov dword [eax + ecx + 4], edx
add eax, 8
mov ecx, ebp
dec ebp
test ecx, ecx
jne 0x4cdaf7
mov dword [0x53404c], 1
mov edx, dword [0x53a380]
mov edi, dword [0x534048]
mov ecx, 0x53a380
mov byte [esp + 0x2c], 5
call dword [edx + 8]
push esi
mov ecx, edi
call fcn.0043ea60
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str._play
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4cdb61
mov dword [esi + 0x30], 1
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret