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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7493
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x4f4f98]
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 0x47ec53
mov eax, dword [0x511fe4]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 4]
jg 0x47eca6
call edi
mov edi, eax
sub eax, dword [0x511fe0]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7530
jle 0x47ec33
mov eax, dword [0x511fec]
cmp eax, dword [esi + 4]
jg 0x47ecd9
cmp dword [0x511fe8], 0
je 0x47e9f9
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.004630a0
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.004a7980
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.00465740
push 0x4d5da0
lea ecx, [ebp - 0x8bc]
call fcn.00462a00
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 0x47ea60
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.004655c0
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.004bee1d
mov esp, ebp
pop ebp
ret
push 0x511fdc
call fcn.004bed2f
add esp, 4
cmp dword [0x511fdc], 0xffffffff
jne 0x47e90d
push 0x4d5da0
mov ecx, 0x511730
mov dword [ebp - 4], 0
call fcn.00462a00
push 0x4d2fa0
call fcn.004bebe7
push 0x511fdc
mov dword [ebp - 4], 0xffffffff
call fcn.004bece5
add esp, 8
jmp 0x47e90d
push 0x511fe4
call fcn.004bed2f
add esp, 4
cmp dword [0x511fe4], 0xffffffff
jne 0x47e924
call edi
push 0x511fe4
mov dword [0x511fe0], eax
call fcn.004bece5
add esp, 4
jmp 0x47e924
push 0x511fec
call fcn.004bed2f
add esp, 4
cmp dword [0x511fec], 0xffffffff
jne 0x47e94f
mov eax, dword [0x510a1c]
mov dword [ebp - 4], 1
cmp eax, dword [esi + 4]
jle 0x47ed69
push 0x510a1c
call fcn.004bed2f
add esp, 4
cmp dword [0x510a1c], 0xffffffff
jne 0x47ed69
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 2
push eax
call fcn.00487c20
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 0x4d3080
call fcn.004bebe7
push 0x510a1c
mov byte [ebp - 4], 1
call fcn.004bece5
add esp, 8
jmp 0x47ed69
push 0
push str.GetHProMICS_Message_Draw
push str.Debug
mov ecx, 0x510a0c
call fcn.00480080
push 0x511fec
mov dword [0x511fe8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004bece5
add esp, 4
jmp 0x47e94f