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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10109c3c], 0
push ebx
push esi
push edi
jne 0x10019570
push 0xc
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10019570
cmp byte [0x102a527d], 1
jne 0x10019570
mov byte [0x102a527d], al
mov dword [0xe8cb3c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102a52d8]
cmp eax, 0x64
jae 0x10019594
mov byte [0x102a527d], 0
mov dword [0xe8cb3c], 0
call esi
sub eax, dword [0x102a5338]
cmp eax, 0x64
jae 0x100195b2
mov byte [0x102a527d], 0
mov dword [0xe8cb3c], 0
cmp byte [0x102a527d], 0
je 0x10019e8b
mov dword [0xe8cb3c], 1
cmp dword [0x10109c3c], 0
jne 0x100195e3
mov eax, dword [0x107e7b70]
add eax, 0x19
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jmp 0x100195fc
mov eax, dword [0x100fac74]
cdq
sub eax, edx
sar eax, 1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm3, dword [0x100f1e4c]
movss xmm2, dword [0x102a5260]
movaps xmm0, xmm3
movss xmm1, dword [0x102a5264]
addss xmm0, xmm2
sub esp, 0x10
movss dword [ebp - 4], xmm3
mov edi, 0x790b50
movss dword [0x102a5268], xmm3
mov dword [0x102a526c], 0x42b80000
movss dword [0x102a5270], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100f1df8]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b80000
movss dword [esp], xmm3
push dword [0x102a525c]
movss dword [0x102a5274], xmm0
call edi
movss xmm3, dword [ebp - 4]
add esp, 4
movss xmm2, dword [0x102a2fe0]
movaps xmm0, xmm3
movss xmm1, dword [0x102a2fe4]
addss xmm0, xmm2
movss dword [0x102a2fe8], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
mov dword [esp + 4], 0x42b40000
movss dword [0x102a2ff0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x100f1df0]
movss dword [esp], xmm3
push dword [0x102a2fdc]
mov dword [0x102a2fec], 0x42b40000
movss dword [0x102a2ff4], xmm0
call edi
movss xmm3, dword [0x100f1e04]
add esp, 0x14
movss xmm0, dword [0x102a3044]
mov esi, 5
movss dword [ebp - 8], xmm3
nop dword [eax + eax]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102a3040]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm3
movss dword [esp], xmm0
push dword [0x102a303c]
call edi
movss xmm3, dword [ebp - 8]
add esp, 0x14
movss xmm0, dword [0x102a3044]
addss xmm3, xmm0
movss dword [ebp - 8], xmm3
sub esi, 1
jne 0x10019700
movss xmm4, dword [ebp - 4]
sub esp, 0x10
movss xmm2, dword [0x102a30a0]
movaps xmm0, xmm4
movss xmm1, dword [0x102a30a4]
addss xmm0, xmm2
movss dword [0x102a30a8], xmm4
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm3
movss dword [0x102a30b0], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp], xmm4
push dword [0x102a309c]
movss dword [0x102a30ac], xmm3
movss dword [0x102a30b4], xmm0
call edi
cvttss2si edi, dword [ebp - 4]
add esp, 0x14
mov ecx, 0x101b3888
push 0x42
lea esi, [edi + 0xa]
call fcn.10042340
push eax
push 3
push 0xd2
push 0x64
push esi
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
mov eax, dword [0x10109c3c]
add esp, 0x1c
cmp eax, 7
jne 0x1001983d
push 0x16d
mov ecx, 0x101b3888
call fcn.10042340
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
add esp, 0x1c
mov ecx, 0x101b3888
push 0x16e
call fcn.10042340
push eax
push 3
push 0xd2
push 0x8d
jmp 0x10019876
cmp eax, 6
jne 0x10019849
push 0x161
jmp 0x1001985f
cmp eax, 3
je 0x10019895
cmp eax, 4
je 0x10019895
cmp eax, 1
je 0x1001988e
cmp eax, 2
je 0x1001988e
push 0x43
mov ecx, 0x101b3888
call fcn.10042340
push eax
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
add esp, 0x1c
jmp 0x10019925
push 0x11f
jmp 0x1001985f
push 0x10109cb0
push 3
push 0xd2
push 0x82
push esi
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
mov edx, dword [0x10109c40]
add esp, 0x1c
mov eax, dword [0x10109c48]
mov ecx, dword [0x10109c44]
test edx, edx
jg 0x100198d6
test ecx, ecx
jg 0x100198d6
test eax, eax
jle 0x10019925
cmp byte [0x10109cb0], 0
push eax
push ecx
push edx
mov ecx, 0x101b3888
push 0x13f
jne 0x10019900
call fcn.10042340
push eax
push 3
push 0xd2
push 0x82
jmp 0x10019912
call fcn.10042340
push eax
push 3
push 0xd2
push 0x8d
push esi
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
add esp, 0x28
mov eax, dword [0x10109c3c]
cmp eax, 6
je 0x10019cc6
cmp eax, 7
je 0x10019cc6
movss xmm0, dword [0x102a52c8]
lea eax, [edi + 0x28]
movss xmm1, dword [0x100f2170]
movss xmm3, dword [0x102a52c4]
movss xmm4, dword [0x102a52c0]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x10019985
movss xmm0, dword [0x102a52cc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100199b9
movaps xmm0, xmm2
movss dword [0x102a52c8], xmm2
addss xmm0, xmm4
mov dword [0x102a52cc], 0x43200000
movss dword [0x102a52d0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100f1ee0]
movss dword [0x102a52d4], 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 [0x102a52bc]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102a52c8]
mov ebx, 0x3c
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10019b01
comiss xmm0, dword [0x102a52d0]
ja 0x10019b01
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102a52cc]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10019b01
comiss xmm0, dword [0x102a52d4]
ja 0x10019b01
cmp byte [0x102a52dc], 0
mov ecx, 0x1e
movss xmm0, dword [0x100f2170]
movss xmm3, dword [0x102a52c0]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102a52c4]
lahf
test ah, 0x44
jnp 0x10019a85
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019ac0
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102a52c8], xmm1
addss xmm0, xmm3
mov dword [0x102a52cc], 0x43200000
movss dword [0x102a52d0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100f1ee0]
movss dword [0x102a52d4], xmm0
jmp 0x10019ac5
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 [0x102a52bc]
call esi
add esp, 0x1c
movss xmm0, dword [0x102a5328]
lea eax, [edi + 0x8c]
movss xmm1, dword [0x100f2170]
movss xmm3, dword [0x102a5324]
movss xmm4, dword [0x102a5320]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
movss dword [ebp - 8], xmm2
test ah, 0x44
jnp 0x10019b4d
movss xmm0, dword [0x102a532c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019b81
movaps xmm0, xmm2
movss dword [0x102a5328], xmm2
addss xmm0, xmm4
mov dword [0x102a532c], 0x43200000
movss dword [0x102a5330], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100f1ee0]
movss dword [0x102a5334], 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 [0x102a531c]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102a5328]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10019e8b
comiss xmm0, dword [0x102a5330]
ja 0x10019e8b
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102a532c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10019e8b
comiss xmm0, dword [0x102a5334]
ja 0x10019e8b
cmp byte [0x102a533c], 0
mov ecx, 0x1e
movss xmm0, dword [0x100f2170]
movss xmm3, dword [0x102a5320]
cmovne ecx, ebx
ucomiss xmm2, xmm0
movss xmm2, dword [0x102a5324]
lahf
test ah, 0x44
jnp 0x10019c43
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019c7e
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102a5328], xmm1
addss xmm0, xmm3
mov dword [0x102a532c], 0x43200000
movss dword [0x102a5330], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100f1ee0]
movss dword [0x102a5334], xmm0
jmp 0x10019c83
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 [0x102a531c]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x102a52c8]
lea eax, [edi + 0x5a]
movss xmm2, dword [0x100f2170]
movss xmm3, dword [0x102a52c4]
movss xmm4, dword [0x102a52c0]
ucomiss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
movss dword [ebp - 8], xmm1
test ah, 0x44
jnp 0x10019d0f
movss xmm0, dword [0x102a52cc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10019d43
movaps xmm0, xmm1
movss dword [0x102a52c8], xmm1
addss xmm0, xmm4
mov dword [0x102a52cc], 0x43200000
movss dword [0x102a52d0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100f1ee0]
movss dword [0x102a52d4], 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 [0x102a52bc]
call esi
movd xmm0, dword [0x879340c]
add esp, 0x1c
movss xmm2, dword [0x102a52c8]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10019e8b
comiss xmm0, dword [0x102a52d0]
ja 0x10019e8b
movd xmm0, dword [0x8793410]
movss xmm1, dword [0x102a52cc]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x10019e8b
comiss xmm0, dword [0x102a52d4]
ja 0x10019e8b
cmp byte [0x102a52dc], 0
mov eax, 0x3c
movss xmm0, dword [0x100f2170]
mov ecx, 0x1e
movss xmm3, dword [0x102a52c0]
cmovne ecx, eax
ucomiss xmm2, xmm0
movss xmm2, dword [0x102a52c4]
lahf
test ah, 0x44
jnp 0x10019e0f
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10019e4a
movss xmm1, dword [ebp - 8]
movaps xmm0, xmm1
movss dword [0x102a52c8], xmm1
addss xmm0, xmm3
mov dword [0x102a52cc], 0x43200000
movss dword [0x102a52d0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100f1ee0]
movss dword [0x102a52d4], xmm0
jmp 0x10019e4f
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 [0x102a52bc]
call esi
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret