Function at 0x10067310
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 [0x102c5ab8]
mov ecx, eax
movss xmm0, dword [0x101905a8]
mov dword [ebp - 4], ecx
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100673b0
comiss xmm1, dword [0x101905b0]
ja 0x100673b0
movd xmm1, dword [0x102c5ac0]
movss xmm0, dword [0x101905ac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100673b0
comiss xmm1, dword [0x101905b4]
ja 0x100673b0
cmp edi, 0x201
jne 0x10067383
pop edi
mov byte [0x101905bc], 1
pop esi
mov esp, ebp
pop ebp
ret
sub eax, dword [0x101905b8]
mov byte [0x101905bc], 0
cmp eax, 0x1f4
jb 0x10067612
call esi
mov dword [0x101905b8], eax
call fcn.100672e0
mov edx, dword [0x102c5ab8]
mov ecx, dword [ebp - 4]
movss xmm0, dword [0x10190368]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10067439
comiss xmm1, dword [0x10190370]
ja 0x10067439
movd xmm1, dword [0x102c5ac0]
movss xmm0, dword [0x1019036c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10067439
comiss xmm1, dword [0x10190374]
ja 0x10067439
mov eax, dword [0x105464e4]
inc eax
cmp eax, 1
jle 0x10067439
cmp edi, 0x201
jne 0x1006740e
pop edi
mov byte [0x1019037c], 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov byte [0x1019037c], 0
sub eax, dword [0x10190378]
cmp eax, 0x64
jb 0x10067612
call esi
dec dword [0x105464e4]
mov edx, dword [0x102c5ab8]
mov dword [0x10190378], eax
movss xmm0, dword [0x101903a8]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100674b7
comiss xmm1, dword [0x101903b0]
ja 0x100674b7
movd xmm1, dword [0x102c5ac0]
movss xmm0, dword [0x101903ac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100674b7
comiss xmm1, dword [0x101903b4]
ja 0x100674b7
mov eax, dword [0x105464e4]
inc eax
cmp eax, dword [0x105464e8]
jge 0x100674b7
cmp edi, 0x201
je 0x1006760b
mov eax, dword [ebp - 4]
sub eax, dword [0x101903b8]
mov byte [0x101903bc], 0
cmp eax, 0x64
jb 0x10067612
call esi
inc dword [0x105464e4]
mov dword [0x101903b8], eax
xor esi, esi
cmp dword [0x105464e0], esi
jle 0x10067612
mov eax, 0x879340c
mov eax, dword [eax]
sub eax, 0x198
cmp eax, 0x10
ja 0x100675fd
movss xmm0, dword [0x1019046c]
lea eax, [esi + esi*4]
addss xmm0, dword [0x10139e80]
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 0x100675fd
addss xmm1, dword [0x10139d40]
cvttss2si eax, xmm1
movzx eax, ax
cmp ecx, eax
jg 0x100675fd
cmp edi, 0x201
je 0x1006760b
mov eax, dword [ebp - 4]
sub eax, dword [0x101903b8]
mov byte [0x101903bc], 0
cmp eax, 0x64
jb 0x10067612
mov eax, dword [0x105464e4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
imul eax, eax, 0x34
cmp byte [eax + 0x105450c0], 0
je 0x10067612
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101903b8], eax
mov eax, dword [0x105464e4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*2]
imul eax, edi, 0x34
cmp byte [eax + 0x105450bb], 0
je 0x100675a5
call fcn.100672e0
mov eax, dword [0x105464e4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [0x105464ec], eax
call fcn.10067a90
jmp 0x100675fa
push edi
mov ecx, 0x10545090
call fcn.10067b40
mov ecx, eax
test ecx, ecx
je 0x100675fa
mov dword [0x105464ec], 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.100c7820
mov edi, dword [ebp - 8]
inc esi
cmp esi, dword [0x105464e0]
jge 0x10067612
jmp 0x100674c5
mov byte [0x101903bc], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret