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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100febc4], 0
push ebx
push esi
push edi
jne 0x100181d0
push 0xc
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x100181d0
cmp byte [0x1029a22d], 1
jne 0x100181d0
mov byte [0x1029a22d], al
mov dword [0xe8cb3c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1029a288]
cmp eax, 0x64
jae 0x100181f4
mov byte [0x1029a22d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x1029a2e8]
cmp eax, 0x64
jae 0x10018212
mov byte [0x1029a22d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x1029a22d], 0
je 0x10018a57
mov dword [0xe8cb3c], 1
cmp dword [0x100febc4], 0
jne 0x1001823c
movss xmm3, dword [0x100e7418]
jmp 0x10018244
movss xmm3, dword [0x100e7654]
movss xmm2, dword [0x1029a210]
movaps xmm0, xmm3
movss xmm1, dword [0x1029a214]
addss xmm0, xmm2
sub esp, 0x10
movss dword [ebp - 4], xmm3
mov edi, 0x790b50
movss dword [0x1029a218], xmm3
mov dword [0x1029a21c], 0x42b80000
movss dword [0x1029a220], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100e750c]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b80000
movss dword [esp], xmm3
push dword [0x1029a20c]
movss dword [0x1029a224], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x10297f90]
movaps xmm0, xmm3
movss xmm1, dword [0x10297f94]
addss xmm0, xmm2
movss dword [0x10297f98], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b40000
movss dword [0x10297fa0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100e7504]
movss dword [esp], xmm3
push dword [0x10297f8c]
mov dword [0x10297f9c], 0x42b40000
movss dword [0x10297fa4], xmm0
call edi
movss xmm3, dword [0x100e7518]
add esp, 0x14
movss xmm0, dword [0x10297ff4]
mov esi, 5
movss dword [ebp - 8], xmm3
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x10297ff0]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm3
movss dword [esp], xmm0
push dword [0x10297fec]
call edi
movss xmm3, dword [ebp - 8]
add esp, 0x14
movss xmm0, dword [0x10297ff4]
addss xmm3, xmm0
movss dword [ebp - 8], xmm3
sub esi, 1
jne 0x10018340
movss xmm4, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x10298050]
movaps xmm0, xmm4
movss xmm1, dword [0x10298054]
addss xmm0, xmm2
movss dword [0x10298058], xmm4
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm3
movss dword [0x10298060], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp], xmm4
push dword [0x1029804c]
movss dword [0x1029805c], xmm3
movss dword [0x10298064], xmm0
call edi
cvttss2si edi, dword [ebp - 4]
add esp, 0x14
mov ecx, 0x101a8848
push 0x42
lea esi, [edi + 0xa]
call fcn.1003fea0
push eax
push 3
push 0xd2
push 0x64
push esi
push 0xff19bdff
push 0x10297260
call fcn.1006a050
mov eax, dword [0x100febc4]
add esp, 0x1c
cmp eax, 6
jne 0x10018437
push 0x161
jmp 0x1001844d
cmp eax, 3
je 0x10018483
cmp eax, 4
je 0x10018483
cmp eax, 1
je 0x1001847c
cmp eax, 2
je 0x1001847c
push 0x43
mov ecx, 0x101a8848
call fcn.1003fea0
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x10297260
call fcn.1006a050
add esp, 0x1c
jmp 0x10018513
push 0x11f
jmp 0x1001844d
push 0x100fec38
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x10297260
call fcn.1006a050
mov edx, dword [0x100febc8]
add esp, 0x1c
mov eax, dword [0x100febd0]
mov ecx, dword [0x100febcc]
test edx, edx
jg 0x100184c4
test ecx, ecx
jg 0x100184c4
test eax, eax
jle 0x10018513
cmp byte [0x100fec38], 0
push eax
push ecx
push edx
mov ecx, 0x101a8848
push 0x13f
jne 0x100184ee
call fcn.1003fea0
push eax
push 3
push 0xd2
push 0x82
jmp 0x10018500
call fcn.1003fea0
push eax
push 3
push 0xd2
push 0x8d
push esi
push 0xff19bdff
push 0x10297260
call fcn.1006a050
add esp, 0x28
cmp dword [0x100febc4], 6
movss xmm0, dword [0x1029a278]
movss xmm3, dword [0x1029a274]
movss xmm4, dword [0x1029a270]
jne 0x100186ec
movss xmm2, dword [0x100e7888]
lea eax, [edi + 0x5a]
ucomiss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
movss dword [ebp - 8], xmm1
test ah, 0x44
jnp 0x10018569
movss xmm0, dword [0x1029a27c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1001859d
movaps xmm0, xmm1
movss dword [0x1029a278], xmm1
addss xmm0, xmm4
mov dword [0x1029a27c], 0x43200000
movss dword [0x1029a280], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100e75ec]
movss dword [0x1029a284], 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 [0x1029a26c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x1029a278]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10018a57
comiss xmm0, dword [0x1029a280]
ja 0x10018a57
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x1029a27c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10018a57
comiss xmm0, dword [0x1029a284]
ja 0x10018a57
cmp byte [0x1029a28c], 0
mov eax, 0x3c
movss xmm0, dword [0x100e7888]
mov ecx, 0x1e
movss xmm3, dword [0x1029a270]
cmovne ecx, eax
ucomiss xmm2, xmm0
movss xmm2, dword [0x1029a274]
lahf
test ah, 0x44
jnp 0x10018669
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100186a4
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x1029a278], xmm1
addss xmm0, xmm3
mov dword [0x1029a27c], 0x43200000
movss dword [0x1029a280], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100e75ec]
movss dword [0x1029a284], xmm0
jmp 0x100186a9
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 [0x1029a26c]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x100e7888]
lea eax, [edi + 0x28]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x1001871d
movss xmm0, dword [0x1029a27c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018751
movaps xmm0, xmm2
movss dword [0x1029a278], xmm2
addss xmm0, xmm4
mov dword [0x1029a27c], 0x43200000
movss dword [0x1029a280], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100e75ec]
movss dword [0x1029a284], 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 [0x1029a26c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x1029a278]
mov ebx, 0x3c
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10018899
comiss xmm0, dword [0x1029a280]
ja 0x10018899
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x1029a27c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10018899
comiss xmm0, dword [0x1029a284]
ja 0x10018899
cmp byte [0x1029a28c], 0
mov ecx, 0x1e
movss xmm0, dword [0x100e7888]
movss xmm3, dword [0x1029a270]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x1029a274]
lahf
test ah, 0x44
jnp 0x1001881d
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10018858
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x1029a278], xmm1
addss xmm0, xmm3
mov dword [0x1029a27c], 0x43200000
movss dword [0x1029a280], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100e75ec]
movss dword [0x1029a284], xmm0
jmp 0x1001885d
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 [0x1029a26c]
call esi
add esp, 0x1c
movss xmm0, dword [0x1029a2d8]
lea eax, [edi + 0x8c]
movss xmm1, dword [0x100e7888]
movss xmm3, dword [0x1029a2d4]
movss xmm4, dword [0x1029a2d0]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x100188e5
movss xmm0, dword [0x1029a2dc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018919
movaps xmm0, xmm2
movss dword [0x1029a2d8], xmm2
addss xmm0, xmm4
mov dword [0x1029a2dc], 0x43200000
movss dword [0x1029a2e0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100e75ec]
movss dword [0x1029a2e4], 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 [0x1029a2cc]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x1029a2d8]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10018a57
comiss xmm0, dword [0x1029a2e0]
ja 0x10018a57
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x1029a2dc]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10018a57
comiss xmm0, dword [0x1029a2e4]
ja 0x10018a57
cmp byte [0x1029a2ec], 0
mov ecx, 0x1e
movss xmm0, dword [0x100e7888]
movss xmm3, dword [0x1029a2d0]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x1029a2d4]
lahf
test ah, 0x44
jnp 0x100189db
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10018a16
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x1029a2d8], xmm1
addss xmm0, xmm3
mov dword [0x1029a2dc], 0x43200000
movss dword [0x1029a2e0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100e75ec]
movss dword [0x1029a2e4], xmm0
jmp 0x10018a1b
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 [0x1029a2cc]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret