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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
call fcn.10016e70
mov ecx, dword [0x101c77ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x1001822a
cmp dword [0x101c78f4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x10017c08
mov eax, dword [0x101c78f0]
nop word [eax + eax]
mov ecx, dword [0x101c78e4]
test ecx, ecx
je 0x10017bcc
mov ecx, dword [ecx]
mov esi, dword [ecx + 8]
dec esi
and esi, eax
mov eax, dword [ecx + 4]
mov esi, dword [eax + esi*4]
call ebx
sub eax, dword [esi + 0x10]
cmp eax, 0x12c
jb 0x10017c08
mov ecx, dword [0x101c78f4]
sub ecx, 1
mov dword [0x101c78f4], ecx
jne 0x10017bf9
xor eax, eax
jmp 0x10017bff
mov eax, dword [0x101c78f0]
inc eax
mov dword [0x101c78f0], eax
test ecx, ecx
jne 0x10017bc0
cmp byte [0x101c6290], 0
jne 0x1001822a
cmp byte [0x101c6291], 0
jne 0x1001822a
call fcn.1001be40
call fcn.1001b740
mov esi, 1
call dword [0x101c7598]
cmp eax, esi
jl 0x10017c61
mov edi, 0x101e582d
cmp esi, dword [0x101e7ef8]
je 0x10017c53
cmp byte [edi], 0
je 0x10017c53
push esi
call fcn.10019390
inc esi
add edi, 0x54
call dword [0x101c7598]
cmp esi, eax
jle 0x10017c40
mov esi, 1
call dword [0x101c7598]
cmp eax, esi
jl 0x10017ca8
mov edi, 0x101e582e
cmp esi, dword [0x101e7ef8]
je 0x10017c9a
cmp byte [edi - 2], 0
jne 0x10017c9a
cmp byte [edi], 0
je 0x10017c9a
call ebx
sub eax, dword [edi + 0x3e]
cmp eax, 0x7d0
ja 0x10017c9a
push esi
call fcn.10017900
inc esi
add edi, 0x54
call dword [0x101c7598]
cmp esi, eax
jle 0x10017c75
call fcn.10018f90
call fcn.1001afc0
cmp byte [0x101c7a7e], 0
je 0x10017def
cmp byte [0x101e7f2c], 0
je 0x10017def
call fcn.1001ef40
test al, al
je 0x10017def
mov eax, dword [0x101e7f08]
test eax, eax
jle 0x10017def
vmovss xmm0, dword [0x101c0990]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vcvttss2si eax, dword [0x101c7a18]
vdivss xmm0, xmm0, xmm1
vmovss dword [esp + 0x3c], xmm0
vmulss xmm0, xmm0, dword [0x101e7f78]
push 0xc8
push eax
vcvttss2si eax, dword [0x101c7a14]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [0x101c6bdc]
vmulss xmm0, xmm0, xmm1
vmulss xmm0, xmm0, dword [0x101c0938]
push eax
vcvttss2si eax, dword [0x101c7a10]
vmovss dword [esp + 0x40], xmm0
push eax
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [0x101c6be0]
vmulss xmm0, xmm0, dword [0x101c0914]
push 3
push 3
call fcn.10033980
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x101c0cf0]
vcvtsd2ss xmm0, xmm0, xmm0
vaddss xmm0, xmm0, dword [esp + 0x4c]
call fcn.10033980
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [0x101c6bdc]
vmulss xmm0, xmm0, dword [0x101c0914]
dec eax
push eax
call fcn.10033980
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, dword [0x101c6bdc]
vaddsd xmm0, xmm0, qword [eax*8 + 0x101c0cf0]
vcvtsd2ss xmm1, xmm0, xmm0
vmovss xmm0, dword [esp + 0x58]
vmulss xmm0, xmm0, dword [0x101e7f7c]
vmulss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, dword [0x101c0938]
vsubss xmm0, xmm1, xmm0
call fcn.10033980
dec eax
push eax
call fcn.1000cc10
call fcn.1000ef30
call fcn.10018a80
vmovss xmm0, dword [0x101c7970]
vcomiss xmm0, dword [0x101c086c]
jbe 0x10017f4a
mov esi, dword [0x101c6e0c]
call dword [0x101c75e0]
vmovss xmm0, dword [esi + 4]
fstp dword [esp + 0x3c]
vcomiss xmm0, dword [esp + 0x3c]
jbe 0x10017e6f
mov ecx, dword [0x101c6e0c]
vcvttss2si edx, dword [0x101c7970]
vmovss xmm0, dword [ecx + 4]
vmovss dword [0x101c6e08], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edx
vcomiss xmm0, dword [0x101c0c08]
jb 0x10017e64
vxorps xmm0, xmm0, xmm0
vmovss dword [ecx + 4], xmm0
jmp 0x10017e6f
movzx eax, byte [ecx + 0x13]
cmp eax, edx
jle 0x10017e6f
mov byte [ecx + 0x13], dl
call dword [0x101c75e0]
vmovss xmm0, dword [0x101c6e08]
fstp dword [esp + 0x3c]
vcomiss xmm0, dword [esp + 0x3c]
jbe 0x10017ece
call dword [0x101c75e0]
fsubr dword [0x101c6e08]
mov eax, dword [0x101c6e0c]
vmovss xmm1, dword [0x101c0c08]
fstp dword [esp + 0x3c]
vmovss xmm0, dword [esp + 0x3c]
vmulss xmm0, xmm0, dword [eax]
vcomiss xmm0, xmm1
vmovss dword [0x101c6e04], xmm0
jbe 0x10017ec4
vmovaps xmm0, xmm1
jmp 0x10017ed2
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
jbe 0x10017eda
vxorps xmm0, xmm0, xmm0
vmovss dword [0x101c6e04], xmm0
vmulss xmm0, xmm0, dword [0x101c0900]
vcomiss xmm0, dword [0x101c086c]
jbe 0x10017f4a
sub esp, 8
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp], xmm0
push str.Flashed:__.0f
push 2
push 0xc8
push 0xff
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, dword [0x101c6be0]
vmulsd xmm0, xmm0, qword [0x101c0ad8]
push 0xff
push 0xff
vcvttsd2si eax, xmm0
push eax
mov eax, dword [0x101c6bdc]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [0x101c6e00]
push 0x101c6dfc
call fcn.1000cc80
add esp, 0x30
cmp byte [0x101e7f2d], 0
je 0x10017fab
cmp byte [0x101c7954], 0
je 0x10017fab
mov eax, dword [0x101c6be0]
push 0xff
push 0
push 0
push 0
cdq
push 1
push dword [0x101c6bdc]
sub eax, edx
sar eax, 1
push eax
push 1
call dword [0x101c7710]
mov eax, dword [0x101c6bdc]
push 0xff
push 0
push 0
push 0
push dword [0x101c6be0]
cdq
push 1
sub eax, edx
sar eax, 1
push 1
push eax
call dword [0x101c7710]
add esp, 0x40
call fcn.100187f0
cmp byte [0x101e7f2c], 0
je case.0x10017fd2.4
mov ecx, dword [0x101e7fc0]
lea eax, [ecx - 4]
cmp eax, 0x15
ja case.0x10017fd2.5
movzx eax, byte [eax + 0x1001823c]
jmp dword [eax*4 + 0x10018234]
cmp ecx, 0x1d
je case.0x10017fd2.4
cmp byte [0x101c7914], 0
jne case.0x10017fd2.4
cmp byte [0x101c7a7f], 0
je case.0x10017fd2.4
vmovss xmm3, dword [0x101c6df0]
vcomiss xmm3, dword [0x101c086c]
jbe case.0x10017fd2.4
vmovss xmm0, dword [0x101c0bc0]
vcomiss xmm0, xmm3
jbe case.0x10017fd2.4
mov esi, dword [0x101e7f08]
test esi, esi
je case.0x10017fd2.4
mov eax, dword [0x101c6bdc]
cdq
idiv esi
mov ecx, dword [0x101c6be0]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov eax, ecx
cdq
idiv esi
vmulss xmm0, xmm0, dword [0x101e7f94]
vmovss xmm4, dword [0x101c0914]
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, dword [0x101c6bdc]
vmovaps xmm1, xmm4
vfmsub213ss xmm1, xmm2, xmm0
vxorps xmm0, xmm0, xmm0
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
vcvttss2si eax, dword [0x101c7a88]
push ecx
vcvtsi2ss xmm0, xmm0, ecx
push eax
vcvttss2si eax, dword [0x101c7a84]
vmovss dword [esp + 0x3c], xmm1
vmovss xmm1, dword [0x101e7f90]
vmulss xmm0, xmm0, xmm4
vfmadd213ss xmm1, xmm2, xmm0
vmulss xmm0, xmm3, dword [0x101c0898]
push eax
vcvttss2si eax, dword [0x101c7a80]
push eax
vmulss xmm0, xmm0, xmm4
vmovss dword [esp + 0x48], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_tanf
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, esi
vmovss dword [esp + 0x4c], xmm0
vmulss xmm0, xmm1, dword [0x101c0890]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_tanf
vmovss xmm1, dword [esp + 0x4c]
vdivss xmm0, xmm1, xmm0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [0x101c6bdc]
lea eax, [esp + 0x44]
vmulss xmm3, xmm0, xmm1
push eax
call fcn.1000ca00
call fcn.10018260
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101c6bcc]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101e81a0]
cmp eax, dword [esi + 4]
jle 0x10018156
push 0x101e81a0
call fcn.10032b5b
add esp, 4
cmp dword [0x101e81a0], 0xffffffff
jne 0x10018156
call ebx
push 0x101e81a0
mov dword [0x101e8194], eax
call fcn.10032b11
add esp, 4
mov eax, dword [0x101e81b4]
cmp eax, dword [esi + 4]
jle 0x10018190
push 0x101e81b4
call fcn.10032b5b
add esp, 4
cmp dword [0x101e81b4], 0xffffffff
jne 0x10018190
mov al, byte [0x101c6df4]
push 0x101e81b4
mov byte [0x101e81dc], al
call fcn.10032b11
add esp, 4
mov eax, dword [0x101c7ab0]
dec eax
cmp eax, 0xfd
ja 0x1001822a
mov al, byte [0x101c6df4]
cmp al, byte [0x101e81dc]
je 0x100181ba
mov byte [0x101e81dc], al
call ebx
mov dword [0x101e8194], eax
call ebx
sub eax, dword [0x101e8194]
cmp eax, 0x7d0
jae 0x1001822a
cmp byte [0x101c6df4], 0
vcvttss2si eax, dword [0x101c79e8]
je 0x100181ed
push str.Trigger_activated
push 2
push eax
push 0
push 0xff
push 0
jmp 0x100181fe
push str.Trigger_deactivated
push 2
push eax
push 0
push 0
push 0xff
mov eax, dword [0x101c6be0]
cdq
sub eax, edx
sar eax, 1
add eax, 0x40
push eax
mov eax, dword [0x101c6bdc]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [0x101c6e00]
push 0x101c6dfc
call fcn.1000cc80
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret