Function at 0x10045e30
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 [0x101b11c0]
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 0x10045e74
mov eax, dword [0x1058eed0]
mov byte [eax + 0x29], 0
mov eax, dword [0x1058eed0]
cmp byte [eax + 0x29], 0
jne 0x10045e94
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10141944
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Event_System
push eax
push 0x10358368
call fcn.10011070
mov ecx, dword [0x1058eed0]
add esp, 0xc
mov byte [ebp - 0x26], al
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a3320]
push 0x1019a6d6
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x101a2fb8]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [0x1058ee70]
push 0x10358368
call fcn.10011b20
add esp, 0x14
test al, al
je 0x10045f03
mov eax, dword [0x1058eed0]
mov byte [eax + 0x29], 0
mov dword [ebp - 0x3c], 0x1019dd98
xor al, al
mov dword [ebp - 0x38], 0x1019dd9c
mov edi, 2
mov byte [ebp - 0x25], al
nop dword [eax + eax]
movsx esi, al
mov eax, esi
mov ecx, dword [0x1058eed0]
cdq
idiv edi
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a3690]
push dword [ebp + esi*4 - 0x3c]
sub esp, 8
cvtps2pd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x101a2db8]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movd xmm1, edx
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a32cc]
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [0x101a2f08]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
push dword [esi*4 + 0x1058eed4]
push 0x10358368
call fcn.10011b20
add esp, 0x14
test al, al
mov al, byte [ebp - 0x25]
je 0x10045ffa
test al, al
jne 0x10045fdf
mov ecx, dword [0x1036b4c0]
cmp ecx, edi
jne 0x10045fc9
mov dword [0x1036b4c0], 1
inc al
jmp 0x10045f18
cmp ecx, 1
jne 0x10045fd8
mov dword [0x1036b4c0], 0
inc al
jmp 0x10045f18
cmp al, 1
jne 0x10045ffa
mov ecx, dword [0x1036b4c0]
test ecx, ecx
je 0x10046011
cmp ecx, 1
jne 0x10045ffa
cmp dword [0x1036b4c4], ecx
je 0x10046009
inc al
mov byte [ebp - 0x25], al
cmp al, 2
jl 0x10045f20
jmp 0x1004601b
mov dword [0x1036b4c0], edi
jmp 0x1004601b
mov dword [0x1036b4c0], 1
cmp dword [0x1036b4cc], 1
mov ecx, dword [0x1058eed0]
movss xmm0, dword [ecx + 4]
jne 0x10046349
addss xmm0, dword [0x101a33c0]
push str.Event:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a3378]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9630
call fcn.1007aa70
mov ecx, dword [0x1058eed0]
add esp, 0x1c
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a33c0]
push str.Time:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a34f8]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9630
call fcn.1007aa70
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x1c
call esi
sub eax, dword [0x1036b4d0]
cmp eax, 0x3e8
jbe 0x100460f6
mov edx, dword [0x1036b4d4]
xor ecx, ecx
test edx, edx
jle 0x100460ef
mov eax, dword [ecx*8 + 0x1036bc14]
test eax, eax
jle 0x100460ea
dec eax
mov dword [ecx*8 + 0x1036bc14], eax
mov edx, dword [0x1036b4d4]
inc ecx
cmp ecx, edx
jl 0x100460d1
call esi
mov dword [0x1036b4d0], eax
mov edx, dword [0x1036b4c0]
mov dword [ebp - 0x2c], 0
lea esi, [edx*8]
sub esi, edx
add esi, esi
lea eax, [esi + 0xe]
cmp esi, eax
jge 0x1004647e
imul eax, esi, 0x2c
mov dword [ebp - 0x40], 0x3c
add eax, 0x1036b4dc
mov dword [ebp - 0x30], eax
nop dword [eax + eax]
mov edi, dword [esi*8 + 0x1036bc14]
cmp edi, 0xffffffff
jle 0x10046324
test edi, edi
jne 0x1004615b
lea eax, [ebp - 0x24]
push str.Online
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x100461f5
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 0x1019ddb8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 0x34]
add esp, 0x14
cmp ecx, 0x17
jle 0x100461de
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x24]
push 0x1019ddc8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x100461f5
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push 0x1019ddd4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [esi*8 + 0x1036bc14]
cmp eax, 0xffffffff
jg 0x10046208
mov edi, 0xff2d5fe1
jmp 0x10046225
test eax, eax
jne 0x10046213
mov edi, 0xff8be100
jmp 0x10046225
cmp eax, 0x12c
mov edi, 0xff00ffff
mov eax, 0xff8be100
cmovl edi, eax
mov ecx, dword [0x1058eed0]
movd xmm1, dword [ebp - 0x2c]
push dword [ebp - 0x30]
cvtdq2ps xmm1, xmm1
push 1
push 0x34
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a3418]
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a3378]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x101f9630
call fcn.1007aa70
mov ecx, dword [0x1058eed0]
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 [0x101a3418]
push 0x34
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a34f8]
push eax
cvttss2si eax, xmm0
push eax
push edi
push 0x101f9630
call fcn.1007aa70
mov ecx, dword [0x1058eed0]
add esp, 0x1c
mov edi, dword [ebp - 0x2c]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101a3418]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
push 0x1019dde4
push 1
push 0x6e
addss xmm0, xmm1
addss xmm0, dword [0x101a2be8]
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a338c]
push eax
cvttss2si eax, xmm0
push eax
push 0x64d3d3d3
push 0x101f9630
call fcn.1007aa70
mov edx, dword [0x1036b4c0]
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 0x10046130
jmp 0x1004647e
mov eax, dword [0x1036b4c8]
addss xmm0, dword [0x101a3480]
cmp eax, 1
jne 0x10046393
push 0x1019de08
push eax
cvttss2si eax, xmm0
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a3308]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9630
call fcn.1007aa70
mov dword [0x1036b4c8], edi
jmp 0x1004647b
cmp eax, 2
jne 0x100463d5
cvttss2si eax, xmm0
push 0x1019de14
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a3308]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9630
call fcn.1007aa70
mov dword [0x1036b4c8], 3
jmp 0x1004647b
cmp eax, 3
jne 0x10046414
cvttss2si eax, xmm0
push 0x1019de20
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a3308]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9630
call fcn.1007aa70
mov dword [0x1036b4c8], 4
jmp 0x1004647b
cmp eax, 4
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101a3308]
jne 0x10046453
push 0x1019de30
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9630
call fcn.1007aa70
mov dword [0x1036b4c8], 0
jmp 0x1004647b
push 0x1019de40
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x101f9630
call fcn.1007aa70
mov dword [0x1036b4c8], 1
add esp, 0x1c
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x26]
xor ecx, ebp
pop edi
pop esi
call fcn.10141944
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret