Function at 0x48c560
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 0x48c9e6
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 [0x40f6f0]
call fcn.00402f14
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48c9c1
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x48c689
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0041369c
cmp edx, 0
jne 0x48c5d9
cmp eax, 0
jbe 0x48c62e
jmp 0x48c5db
jle 0x48c62e
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00413688
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34c]
mov eax, ebx
call fcn.0041369c
push edx
push eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004139e4
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413688
mov eax, dword [ebp - 0xc]
call fcn.0041369c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x108], eax
mov dword [ecx + 0x10c], edx
jmp 0x48c645
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 0x48c65e
mov eax, dword [ebp - 4]
add eax, 0x34c
call fcn.00489e38
push 0x22
push 0
push 0x10000
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x487010]
call fcn.0048798c
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 0x48c6d9
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34c]
mov eax, ebx
call fcn.0041369c
push edx
push eax
mov eax, ebx
call fcn.00413688
mov eax, dword [ebp - 0xc]
call fcn.0041369c
cmp edx, 0
jne 0x48c706
cmp eax, 0
jbe 0x48c739
jmp 0x48c708
jle 0x48c739
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413688
mov eax, dword [ebp - 0xc]
call fcn.0041369c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov edx, dword [ebp - 0xc]
call fcn.004139e4
mov eax, dword [ebp - 0xc]
call fcn.00413e1c
jmp 0x48c750
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.0048cd30
mov eax, dword [ebp - 4]
mov byte [eax + 0x304], 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 0x48c921
mov eax, dword [ebp - 4]
call fcn.0048e644
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48c83e
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 0x48c7e9
cmp eax, dword [ebp - 0x18]
je 0x48c83e
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.0048f77c
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x324]
cmp eax, 0xea60
jbe 0x48c83e
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 + 0x368], 0
je 0x48c88b
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 0x48c88b
cmp eax, dword [ecx + 0xf8]
jne 0x48c88b
test esi, esi
jne 0x48c879
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x48c88b
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x2710
ja 0x48c949
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x66], 0
je 0x48c8b5
mov edi, eax
lea edx, [ebp - 0x19]
mov eax, dword [edi + 0x68]
call dword [edi + 0x64]
cmp byte [ebp - 0x19], 0
je 0x48c8b5
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 0x48c921
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 0x48c8e3
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 + 0x318]
jae 0x48c921
mov eax, dword [ebp - 4]
call fcn.0048f5ec
test eax, eax
jle 0x48c921
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 + 0x368], 0
je 0x48c949
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x48c949
mov eax, dword [ebp - 4]
cmp byte [eax + 0x339], 0
jne 0x48c7b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c9c8
mov eax, dword [ebp - 4]
call fcn.0048cd80
cmp dword [ebp - 0xc], 0
je 0x48c96c
lea eax, [ebp - 0xc]
call fcn.00489e38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34c], 0
je 0x48c985
mov eax, dword [ebp - 4]
add eax, 0x34c
call fcn.00489e38
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 0x48c9c0
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