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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1011ab7c], 0
push ebx
push esi
push edi
jne 0x10019740
push 0xc
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10019740
cmp byte [0x102be6dd], 1
jne 0x10019740
mov byte [0x102be6dd], al
mov dword [0xe8cb3c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102be738]
cmp eax, 0x64
jae 0x10019764
mov byte [0x102be6dd], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102be798]
cmp eax, 0x64
jae 0x10019782
mov byte [0x102be6dd], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102be6dd], 0
je 0x1001a05b
mov dword [0xe8cb3c], 1
cmp dword [0x1011ab7c], 0
jne 0x100197b3
mov eax, dword [0x11478280]
add eax, 0x19
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jmp 0x100197cc
mov eax, dword [0x1010bba8]
cdq
sub eax, edx
sar eax, 1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm3, dword [0x10103048]
movss xmm2, dword [0x102be6c0]
movaps xmm0, xmm3
movss xmm1, dword [0x102be6c4]
addss xmm0, xmm2
sub esp, 0x10
movss dword [ebp - 4], xmm3
mov edi, 0x790b50
movss dword [0x102be6c8], xmm3
mov dword [0x102be6cc], 0x42b80000
movss dword [0x102be6d0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10102ff4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b80000
movss dword [esp], xmm3
push dword [0x102be6bc]
movss dword [0x102be6d4], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102bc3e0]
movaps xmm0, xmm3
movss xmm1, dword [0x102bc3e4]
addss xmm0, xmm2
movss dword [0x102bc3e8], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b40000
movss dword [0x102bc3f0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x10102fec]
movss dword [esp], xmm3
push dword [0x102bc3dc]
mov dword [0x102bc3ec], 0x42b40000
movss dword [0x102bc3f4], xmm0
call edi
movss xmm3, dword [0x10103000]
add esp, 0x14
movss xmm0, dword [0x102bc444]
mov esi, 5
movss dword [ebp - 8], xmm3
nop dword [eax + eax]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102bc440]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm3
movss dword [esp], xmm0
push dword [0x102bc43c]
call edi
movss xmm3, dword [ebp - 8]
add esp, 0x14
movss xmm0, dword [0x102bc444]
addss xmm3, xmm0
movss dword [ebp - 8], xmm3
sub esi, 1
jne 0x100198d0
movss xmm4, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x102bc4a0]
movaps xmm0, xmm4
movss xmm1, dword [0x102bc4a4]
addss xmm0, xmm2
movss dword [0x102bc4a8], xmm4
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm3
movss dword [0x102bc4b0], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp], xmm4
push dword [0x102bc49c]
movss dword [0x102bc4ac], xmm3
movss dword [0x102bc4b4], xmm0
call edi
cvttss2si edi, dword [ebp - 4]
add esp, 0x14
mov ecx, 0x101c4a28
push 0x42
lea esi, [edi + 0xa]
call fcn.10043140
push eax
push 3
push 0xd2
push 0x64
push esi
push 0xff19bdff
push 0x102bb6b0
call fcn.100798d0
mov eax, dword [0x1011ab7c]
add esp, 0x1c
cmp eax, 7
jne 0x10019a0d
push 0x16d
mov ecx, 0x101c4a28
call fcn.10043140
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102bb6b0
call fcn.100798d0
add esp, 0x1c
mov ecx, 0x101c4a28
push 0x16e
call fcn.10043140
push eax
push 3
push 0xd2
push 0x8d
jmp 0x10019a46
cmp eax, 6
jne 0x10019a19
push 0x161
jmp 0x10019a2f
cmp eax, 3
je 0x10019a65
cmp eax, 4
je 0x10019a65
cmp eax, 1
je 0x10019a5e
cmp eax, 2
je 0x10019a5e
push 0x43
mov ecx, 0x101c4a28
call fcn.10043140
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102bb6b0
call fcn.100798d0
add esp, 0x1c
jmp 0x10019af5
push 0x11f
jmp 0x10019a2f
push 0x1011abf0
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102bb6b0
call fcn.100798d0
mov edx, dword [0x1011ab80]
add esp, 0x1c
mov eax, dword [0x1011ab88]
mov ecx, dword [0x1011ab84]
test edx, edx
jg 0x10019aa6
test ecx, ecx
jg 0x10019aa6
test eax, eax
jle 0x10019af5
cmp byte [0x1011abf0], 0
push eax
push ecx
push edx
mov ecx, 0x101c4a28
push 0x13f
jne 0x10019ad0
call fcn.10043140
push eax
push 3
push 0xd2
push 0x82
jmp 0x10019ae2
call fcn.10043140
push eax
push 3
push 0xd2
push 0x8d
push esi
push 0xff19bdff
push 0x102bb6b0
call fcn.100798d0
add esp, 0x28
mov eax, dword [0x1011ab7c]
cmp eax, 6
je 0x10019e96
cmp eax, 7
je 0x10019e96
movss xmm0, dword [0x102be728]
lea eax, [edi + 0x28]
movss xmm1, dword [0x10103398]
movss xmm3, dword [0x102be724]
movss xmm4, dword [0x102be720]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x10019b55
movss xmm0, dword [0x102be72c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019b89
movaps xmm0, xmm2
movss dword [0x102be728], xmm2
addss xmm0, xmm4
mov dword [0x102be72c], 0x43200000
movss dword [0x102be730], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101030e0]
movss dword [0x102be734], 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 [0x102be71c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102be728]
mov ebx, 0x3c
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10019cd1
comiss xmm0, dword [0x102be730]
ja 0x10019cd1
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102be72c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10019cd1
comiss xmm0, dword [0x102be734]
ja 0x10019cd1
cmp byte [0x102be73c], 0
mov ecx, 0x1e
movss xmm0, dword [0x10103398]
movss xmm3, dword [0x102be720]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102be724]
lahf
test ah, 0x44
jnp 0x10019c55
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019c90
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102be728], xmm1
addss xmm0, xmm3
mov dword [0x102be72c], 0x43200000
movss dword [0x102be730], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101030e0]
movss dword [0x102be734], xmm0
jmp 0x10019c95
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 [0x102be71c]
call esi
add esp, 0x1c
movss xmm0, dword [0x102be788]
lea eax, [edi + 0x8c]
movss xmm1, dword [0x10103398]
movss xmm3, dword [0x102be784]
movss xmm4, dword [0x102be780]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x10019d1d
movss xmm0, dword [0x102be78c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019d51
movaps xmm0, xmm2
movss dword [0x102be788], xmm2
addss xmm0, xmm4
mov dword [0x102be78c], 0x43200000
movss dword [0x102be790], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101030e0]
movss dword [0x102be794], 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 [0x102be77c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102be788]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1001a05b
comiss xmm0, dword [0x102be790]
ja 0x1001a05b
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102be78c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1001a05b
comiss xmm0, dword [0x102be794]
ja 0x1001a05b
cmp byte [0x102be79c], 0
mov ecx, 0x1e
movss xmm0, dword [0x10103398]
movss xmm3, dword [0x102be780]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102be784]
lahf
test ah, 0x44
jnp 0x10019e13
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019e4e
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102be788], xmm1
addss xmm0, xmm3
mov dword [0x102be78c], 0x43200000
movss dword [0x102be790], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101030e0]
movss dword [0x102be794], xmm0
jmp 0x10019e53
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 [0x102be77c]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x102be728]
lea eax, [edi + 0x5a]
movss xmm2, dword [0x10103398]
movss xmm3, dword [0x102be724]
movss xmm4, dword [0x102be720]
ucomiss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
movss dword [ebp - 8], xmm1
test ah, 0x44
jnp 0x10019edf
movss xmm0, dword [0x102be72c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10019f13
movaps xmm0, xmm1
movss dword [0x102be728], xmm1
addss xmm0, xmm4
mov dword [0x102be72c], 0x43200000
movss dword [0x102be730], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101030e0]
movss dword [0x102be734], 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 [0x102be71c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102be728]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x1001a05b
comiss xmm0, dword [0x102be730]
ja 0x1001a05b
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102be72c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1001a05b
comiss xmm0, dword [0x102be734]
ja 0x1001a05b
cmp byte [0x102be73c], 0
mov eax, 0x3c
movss xmm0, dword [0x10103398]
mov ecx, 0x1e
movss xmm3, dword [0x102be720]
cmovne ecx, eax
ucomiss xmm2, xmm0
movss xmm2, dword [0x102be724]
lahf
test ah, 0x44
jnp 0x10019fdf
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001a01a
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102be728], xmm1
addss xmm0, xmm3
mov dword [0x102be72c], 0x43200000
movss dword [0x102be730], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101030e0]
movss dword [0x102be734], xmm0
jmp 0x1001a01f
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 [0x102be71c]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret