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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1011bbdc], 0
push ebx
push esi
push edi
jne 0x100197c0
push 0xc
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100197c0
cmp byte [0x102bf73d], 1
jne 0x100197c0
mov byte [0x102bf73d], al
mov dword [0xe8cb3c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bf798]
cmp eax, 0x64
jae 0x100197e4
mov byte [0x102bf73d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bf7f8]
cmp eax, 0x64
jae 0x10019802
mov byte [0x102bf73d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bf73d], 0
je 0x1001a0db
mov dword [0xe8cb3c], 1
cmp dword [0x1011bbdc], 0
jne 0x10019833
mov eax, dword [0x11479250]
add eax, 0x19
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jmp 0x1001984c
mov eax, dword [0x1010cba8]
cdq
sub eax, edx
sar eax, 1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm3, dword [0x10104038]
movss xmm2, dword [0x102bf720]
movaps xmm0, xmm3
movss xmm1, dword [0x102bf724]
addss xmm0, xmm2
sub esp, 0x10
movss dword [ebp - 4], xmm3
mov edi, 0x790b50
movss dword [0x102bf728], xmm3
mov dword [0x102bf72c], 0x42b80000
movss dword [0x102bf730], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10103fe4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b80000
movss dword [esp], xmm3
push dword [0x102bf71c]
movss dword [0x102bf734], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102bd440]
movaps xmm0, xmm3
movss xmm1, dword [0x102bd444]
addss xmm0, xmm2
movss dword [0x102bd448], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b40000
movss dword [0x102bd450], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10103fdc]
movss dword [esp], xmm3
push dword [0x102bd43c]
mov dword [0x102bd44c], 0x42b40000
movss dword [0x102bd454], xmm0
call edi
movss xmm3, dword [0x10103ff0]
add esp, 0x14
movss xmm0, dword [0x102bd4a4]
mov esi, 5
movss dword [ebp - 8], xmm3
nop dword [eax + eax]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102bd4a0]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm3
movss dword [esp], xmm0
push dword [0x102bd49c]
call edi
movss xmm3, dword [ebp - 8]
add esp, 0x14
movss xmm0, dword [0x102bd4a4]
addss xmm3, xmm0
movss dword [ebp - 8], xmm3
sub esi, 1
jne 0x10019950
movss xmm4, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x102bd500]
movaps xmm0, xmm4
movss xmm1, dword [0x102bd504]
addss xmm0, xmm2
movss dword [0x102bd508], xmm4
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm3
movss dword [0x102bd510], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp], xmm4
push dword [0x102bd4fc]
movss dword [0x102bd50c], xmm3
movss dword [0x102bd514], xmm0
call edi
cvttss2si edi, dword [ebp - 4]
add esp, 0x14
mov ecx, 0x101c5a88
push 0x42
lea esi, [edi + 0xa]
call fcn.10043560
push eax
push 3
push 0xd2
push 0x64
push esi
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
mov eax, dword [0x1011bbdc]
add esp, 0x1c
cmp eax, 7
jne 0x10019a8d
push 0x16d
mov ecx, 0x101c5a88
call fcn.10043560
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
add esp, 0x1c
mov ecx, 0x101c5a88
push 0x16e
call fcn.10043560
push eax
push 3
push 0xd2
push 0x8d
jmp 0x10019ac6
cmp eax, 6
jne 0x10019a99
push 0x161
jmp 0x10019aaf
cmp eax, 3
je 0x10019ae5
cmp eax, 4
je 0x10019ae5
cmp eax, 1
je 0x10019ade
cmp eax, 2
je 0x10019ade
push 0x43
mov ecx, 0x101c5a88
call fcn.10043560
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
add esp, 0x1c
jmp 0x10019b75
push 0x11f
jmp 0x10019aaf
push 0x1011bc50
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
mov edx, dword [0x1011bbe0]
add esp, 0x1c
mov eax, dword [0x1011bbe8]
mov ecx, dword [0x1011bbe4]
test edx, edx
jg 0x10019b26
test ecx, ecx
jg 0x10019b26
test eax, eax
jle 0x10019b75
cmp byte [0x1011bc50], 0
push eax
push ecx
push edx
mov ecx, 0x101c5a88
push 0x13f
jne 0x10019b50
call fcn.10043560
push eax
push 3
push 0xd2
push 0x82
jmp 0x10019b62
call fcn.10043560
push eax
push 3
push 0xd2
push 0x8d
push esi
push 0xff19bdff
push 0x102bc710
call fcn.1007a330
add esp, 0x28
mov eax, dword [0x1011bbdc]
cmp eax, 6
je 0x10019f16
cmp eax, 7
je 0x10019f16
movss xmm0, dword [0x102bf788]
lea eax, [edi + 0x28]
movss xmm1, dword [0x10104388]
movss xmm3, dword [0x102bf784]
movss xmm4, dword [0x102bf780]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x10019bd5
movss xmm0, dword [0x102bf78c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019c09
movaps xmm0, xmm2
movss dword [0x102bf788], xmm2
addss xmm0, xmm4
mov dword [0x102bf78c], 0x43200000
movss dword [0x102bf790], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101040d0]
movss dword [0x102bf794], xmm0
sub esp, 0x18
mov esi, 0x790e40
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm2
push dword [0x102bf77c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102bf788]
mov ebx, 0x3c
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10019d51
comiss xmm0, dword [0x102bf790]
ja 0x10019d51
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102bf78c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10019d51
comiss xmm0, dword [0x102bf794]
ja 0x10019d51
cmp byte [0x102bf79c], 0
mov ecx, 0x1e
movss xmm0, dword [0x10104388]
movss xmm3, dword [0x102bf780]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102bf784]
lahf
test ah, 0x44
jnp 0x10019cd5
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019d10
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102bf788], xmm1
addss xmm0, xmm3
mov dword [0x102bf78c], 0x43200000
movss dword [0x102bf790], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101040d0]
movss dword [0x102bf794], xmm0
jmp 0x10019d15
movss xmm1, dword [ebp - 8]
sub esp, 0x18
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm1
push dword [0x102bf77c]
call esi
add esp, 0x1c
movss xmm0, dword [0x102bf7e8]
lea eax, [edi + 0x8c]
movss xmm1, dword [0x10104388]
movss xmm3, dword [0x102bf7e4]
movss xmm4, dword [0x102bf7e0]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x10019d9d
movss xmm0, dword [0x102bf7ec]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019dd1
movaps xmm0, xmm2
movss dword [0x102bf7e8], xmm2
addss xmm0, xmm4
mov dword [0x102bf7ec], 0x43200000
movss dword [0x102bf7f0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101040d0]
movss dword [0x102bf7f4], xmm0
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm2
push dword [0x102bf7dc]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102bf7e8]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1001a0db
comiss xmm0, dword [0x102bf7f0]
ja 0x1001a0db
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102bf7ec]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1001a0db
comiss xmm0, dword [0x102bf7f4]
ja 0x1001a0db
cmp byte [0x102bf7fc], 0
mov ecx, 0x1e
movss xmm0, dword [0x10104388]
movss xmm3, dword [0x102bf7e0]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102bf7e4]
lahf
test ah, 0x44
jnp 0x10019e93
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019ece
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102bf7e8], xmm1
addss xmm0, xmm3
mov dword [0x102bf7ec], 0x43200000
movss dword [0x102bf7f0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101040d0]
movss dword [0x102bf7f4], xmm0
jmp 0x10019ed3
movss xmm1, dword [ebp - 8]
sub esp, 0x18
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm1
push dword [0x102bf7dc]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x102bf788]
lea eax, [edi + 0x5a]
movss xmm2, dword [0x10104388]
movss xmm3, dword [0x102bf784]
movss xmm4, dword [0x102bf780]
ucomiss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
movss dword [ebp - 8], xmm1
test ah, 0x44
jnp 0x10019f5f
movss xmm0, dword [0x102bf78c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10019f93
movaps xmm0, xmm1
movss dword [0x102bf788], xmm1
addss xmm0, xmm4
mov dword [0x102bf78c], 0x43200000
movss dword [0x102bf790], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101040d0]
movss dword [0x102bf794], xmm0
sub esp, 0x18
mov esi, 0x790e40
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm1
push dword [0x102bf77c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102bf788]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1001a0db
comiss xmm0, dword [0x102bf790]
ja 0x1001a0db
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102bf78c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1001a0db
comiss xmm0, dword [0x102bf794]
ja 0x1001a0db
cmp byte [0x102bf79c], 0
mov eax, 0x3c
movss xmm0, dword [0x10104388]
mov ecx, 0x1e
movss xmm3, dword [0x102bf780]
cmovne ecx, eax
ucomiss xmm2, xmm0
movss xmm2, dword [0x102bf784]
lahf
test ah, 0x44
jnp 0x1001a05f
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001a09a
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102bf788], xmm1
addss xmm0, xmm3
mov dword [0x102bf78c], 0x43200000
movss dword [0x102bf790], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101040d0]
movss dword [0x102bf794], xmm0
jmp 0x1001a09f
movss xmm1, dword [ebp - 8]
sub esp, 0x18
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x43200000
movss dword [esp], xmm1
push dword [0x102bf77c]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret