Function at 0x10009140
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 0x1000931a
cmp dword [esi + 0x1c], edi
je 0x1000931a
call fcn.100097f0
lea ebp, [esi + 4]
push 1
push ebp
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.100095d0
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.100095d0
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x14
push edx
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x100091fe
cmp dword [esp + 0x20], 1
jne 0x100091fe
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x100091c3
inc edi
add eax, 4
cmp edi, 0x10
jl 0x100091b6
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 0x100091f6
or edi, 0xffffffff
mov ebx, dword [esp + 0x34]
mov eax, edi
jmp 0x10009201
or eax, 0xffffffff
lea ecx, [esp + 0x13]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x1b], al
call fcn.100095d0
cmp byte [ebp], 2
jne 0x10009269
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.10009830
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.100098a0
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 [0x10019bd0]
cmp ebp, eax
mov edi, edx
je 0x10009296
push edi
mov ecx, esi
call fcn.10009330
test al, al
je 0x10009296
add edi, 0x13
jmp 0x10009299
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x100092b7
push edi
mov ecx, esi
call fcn.10009330
test al, al
je 0x100092ad
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x1000929e
mov eax, dword [esp + 0x18]
mov ecx, 0x13
mov dword [0x10019bd0], 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 0x10009303
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 0x100092f2
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