Function at 0x10041380
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 [0x1014200c]
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 0x100413c4
mov eax, dword [0x10520790]
mov byte [eax + 0x29], 0
mov eax, dword [0x10520790]
cmp byte [eax + 0x29], 0
jne 0x100413e4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d9dfe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Event_System
push eax
push 0x102e9b44
call fcn.100101d0
mov ecx, dword [0x10520790]
add esp, 0xc
mov byte [ebp - 0x26], al
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x10138d58]
push 0x101324e7
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x10138a20]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [0x10520730]
push 0x102e9b44
call fcn.10010bf0
add esp, 0x14
test al, al
je 0x10041453
mov eax, dword [0x10520790]
mov byte [eax + 0x29], 0
xor cl, cl
mov dword [ebp - 0x3c], 0x10135730
mov dword [ebp - 0x38], 0x10134e08
mov edi, 2
mov byte [ebp - 0x25], cl
nop dword [eax + eax]
movsx ecx, cl
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [ecx*4]
push dword [ebp + esi - 0x3c]
sub esp, 8
movd xmm1, eax
mov eax, dword [0x10520790]
cvtdq2pd xmm1, xmm1
movss xmm0, dword [eax + 4]
mulsd xmm1, qword [0x10138818]
addss xmm0, dword [0x101390dc]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
and ecx, 0x80000001
jns 0x100414c8
dec ecx
or ecx, 0xfffffffe
inc ecx
movss xmm0, dword [eax]
addss xmm0, dword [0x10138cfc]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, qword [0x10138968]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
push dword [esi + 0x10520794]
push 0x102e9b44
call fcn.10010bf0
mov cl, byte [ebp - 0x25]
add esp, 0x14
test al, al
je 0x10041566
test cl, cl
jne 0x10041539
mov eax, dword [0x102fcd90]
cmp eax, 2
jne 0x10041528
mov dword [0x102fcd90], 1
jmp 0x10041566
cmp eax, 1
jne 0x10041566
mov dword [0x102fcd90], 0
jmp 0x10041566
cmp cl, 1
jne 0x10041566
mov eax, dword [0x102fcd90]
test eax, eax
jne 0x10041553
mov dword [0x102fcd90], 1
jmp 0x10041566
cmp eax, 1
jne 0x10041566
cmp dword [0x102fcd94], eax
cmove eax, edi
mov dword [0x102fcd90], eax
inc cl
mov byte [ebp - 0x25], cl
cmp cl, 2
jl 0x10041470
cmp dword [0x102fcd9c], 1
mov ecx, dword [0x10520790]
movss xmm0, dword [ecx + 4]
jne 0x100418a9
addss xmm0, dword [0x10138df0]
push str.Event:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138da4]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018c580
call fcn.100764c0
mov ecx, dword [0x10520790]
add esp, 0x1c
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x10138df0]
push str.Time:
push 1
push 0x34
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138f2c]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018c580
call fcn.100764c0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x1c
call esi
sub eax, dword [0x102fcda0]
cmp eax, 0x3e8
jbe 0x10041655
mov edx, dword [0x102fcda4]
xor ecx, ecx
test edx, edx
jle 0x1004164e
nop word [eax + eax]
mov eax, dword [ecx*8 + 0x102fd4e4]
test eax, eax
jle 0x10041649
dec eax
mov dword [ecx*8 + 0x102fd4e4], eax
mov edx, dword [0x102fcda4]
inc ecx
cmp ecx, edx
jl 0x10041630
call esi
mov dword [0x102fcda0], eax
mov edx, dword [0x102fcd90]
mov dword [ebp - 0x2c], 0
lea esi, [edx*8]
sub esi, edx
add esi, esi
lea eax, [esi + 0xe]
cmp esi, eax
jge 0x100419de
imul eax, esi, 0x2c
mov dword [ebp - 0x40], 0x3c
add eax, 0x102fcdac
mov dword [ebp - 0x30], eax
nop word [eax + eax]
mov edi, dword [esi*8 + 0x102fd4e4]
cmp edi, 0xffffffff
jle 0x10041884
test edi, edi
jne 0x100416bb
lea eax, [ebp - 0x24]
push str.Online
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x10041755
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 str._02d:_02d:_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 0x34]
add esp, 0x14
cmp ecx, 0x17
jle 0x1004173e
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x24]
push 0x1013576c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10041755
push edi
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push str._02d:_02d:_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [esi*8 + 0x102fd4e4]
cmp eax, 0xffffffff
jg 0x10041768
mov edi, 0xff2d5fe1
jmp 0x10041785
test eax, eax
jne 0x10041773
mov edi, 0xff8be100
jmp 0x10041785
cmp eax, 0x12c
mov edi, 0xff00ffff
mov eax, 0xff8be100
cmovl edi, eax
mov ecx, dword [0x10520790]
movd xmm1, dword [ebp - 0x2c]
push dword [ebp - 0x30]
cvtdq2ps xmm1, xmm1
push 1
push 0x34
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x10138e4c]
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138da4]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x1018c580
call fcn.100764c0
mov ecx, dword [0x10520790]
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 [0x10138e4c]
push 0x34
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138f2c]
push eax
cvttss2si eax, xmm0
push eax
push edi
push 0x1018c580
call fcn.100764c0
mov ecx, dword [0x10520790]
add esp, 0x1c
mov edi, dword [ebp - 0x2c]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [0x10138e4c]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
push str._________________________________
push 1
push 0x6e
addss xmm0, xmm1
addss xmm0, dword [0x10138650]
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138db8]
push eax
cvttss2si eax, xmm0
push eax
push 0x64d3d3d3
push 0x1018c580
call fcn.100764c0
mov edx, dword [0x102fcd90]
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 0x10041690
jmp 0x100419de
mov eax, dword [0x102fcd98]
addss xmm0, dword [0x10138eb0]
cmp eax, 1
jne 0x100418f3
push str.Loading_..
push eax
cvttss2si eax, xmm0
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138d40]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018c580
call fcn.100764c0
mov dword [0x102fcd98], edi
jmp 0x100419db
cmp eax, 2
jne 0x10041935
cvttss2si eax, xmm0
push str.Loading_...
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138d40]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018c580
call fcn.100764c0
mov dword [0x102fcd98], 3
jmp 0x100419db
cmp eax, 3
jne 0x10041974
cvttss2si eax, xmm0
push str.Loading_....
push 1
push 0x34
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138d40]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018c580
call fcn.100764c0
mov dword [0x102fcd98], 4
jmp 0x100419db
cmp eax, 4
cvttss2si eax, xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [0x10138d40]
jne 0x100419b3
push str.Loading_.....
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018c580
call fcn.100764c0
mov dword [0x102fcd98], 0
jmp 0x100419db
push str.Loading_.
push 1
push 0x34
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018c580
call fcn.100764c0
mov dword [0x102fcd98], 1
add esp, 0x1c
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x26]
xor ecx, ebp
pop edi
pop esi
call fcn.100d9dfe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret