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

Disassembly:
push 0x44c
mov eax, 0x57868a
call fcn.0056361b
mov edi, ecx
mov dword [ebp - 0x450], edi
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44c], eax
mov ecx, dword [edi + 0x2d0]
push dword [ebp + 0x18]
call fcn.004a4ace
push eax
call fcn.004a4b10
mov ebx, eax
test ebx, ebx
je 0x49908f
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x14], ecx
xor esi, esi
cmp dword [ebx + 0x238], esi
je 0x499021
cmp dword [edi + 0x6c], esi
jne 0x498f99
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x448], eax
test eax, eax
je 0x498f99
mov ecx, ebx
call fcn.004a71ef
test al, al
jne 0x498f99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x448]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x448], eax
test eax, eax
je 0x498fca
mov ecx, ebx
call fcn.004a71ef
test al, al
jne 0x498fca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x448]
cmp eax, 0xfa00
jae 0x498fca
add dword [edi + 0x74], eax
inc dword [edi + 0x78]
mov eax, dword [edi + 0x324]
cmp eax, 0x10
je 0x498ff7
cmp eax, 0x14
je 0x498ff7
cmp eax, 3
je 0x498fec
test eax, eax
je 0x498fec
cmp eax, 0x15
jne 0x4990c1
inc dword [edi + 0x66c]
jmp 0x4990c1
lea edx, [edi + 0x248]
lea ecx, [ebp - 0x434]
call fcn.00534e6e
mov dword [ebp - 4], esi
push ecx
push eax
mov ecx, dword [edi + 0x58c]
call fcn.0048525d
mov ecx, eax
call fcn.004a3502
jmp 0x499065
mov eax, dword [edi + 0x324]
cmp eax, 0x10
je 0x499031
cmp eax, 0x14
jne 0x499079
cmp dword [edi + 0x10c], esi
jle 0x499079
lea edx, [edi + 0x248]
lea ecx, [ebp - 0x434]
call fcn.00534e6e
mov dword [ebp - 4], 1
push ecx
push eax
mov ecx, dword [edi + 0x58c]
call fcn.0048525d
mov ecx, eax
call fcn.004a355d
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x434]
call fcn.00401d04
jmp 0x4990c1
cmp eax, 3
je 0x499087
test eax, eax
je 0x499087
cmp eax, 0x15
jne 0x4990c1
inc dword [edi + 0x668]
jmp 0x4990c1
lea eax, [edi + 0x684]
mov esi, dword [eax]
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x448]
push ecx
mov ecx, eax
call fcn.0045946b
cmp dword [eax], esi
je 0x4990bf
lea eax, [ebp + 0x18]
push eax
lea ecx, [edi + 0x684]
call fcn.004a0556
mov byte [eax], 1
xor esi, esi
mov dword [ebp - 4], 2
cmp byte [ebp + 8], 0
je 0x4991bf
push dword [ebp + 0x24]
push dword [ebp - 0x44c]
lea ecx, [ebp - 0x444]
call fcn.00533f37
mov byte [ebp - 4], 3
mov dword [ebp - 0x454], esi
cmp esi, dword [ebp + 0x1c]
jge 0x49919b
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x444]
call fcn.00440d72
cmp dword [ebp - 0x44c], 0
jl 0x49919b
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x444]
call fcn.00440d5a
movzx ecx, word [ebp - 0x448]
lea eax, [ecx - 1]
cmp eax, 0x3ff
ja 0x49919b
mov eax, ecx
cdq
push edx
push eax
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x444]
call fcn.00533ae5
cmp dword [edi + 0x318], 2
jne 0x499175
mov eax, dword [edi + 0x2c0]
dec eax
cmp dword [ebp - 0x44c], eax
jne 0x499175
mov eax, 0x17d9
cmp word [ebp + 0x14], ax
jb 0x499195
movzx eax, word [ebp - 0x448]
push eax
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x44c]
push dword [ebp + 0x18]
push ebx
mov ecx, edi
call fcn.0049cc7d
inc esi
jmp 0x4990ea
mov byte [ebp - 4], 2
mov dword [ebp - 0x444], 0x592738
mov dword [ebp - 0x444], 0x59271c
or dword [ebp - 4], 0xffffffff
call fcn.0056356d
ret 0x20
mov eax, dword [edi + 0x318]
dec eax
jne 0x4991b3
push dword [ebp + 0x24]
push dword [ebp - 0x44c]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
mov ecx, edi
call fcn.0049cc7d
jmp 0x4991b3