Function at 0x48c770
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 0x48cb73
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 0x48cb4b
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x48c7fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x358], 0
je 0x48c7d7
mov eax, dword [ebp - 4]
add eax, 0x358
call fcn.0048a464
push 0x20
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40f614]
call fcn.00413c4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x358], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48c83f
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x318], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x341], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e2], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.0041369c
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x360], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x364], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0xc0], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0xb8], 0
mov dword [eax + 0xbc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004136b0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x100], eax
mov dword [ecx + 0x104], edx
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xbc], 0
jne 0x48c8f6
cmp dword [eax + 0xb8], 0
jbe 0x48c94b
jmp 0x48c8f8
jle 0x48c94b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x104]
mov eax, dword [eax + 0x100]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xbc]
jne 0x48c91c
cmp eax, dword [ecx + 0xb8]
jbe 0x48c94b
jmp 0x48c91e
jle 0x48c94b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x104]
mov eax, dword [eax + 0x100]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0xb8]
sbb edx, dword [ecx + 0xbc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x100], eax
mov dword [ecx + 0x104], edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
push eax
call sub.user32.dll_PostMessageA
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048d358
jmp 0x48ca63
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x6e], 0
je 0x48c98c
mov esi, eax
lea edx, [ebp - 0x11]
mov eax, dword [esi + 0x70]
call dword [esi + 0x6c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31c], 0
je 0x48c9a6
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0048ece8
jmp 0x48c9b2
mov eax, dword [0x5535d4]
mov eax, dword [eax]
call fcn.0043b304
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48ca03
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xbc]
mov eax, dword [eax + 0xb8]
cmp edx, dword [ebp - 0xc]
jne 0x48c9de
cmp eax, dword [ebp - 0x10]
je 0x48ca03
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xbc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
call fcn.0048fe6c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31c], 0
je 0x48ca63
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x328]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ecx, eax
test ecx, ecx
jne 0x48ca31
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x324]
jae 0x48ca63
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x48cab6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 0
jne 0x48cab6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x48cab6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x104], 0
jne 0x48ca9e
cmp dword [eax + 0x100], 0
jbe 0x48cab6
jmp 0x48caa0
jle 0x48cab6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x341], 0
je 0x48cab6
cmp byte [ebp - 0x11], 0
je 0x48c974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cb55
mov eax, dword [ebp - 4]
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
cmp byte [ebp - 0x11], 0
je 0x48caea
mov eax, dword [ebp - 4]
mov byte [eax + 0x331], 1
mov eax, dword [ebp - 4]
call fcn.0048d3a8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x358], 0
je 0x48cb0b
mov eax, dword [ebp - 4]
add eax, 0x358
call fcn.0048a464
mov eax, dword [ebp - 4]
mov byte [eax + 0x341], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
je 0x48cb4a
cmp byte [ebp - 0x12], 0
jne 0x48cb31
mov eax, dword [ebp - 4]
mov byte [eax + 0x331], 0
mov ecx, dword [0x5536c4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x489f2c]
call fcn.0040ba70
call fcn.0040361c
ret