Function at 0x10041c70
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 [0x10141040]
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 0x10041cb4
mov eax, dword [0x10520ed0]
mov byte [eax + 0x29], 0
mov eax, dword [0x10520ed0]
cmp byte [eax + 0x29], 0
jne 0x10041cd4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d84a2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Event_System
push eax
push 0x102ea368
call fcn.10011080
mov ecx, dword [0x10520ed0]
add esp, 0xc
mov byte [ebp - 0x26], al
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x10138178]
push 0x1012f411
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x10137e60]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [0x10520e70]
push 0x102ea368
call fcn.10011aa0
add esp, 0x14
test al, al
je 0x10041d43
mov eax, dword [0x10520ed0]
mov byte [eax + 0x29], 0
mov dword [ebp - 0x3c], 0x10132ad8
xor al, al
mov dword [ebp - 0x38], 0x10132adc
mov edi, 2
mov byte [ebp - 0x25], al
nop dword [eax + eax]
movsx esi, al
mov eax, esi
mov ecx, dword [0x10520ed0]
cdq
idiv edi
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x101384dc]
push dword [ebp + esi*4 - 0x3c]
sub esp, 8
cvtps2pd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x10137c60]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movd xmm1, edx
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138124]
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [0x10137db0]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
push dword [esi*4 + 0x10520ed4]
push 0x102ea368
call fcn.10011aa0
add esp, 0x14
test al, al
mov al, byte [ebp - 0x25]
je 0x10041e3a
test al, al
jne 0x10041e1f
mov ecx, dword [0x102fd4c0]
cmp ecx, edi
jne 0x10041e09
mov dword [0x102fd4c0], 1
inc al
jmp 0x10041d58
cmp ecx, 1
jne 0x10041e18
mov dword [0x102fd4c0], 0
inc al
jmp 0x10041d58
cmp al, 1
jne 0x10041e3a
mov ecx, dword [0x102fd4c0]
test ecx, ecx
je 0x10041e51
cmp ecx, 1
jne 0x10041e3a
cmp dword [0x102fd4c4], ecx
je 0x10041e49
inc al
mov byte [ebp - 0x25], al
cmp al, 2
jl 0x10041d60
jmp 0x10041e5b
mov dword [0x102fd4c0], edi
jmp 0x10041e5b
mov dword [0x102fd4c0], 1
cmp dword [0x102fd4cc], 1
mov ecx, dword [0x10520ed0]
movss xmm0, dword [ecx + 4]
jne 0x10042189
addss xmm0, dword [0x1013820c]
push str.Event:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101381c4]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.100766a0
mov ecx, dword [0x10520ed0]
add esp, 0x1c
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x1013820c]
push str.Time:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138344]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.100766a0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x1c
call esi
sub eax, dword [0x102fd4d0]
cmp eax, 0x3e8
jbe 0x10041f36
mov edx, dword [0x102fd4d4]
xor ecx, ecx
test edx, edx
jle 0x10041f2f
mov eax, dword [ecx*8 + 0x102fdc14]
test eax, eax
jle 0x10041f2a
dec eax
mov dword [ecx*8 + 0x102fdc14], eax
mov edx, dword [0x102fd4d4]
inc ecx
cmp ecx, edx
jl 0x10041f11
call esi
mov dword [0x102fd4d0], eax
mov edx, dword [0x102fd4c0]
mov dword [ebp - 0x2c], 0
lea esi, [edx*8]
sub esi, edx
add esi, esi
lea eax, [esi + 0xe]
cmp esi, eax
jge 0x100422be
imul eax, esi, 0x2c
mov dword [ebp - 0x40], 0x3c
add eax, 0x102fd4dc
mov dword [ebp - 0x30], eax
nop dword [eax + eax]
mov edi, dword [esi*8 + 0x102fdc14]
cmp edi, 0xffffffff
jle 0x10042164
test edi, edi
jne 0x10041f9b
lea eax, [ebp - 0x24]
push str.Online
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x10042035
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 0x10132af8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 0x34]
add esp, 0x14
cmp ecx, 0x17
jle 0x1004201e
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x24]
push 0x10132b08
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10042035
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push 0x10132b14
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [esi*8 + 0x102fdc14]
cmp eax, 0xffffffff
jg 0x10042048
mov edi, 0xff2d5fe1
jmp 0x10042065
test eax, eax
jne 0x10042053
mov edi, 0xff8be100
jmp 0x10042065
cmp eax, 0x12c
mov edi, 0xff00ffff
mov eax, 0xff8be100
cmovl edi, eax
mov ecx, dword [0x10520ed0]
movd xmm1, dword [ebp - 0x2c]
push dword [ebp - 0x30]
cvtdq2ps xmm1, xmm1
push 1
push 0x34
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x10138264]
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101381c4]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x1018cbf0
call fcn.100766a0
mov ecx, dword [0x10520ed0]
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 [0x10138264]
push 0x34
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138344]
push eax
cvttss2si eax, xmm0
push eax
push edi
push 0x1018cbf0
call fcn.100766a0
mov ecx, dword [0x10520ed0]
add esp, 0x1c
mov edi, dword [ebp - 0x2c]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x10138264]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
push 0x10132b24
push 1
push 0x6e
addss xmm0, xmm1
addss xmm0, dword [0x10137a90]
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x101381d8]
push eax
cvttss2si eax, xmm0
push eax
push 0x64d3d3d3
push 0x1018cbf0
call fcn.100766a0
mov edx, dword [0x102fd4c0]
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 0x10041f70
jmp 0x100422be
mov eax, dword [0x102fd4c8]
addss xmm0, dword [0x101382cc]
cmp eax, 1
jne 0x100421d3
push 0x10132b48
push eax
cvttss2si eax, xmm0
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138160]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.100766a0
mov dword [0x102fd4c8], edi
jmp 0x100422bb
cmp eax, 2
jne 0x10042215
cvttss2si eax, xmm0
push 0x10132b54
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138160]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.100766a0
mov dword [0x102fd4c8], 3
jmp 0x100422bb
cmp eax, 3
jne 0x10042254
cvttss2si eax, xmm0
push 0x10132b60
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138160]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.100766a0
mov dword [0x102fd4c8], 4
jmp 0x100422bb
cmp eax, 4
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138160]
jne 0x10042293
push 0x10132b70
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.100766a0
mov dword [0x102fd4c8], 0
jmp 0x100422bb
push 0x10132b80
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.100766a0
mov dword [0x102fd4c8], 1
add esp, 0x1c
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x26]
xor ecx, ebp
pop edi
pop esi
call fcn.100d84a2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret