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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10119c3c], 0
push ebx
push esi
push edi
jne 0x10019010
push 0xc
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10019010
cmp byte [0x102bd79d], 1
jne 0x10019010
mov byte [0x102bd79d], al
mov dword [0xe8cb3c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bd7f8]
cmp eax, 0x64
jae 0x10019034
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102bd858]
cmp eax, 0x64
jae 0x10019052
mov byte [0x102bd79d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102bd79d], 0
je 0x1001992b
mov dword [0xe8cb3c], 1
cmp dword [0x10119c3c], 0
jne 0x10019083
mov eax, dword [0x10824d6c]
add eax, 0x19
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jmp 0x1001909c
mov eax, dword [0x1010ac74]
cdq
sub eax, edx
sar eax, 1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm3, dword [0x10101ff8]
movss xmm2, dword [0x102bd780]
movaps xmm0, xmm3
movss xmm1, dword [0x102bd784]
addss xmm0, xmm2
sub esp, 0x10
movss dword [ebp - 4], xmm3
mov edi, 0x790b50
movss dword [0x102bd788], xmm3
mov dword [0x102bd78c], 0x42b80000
movss dword [0x102bd790], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10101fa4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b80000
movss dword [esp], xmm3
push dword [0x102bd77c]
movss dword [0x102bd794], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102bb4a0]
movaps xmm0, xmm3
movss xmm1, dword [0x102bb4a4]
addss xmm0, xmm2
movss dword [0x102bb4a8], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b40000
movss dword [0x102bb4b0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10101f9c]
movss dword [esp], xmm3
push dword [0x102bb49c]
mov dword [0x102bb4ac], 0x42b40000
movss dword [0x102bb4b4], xmm0
call edi
movss xmm3, dword [0x10101fb0]
add esp, 0x14
movss xmm0, dword [0x102bb504]
mov esi, 5
movss dword [ebp - 8], xmm3
nop dword [eax + eax]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102bb500]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm3
movss dword [esp], xmm0
push dword [0x102bb4fc]
call edi
movss xmm3, dword [ebp - 8]
add esp, 0x14
movss xmm0, dword [0x102bb504]
addss xmm3, xmm0
movss dword [ebp - 8], xmm3
sub esi, 1
jne 0x100191a0
movss xmm4, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x102bb560]
movaps xmm0, xmm4
movss xmm1, dword [0x102bb564]
addss xmm0, xmm2
movss dword [0x102bb568], xmm4
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm3
movss dword [0x102bb570], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp], xmm4
push dword [0x102bb55c]
movss dword [0x102bb56c], xmm3
movss dword [0x102bb574], xmm0
call edi
cvttss2si edi, dword [ebp - 4]
add esp, 0x14
mov ecx, 0x101c3ae8
push 0x42
lea esi, [edi + 0xa]
call fcn.100429f0
push eax
push 3
push 0xd2
push 0x64
push esi
push 0xff19bdff
push 0x102ba770
call fcn.10077f60
mov eax, dword [0x10119c3c]
add esp, 0x1c
cmp eax, 7
jne 0x100192dd
push 0x16d
mov ecx, 0x101c3ae8
call fcn.100429f0
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102ba770
call fcn.10077f60
add esp, 0x1c
mov ecx, 0x101c3ae8
push 0x16e
call fcn.100429f0
push eax
push 3
push 0xd2
push 0x8d
jmp 0x10019316
cmp eax, 6
jne 0x100192e9
push 0x161
jmp 0x100192ff
cmp eax, 3
je 0x10019335
cmp eax, 4
je 0x10019335
cmp eax, 1
je 0x1001932e
cmp eax, 2
je 0x1001932e
push 0x43
mov ecx, 0x101c3ae8
call fcn.100429f0
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102ba770
call fcn.10077f60
add esp, 0x1c
jmp 0x100193c5
push 0x11f
jmp 0x100192ff
push 0x10119cb0
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102ba770
call fcn.10077f60
mov edx, dword [0x10119c40]
add esp, 0x1c
mov eax, dword [0x10119c48]
mov ecx, dword [0x10119c44]
test edx, edx
jg 0x10019376
test ecx, ecx
jg 0x10019376
test eax, eax
jle 0x100193c5
cmp byte [0x10119cb0], 0
push eax
push ecx
push edx
mov ecx, 0x101c3ae8
push 0x13f
jne 0x100193a0
call fcn.100429f0
push eax
push 3
push 0xd2
push 0x82
jmp 0x100193b2
call fcn.100429f0
push eax
push 3
push 0xd2
push 0x8d
push esi
push 0xff19bdff
push 0x102ba770
call fcn.10077f60
add esp, 0x28
mov eax, dword [0x10119c3c]
cmp eax, 6
je 0x10019766
cmp eax, 7
je 0x10019766
movss xmm0, dword [0x102bd7e8]
lea eax, [edi + 0x28]
movss xmm1, dword [0x10102348]
movss xmm3, dword [0x102bd7e4]
movss xmm4, dword [0x102bd7e0]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x10019425
movss xmm0, dword [0x102bd7ec]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019459
movaps xmm0, xmm2
movss dword [0x102bd7e8], xmm2
addss xmm0, xmm4
mov dword [0x102bd7ec], 0x43200000
movss dword [0x102bd7f0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10102090]
movss dword [0x102bd7f4], 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 [0x102bd7dc]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102bd7e8]
mov ebx, 0x3c
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x100195a1
comiss xmm0, dword [0x102bd7f0]
ja 0x100195a1
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102bd7ec]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x100195a1
comiss xmm0, dword [0x102bd7f4]
ja 0x100195a1
cmp byte [0x102bd7fc], 0
mov ecx, 0x1e
movss xmm0, dword [0x10102348]
movss xmm3, dword [0x102bd7e0]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102bd7e4]
lahf
test ah, 0x44
jnp 0x10019525
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019560
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102bd7e8], xmm1
addss xmm0, xmm3
mov dword [0x102bd7ec], 0x43200000
movss dword [0x102bd7f0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10102090]
movss dword [0x102bd7f4], xmm0
jmp 0x10019565
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 [0x102bd7dc]
call esi
add esp, 0x1c
movss xmm0, dword [0x102bd848]
lea eax, [edi + 0x8c]
movss xmm1, dword [0x10102348]
movss xmm3, dword [0x102bd844]
movss xmm4, dword [0x102bd840]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x100195ed
movss xmm0, dword [0x102bd84c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019621
movaps xmm0, xmm2
movss dword [0x102bd848], xmm2
addss xmm0, xmm4
mov dword [0x102bd84c], 0x43200000
movss dword [0x102bd850], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10102090]
movss dword [0x102bd854], 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 [0x102bd83c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102bd848]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1001992b
comiss xmm0, dword [0x102bd850]
ja 0x1001992b
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102bd84c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1001992b
comiss xmm0, dword [0x102bd854]
ja 0x1001992b
cmp byte [0x102bd85c], 0
mov ecx, 0x1e
movss xmm0, dword [0x10102348]
movss xmm3, dword [0x102bd840]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102bd844]
lahf
test ah, 0x44
jnp 0x100196e3
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001971e
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102bd848], xmm1
addss xmm0, xmm3
mov dword [0x102bd84c], 0x43200000
movss dword [0x102bd850], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10102090]
movss dword [0x102bd854], xmm0
jmp 0x10019723
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 [0x102bd83c]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x102bd7e8]
lea eax, [edi + 0x5a]
movss xmm2, dword [0x10102348]
movss xmm3, dword [0x102bd7e4]
movss xmm4, dword [0x102bd7e0]
ucomiss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
movss dword [ebp - 8], xmm1
test ah, 0x44
jnp 0x100197af
movss xmm0, dword [0x102bd7ec]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100197e3
movaps xmm0, xmm1
movss dword [0x102bd7e8], xmm1
addss xmm0, xmm4
mov dword [0x102bd7ec], 0x43200000
movss dword [0x102bd7f0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10102090]
movss dword [0x102bd7f4], 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 [0x102bd7dc]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102bd7e8]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1001992b
comiss xmm0, dword [0x102bd7f0]
ja 0x1001992b
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102bd7ec]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1001992b
comiss xmm0, dword [0x102bd7f4]
ja 0x1001992b
cmp byte [0x102bd7fc], 0
mov eax, 0x3c
movss xmm0, dword [0x10102348]
mov ecx, 0x1e
movss xmm3, dword [0x102bd7e0]
cmovne ecx, eax
ucomiss xmm2, xmm0
movss xmm2, dword [0x102bd7e4]
lahf
test ah, 0x44
jnp 0x100198af
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100198ea
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102bd7e8], xmm1
addss xmm0, xmm3
mov dword [0x102bd7ec], 0x43200000
movss dword [0x102bd7f0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10102090]
movss dword [0x102bd7f4], xmm0
jmp 0x100198ef
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 [0x102bd7dc]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret