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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56259e
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 + 0x230]
mov edi, dword [esp + 0x48]
cmp eax, ebp
je 0x4a057f
cmp dword [esi + 0x240], ebp
jne 0x4a057f
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 [0x5d2ac0]
mov ebx, eax
mov ecx, 0x5d2ac0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], 9
mov dword [esp + 0x14], ecx
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov byte [esp + 0x40], 1
cmp eax, ebp
jne 0x4a045d
cmp dword [0x5cb044], ebp
jne 0x4a045d
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x40], 2
je 0x4a0432
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4a0434
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x48], 1
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov ebp, dword [0x5cb044]
mov ecx, 0x5d2ac0
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 0x4a04a8
mov ebp, dword [esp + 0x48]
cmp ebp, 5
je 0x4a04a6
cmp ebp, 4
jne 0x4a04a8
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 + 0x23c]
cmp eax, 0xbb8
jae 0x4a053c
lea ebp, [esi + 0x19c]
push 0
push 0x5bfa50
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a053c
mov eax, dword [esi + 0x31c]
test eax, eax
jne 0x4a053c
mov eax, dword [esi + 0x234]
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 + 0x324]
push eax
push 0x5bfa40
push ebp
call sub.MFC42.DLL_CString::Format
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4a0546
mov dword [esi + 0x230], 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 + 0x228], ebp
jne 0x4a0593
cmp dword [esi + 0x22c], ebp
je 0x4a091a
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 [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], 9
mov dword [esp + 0x18], 0x5d2ac0
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov byte [esp + 0x40], 5
cmp eax, ebp
jne 0x4a0661
cmp dword [0x5cb044], ebp
jne 0x4a0661
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 0x4a0635
mov ecx, ebp
call fcn.00472270
mov dword [ebp], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x4a0637
xor ebp, ebp
mov eax, dword [0x5b4b90]
mov ecx, 0x5d0190
push eax
push 0x406940
mov byte [esp + 0x48], 5
mov dword [0x5cb044], ebp
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov ebp, dword [0x5cb044]
mov ecx, 0x5d2ac0
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 + 0x220]
mov ebp, dword [esi + 0x218]
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 0x4a06bb
mov ebp, dword [esp + 0x48]
cmp ebp, 5
je 0x4a06b9
cmp ebp, 4
jne 0x4a06bb
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 + 0x228]
test eax, eax
je 0x4a070e
mov eax, dword [esi + 0x214]
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 0x4a08e7
mov eax, dword [esi + 0x22c]
test eax, eax
je 0x4a08e7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x23c]
cmp eax, 0xbb8
jae 0x4a07a4
mov eax, dword [esi + 0x240]
test eax, eax
jne 0x4a07a4
mov eax, dword [esi + 0x22c]
test eax, eax
je 0x4a0813
lea ebp, [esi + 0x19c]
push 0
push 0x5bfa50
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a0813
mov eax, dword [esi + 0x31c]
test eax, eax
jne 0x4a0813
mov eax, dword [esi + 0x234]
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 + 0x324]
push eax
push 0x5bfa40
push ebp
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x4a0813
lea ebp, [esi + 0x19c]
push 0
push 0x5bfa34
mov ecx, ebp
mov dword [esi + 0x22c], 0
mov dword [esi + 0x240], 1
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a0813
push 0
push 0x5bfa50
mov ecx, ebp
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4a0813
lea ecx, [esi + 0x278]
lea edx, [esp + 0x10]
push ecx
push 0x5bfa08
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 0x4a08e7
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 0x4a08e7
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 + 0x22c]
test eax, eax
je 0x4a089f
mov eax, dword [esi + 0x234]
mov edx, dword [ebp]
lea ecx, [esi + 0x218]
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