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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
call esi
mov edx, dword [0x102c0918]
mov ecx, eax
movss xmm0, dword [0x1018b5a8]
mov dword [ebp - 4], ecx
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066980
comiss xmm1, dword [0x1018b5b0]
ja 0x10066980
movd xmm1, dword [0x102c0920]
movss xmm0, dword [0x1018b5ac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066980
comiss xmm1, dword [0x1018b5b4]
ja 0x10066980
cmp edi, 0x201
jne 0x10066953
pop edi
mov byte [0x1018b5bc], 1
pop esi
mov esp, ebp
pop ebp
ret
sub eax, dword [0x1018b5b8]
mov byte [0x1018b5bc], 0
cmp eax, 0x1f4
jb 0x10066be2
call esi
mov dword [0x1018b5b8], eax
call fcn.100668b0
mov edx, dword [0x102c0918]
mov ecx, dword [ebp - 4]
movss xmm0, dword [0x1018b368]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066a09
comiss xmm1, dword [0x1018b370]
ja 0x10066a09
movd xmm1, dword [0x102c0920]
movss xmm0, dword [0x1018b36c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066a09
comiss xmm1, dword [0x1018b374]
ja 0x10066a09
mov eax, dword [0x10541334]
inc eax
cmp eax, 1
jle 0x10066a09
cmp edi, 0x201
jne 0x100669de
pop edi
mov byte [0x1018b37c], 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov byte [0x1018b37c], 0
sub eax, dword [0x1018b378]
cmp eax, 0x64
jb 0x10066be2
call esi
dec dword [0x10541334]
mov edx, dword [0x102c0918]
mov dword [0x1018b378], eax
movss xmm0, dword [0x1018b3a8]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066a87
comiss xmm1, dword [0x1018b3b0]
ja 0x10066a87
movd xmm1, dword [0x102c0920]
movss xmm0, dword [0x1018b3ac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066a87
comiss xmm1, dword [0x1018b3b4]
ja 0x10066a87
mov eax, dword [0x10541334]
inc eax
cmp eax, dword [0x10541338]
jge 0x10066a87
cmp edi, 0x201
je 0x10066bdb
mov eax, dword [ebp - 4]
sub eax, dword [0x1018b3b8]
mov byte [0x1018b3bc], 0
cmp eax, 0x64
jb 0x10066be2
call esi
inc dword [0x10541334]
mov dword [0x1018b3b8], eax
xor esi, esi
cmp dword [0x10541330], esi
jle 0x10066be2
mov eax, 0x879340c
mov eax, dword [eax]
sub eax, 0x198
cmp eax, 0x10
ja 0x10066bcd
movss xmm0, dword [0x1018b46c]
lea eax, [esi + esi*4]
addss xmm0, dword [0x10135c28]
shl eax, 2
mov ecx, dword [0x8793410]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvttss2si eax, xmm1
movzx eax, ax
cmp ecx, eax
jl 0x10066bcd
addss xmm1, dword [0x10135ae8]
cvttss2si eax, xmm1
movzx eax, ax
cmp ecx, eax
jg 0x10066bcd
cmp edi, 0x201
je 0x10066bdb
mov eax, dword [ebp - 4]
sub eax, dword [0x1018b3b8]
mov byte [0x1018b3bc], 0
cmp eax, 0x64
jb 0x10066be2
mov eax, dword [0x10541334]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
imul eax, eax, 0x34
cmp byte [eax + 0x1053ff10], 0
je 0x10066be2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1018b3b8], eax
mov eax, dword [0x10541334]
lea eax, [eax + eax*4]
lea edi, [esi + eax*2]
imul eax, edi, 0x34
cmp byte [eax + 0x1053ff0b], 0
je 0x10066b75
call fcn.100668b0
mov eax, dword [0x10541334]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [0x1054133c], eax
call fcn.10067090
jmp 0x10066bca
push edi
mov ecx, 0x1053fee0
call fcn.10067140
mov ecx, eax
test ecx, ecx
je 0x10066bca
mov dword [0x1054133c], edi
mov dl, 0x24
movq xmm0, qword [ecx + 4]
mov ax, word [ecx + 0xc]
movq qword [ebp - 0x28], xmm0
xorps xmm0, xmm0
mov word [ebp - 0x20], ax
mov al, byte [ecx + 0xe]
lea ecx, [ebp - 0x2c]
movzx edx, dl
mov dword [ebp - 0x2c], 0x5ff24c1
mov byte [ebp - 0x1e], al
movups xmmword [ebp - 0x1d], xmm0
mov dword [ebp - 0xd], 0
mov byte [ebp - 9], 0
call fcn.100c3740
mov edi, dword [ebp - 8]
inc esi
cmp esi, dword [0x10541330]
jge 0x10066be2
jmp 0x10066a95
mov byte [0x1018b3bc], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret