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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c8f6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x4c8f4f
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp dword [eax + 8], 0
je 0x4c8f4f
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x378]
cmp eax, 0x1f4
jbe 0x4c8f4f
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x378], eax
xor edx, edx
mov eax, dword [ebx + 0x31c]
call fcn.0048f718
xor edx, edx
mov eax, dword [ebx + 0x31c]
call fcn.0048f7d8
xor edx, edx
mov eax, dword [ebx + 0x31c]
call fcn.0048f758
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 8]
call fcn.00485ca8
test al, al
je 0x4c8e59
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x31c]
call fcn.0048f758
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [0x4d13c4]
call fcn.00404a6c
jmp 0x4c8ed4
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 8]
lea edx, [ebp - 4]
call fcn.004c8bf4
mov eax, dword [ebp - 4]
call fcn.00485ca8
test al, al
je 0x4c8ec7
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x31c]
call fcn.0048f758
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x14]
mov eax, dword [0x4d13c4]
call fcn.00404a6c
jmp 0x4c8ed4
xor edx, edx
mov eax, dword [ebx + 0x31c]
call fcn.0048f7d8
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x31c]
call fcn.0048f858
mov dl, 1
mov eax, dword [ebx + 0x31c]
call fcn.0048f718
mov esi, dword [ebx + 0x310]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 8]
call fcn.00405298
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x344]
call fcn.0048c3dc
mov dl, 1
mov eax, dword [ebx + 0x340]
call fcn.004436b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8f74
lea eax, [ebp - 8]
call fcn.0040514c
lea eax, [ebp - 4]
call fcn.00404a18
ret