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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1020b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
push 0x48
mov ecx, 0x104e2ce0
call fcn.100b6e90
movzx eax, al
test eax, eax
je 0x10066300
mov ecx, dword [0x104b9570]
mov byte [ecx + 0x29], 0
mov edx, dword [0x104b9570]
movzx eax, byte [edx + 0x29]
test eax, eax
jne 0x10066315
xor al, al
jmp 0x10066a25
push str.Event_System
mov ecx, dword [0x104b9570]
push ecx
push 0x1023dc90
call fcn.10017e10
add esp, 0xc
mov byte [ebp - 0x31], al
push 0x101f1e89
mov edx, dword [0x104b9570]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fb160]
push ecx
movss dword [esp], xmm0
mov eax, dword [0x104b9570]
cvtss2sd xmm0, dword [eax]
addsd xmm0, qword [0x101fadd8]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x104b9510]
push ecx
push 0x1023dc90
call fcn.10018b90
add esp, 0x14
movzx edx, al
test edx, edx
je 0x1006638e
mov eax, dword [0x104b9570]
mov byte [eax + 0x29], 0
mov dword [ebp - 0x5c], 0x101f5628
mov dword [ebp - 0x58], 0x101f562c
mov byte [ebp - 0x25], 0
jmp 0x100663ab
mov cl, byte [ebp - 0x25]
add cl, 1
mov byte [ebp - 0x25], cl
movsx edx, byte [ebp - 0x25]
cmp edx, 2
jge 0x100664c4
movsx eax, byte [ebp - 0x25]
mov ecx, dword [ebp + eax*4 - 0x5c]
push ecx
mov edx, dword [0x104b9570]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fb578]
cvtss2sd xmm0, xmm0
movsx eax, byte [ebp - 0x25]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x101fabc0]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov eax, dword [0x104b9570]
movss xmm0, dword [eax]
addss xmm0, dword [0x101fb0d8]
cvtss2sd xmm0, xmm0
movsx ecx, byte [ebp - 0x25]
and ecx, 0x80000001
jns 0x10066421
dec ecx
or ecx, 0xfffffffe
inc ecx
cvtsi2sd xmm1, ecx
mulsd xmm1, qword [0x101fad18]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
movsx edx, byte [ebp - 0x25]
mov eax, dword [edx*4 + 0x104b9574]
push eax
push 0x1023dc90
call fcn.10018b90
add esp, 0x14
movzx ecx, al
test ecx, ecx
je 0x100664bf
movsx edx, byte [ebp - 0x25]
test edx, edx
jne 0x10066489
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 2
jne 0x10066476
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 1
jmp 0x10066487
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 1
jne 0x10066487
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x100664bf
movsx ecx, byte [ebp - 0x25]
cmp ecx, 1
jne 0x100664bf
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
jne 0x100664a5
mov eax, dword [ebp - 0x2c]
mov dword [eax], 1
jmp 0x100664bf
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 1
jne 0x100664bf
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 1
jne 0x100664bf
mov eax, dword [ebp - 0x2c]
mov dword [eax], 2
jmp 0x100663a2
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0xc], 1
jne 0x1006684d
push str.Event:
push 1
push 0x34
mov edx, dword [0x104b9570]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fb220]
cvttss2si eax, xmm0
push eax
mov ecx, dword [0x104b9570]
movss xmm0, dword [ecx]
addss xmm0, dword [0x101fb1d4]
cvttss2si edx, xmm0
push edx
push 0xff19bdff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
push str.Time:
push 1
push 0x34
mov eax, dword [0x104b9570]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fb220]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b9570]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fb384]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ecx + 0x10]
cmp eax, 0x3e8
jbe 0x100665cf
mov dword [ebp - 0x38], 0
jmp 0x10066589
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x14]
jge 0x100665c3
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx*8 + 0x754], 0
jle 0x100665c1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx*8 + 0x754]
sub eax, 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
mov dword [edx + ecx*8 + 0x754], eax
jmp 0x10066580
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x2c]
imul eax, dword [edx], 0xe
mov dword [ebp - 0x30], eax
jmp 0x100665ea
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x2c]
imul eax, dword [edx], 0xe
add eax, 0xe
cmp dword [ebp - 0x30], eax
jge 0x10066848
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp dword [edx + ecx*8 + 0x754], 0xffffffff
jg 0x10066613
jmp 0x100665e1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax*8 + 0x754], 0
jne 0x1006663a
push str.Online
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x100666e4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*8 + 0x754]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cdq
mov ecx, 0xe10
idiv ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
cdq
mov ecx, 0x3c
idiv ecx
cdq
mov ecx, 0x3c
idiv ecx
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x48]
cdq
mov ecx, 0x3c
idiv ecx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push 0x101f5648
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp dword [ebp - 0x40], 0x17
jle 0x100666c6
mov eax, dword [ebp - 0x40]
cdq
mov ecx, 0x18
idiv ecx
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
push 0x101f5658
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x100666e4
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 0x101f5664
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx*8 + 0x754], 0xffffffff
jg 0x100666fd
mov dword [ebp - 0x44], 0xff2d5fe1
jmp 0x10066739
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp dword [edx + ecx*8 + 0x754], 0
jne 0x10066716
mov dword [ebp - 0x44], 0xff8be100
jmp 0x10066739
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax*8 + 0x754], 0x12c
jge 0x10066732
mov dword [ebp - 0x44], 0xff8be100
jmp 0x10066739
mov dword [ebp - 0x44], 0xff00ffff
imul edx, dword [ebp - 0x30], 0x2c
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 0x1c]
push ecx
push 1
push 0x34
mov edx, dword [0x104b9570]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fb288]
cvtsi2ss xmm1, dword [ebp - 0x3c]
addss xmm0, xmm1
cvttss2si eax, xmm0
push eax
mov ecx, dword [0x104b9570]
movss xmm0, dword [ecx]
addss xmm0, dword [0x101fb1d4]
cvttss2si edx, xmm0
push edx
push 0xffffffffffffffff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
lea eax, [ebp - 0x24]
push eax
push 1
push 0x34
mov ecx, dword [0x104b9570]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101fb288]
cvtsi2ss xmm1, dword [ebp - 0x3c]
addss xmm0, xmm1
cvttss2si edx, xmm0
push edx
mov eax, dword [0x104b9570]
movss xmm0, dword [eax]
addss xmm0, dword [0x101fb384]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
push 0x101f5674
push 1
push 0x6e
mov eax, dword [0x104b9570]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fb288]
cvtsi2ss xmm1, dword [ebp - 0x3c]
addss xmm0, xmm1
addss xmm0, dword [0x101fa9e8]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b9570]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fb1ec]
cvttss2si eax, xmm0
push eax
push 0x64d3d3d3
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
mov ecx, dword [ebp - 0x3c]
add ecx, 0xc
mov dword [ebp - 0x3c], ecx
jmp 0x100665e1
jmp 0x10066a22
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 1
jne 0x100668ae
push 0x101f5698
push 1
push 0x34
mov eax, dword [0x104b9570]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fb2f8]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b9570]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fb140]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 2
jmp 0x10066a22
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 2
jne 0x1006690f
push 0x101f56a4
push 1
push 0x34
mov eax, dword [0x104b9570]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fb2f8]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b9570]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fb140]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 3
jmp 0x10066a22
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 3
jne 0x10066970
push 0x101f56b0
push 1
push 0x34
mov eax, dword [0x104b9570]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fb2f8]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b9570]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fb140]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 4
jmp 0x10066a22
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 4
jne 0x100669ce
push 0x101f56c0
push 1
push 0x34
mov eax, dword [0x104b9570]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fb2f8]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b9570]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fb140]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 0
jmp 0x10066a22
push 0x101f56d0
push 1
push 0x34
mov edx, dword [0x104b9570]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fb2f8]
cvttss2si eax, xmm0
push eax
mov ecx, dword [0x104b9570]
movss xmm0, dword [ecx]
addss xmm0, dword [0x101fb140]
cvttss2si edx, xmm0
push edx
push 0xff19bdff
push 0x104e2ce0
call fcn.100b6d90
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], 1
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1c5
mov esp, ebp
pop ebp
ret