Function at 0x4a7d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5786be
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0x23c]
mov edi, dword [esp + 0x48]
cmp eax, ebp
je 0x4a7f3f
cmp dword [esi + 0x24c], ebp
jne 0x4a7f3f
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], vtable.CFont.0
lea eax, [esi + 0x144]
mov dword [esp + 0x40], ebp
push eax
mov byte [esi + 0x159], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [edi]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov edx, dword [0x5ed920]
mov ebx, eax
mov ecx, 0x5ed920
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], 9
mov dword [esp + 0x14], ecx
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x40], 1
cmp eax, ebp
jne 0x4a7e1d
cmp dword [0x5e5cb4], ebp
jne 0x4a7e1d
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x40], 2
je 0x4a7df2
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4a7df4
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x48], 1
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov ebp, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x40], 0
call dword [edx + 8]
mov eax, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
push ebp
call dword [eax + 0xac]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x58]
add edx, 0xffffffa6
lea eax, [ecx + 0x104]
cmp eax, edx
jle 0x4a7e68
mov ebp, dword [esp + 0x48]
cmp ebp, 5
je 0x4a7e66
cmp ebp, 4
jne 0x4a7e68
mov eax, edx
mov edx, dword [esi + 0x5c]
mov ebp, dword [esi + 0x54]
add ecx, 0x8e
mov dword [esp + 0x34], edx
mov edx, dword [edi]
mov dword [esp + 0x28], ecx
push 0xff7c23
mov ecx, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
call dword [edx + 0x38]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esi + 0x248]
cmp eax, 0xbb8
jae 0x4a7efc
lea ebp, [esi + 0x1a0]
push 0
push 0x5da200
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a7efc
mov eax, dword [esi + 0x328]
test eax, eax
jne 0x4a7efc
mov eax, dword [esi + 0x240]
mov edx, dword [edi]
lea ebx, [esp + 0x28]
push 0x8026
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
mov eax, dword [esi + 0x330]
push eax
push 0x5da1f0
push ebp
call sub.MFC42.DLL_CString::Format
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4a7f06
mov dword [esi + 0x23c], 0
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x30]
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esi + 0x159], 0
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x40], 0xffffffff
xor ebp, ebp
cmp dword [esi + 0x234], ebp
jne 0x4a7f53
cmp dword [esi + 0x238], ebp
je 0x4a82da
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], vtable.CFont.0
lea eax, [esi + 0x144]
mov dword [esp + 0x40], 4
push eax
mov byte [esi + 0x159], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], 9
mov dword [esp + 0x18], 0x5ed920
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x40], 5
cmp eax, ebp
jne 0x4a8021
cmp dword [0x5e5cb4], ebp
jne 0x4a8021
push 0x380
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov byte [esp + 0x40], 6
je 0x4a7ff5
mov ecx, ebp
call fcn.00478dc0
mov dword [ebp], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x4a7ff7
xor ebp, ebp
mov eax, dword [0x5cebb0]
mov ecx, 0x5eafa0
push eax
push 0x406a50
mov byte [esp + 0x48], 5
mov dword [0x5e5cb4], ebp
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov ebp, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x40], 4
call dword [edx + 8]
mov eax, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
push ebp
call dword [eax + 0xac]
mov edx, dword [esi + 0x22c]
mov ebp, dword [esi + 0x224]
mov ecx, dword [esi + 0x50]
sub edx, ebp
lea eax, [edx + ecx + 0xa0]
mov edx, dword [esi + 0x58]
add edx, 0xffffffa6
cmp eax, edx
jle 0x4a807b
mov ebp, dword [esp + 0x48]
cmp ebp, 5
je 0x4a8079
cmp ebp, 4
jne 0x4a807b
mov eax, edx
mov edx, dword [esi + 0x5c]
mov ebp, dword [esi + 0x54]
add ecx, 0x8e
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov dword [esp + 0x28], ecx
push 0xff7c23
mov ecx, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edx
call dword [eax + 0x38]
mov eax, dword [esi + 0x234]
test eax, eax
je 0x4a80ce
mov eax, dword [esi + 0x220]
mov edx, dword [edi]
lea ebx, [esp + 0x28]
push 0x8026
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
jmp 0x4a82a7
mov eax, dword [esi + 0x238]
test eax, eax
je 0x4a82a7
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esi + 0x248]
cmp eax, 0xbb8
jae 0x4a8164
mov eax, dword [esi + 0x24c]
test eax, eax
jne 0x4a8164
mov eax, dword [esi + 0x238]
test eax, eax
je 0x4a81d3
lea ebp, [esi + 0x1a0]
push 0
push 0x5da200
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a81d3
mov eax, dword [esi + 0x328]
test eax, eax
jne 0x4a81d3
mov eax, dword [esi + 0x240]
mov edx, dword [edi]
lea ebx, [esp + 0x28]
push 0x8026
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
mov eax, dword [esi + 0x330]
push eax
push 0x5da1f0
push ebp
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x4a81d3
lea ebp, [esi + 0x1a0]
push 0
push 0x5da1e4
mov ecx, ebp
mov dword [esi + 0x238], 0
mov dword [esi + 0x24c], 1
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a81d3
push 0
push 0x5da200
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a81d3
lea ecx, [esi + 0x284]
lea edx, [esp + 0x10]
push ecx
push 0x5da1b8
push edx
call sub.MFC42.DLL_operator
push eax
mov ecx, ebp
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x94]
test eax, eax
je 0x4a82a7
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ebp, eax
test ebp, ebp
je 0x4a82a7
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CFont.0
lea eax, [esi + 0x144]
mov byte [esp + 0x40], 8
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [ebp]
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esi + 0x238]
test eax, eax
je 0x4a825f
mov eax, dword [esi + 0x240]
mov edx, dword [ebp]
lea ecx, [esi + 0x224]
push 0x400
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
mov eax, dword [ebp]
push ebx
mov ecx, ebp
call dword [eax + 0x30]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esi + 0x94]
mov ecx, dword [ebp + 4]
push ecx
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esi + 0x159], 0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x40], 4
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x30]
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esi + 0x159], 0
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xa
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4