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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1020a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
push 0x48
mov ecx, 0x104e1ca8
call fcn.100b63d0
movzx eax, al
test eax, eax
je 0x10065e30
mov ecx, dword [0x104b8550]
mov byte [ecx + 0x29], 0
mov edx, dword [0x104b8550]
movzx eax, byte [edx + 0x29]
test eax, eax
jne 0x10065e45
xor al, al
jmp 0x10066555
push str.Event_System
mov ecx, dword [0x104b8550]
push ecx
push 0x1023cc80
call fcn.10017e10
add esp, 0xc
mov byte [ebp - 0x31], al
push 0x101f0e79
mov edx, dword [0x104b8550]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fa048]
push ecx
movss dword [esp], xmm0
mov eax, dword [0x104b8550]
cvtss2sd xmm0, dword [eax]
addsd xmm0, qword [0x101f9cc0]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x104b84f0]
push ecx
push 0x1023cc80
call fcn.10018b90
add esp, 0x14
movzx edx, al
test edx, edx
je 0x10065ebe
mov eax, dword [0x104b8550]
mov byte [eax + 0x29], 0
mov dword [ebp - 0x5c], 0x101f453c
mov dword [ebp - 0x58], 0x101f4540
mov byte [ebp - 0x25], 0
jmp 0x10065edb
mov cl, byte [ebp - 0x25]
add cl, 1
mov byte [ebp - 0x25], cl
movsx edx, byte [ebp - 0x25]
cmp edx, 2
jge 0x10065ff4
movsx eax, byte [ebp - 0x25]
mov ecx, dword [ebp + eax*4 - 0x5c]
push ecx
mov edx, dword [0x104b8550]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fa460]
cvtss2sd xmm0, xmm0
movsx eax, byte [ebp - 0x25]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x101f9aa8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov eax, dword [0x104b8550]
movss xmm0, dword [eax]
addss xmm0, dword [0x101f9fc0]
cvtss2sd xmm0, xmm0
movsx ecx, byte [ebp - 0x25]
and ecx, 0x80000001
jns 0x10065f51
dec ecx
or ecx, 0xfffffffe
inc ecx
cvtsi2sd xmm1, ecx
mulsd xmm1, qword [0x101f9c00]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
movsx edx, byte [ebp - 0x25]
mov eax, dword [edx*4 + 0x104b8554]
push eax
push 0x1023cc80
call fcn.10018b90
add esp, 0x14
movzx ecx, al
test ecx, ecx
je 0x10065fef
movsx edx, byte [ebp - 0x25]
test edx, edx
jne 0x10065fb9
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 2
jne 0x10065fa6
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 1
jmp 0x10065fb7
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 1
jne 0x10065fb7
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x10065fef
movsx ecx, byte [ebp - 0x25]
cmp ecx, 1
jne 0x10065fef
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
jne 0x10065fd5
mov eax, dword [ebp - 0x2c]
mov dword [eax], 1
jmp 0x10065fef
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 1
jne 0x10065fef
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 1
jne 0x10065fef
mov eax, dword [ebp - 0x2c]
mov dword [eax], 2
jmp 0x10065ed2
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0xc], 1
jne 0x1006637d
push str.Event:
push 1
push 0x34
mov edx, dword [0x104b8550]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fa108]
cvttss2si eax, xmm0
push eax
mov ecx, dword [0x104b8550]
movss xmm0, dword [ecx]
addss xmm0, dword [0x101fa0bc]
cvttss2si edx, xmm0
push edx
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
push str.Time:
push 1
push 0x34
mov eax, dword [0x104b8550]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fa108]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b8550]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fa26c]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ecx + 0x10]
cmp eax, 0x3e8
jbe 0x100660ff
mov dword [ebp - 0x38], 0
jmp 0x100660b9
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 0x100660f3
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx*8 + 0x754], 0
jle 0x100660f1
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 0x100660b0
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 0x1006611a
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 0x10066378
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp dword [edx + ecx*8 + 0x754], 0xffffffff
jg 0x10066143
jmp 0x10066111
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax*8 + 0x754], 0
jne 0x1006616a
push str.Online
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x10066214
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 0x101f455c
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp dword [ebp - 0x40], 0x17
jle 0x100661f6
mov eax, dword [ebp - 0x40]
cdq
mov ecx, 0x18
idiv ecx
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
push 0x101f456c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10066214
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 0x101f4578
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 0x1006622d
mov dword [ebp - 0x44], 0xff2d5fe1
jmp 0x10066269
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp dword [edx + ecx*8 + 0x754], 0
jne 0x10066246
mov dword [ebp - 0x44], 0xff8be100
jmp 0x10066269
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax*8 + 0x754], 0x12c
jge 0x10066262
mov dword [ebp - 0x44], 0xff8be100
jmp 0x10066269
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 [0x104b8550]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fa170]
cvtsi2ss xmm1, dword [ebp - 0x3c]
addss xmm0, xmm1
cvttss2si eax, xmm0
push eax
mov ecx, dword [0x104b8550]
movss xmm0, dword [ecx]
addss xmm0, dword [0x101fa0bc]
cvttss2si edx, xmm0
push edx
push 0xffffffffffffffff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
lea eax, [ebp - 0x24]
push eax
push 1
push 0x34
mov ecx, dword [0x104b8550]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101fa170]
cvtsi2ss xmm1, dword [ebp - 0x3c]
addss xmm0, xmm1
cvttss2si edx, xmm0
push edx
mov eax, dword [0x104b8550]
movss xmm0, dword [eax]
addss xmm0, dword [0x101fa26c]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
push 0x101f4588
push 1
push 0x6e
mov eax, dword [0x104b8550]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fa170]
cvtsi2ss xmm1, dword [ebp - 0x3c]
addss xmm0, xmm1
addss xmm0, dword [0x101f98d0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b8550]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fa0d4]
cvttss2si eax, xmm0
push eax
push 0x64d3d3d3
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
mov ecx, dword [ebp - 0x3c]
add ecx, 0xc
mov dword [ebp - 0x3c], ecx
jmp 0x10066111
jmp 0x10066552
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 1
jne 0x100663de
push 0x101f45ac
push 1
push 0x34
mov eax, dword [0x104b8550]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fa1e0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b8550]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fa028]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 2
jmp 0x10066552
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 2
jne 0x1006643f
push 0x101f45b8
push 1
push 0x34
mov eax, dword [0x104b8550]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fa1e0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b8550]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fa028]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 3
jmp 0x10066552
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 3
jne 0x100664a0
push 0x101f45c4
push 1
push 0x34
mov eax, dword [0x104b8550]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fa1e0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b8550]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fa028]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 4
jmp 0x10066552
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 4
jne 0x100664fe
push 0x101f45d4
push 1
push 0x34
mov eax, dword [0x104b8550]
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x101fa1e0]
cvttss2si ecx, xmm0
push ecx
mov edx, dword [0x104b8550]
movss xmm0, dword [edx]
addss xmm0, dword [0x101fa028]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
add esp, 0x1c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 0
jmp 0x10066552
push 0x101f45e4
push 1
push 0x34
mov edx, dword [0x104b8550]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x101fa1e0]
cvttss2si eax, xmm0
push eax
mov ecx, dword [0x104b8550]
movss xmm0, dword [ecx]
addss xmm0, dword [0x101fa028]
cvttss2si edx, xmm0
push edx
push 0xff19bdff
push 0x104e1ca8
call fcn.100b62d0
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.1014c2d1
mov esp, ebp
pop ebp
ret