Function at 0x10065ee0
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 [0x102c4ab8]
mov ecx, eax
movss xmm0, dword [0x1018f5a8]
mov dword [ebp - 4], ecx
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10065f80
comiss xmm1, dword [0x1018f5b0]
ja 0x10065f80
movd xmm1, dword [0x102c4ac0]
movss xmm0, dword [0x1018f5ac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10065f80
comiss xmm1, dword [0x1018f5b4]
ja 0x10065f80
cmp edi, 0x201
jne 0x10065f53
pop edi
mov byte [0x1018f5bc], 1
pop esi
mov esp, ebp
pop ebp
ret
sub eax, dword [0x1018f5b8]
mov byte [0x1018f5bc], 0
cmp eax, 0x1f4
jb 0x100661e2
call esi
mov dword [0x1018f5b8], eax
call fcn.10065eb0
mov edx, dword [0x102c4ab8]
mov ecx, dword [ebp - 4]
movss xmm0, dword [0x1018f368]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066009
comiss xmm1, dword [0x1018f370]
ja 0x10066009
movd xmm1, dword [0x102c4ac0]
movss xmm0, dword [0x1018f36c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066009
comiss xmm1, dword [0x1018f374]
ja 0x10066009
mov eax, dword [0x105454d4]
inc eax
cmp eax, 1
jle 0x10066009
cmp edi, 0x201
jne 0x10065fde
pop edi
mov byte [0x1018f37c], 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov byte [0x1018f37c], 0
sub eax, dword [0x1018f378]
cmp eax, 0x64
jb 0x100661e2
call esi
dec dword [0x105454d4]
mov edx, dword [0x102c4ab8]
mov dword [0x1018f378], eax
movss xmm0, dword [0x1018f3a8]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066087
comiss xmm1, dword [0x1018f3b0]
ja 0x10066087
movd xmm1, dword [0x102c4ac0]
movss xmm0, dword [0x1018f3ac]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10066087
comiss xmm1, dword [0x1018f3b4]
ja 0x10066087
mov eax, dword [0x105454d4]
inc eax
cmp eax, dword [0x105454d8]
jge 0x10066087
cmp edi, 0x201
je 0x100661db
mov eax, dword [ebp - 4]
sub eax, dword [0x1018f3b8]
mov byte [0x1018f3bc], 0
cmp eax, 0x64
jb 0x100661e2
call esi
inc dword [0x105454d4]
mov dword [0x1018f3b8], eax
xor esi, esi
cmp dword [0x105454d0], esi
jle 0x100661e2
mov eax, 0x879340c
mov eax, dword [eax]
sub eax, 0x198
cmp eax, 0x10
ja 0x100661cd
movss xmm0, dword [0x1018f46c]
lea eax, [esi + esi*4]
addss xmm0, dword [0x10138e68]
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 0x100661cd
addss xmm1, dword [0x10138d28]
cvttss2si eax, xmm1
movzx eax, ax
cmp ecx, eax
jg 0x100661cd
cmp edi, 0x201
je 0x100661db
mov eax, dword [ebp - 4]
sub eax, dword [0x1018f3b8]
mov byte [0x1018f3bc], 0
cmp eax, 0x64
jb 0x100661e2
mov eax, dword [0x105454d4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
imul eax, eax, 0x34
cmp byte [eax + 0x105440b0], 0
je 0x100661e2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1018f3b8], eax
mov eax, dword [0x105454d4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*2]
imul eax, edi, 0x34
cmp byte [eax + 0x105440ab], 0
je 0x10066175
call fcn.10065eb0
mov eax, dword [0x105454d4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
mov dword [0x105454dc], eax
call fcn.10066660
jmp 0x100661ca
push edi
mov ecx, 0x10544080
call fcn.10066710
mov ecx, eax
test ecx, ecx
je 0x100661ca
mov dword [0x105454dc], 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.100c5f00
mov edi, dword [ebp - 8]
inc esi
cmp esi, dword [0x105454d0]
jge 0x100661e2
jmp 0x10066095
mov byte [0x1018f3bc], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret