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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [0x1012c695], 0
mov ebx, eax
je 0x1006021a
mov eax, 0x228
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10060009
cmp dword [ebp + 8], 0x201
jne 0x1005ffd0
pop esi
mov byte [0x1012c7d4], 1
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
sub ebx, dword [0x1012c7d0]
mov byte [0x1012c7d4], 0
cmp ebx, 0x1f4
jb 0x1006021a
call esi
mov dword [0x1012c7d0], eax
call fcn.100454a0
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov eax, 0x230
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10060070
cmp dword [ebp + 8], 0x201
jne 0x10060040
pop esi
mov byte [0x1012c9d4], 1
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
sub eax, dword [0x1012c9d0]
mov byte [0x1012c9d4], 0
cmp eax, 0x1f4
jb 0x1006021a
call esi
push 0x100dade8
mov dword [0x1012c9d0], eax
call fcn.1002c870
call fcn.100454a0
push edi
xor edi, edi
mov dword [ebp - 0x20], 0x22a
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x22b
mov dword [ebp - 0x14], 0x22c
mov dword [ebp - 0x10], 0x22d
mov dword [ebp - 0xc], 0x22e
mov dword [ebp - 8], 0x22f
cmp edi, 1
je 0x10060130
test edi, edi
jne 0x100600b5
cmp dword [0x100dae6c], edi
jmp 0x100600c4
lea ecx, [edi - 2]
cmp ecx, 4
ja 0x100600c6
cmp dword [0x100dae70], 0
je 0x10060130
mov ax, word [ebp + edi*4 - 0x20]
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10060130
mov eax, dword [ebp + edi*4 - 0x20]
mov edx, eax
shl edx, 6
lea esi, [edx + 0x10123dd0]
mov ecx, ebx
sub ecx, dword [esi]
cmp byte [0x1012c695], 0
je 0x10060219
shl eax, 6
cmp dword [ebp + 8], 0x201
je 0x100601fc
mov byte [eax + 0x10123dd4], 0
cmp ecx, 0xc8
jb 0x10060219
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
mov ecx, edi
mov eax, 0x100dade8
call fcn.1002c7d0
inc edi
cmp edi, 7
jl 0x100600a0
xor edi, edi
mov esi, 0x100dae84
cmp dword [edi*4 + 0x100dadfc], 0
je 0x10060209
fld dword [esi - 8]
fstp dword [ebp - 0x28]
fld dword [esi - 4]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x28]
fld qword [0x100b7280]
fadd st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x24]
fld qword [0x100b7630]
fadd st(1)
fstp dword [ebp - 0x2c]
fild dword [0x879340c]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jnp 0x10060205
fld dword [ebp - 0x28]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10060207
fild dword [0x8793410]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10060207
fld dword [ebp - 0x2c]
fcompp
fnstsw ax
test ah, 5
jnp 0x10060209
cmp dword [ebp + 8], 0x201
je 0x10060209
mov ecx, ebx
sub ecx, dword [esi]
cmp ecx, 0x1f4
jb 0x10060209
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
cmp dword [edi*4 + 0x100dadf0], 0
je 0x10060219
xor eax, eax
mov word [0x100dae68], ax
mov byte [0x100dae6a], al
mov byte [edi + 0x100dae68], 1
jmp 0x10060209
mov byte [eax + 0x10123dd4], 1
jmp 0x10060219
fstp st(0)
fstp st(0)
add esi, 0xc
inc edi
cmp esi, 0x100dae9c
jle 0x10060141
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4