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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x48c3db
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x12], 0
xor edx, edx
push ebp
push 0x48c3b3
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x48c063
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x350], 0
je 0x48c03f
mov eax, dword [ebp - 4]
add eax, 0x350
call fcn.00489dc4
push 0x20
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40f610]
call fcn.00413c48
mov edx, dword [ebp - 4]
mov dword [edx + 0x350], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48c0a7
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x310], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2da], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
call fcn.00413698
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x358], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x35c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0xb8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xbc], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb4], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
call fcn.004136ac
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xf8], eax
mov dword [ecx + 0xfc], edx
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb4], 0
jne 0x48c15e
cmp dword [eax + 0xb0], 0
jbe 0x48c1b3
jmp 0x48c160
jle 0x48c1b3
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xfc]
mov eax, dword [eax + 0xf8]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xb4]
jne 0x48c184
cmp eax, dword [ecx + 0xb0]
jbe 0x48c1b3
jmp 0x48c186
jle 0x48c1b3
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xfc]
mov eax, dword [eax + 0xf8]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0xb0]
sbb edx, dword [ecx + 0xb4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xf8], eax
mov dword [ecx + 0xfc], edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048cbc4
jmp 0x48c2cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x66], 0
je 0x48c1f4
mov esi, eax
lea edx, [ebp - 0x11]
mov eax, dword [esi + 0x68]
call dword [esi + 0x64]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x314], 0
je 0x48c20e
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0048e48c
jmp 0x48c21a
mov eax, dword [0x54d5d4]
mov eax, dword [eax]
call fcn.0043b2a8
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48c26b
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb4]
mov eax, dword [eax + 0xb0]
cmp edx, dword [ebp - 0xc]
jne 0x48c246
cmp eax, dword [ebp - 0x10]
je 0x48c26b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb0]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xb4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe8]
call fcn.0048f5dc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x314], 0
je 0x48c2cb
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x320]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ecx, eax
test ecx, ecx
jne 0x48c299
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x31c]
jae 0x48c2cb
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x48c31e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2da], 0
jne 0x48c31e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x48c31e
mov eax, dword [ebp - 4]
cmp dword [eax + 0xfc], 0
jne 0x48c306
cmp dword [eax + 0xf8], 0
jbe 0x48c31e
jmp 0x48c308
jle 0x48c31e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x339], 0
je 0x48c31e
cmp byte [ebp - 0x11], 0
je 0x48c1dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c3bd
mov eax, dword [ebp - 4]
mov dword [eax + 0xb8], 0
mov dword [eax + 0xbc], 0
cmp byte [ebp - 0x11], 0
je 0x48c352
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 1
mov eax, dword [ebp - 4]
call fcn.0048cc14
mov eax, dword [ebp - 4]
cmp dword [eax + 0x350], 0
je 0x48c373
mov eax, dword [ebp - 4]
add eax, 0x350
call fcn.00489dc4
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
je 0x48c3b2
cmp byte [ebp - 0x12], 0
jne 0x48c399
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 0
mov ecx, dword [0x54d6c4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4898b0]
call fcn.0040ba6c
call fcn.0040361c
ret