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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0a93
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x4fefc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x51c4b8]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x51c07c]
cmp eax, dword [esi + 4]
jg 0x47f34c
mov eax, dword [0x51c084]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 4]
jg 0x47f39f
call edi
mov edi, eax
sub eax, dword [0x51c080]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7530
jle 0x47f32c
mov eax, dword [0x51c08c]
cmp eax, dword [esi + 4]
jg 0x47f3d2
cmp dword [0x51c088], 0
je 0x47f2f9
push 0x4dee00
lea ecx, [ebp - 0x8c4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x8c4]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00463680
lea ecx, [ebp - 0x8c4]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push str.GetHProMICS__
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
push 0xffffff
push 0xff0000
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x8f4]
call fcn.004a8530
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [ebp - 0x8f4]
mov dword [ebp - 4], 0xffffffff
call fcn.00465d90
push 0x4dee00
lea ecx, [ebp - 0x8bc]
call fcn.00462f70
push eax
mov ecx, 0x51b7d0
mov dword [ebp - 4], 8
call fcn.004666a0
lea ecx, [ebp - 0x8bc]
call fcn.00465c10
mov dword [0x51c080], edi
mov eax, 0x51b7d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf553
mov esp, ebp
pop ebp
ret
push 0x51c07c
call fcn.004bf4cb
add esp, 4
cmp dword [0x51c07c], 0xffffffff
jne 0x47f20d
push 0x4dee00
mov ecx, 0x51b7d0
mov dword [ebp - 4], 0
call fcn.00462f70
push 0x4dc6f0
call fcn.004bf43a
push 0x51c07c
mov dword [ebp - 4], 0xffffffff
call fcn.004bf47a
add esp, 8
jmp 0x47f20d
push 0x51c084
call fcn.004bf4cb
add esp, 4
cmp dword [0x51c084], 0xffffffff
jne 0x47f224
call edi
push 0x51c084
mov dword [0x51c080], eax
call fcn.004bf47a
add esp, 4
jmp 0x47f224
push 0x51c08c
call fcn.004bf4cb
add esp, 4
cmp dword [0x51c08c], 0xffffffff
jne 0x47f24f
mov eax, dword [0x51aab8]
mov dword [ebp - 4], 1
cmp eax, dword [esi + 4]
jle 0x47f462
push 0x51aab8
call fcn.004bf4cb
add esp, 4
cmp dword [0x51aab8], 0xffffffff
jne 0x47f462
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 2
push eax
call fcn.00487e50
add esp, 4
push dword [eax]
mov ecx, 0x51aaa8
mov byte [ebp - 4], 3
call fcn.00462480
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4dc7d0
call fcn.004bf43a
push 0x51aab8
mov byte [ebp - 4], 1
call fcn.004bf47a
add esp, 8
jmp 0x47f462
push 0
push str.GetHProMICS_Message_Draw
push str.Debug
mov ecx, 0x51aaa8
call fcn.00480780
push 0x51c08c
mov dword [0x51c088], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004bf47a
add esp, 4
jmp 0x47f24f