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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7893
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x4f4fa0]
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 [0x512438]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x511fdc]
cmp eax, dword [esi + 4]
jg 0x47eff3
mov eax, dword [0x511fe4]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 4]
jg 0x47f046
call edi
mov edi, eax
sub eax, dword [0x511fe0]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7530
jle 0x47efd3
mov eax, dword [0x511fec]
cmp eax, dword [esi + 4]
jg 0x47f079
cmp dword [0x511fe8], 0
je 0x47ed99
push 0x4d5da0
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.00463230
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.004a7d40
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.004658d0
push 0x4d5da0
lea ecx, [ebp - 0x8bc]
call fcn.00462b90
mov esi, eax
mov eax, dword [esi + 0xc]
lea edx, [esi + 0x30]
mov dword [0x51173c], eax
mov eax, dword [esi + 0x10]
mov dword [0x511740], eax
mov eax, dword [esi + 0x14]
mov dword [0x511744], eax
mov eax, dword [esi + 0x18]
mov dword [0x511748], eax
mov eax, dword [esi + 0x1c]
mov dword [0x51174c], eax
mov eax, dword [esi + 0x20]
mov dword [0x511750], eax
mov eax, dword [esi + 0x24]
mov dword [0x511754], eax
mov eax, dword [esi + 0x28]
mov dword [0x511758], eax
mov eax, dword [esi + 0x2c]
mov dword [0x51175c], eax
xor eax, eax
mov dword [ebp - 4], 8
nop
mov ecx, dword [edx]
lea edx, [edx + 4]
mov dword [eax + 0x511760], ecx
add eax, 4
cmp eax, 0x800
jb 0x47ee00
mov eax, dword [esi + 0x830]
mov ecx, 0x511f70
mov dword [0x511f60], eax
mov eax, dword [esi + 0x834]
mov dword [0x511f64], eax
mov eax, dword [esi + 0x838]
mov dword [0x511f68], eax
lea eax, [esi + 0x840]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [esi + 0x844]
mov ecx, 0x511f74
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [esi + 0x848]
mov ecx, 0x511f78
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [esi + 0x84c]
mov ecx, 0x511f84
mov dword [0x511f7c], eax
lea eax, [esi + 0x854]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [esi + 0x858]
mov ecx, 0x511f90
mov dword [0x511f88], eax
mov eax, dword [esi + 0x85c]
mov dword [0x511f8c], eax
lea eax, [esi + 0x860]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [esi + 0x864]
mov ecx, 0x511f98
mov dword [0x511f94], eax
lea eax, [esi + 0x868]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [esi + 0x86c]
mov ecx, 0x511fa0
mov dword [0x511f9c], eax
lea eax, [esi + 0x870]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [esi + 0x874]
mov ecx, 0x511fac
mov dword [0x511fa4], eax
mov eax, dword [esi + 0x878]
mov dword [0x511fa8], eax
lea eax, [esi + 0x87c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [esi + 0x880]
mov ecx, 0x511fb0
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea eax, [esi + 0x884]
mov ecx, 0x511fb4
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [esi + 0x888]
lea ecx, [esi + 0x8a4]
mov dword [0x511fb8], eax
mov eax, dword [esi + 0x88c]
mov dword [0x511fbc], eax
mov eax, dword [esi + 0x890]
mov dword [0x511fc0], eax
movzx eax, word [esi + 0x894]
mov word [0x511fc4], ax
movzx eax, word [esi + 0x896]
mov word [0x511fc6], ax
movzx eax, word [esi + 0x898]
mov word [0x511fc8], ax
movzx eax, word [esi + 0x89a]
mov word [0x511fca], ax
mov eax, dword [esi + 0x89c]
mov dword [0x511fcc], eax
mov eax, dword [esi + 0x8a0]
push ecx
mov dword [0x511fd0], eax
mov ecx, 0x511fd4
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov cx, word [esi + 0x8a8]
mov word [0x511fd8], cx
lea ecx, [ebp - 0x8bc]
call fcn.00465750
mov dword [0x511fe0], edi
mov eax, 0x511730
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.004bf1dd
mov esp, ebp
pop ebp
ret
push 0x511fdc
call fcn.004bf0ef
add esp, 4
cmp dword [0x511fdc], 0xffffffff
jne 0x47ecad
push 0x4d5da0
mov ecx, 0x511730
mov dword [ebp - 4], 0
call fcn.00462b90
push 0x4d33a0
call fcn.004befa7
push 0x511fdc
mov dword [ebp - 4], 0xffffffff
call fcn.004bf0a5
add esp, 8
jmp 0x47ecad
push 0x511fe4
call fcn.004bf0ef
add esp, 4
cmp dword [0x511fe4], 0xffffffff
jne 0x47ecc4
call edi
push 0x511fe4
mov dword [0x511fe0], eax
call fcn.004bf0a5
add esp, 4
jmp 0x47ecc4
push 0x511fec
call fcn.004bf0ef
add esp, 4
cmp dword [0x511fec], 0xffffffff
jne 0x47ecef
mov eax, dword [0x510a1c]
mov dword [ebp - 4], 1
cmp eax, dword [esi + 4]
jle 0x47f109
push 0x510a1c
call fcn.004bf0ef
add esp, 4
cmp dword [0x510a1c], 0xffffffff
jne 0x47f109
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 2
push eax
call fcn.00487fe0
add esp, 4
push dword [eax]
mov ecx, 0x510a0c
mov byte [ebp - 4], 3
call fcn.00462070
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4d3480
call fcn.004befa7
push 0x510a1c
mov byte [ebp - 4], 1
call fcn.004bf0a5
add esp, 8
jmp 0x47f109
push 0
push str.GetHProMICS_Message_Draw
push str.Debug
mov ecx, 0x510a0c
call fcn.00480420
push 0x511fec
mov dword [0x511fe8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004bf0a5
add esp, 4
jmp 0x47ecef