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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4a60d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x544978]
mov byte [eax], 0
mov eax, dword [0x544738]
cmp dword [eax], 0
je 0x4a60ba
mov eax, dword [0x544a40]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, dword [0x544574]
cmp eax, dword [edx]
jne 0x4a60ba
mov eax, dword [0x5449f0]
cmp byte [eax], 0
ja 0x4a60ba
mov eax, dword [0x544574]
mov eax, dword [eax]
mov ecx, esi
mov edx, ebx
call fcn.00524984
mov edx, dword [0x5447ec]
mov byte [edx], al
mov eax, dword [0x54521c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [0x544574]
mov eax, dword [eax]
mov ecx, esi
mov edx, ebx
call fcn.00524788
mov edi, eax
mov eax, dword [0x54521c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
je 0x4a5f4c
mov eax, dword [0x54521c]
xor edx, edx
mov dword [eax], edx
test edi, edi
je 0x4a5f8e
cmp dword [edi + 0x34], 0
jne 0x4a5f85
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x228]
cmp eax, 0x2710
jbe 0x4a5f85
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x228], eax
mov eax, dword [edi + 0xc]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov eax, dword [ebp - 4]
call fcn.004aba5c
mov eax, dword [0x544898]
mov dword [eax], edi
jmp 0x4a5f97
mov eax, dword [0x544898]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x544574]
mov eax, dword [eax]
mov ecx, esi
mov edx, ebx
call fcn.00524a74
mov edx, dword [0x544d48]
mov dword [edx], eax
mov eax, dword [0x544d48]
cmp dword [eax], 0
je 0x4a6011
mov eax, dword [0x544630]
mov byte [eax], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x544d48]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [0x544d48]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [0x544574]
mov eax, dword [eax]
call fcn.00524294
mov eax, dword [ebp - 0x18]
push eax
push 0xffffff
push 1
mov ecx, dword [ebp - 0x10]
sub ecx, 0xa
mov edx, dword [ebp - 0xc]
sub edx, 0x14
mov eax, dword [0x544a40]
mov eax, dword [eax]
call fcn.0053b7b4
jmp 0x4a603b
mov eax, dword [0x544630]
cmp byte [eax], 0
jne 0x4a602f
mov eax, dword [0x544630]
mov byte [eax], 1
mov eax, dword [0x544a40]
mov eax, dword [eax]
call fcn.0053bfa0
mov eax, dword [0x544a40]
mov eax, dword [eax]
call fcn.0053bfa0
mov eax, dword [0x5445c4]
push eax
mov eax, dword [0x5444b0]
push eax
mov eax, dword [0x544574]
mov eax, dword [eax]
mov ecx, esi
mov edx, ebx
call fcn.0052442c
mov eax, dword [0x544ccc]
mov dword [eax], ebx
mov eax, dword [0x544bd4]
mov dword [eax], esi
mov eax, dword [0x544bc4]
mov byte [eax], 0
mov eax, dword [0x544c94]
mov byte [eax], 0
mov eax, dword [0x544de8]
mov byte [eax], 0
mov eax, dword [0x544b80]
mov byte [eax], 0
test byte [ebp - 6], 8
jne 0x4a6091
test byte [ebp - 6], 0x10
je 0x4a60ba
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x390]
cmp eax, 0x12c
jbe 0x4a60ba
mov al, byte [ebp - 6]
push eax
push ebx
push esi
mov cl, byte [ebp - 5]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.004a7b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a60d7
lea eax, [ebp - 0x18]
call fcn.00405080
ret