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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e6db
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x584f80]
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 [0x5e2e08]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x58b54c]
cmp eax, dword [esi + 4]
jg 0x4a5ac5
mov eax, dword [0x58b554]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 4]
jg 0x4a5b18
call edi
mov edi, eax
sub eax, dword [0x58b550]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7530
jle 0x4a5aa5
mov eax, dword [0x58b55c]
cmp eax, dword [esi + 4]
jg 0x4a5b4b
cmp dword [0x58b558], 0
je 0x4a5999
push 0x532ea0
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x8c0]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8f4]
call fcn.0045df60
lea ecx, [ebp - 0x8c0]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push str.GetHProMICS__
lea ecx, [ebp - 0x8c4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push 0xffffff
push 0xff0000
lea eax, [ebp - 0x8c4]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00473ad0
lea ecx, [ebp - 0x8c4]
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.0045e9a0
push 0x532ea0
lea ecx, [ebp - 0x8bc]
call fcn.00485da0
mov esi, eax
push esi
mov ecx, 0x58aca0
mov dword [ebp - 4], 6
call fcn.00488e00
mov eax, dword [esi + 0x874]
mov ecx, 0x58b51c
mov dword [0x58b514], eax
mov eax, dword [esi + 0x878]
mov dword [0x58b518], 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__26]
lea eax, [esi + 0x880]
mov ecx, 0x58b520
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
lea eax, [esi + 0x884]
mov ecx, 0x58b524
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov eax, dword [esi + 0x888]
lea ecx, [esi + 0x8a4]
mov dword [0x58b528], eax
mov eax, dword [esi + 0x88c]
mov dword [0x58b52c], eax
mov eax, dword [esi + 0x890]
mov dword [0x58b530], eax
movzx eax, word [esi + 0x894]
mov word [0x58b534], ax
movzx eax, word [esi + 0x896]
mov word [0x58b536], ax
movzx eax, word [esi + 0x898]
mov word [0x58b538], ax
movzx eax, word [esi + 0x89a]
mov word [0x58b53a], ax
mov eax, dword [esi + 0x89c]
mov dword [0x58b53c], eax
mov eax, dword [esi + 0x8a0]
push ecx
mov ecx, 0x58b544
mov dword [0x58b540], eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov cx, word [esi + 0x8a8]
mov word [0x58b548], cx
lea ecx, [ebp - 0x8bc]
call fcn.004885c0
mov dword [0x58b550], edi
mov eax, 0x58aca0
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.00506d06
mov esp, ebp
pop ebp
ret
push 0x58b54c
call fcn.00506c7e
add esp, 4
cmp dword [0x58b54c], 0xffffffff
jne 0x4a58ad
push 0x532ea0
mov ecx, 0x58aca0
mov dword [ebp - 4], 0
call fcn.00485da0
push 0x52fb10
call fcn.00506bed
push 0x58b54c
mov dword [ebp - 4], 0xffffffff
call fcn.00506c2d
add esp, 8
jmp 0x4a58ad
push 0x58b554
call fcn.00506c7e
add esp, 4
cmp dword [0x58b554], 0xffffffff
jne 0x4a58c4
call edi
push 0x58b554
mov dword [0x58b550], eax
call fcn.00506c2d
add esp, 4
jmp 0x4a58c4
push 0x58b55c
call fcn.00506c7e
add esp, 4
cmp dword [0x58b55c], 0xffffffff
jne 0x4a58ef
push 0
push str.GetHProMICS_Message_Draw
push str.Debug
mov dword [ebp - 4], 1
call fcn.0049abd0
push 0x58b55c
mov dword [0x58b558], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00506c2d
add esp, 0x10
jmp 0x4a58ef