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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10042fd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x76efc9], 0
jne 0x10017f46
cmp byte [0x75ae938], 0
je 0x100181bf
push edi
mov edi, dword [ebp + 8]
mov eax, 0xf7
call fcn.1000fff0
test al, al
je 0x10017f8a
cmp byte [0x101e79ad], 0
mov dword [0x101e4784], 0
jne 0x10017f74
mov byte [0x101e79ad], 1
jmp 0x10017f97
mov byte [0x101e79ad], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036e30
mov esp, ebp
pop ebp
ret
cmp byte [0x101e79ad], 0
je 0x100181be
mov eax, 0xf8
call fcn.1000fff0
test al, al
je 0x10017fb4
cmp dword [0x101e4784], 0
jle 0x10017fb4
dec dword [0x101e4784]
mov eax, 0xf9
call fcn.1000fff0
test al, al
je 0x10017fd1
cmp dword [0x101e4784], 2
jge 0x10017fd1
inc dword [0x101e4784]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push ebx
push esi
mov ebx, 0x101e9e98
mov esi, 0xfa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x101e4784]
jne 0x1001819b
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], 0x44
lea esp, [esp]
movsx eax, si
lea ecx, [eax + eax*8]
add ecx, ecx
add ecx, ecx
mov eax, 0x7afe950
fld dword [ecx + 0x101e7b5c]
fstp dword [ebp - 0x14]
fild dword [eax]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fld dword [ebp - 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x10018184
fadd dword [ecx + 0x101e7b54]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fcompp
fnstsw ax
test ah, 5
jnp 0x10018188
fild dword [0x7afe94c]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld dword [ecx + 0x101e7b60]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10018186
fld dword [ecx + 0x101e7b68]
fcompp
fnstsw ax
test ah, 5
jnp 0x10018188
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
sub eax, dword [ebx - 4]
cmp ecx, 0x201
jne 0x100180c3
cmp byte [ebx], 0
jne 0x100180a7
mov byte [ebx], 1
cmp eax, 0x1f4
jb 0x10018188
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx - 4], eax
jmp 0x10018188
cmp ecx, 0x202
jne 0x100180a7
cmp byte [ebx], 1
jne 0x100180a7
mov ecx, dword [0x101df39c]
push 0
push 0x28
push 0x102
push ecx
mov byte [ebx], 0
call edi
add esi, 0xffffff06
push esi
lea edx, [ebp - 0x10]
push 0x1003bbb0
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
cmp esi, 9
jge 0x10018114
mov eax, dword [0x101df39c]
push 0
push 0x30
push 0x102
push eax
call edi
cmp esi, 0x63
jge 0x1001812b
mov ecx, dword [0x101df39c]
push 0
push 0x30
push 0x102
push ecx
call edi
lea eax, [ebp - 0x10]
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018133
sub eax, edx
je 0x1001816d
mov edi, edi
movsx edx, byte [ebp + esi - 0x10]
mov eax, dword [0x101df39c]
push 0
push edx
push 0x102
push eax
call edi
lea eax, [ebp - 0x10]
inc esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018160
sub eax, edx
cmp esi, eax
jb 0x10018140
mov ecx, dword [0x101df39c]
push 0
push 0x29
push 0x102
push ecx
call edi
mov esi, dword [ebp - 0x24]
jmp 0x10018188
fstp st(1)
fstp st(0)
inc esi
add ebx, 0x24
dec dword [ebp - 0x28]
mov dword [ebp - 0x24], esi
jne 0x10018010
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
inc dword [ebp - 0x18]
add esi, 0x44
add ebx, 0x990
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
cmp esi, 0x1c6
jl 0x10017ff0
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036e30
mov esp, ebp
pop ebp
ret