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

Disassembly:
push 0xffffffffffffffff
push 0x4e6c7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x14], esi
mov dword [esi + 4], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x34], edi
lea ebp, [esi + 0x3c]
mov byte [esp + 0x24], 3
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x40]
mov byte [esp + 0x24], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov ecx, ebp
mov byte [esp + 0x24], 5
mov dword [esi + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], 0x98967f
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call sub.MFC42.DLL_CString::Empty
mov ecx, ebx
call sub.MFC42.DLL_CString::Empty
mov eax, dword [0x52d100]
mov ecx, 0x52d100
mov dword [esp + 0x10], ecx
call dword [eax + 4]
mov eax, dword [0x52662c]
mov bl, 6
cmp eax, edi
mov byte [esp + 0x24], bl
jne 0x4c2614
cmp dword [0x526628], edi
jne 0x4c2614
push 0xb0
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, edi
mov byte [esp + 0x24], 7
je 0x4c25e8
mov ecx, ebp
call fcn.0044bac0
mov dword [ebp], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x4c25ea
xor ebp, ebp
mov ecx, dword [0x517cd8]
mov byte [esp + 0x24], bl
push ecx
push 0x404ba0
mov ecx, 0x52b648
mov dword [0x526628], ebp
call fcn.00402160
mov dword [0x52662c], 1
mov edx, dword [0x52d100]
mov ebx, dword [0x526628]
mov ecx, 0x52d100
mov byte [esp + 0x24], 5
call dword [edx + 8]
push esi
mov ecx, ebx
call fcn.0044c840
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x5217e8
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4c2652
mov dword [esi + 0x30], 1
push 0x51b214
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
cmp ebx, edi
jne 0x4c267b
push 0x51b214
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov ebp, 1
cmp ebx, edi
je 0x4c26e6
push 0x51b200
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
jne 0x4c2698
cmp ebp, edi
je 0x4c26e6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4c26e6
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 8
push ecx
push 0x51b1f0
call eax
cmp eax, edi
jge 0x4c26c6
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], 5
cmp eax, edi
je 0x4c26e6
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4c26e6
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x34]
push ecx
push 0x51b1e0
mov edx, dword [eax]
push eax
call dword [edx]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call fcn.00404a80
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x4c2710
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
mov eax, dword [esi + 0x34]
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [esi + 0x34]
push 0x517720
push 0x524898
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret