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

Disassembly:
push 0xffffffffffffffff
push 0x4d1668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x34]
call fcn.0045b1f0
mov eax, 0x3e8
cdq
idiv dword [esi + 0x170]
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
xor ebp, ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], eax
call ebx
mov dword [esi + 0x164], eax
mov al, byte [esi + 0x159]
test al, al
jne 0x46f733
push edi
jmp 0x46f558
xor ebp, ebp
push ebp
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, 0x3e8
cdq
idiv dword [esi + 0x16c]
mov dword [esi + 0x210], str.Background
mov dword [esi + 0x168], eax
call ebx
cmp eax, dword [0x53764c]
jle 0x46f5bb
cmp byte [esi + 0x1ac], 1
jne 0x46f5a9
mov eax, dword [esi + 0x194]
push eax
lea ecx, [esi + 0x198]
push 0x4d43dc
push ecx
call fcn.004be583
add esp, 0xc
mov dword [esi + 0x194], ebp
call ebx
add eax, 0x3e8
mov dword [0x53764c], eax
mov edi, dword [sym.imp.user32.dll_PeekMessageA]
push 1
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
call edi
test eax, eax
je 0x46f605
mov al, byte [esi + 0x159]
test al, al
jne 0x46f732
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.user32.dll_TranslateMessage]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.user32.dll_DispatchMessageA]
push 1
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
call edi
test eax, eax
jne 0x46f5d1
mov al, byte [esi + 0x159]
test al, al
jne 0x46f732
call ebx
mov ecx, dword [esi + 0x164]
mov edi, eax
sub eax, ecx
mov ecx, dword [esi + 0x168]
sub ecx, 5
cmp eax, ecx
jl 0x46f6a5
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jge 0x46f6a5
mov ecx, dword [esi + 0x18c]
inc ecx
lea edx, [esp + 0x38]
mov dword [esi + 0x18c], ecx
mov ecx, dword [esi + 0x174]
push edx
mov dword [esi + 0x210], str.Update
call fcn.00457270
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov edx, dword [esi + 0x164]
mov ecx, dword [esi + 0x168]
add edx, ecx
mov dword [esi + 0x164], edx
mov eax, edx
mov edx, edi
sub edx, eax
cmp edx, 0x3e8
jle 0x46f696
add edi, 0xfffffc18
mov dword [esi + 0x164], edi
inc ebp
cmp ebp, 1
jl 0x46f613
jmp 0x46f724
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx - 5]
cmp edi, edx
mov dword [esi + 0x210], str.Draw
mov dword [esp + 0x10], 0
jbe 0x46f724
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x46f71e
mov al, byte [esi + 0x15a]
test al, al
jne 0x46f6e5
mov al, byte [esi + 0x158]
test al, al
jne 0x46f71e
mov edi, dword [esi + 0x194]
lea eax, [esp + 0x38]
inc edi
push eax
mov dword [esi + 0x194], edi
call fcn.00457270
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x174]
push 1
call fcn.004591b0
call ebx
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x159]
test al, al
je 0x46f556
pop edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0xffffffff
call fcn.0045b160
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret