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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], 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 0x48c606
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
xor esi, esi
mov dl, 1
mov eax, dword [0x40f770]
call fcn.00402f14
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48c5e1
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x48c2a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0041371c
cmp edx, 0
jne 0x48c1f9
cmp eax, 0
jbe 0x48c24e
jmp 0x48c1fb
jle 0x48c24e
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00413708
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34c]
mov eax, ebx
call fcn.0041371c
push edx
push eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00413a64
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413708
mov eax, dword [ebp - 0xc]
call fcn.0041371c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x108], eax
mov dword [ecx + 0x10c], edx
jmp 0x48c265
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34c], 0
je 0x48c27e
mov eax, dword [ebp - 4]
add eax, 0x34c
call fcn.00489bd4
push 0x22
push 0
push 0x10000
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x486e14]
call fcn.00487790
mov edx, dword [ebp - 4]
mov dword [edx + 0x34c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48c2f9
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34c]
mov eax, ebx
call fcn.0041371c
push edx
push eax
mov eax, ebx
call fcn.00413708
mov eax, dword [ebp - 0xc]
call fcn.0041371c
cmp edx, 0
jne 0x48c326
cmp eax, 0
jbe 0x48c359
jmp 0x48c328
jle 0x48c359
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413708
mov eax, dword [ebp - 0xc]
call fcn.0041371c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov edx, dword [ebp - 0xc]
call fcn.00413a64
mov eax, dword [ebp - 0xc]
call fcn.00413e9c
jmp 0x48c370
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x324], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x310], 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048c93c
mov eax, dword [ebp - 4]
mov byte [eax + 0x300], 1
mov eax, dword [ebp - 4]
push eax
push 0
push 0x468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
jmp 0x48c541
mov eax, dword [ebp - 4]
call fcn.0048e180
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48c45e
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x108]
cmp edx, dword [ebp - 0x14]
jne 0x48c409
cmp eax, dword [ebp - 0x18]
je 0x48c45e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x108]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x10c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe8]
call fcn.0048f2c0
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x324]
cmp eax, 0xea60
jbe 0x48c45e
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x324], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov byte [eax + 0x36], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x48c4ab
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x108]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xfc]
jne 0x48c4ab
cmp eax, dword [ecx + 0xf8]
jne 0x48c4ab
test esi, esi
jne 0x48c499
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x48c4ab
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x2710
ja 0x48c569
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x66], 0
je 0x48c4d5
mov edi, eax
lea edx, [ebp - 0x19]
mov eax, dword [edi + 0x68]
call dword [edi + 0x64]
cmp byte [ebp - 0x19], 0
je 0x48c4d5
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x19]
mov byte [eax + 0x329], dl
mov eax, dword [ebp - 4]
cmp byte [eax + 0x313], 0
je 0x48c541
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 0x48c503
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 + 0x318]
jae 0x48c541
mov eax, dword [ebp - 4]
call fcn.0048f124
test eax, eax
jle 0x48c541
mov eax, dword [ebp - 4]
push eax
push 0
push 0x468
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 0x48c569
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x48c569
mov eax, dword [ebp - 4]
cmp byte [eax + 0x339], 0
jne 0x48c3d5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c5e8
mov eax, dword [ebp - 4]
call fcn.0048c98c
cmp dword [ebp - 0xc], 0
je 0x48c58c
lea eax, [ebp - 0xc]
call fcn.00489bd4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34c], 0
je 0x48c5a5
mov eax, dword [ebp - 4]
add eax, 0x34c
call fcn.00489bd4
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x329]
or al, byte [ebp - 0x1a]
je 0x48c5e0
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 0
mov ecx, dword [0x54c6b8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4896c0]
call fcn.0040badc
call fcn.0040361c
ret