Function at 0x478fb9
Capabilities:
Suspend thread
Terminate thread

Disassembly:
mov dword [ecx], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x478fa0
push 0xffffffffffffffff
push 0x572ff5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0xb4]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor edi, edi
mov dword [esp + 0x1c], 0x11
cmp eax, edi
je 0x479015
push 0xa
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x479006
mov eax, dword [esi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
mov ecx, dword [esi + 0xb4]
push edi
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov edx, dword [esi + 0xb4]
push edx
call ebx
mov dword [esi + 0xb4], edi
mov eax, dword [esi + 0xb0]
cmp eax, edi
je 0x479028
push eax
call ebx
mov dword [esi + 0xb0], edi
mov eax, dword [esi + 0x78]
push ebp
lea ebp, [esi + 0x78]
mov ecx, ebp
mov dword [esp + 0x14], ebp
call dword [eax + 4]
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 0x12
call fcn.004877f0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x60], 1
cmp eax, edi
je 0x479074
mov ebx, dword [esi + 0x9c]
dec ebx
js 0x479074
mov edx, dword [esi + 0x98]
mov eax, dword [esi + 0x10]
mov edx, dword [edx + edi*4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
inc edi
cmp edi, ebx
jle 0x47905c
lea edi, [esi + 0x64]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.004eced0
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x20], 0x11
call dword [eax + 8]
mov dword [esi + 0xc4], ebx
lea ecx, [esi + 0x370]
mov dword [esi + 0xc8], ebx
mov byte [esp + 0x20], 0x10
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esi + 0x35c]
mov byte [esp + 0x24], 0xf
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esi + 0x104]
mov byte [esp + 0x20], 0xe
call fcn.0041bf50
mov eax, dword [esi + 0x100]
mov byte [esp + 0x20], 0xd
cmp eax, ebx
je 0x4790e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xf8]
mov byte [esp + 0x20], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0xd4]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call ebp
mov eax, dword [esi + 0xc8]
mov byte [esp + 0x20], 0xa
cmp eax, ebx
je 0x479118
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0xc4]
mov byte [esp + 0x20], 9
cmp eax, ebx
je 0x47912d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0xbc]
push eax
call ebp
mov eax, dword [esi + 0x98]
mov dword [esi + 0x94], vtable.CArray_unsigned_long_int__unsigned_long_int_.0
cmp eax, ebx
pop ebp
je 0x479154
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x7c]
mov dword [esi + 0x94], vtable.CObject.0
push ecx
mov dword [esi + 0x78], vtable.CKRCriticalSection.0
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
mov dword [esi + 0x78], vtable.CKRSyncObject.0
mov eax, dword [edi + 4]
cmp eax, ebx
mov dword [edi], vtable.CArray_struct_IUnknown___struct_IUnknown___.0
je 0x47918c
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [edi], vtable.CObject.0
lea edi, [esi + 0x44]
mov dword [esp + 0x10], edi
mov dword [edi], vtable.CMap_unsigned_long_int__unsigned_long_int__struct_CKMPPlayer::ConnectPointData__struct_CKMPPlayer::ConnectPointData__.0
mov ecx, edi
mov byte [esp + 0x1c], 0x13
call fcn.004877f0
lea ecx, [esi + 0x30]
mov dword [edi], vtable.CObject.0
mov byte [esp + 0x1c], 3
mov dword [ecx], vtable.CComObjectNoRef_class_CKMPEqualizerSettings_.0
call fcn.00467dc0
mov dword [esi + 0x24], vtable.CComObjectNoRef_class_CKMPSettings_.0
mov eax, dword [esi + 0x2c]
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x4791dd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x18], vtable.CComObjectNoRef_class_CKMPControls_.0
mov eax, dword [esi + 0x20]
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x4791f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14]
mov byte [esp + 0x1c], 0
cmp eax, ebx
je 0x479208
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x1c], 0xffffffff
cmp esi, ebx
je 0x47921d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret