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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101b31c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x48
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x10045ff4
mov eax, dword [0x10591080]
mov byte [eax + 0x29], 0
mov eax, dword [0x10591080]
cmp byte [eax + 0x29], 0
jne 0x10046014
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10142fe4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Event_System
push eax
push 0x1035a51c
call fcn.100111c0
mov ecx, dword [0x10591080]
add esp, 0xc
mov byte [ebp - 0x26], al
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a53b8]
push 0x1019c796
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x101a5050]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [0x10591020]
push 0x1035a51c
call fcn.10011c70
add esp, 0x14
test al, al
je 0x10046083
mov eax, dword [0x10591080]
mov byte [eax + 0x29], 0
mov dword [ebp - 0x3c], 0x1019fd8c
xor al, al
mov dword [ebp - 0x38], 0x1019fd90
mov edi, 2
mov byte [ebp - 0x25], al
nop dword [eax + eax]
movsx esi, al
mov eax, esi
mov ecx, dword [0x10591080]
cdq
idiv edi
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a5728]
push dword [ebp + esi*4 - 0x3c]
sub esp, 8
cvtps2pd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x101a4e50]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movd xmm1, edx
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a5364]
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [0x101a4fa0]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
push dword [esi*4 + 0x10591084]
push 0x1035a51c
call fcn.10011c70
add esp, 0x14
test al, al
mov al, byte [ebp - 0x25]
je 0x1004617a
test al, al
jne 0x1004615f
mov ecx, dword [0x1036d670]
cmp ecx, edi
jne 0x10046149
mov dword [0x1036d670], 1
inc al
jmp 0x10046098
cmp ecx, 1
jne 0x10046158
mov dword [0x1036d670], 0
inc al
jmp 0x10046098
cmp al, 1
jne 0x1004617a
mov ecx, dword [0x1036d670]
test ecx, ecx
je 0x10046191
cmp ecx, 1
jne 0x1004617a
cmp dword [0x1036d674], ecx
je 0x10046189
inc al
mov byte [ebp - 0x25], al
cmp al, 2
jl 0x100460a0
jmp 0x1004619b
mov dword [0x1036d670], edi
jmp 0x1004619b
mov dword [0x1036d670], 1
cmp dword [0x1036d67c], 1
mov ecx, dword [0x10591080]
movss xmm0, dword [ecx + 4]
jne 0x100464c9
addss xmm0, dword [0x101a5458]
push str.Event:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a5410]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101fb640
call fcn.1007ac90
mov ecx, dword [0x10591080]
add esp, 0x1c
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a5458]
push str.Time:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a5590]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101fb640
call fcn.1007ac90
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x1c
call esi
sub eax, dword [0x1036d680]
cmp eax, 0x3e8
jbe 0x10046276
mov edx, dword [0x1036d684]
xor ecx, ecx
test edx, edx
jle 0x1004626f
mov eax, dword [ecx*8 + 0x1036ddc4]
test eax, eax
jle 0x1004626a
dec eax
mov dword [ecx*8 + 0x1036ddc4], eax
mov edx, dword [0x1036d684]
inc ecx
cmp ecx, edx
jl 0x10046251
call esi
mov dword [0x1036d680], eax
mov edx, dword [0x1036d670]
mov dword [ebp - 0x2c], 0
lea esi, [edx*8]
sub esi, edx
add esi, esi
lea eax, [esi + 0xe]
cmp esi, eax
jge 0x100465fe
imul eax, esi, 0x2c
mov dword [ebp - 0x40], 0x3c
add eax, 0x1036d68c
mov dword [ebp - 0x30], eax
nop dword [eax + eax]
mov edi, dword [esi*8 + 0x1036ddc4]
cmp edi, 0xffffffff
jle 0x100464a4
test edi, edi
jne 0x100462db
lea eax, [ebp - 0x24]
push str.Online
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x10046375
mov eax, 0x91a2b3c5
imul edi
add edx, edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, 0x88888889
imul edi
add edx, edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
cdq
idiv dword [ebp - 0x40]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov dword [ebp - 0x38], edx
shl eax, 2
sub edi, eax
lea eax, [ebp - 0x24]
push edi
push edx
push dword [ebp - 0x34]
push 0x1019fdac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 0x34]
add esp, 0x14
cmp ecx, 0x17
jle 0x1004635e
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x24]
push 0x1019fdbc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10046375
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push 0x1019fdc8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [esi*8 + 0x1036ddc4]
cmp eax, 0xffffffff
jg 0x10046388
mov edi, 0xff2d5fe1
jmp 0x100463a5
test eax, eax
jne 0x10046393
mov edi, 0xff8be100
jmp 0x100463a5
cmp eax, 0x12c
mov edi, 0xff00ffff
mov eax, 0xff8be100
cmovl edi, eax
mov ecx, dword [0x10591080]
movd xmm1, dword [ebp - 0x2c]
push dword [ebp - 0x30]
cvtdq2ps xmm1, xmm1
push 1
push 0x34
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a54b0]
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a5410]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x101fb640
call fcn.1007ac90
mov ecx, dword [0x10591080]
lea eax, [ebp - 0x24]
movd xmm1, dword [ebp - 0x2c]
add esp, 0x1c
cvtdq2ps xmm1, xmm1
push eax
push 1
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a54b0]
push 0x34
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a5590]
push eax
cvttss2si eax, xmm0
push eax
push edi
push 0x101fb640
call fcn.1007ac90
mov ecx, dword [0x10591080]
add esp, 0x1c
mov edi, dword [ebp - 0x2c]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a54b0]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
push 0x1019fdd8
push 1
push 0x6e
addss xmm0, xmm1
addss xmm0, dword [0x101a4c80]
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a5424]
push eax
cvttss2si eax, xmm0
push eax
push 0x64d3d3d3
push 0x101fb640
call fcn.1007ac90
mov edx, dword [0x1036d670]
add esp, 0x1c
mov eax, dword [ebp - 0x30]
add edi, 0xc
mov dword [ebp - 0x2c], edi
add eax, 0x2c
inc esi
mov dword [ebp - 0x30], eax
lea eax, [edx + 1]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x30]
add ecx, ecx
cmp esi, ecx
jl 0x100462b0
jmp 0x100465fe
mov eax, dword [0x1036d678]
addss xmm0, dword [0x101a5518]
cmp eax, 1
jne 0x10046513
push 0x1019fdfc
push eax
cvttss2si eax, xmm0
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a53a0]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101fb640
call fcn.1007ac90
mov dword [0x1036d678], edi
jmp 0x100465fb
cmp eax, 2
jne 0x10046555
cvttss2si eax, xmm0
push 0x1019fe08
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a53a0]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101fb640
call fcn.1007ac90
mov dword [0x1036d678], 3
jmp 0x100465fb
cmp eax, 3
jne 0x10046594
cvttss2si eax, xmm0
push 0x1019fe14
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a53a0]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101fb640
call fcn.1007ac90
mov dword [0x1036d678], 4
jmp 0x100465fb
cmp eax, 4
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a53a0]
jne 0x100465d3
push 0x1019fe24
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101fb640
call fcn.1007ac90
mov dword [0x1036d678], 0
jmp 0x100465fb
push 0x1019fe34
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101fb640
call fcn.1007ac90
mov dword [0x1036d678], 1
add esp, 0x1c
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x26]
xor ecx, ebp
pop edi
pop esi
call fcn.10142fe4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret