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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x102985a8]
cmp byte [0x1029848d], 0
mov edi, dword [ebp + 8]
je 0x100241c3
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10298598]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100241c3
comiss xmm1, dword [0x102985a0]
ja 0x100241c3
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029859c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100241c3
comiss xmm1, dword [0x102985a4]
ja 0x100241c3
cmp dword [0x1084d3e0], 1
je 0x100241c3
cmp dword [0x10297268], 0
jg 0x100241c3
cmp edi, 0x201
jne 0x1002417b
pop edi
mov byte [0x102985ac], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x102985ac], 0
cmp eax, 0x1f4
jb 0x100241c3
call esi
mov dword [ebp - 7], 0
lea ecx, [ebp - 8]
mov edx, 5
mov dword [0x102985a8], eax
mov dword [0x1084d3f0], 0
mov dword [0x1084d3e0], 0
mov dword [ebp - 8], 0xe8f305c1
mov byte [ebp - 4], 0xf
call fcn.100aba10
call esi
sub eax, dword [0x10298608]
cmp byte [0x1029848d], 0
je 0x10024295
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102985f8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10024295
comiss xmm1, dword [0x10298600]
ja 0x10024295
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102985fc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10024295
comiss xmm1, dword [0x10298604]
ja 0x10024295
cmp dword [0x1084d3e0], 1
je 0x10024295
cmp dword [0x10297268], 0
jg 0x10024295
cmp edi, 0x201
jne 0x1002424d
pop edi
mov byte [0x1029860c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x1029860c], 0
cmp eax, 0x1f4
jb 0x10024295
call esi
mov dword [ebp - 7], 0
lea ecx, [ebp - 8]
mov edx, 5
mov dword [0x10298608], eax
mov dword [0x1084d3f0], 1
mov dword [0x1084d3e0], 0
mov dword [ebp - 8], 0xe8f305c1
mov byte [ebp - 4], 0x10
call fcn.100aba10
call esi
sub eax, dword [0x10298668]
cmp byte [0x1029848d], 0
je 0x10024367
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10298658]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10024367
comiss xmm1, dword [0x10298660]
ja 0x10024367
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029865c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10024367
comiss xmm1, dword [0x10298664]
ja 0x10024367
cmp dword [0x1084d3e0], 1
je 0x10024367
cmp dword [0x10297268], 0
jg 0x10024367
cmp edi, 0x201
jne 0x1002431f
pop edi
mov byte [0x1029866c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x1029866c], 0
cmp eax, 0x1f4
jb 0x10024367
call esi
mov dword [ebp - 7], 0
lea ecx, [ebp - 8]
mov edx, 5
mov dword [0x10298668], eax
mov dword [0x1084d3f0], 2
mov dword [0x1084d3e0], 0
mov dword [ebp - 8], 0xe8f305c1
mov byte [ebp - 4], 0x11
call fcn.100aba10
call esi
sub eax, dword [0x102986c8]
cmp byte [0x1029848d], 0
je 0x10024439
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102986b8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10024439
comiss xmm1, dword [0x102986c0]
ja 0x10024439
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102986bc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10024439
comiss xmm1, dword [0x102986c4]
ja 0x10024439
cmp dword [0x1084d3e0], 1
je 0x10024439
cmp dword [0x10297268], 0
jg 0x10024439
cmp edi, 0x201
jne 0x100243f1
pop edi
mov byte [0x102986cc], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x102986cc], 0
cmp eax, 0x1f4
jb 0x10024439
call esi
mov dword [ebp - 7], 0
lea ecx, [ebp - 8]
mov edx, 5
mov dword [0x102986c8], eax
mov dword [0x1084d3f0], 3
mov dword [0x1084d3e0], 0
mov dword [ebp - 8], 0xe8f305c1
mov byte [ebp - 4], 0x12
call fcn.100aba10
call esi
sub eax, dword [0x10298548]
cmp byte [0x1029848d], 0
je 0x100244cf
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10298538]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100244cf
comiss xmm1, dword [0x10298540]
ja 0x100244cf
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029853c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100244cf
comiss xmm1, dword [0x10298544]
ja 0x100244cf
cmp edi, 0x201
jne 0x100244a9
pop edi
mov byte [0x1029854c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x1029854c], 0
cmp eax, 0x1f4
jb 0x100244cf
call esi
mov dword [0x10298548], eax
mov byte [0x1029848d], 0
mov dword [0xe8cb3c], 0
call esi
mov ecx, eax
sub eax, dword [0x1029a708]
sub ecx, dword [0x1029a6a8]
cmp byte [0x1029848d], 0
je 0x1002456f
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x1029a698]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1002456f
comiss xmm1, dword [0x1029a6a0]
ja 0x1002456f
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029a69c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1002456f
comiss xmm1, dword [0x1029a6a4]
ja 0x1002456f
cmp edi, 0x201
jne 0x10024547
pop edi
mov byte [0x1029a6ac], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x64
jb 0x1002456f
cmp eax, 0x64
jb 0x1002456f
inc dword [0x1084d3e8]
mov byte [0x1029a6ac], 0
call esi
pop edi
mov dword [0x1029a6a8], eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
call esi
mov ecx, eax
sub eax, dword [0x1029a6a8]
sub ecx, dword [0x1029a708]
cmp byte [0x1029848d], 0
je 0x1002460f
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x1029a6f8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1002460f
comiss xmm1, dword [0x1029a700]
ja 0x1002460f
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029a6fc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1002460f
comiss xmm1, dword [0x1029a704]
ja 0x1002460f
cmp edi, 0x201
jne 0x100245e7
pop edi
mov byte [0x1029a70c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x64
jb 0x1002460f
cmp eax, 0x64
jb 0x1002460f
mov byte [0x1029a70c], 0
call esi
dec dword [0x1084d3e8]
pop edi
mov dword [0x1029a708], eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
call esi
sub eax, dword [0x10298728]
cmp byte [0x1029848d], 0
je 0x100246b1
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10298718]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100246b1
comiss xmm1, dword [0x10298720]
ja 0x100246b1
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1029871c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100246b1
comiss xmm1, dword [0x10298724]
ja 0x100246b1
cmp dword [0x10297268], 0
jg 0x100246b1
cmp edi, 0x201
jne 0x10024688
pop edi
mov byte [0x1029872c], 1
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x1029872c], 0
cmp eax, 0x1f4
jb 0x100246b1
call esi
mov dword [0x10298728], eax
mov dword [0x1084d3f0], 0
mov dword [0x1084d3e0], 2
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4