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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
je 0x10008e3a
cmp dword [esi + 0x1c], edi
je 0x10008e3a
call fcn.10009310
lea ebp, [esi + 4]
push 1
push ebp
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.100090f0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.user32.dll_GetCursorPos]
lea ecx, [esp + 0x14]
push 8
push ecx
mov ecx, esi
call fcn.100090f0
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x14
push edx
call dword [sym.imp.user32.dll_GetCursorInfo]
test eax, eax
je 0x10008d1e
cmp dword [esp + 0x20], 1
jne 0x10008d1e
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x10008ce3
inc edi
add eax, 4
cmp edi, 0x10
jl 0x10008cd6
push str.User32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov ebx, eax
push str.DestroyCursor
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.user32.dll_DestroyCursor]
push ebx
call dword [sym.imp.kernel32.dll_FreeLibrary]
cmp edi, 0x10
jne 0x10008d16
or edi, 0xffffffff
mov ebx, dword [esp + 0x34]
mov eax, edi
jmp 0x10008d21
or eax, 0xffffffff
lea ecx, [esp + 0x13]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x1b], al
call fcn.100090f0
cmp byte [ebp], 2
jne 0x10008d89
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x44]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esi + 0x80]
push eax
push ecx
push edx
mov ecx, esi
call fcn.10009350
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x1c]
add edx, eax
mov eax, dword [esi + 0x60]
push ecx
mov ecx, dword [esi + 0x78]
push edx
push eax
push ecx
mov ecx, esi
call fcn.100093c0
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov ebp, dword [esp + 0x18]
xor edx, edx
lea eax, [ebp - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x10018c14]
cmp ebp, eax
mov edi, edx
je 0x10008db6
push edi
mov ecx, esi
call fcn.10008e50
test al, al
je 0x10008db6
add edi, 0x13
jmp 0x10008db9
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x10008dd7
push edi
mov ecx, esi
call fcn.10008e50
test al, al
je 0x10008dcd
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x10008dbe
mov eax, dword [esp + 0x18]
mov ecx, 0x13
mov dword [0x10018c14], eax
mov eax, dword [esi + 0x30]
add eax, 3
lea edi, [esi + 0x14]
cdq
idiv ecx
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebx], edx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x10008e23
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
push 1
call ebp
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x10008e12
call ebx
push eax
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4