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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2fc3
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x501fc0]
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 [0x51f4b8]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x51f07c]
cmp eax, dword [esi + 4]
jg 0x47f35c
mov eax, dword [0x51f084]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 4]
jg 0x47f3af
call edi
mov edi, eax
sub eax, dword [0x51f080]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7530
jle 0x47f33c
mov eax, dword [0x51f08c]
cmp eax, dword [esi + 4]
jg 0x47f3e2
cmp dword [0x51f088], 0
je 0x47f309
push 0x4e1dfc
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.00463690
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.004a8550
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.00465da0
push 0x4e1dfc
lea ecx, [ebp - 0x8bc]
call fcn.00462f80
push eax
mov ecx, 0x51e7d0
mov dword [ebp - 4], 8
call fcn.004666c0
lea ecx, [ebp - 0x8bc]
call fcn.00465c20
mov dword [0x51f080], edi
mov eax, 0x51e7d0
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.004bf563
mov esp, ebp
pop ebp
ret
push 0x51f07c
call fcn.004bf4db
add esp, 4
cmp dword [0x51f07c], 0xffffffff
jne 0x47f21d
push 0x4e1dfc
mov ecx, 0x51e7d0
mov dword [ebp - 4], 0
call fcn.00462f80
push 0x4dec20
call fcn.004bf44a
push 0x51f07c
mov dword [ebp - 4], 0xffffffff
call fcn.004bf48a
add esp, 8
jmp 0x47f21d
push 0x51f084
call fcn.004bf4db
add esp, 4
cmp dword [0x51f084], 0xffffffff
jne 0x47f234
call edi
push 0x51f084
mov dword [0x51f080], eax
call fcn.004bf48a
add esp, 4
jmp 0x47f234
push 0x51f08c
call fcn.004bf4db
add esp, 4
cmp dword [0x51f08c], 0xffffffff
jne 0x47f25f
mov eax, dword [0x51dab8]
mov dword [ebp - 4], 1
cmp eax, dword [esi + 4]
jle 0x47f472
push 0x51dab8
call fcn.004bf4db
add esp, 4
cmp dword [0x51dab8], 0xffffffff
jne 0x47f472
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 2
push eax
call fcn.00487e70
add esp, 4
push dword [eax]
mov ecx, 0x51daa8
mov byte [ebp - 4], 3
call fcn.00462490
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4ded00
call fcn.004bf44a
push 0x51dab8
mov byte [ebp - 4], 1
call fcn.004bf48a
add esp, 8
jmp 0x47f472
push 0
push str.GetHProMICS_Message_Draw
push str.Debug
mov ecx, 0x51daa8
call fcn.004807a0
push 0x51f08c
mov dword [0x51f088], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004bf48a
add esp, 4
jmp 0x47f25f