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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc4d3
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x4fafc0]
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 [0x518498]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x51805c]
cmp eax, dword [esi + 4]
jg 0x47f35c
mov eax, dword [0x518064]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 4]
jg 0x47f3af
call edi
mov edi, eax
sub eax, dword [0x518060]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7530
jle 0x47f33c
mov eax, dword [0x51806c]
cmp eax, dword [esi + 4]
jg 0x47f3e2
cmp dword [0x518068], 0
je 0x47f309
push 0x4dae00
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.004636e0
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.004a7dc0
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.00465d80
push 0x4dae00
lea ecx, [ebp - 0x8bc]
call fcn.00463030
push eax
mov ecx, 0x5177b0
mov dword [ebp - 4], 8
call fcn.00466690
lea ecx, [ebp - 0x8bc]
call fcn.00465c00
mov dword [0x518060], edi
mov eax, 0x5177b0
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.004beeb3
mov esp, ebp
pop ebp
ret
push 0x51805c
call fcn.004bee2b
add esp, 4
cmp dword [0x51805c], 0xffffffff
jne 0x47f21d
push 0x4dae00
mov ecx, 0x5177b0
mov dword [ebp - 4], 0
call fcn.00463030
push 0x4d8110
call fcn.004bed9a
push 0x51805c
mov dword [ebp - 4], 0xffffffff
call fcn.004bedda
add esp, 8
jmp 0x47f21d
push 0x518064
call fcn.004bee2b
add esp, 4
cmp dword [0x518064], 0xffffffff
jne 0x47f234
call edi
push 0x518064
mov dword [0x518060], eax
call fcn.004bedda
add esp, 4
jmp 0x47f234
push 0x51806c
call fcn.004bee2b
add esp, 4
cmp dword [0x51806c], 0xffffffff
jne 0x47f25f
mov eax, dword [0x516a98]
mov dword [ebp - 4], 1
cmp eax, dword [esi + 4]
jle 0x47f472
push 0x516a98
call fcn.004bee2b
add esp, 4
cmp dword [0x516a98], 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, 0x516a88
mov byte [ebp - 4], 3
call fcn.00462510
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4d81f0
call fcn.004bed9a
push 0x516a98
mov byte [ebp - 4], 1
call fcn.004bedda
add esp, 8
jmp 0x47f472
push 0
push str.GetHProMICS_Message_Draw
push str.Debug
mov ecx, 0x516a88
call fcn.00480790
push 0x51806c
mov dword [0x518068], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004bedda
add esp, 4
jmp 0x47f25f