Function at 0x48c130
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 0x48c533
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 0x48c50b
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x48c1bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x350], 0
je 0x48c197
mov eax, dword [ebp - 4]
add eax, 0x350
call fcn.00489e38
push 0x20
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40f600]
call fcn.00413c38
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 0x48c1ff
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.00413688
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.0041369c
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 0x48c2b6
cmp dword [eax + 0xb0], 0
jbe 0x48c30b
jmp 0x48c2b8
jle 0x48c30b
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 0x48c2dc
cmp eax, dword [ecx + 0xb0]
jbe 0x48c30b
jmp 0x48c2de
jle 0x48c30b
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.0048cd30
jmp 0x48c423
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x66], 0
je 0x48c34c
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 0x48c366
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0048e628
jmp 0x48c372
mov eax, dword [0x54e5f4]
mov eax, dword [eax]
call fcn.0043b298
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48c3c3
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 0x48c39e
cmp eax, dword [ebp - 0x10]
je 0x48c3c3
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.0048f77c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x314], 0
je 0x48c423
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 0x48c3f1
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x31c]
jae 0x48c423
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 + 0x368], 0
je 0x48c476
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2da], 0
jne 0x48c476
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x48c476
mov eax, dword [ebp - 4]
cmp dword [eax + 0xfc], 0
jne 0x48c45e
cmp dword [eax + 0xf8], 0
jbe 0x48c476
jmp 0x48c460
jle 0x48c476
mov eax, dword [ebp - 4]
cmp byte [eax + 0x339], 0
je 0x48c476
cmp byte [ebp - 0x11], 0
je 0x48c334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c515
mov eax, dword [ebp - 4]
mov dword [eax + 0xb8], 0
mov dword [eax + 0xbc], 0
cmp byte [ebp - 0x11], 0
je 0x48c4aa
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 1
mov eax, dword [ebp - 4]
call fcn.0048cd80
mov eax, dword [ebp - 4]
cmp dword [eax + 0x350], 0
je 0x48c4cb
mov eax, dword [ebp - 4]
add eax, 0x350
call fcn.00489e38
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
je 0x48c50a
cmp byte [ebp - 0x12], 0
jne 0x48c4f1
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 0
mov ecx, dword [0x54e6e4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x489924]
call fcn.0040ba5c
call fcn.0040361c
ret