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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10061018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100bb351], 0
je 0x10010552
fild dword [0xe61e58]
push esi
sub esp, 8
mov eax, 0x2e
fdiv dword [0xe7c3d4]
mov ecx, 0x100ba618
fmul qword [0x1005c460]
fsub qword [0x1005c828]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fld qword [0x1005c908]
fadd st(1)
fstp dword [ebp - 0x30]
fld dword [0x1005c904]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10026510
fld dword [0x1005c900]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x1d
fld dword [ebp - 0x2c]
mov ecx, 0x100ba618
fstp dword [esp]
call fcn.10026510
fld dword [0x1005c8fc]
mov esi, 0x10
fstp dword [ebp - 0x34]
fld dword [0x100baf00]
mov eax, dword [0x100baef8]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, 0x790b50
fld dword [0x100baefc]
fstp dword [esp + 8]
fld dword [ebp - 0x34]
fstp dword [esp + 4]
fld dword [ebp - 0x2c]
fstp dword [esp]
push eax
call ecx
fld dword [0x100baf00]
fld st(0)
add esp, 0x14
dec esi
fadd dword [ebp - 0x34]
fstp dword [ebp - 0x34]
jne 0x1000ff6c
push ebx
fstp st(0)
fld dword [ebp - 0x34]
push edi
sub esp, 8
fstp dword [esp + 4]
lea eax, [esi + 0x1f]
fld dword [ebp - 0x2c]
mov ecx, 0x100ba618
fstp dword [esp]
call fcn.10026510
fld dword [ebp - 0x2c]
sub esp, 8
fadd qword [0x1005c558]
lea eax, [esi + 0x30]
mov ecx, 0x100ba618
fst qword [ebp - 0x48]
fld dword [0x1005c900]
fstp dword [esp + 4]
fsub dword [0x100bb40c]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp]
call fcn.10026510
fld dword [0x100bb414]
mov dword [ebp - 0x28], 0x64d3d3d3
call fcn.100569f0
fld dword [0x100bb418]
mov esi, eax
call fcn.100569f0
fld dword [0x100bb40c]
mov edi, eax
call fcn.100569f0
fld dword [0x100bb410]
mov ebx, eax
call fcn.100569f0
push eax
push ebx
push edi
push esi
mov edx, 0x790b10
call edx
add esp, 0x10
test al, al
je 0x100100ad
cmp byte [0x100bb428], 0
mov edx, 0x96323232
jne 0x1001005d
mov edx, dword [ebp - 0x28]
fld dword [0x1005c900]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x30
fld dword [0x100bb414]
mov ecx, 0x100ba618
fstp dword [esp]
call fcn.10027d60
fld dword [0x100bb418]
push 0x1005aa58
call fcn.100569f0
fld dword [0x100bb414]
add eax, 0x19
push eax
call fcn.100569f0
add eax, 5
push eax
call fcn.10026d90
add esp, 0xc
mov edx, dword [0x100d2fc0]
test edx, edx
je 0x100100d9
mov edi, 1
cmp edx, edi
jne 0x100100c8
cmp dword [0x100d2fc4], edi
je 0x100100d9
mov eax, 0x6f
mov ecx, 0x100ba618
call fcn.100265f0
jmp 0x10010112
fld dword [0x1005caa8]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x6f
fld qword [ebp - 0x48]
mov ecx, 0x100ba618
fsub qword [0x1005caa0]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp]
call fcn.10026510
mov edx, dword [0x100d2fc0]
mov edi, 1
cmp edx, edi
je 0x1001012c
cmp edx, 2
je 0x1001012c
mov eax, 0x70
mov ecx, 0x100ba618
call fcn.100265f0
jmp 0x1001015a
fld dword [0x1005caa8]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x70
fld dword [ebp - 0x2c]
mov ecx, 0x100ba618
fadd qword [0x1005c488]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fstp dword [esp]
call fcn.10026510
fld dword [ebp - 0x2c]
push str.Events
push 0xd2
call fcn.100569f0
add eax, 0xa
push eax
mov ebx, 3
push 0xff19bdff
lea ecx, [ebx + 0x39]
call fcn.10026c50
add esp, 0x10
cmp dword [0x100d2fb8], edi
jne 0x10010417
fld dword [ebp - 0x2c]
fadd qword [0x1005c4a8]
call fcn.100569f0
push str.Event:
push 0x34
push eax
push 0xff19bdff
mov ebx, edi
mov ecx, 0x57
mov dword [ebp - 0x4c], eax
call fcn.10026c50
fld dword [ebp - 0x2c]
fadd qword [0x1005c8d8]
call fcn.100569f0
push str.Time:
push 0x34
push eax
push 0xff19bdff
mov ecx, 0x57
mov dword [ebp - 0x44], eax
call fcn.10026c50
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x20
call esi
sub eax, dword [0x100d2fbc]
cmp eax, 0x3e8
jbe 0x1001022d
xor edx, edx
cmp dword [0x100d2e60], edx
jle 0x10010226
mov eax, 0x100d2e68
lea ebx, [ebx]
mov ecx, dword [eax]
test ecx, ecx
jle 0x10010219
dec ecx
mov dword [eax], ecx
add edx, edi
add eax, 8
cmp edx, dword [0x100d2e60]
jl 0x10010210
call esi
mov dword [0x100d2fbc], eax
mov esi, dword [0x100d2fc0]
lea edx, [esi*8]
sub edx, esi
add edx, edx
lea eax, [edx + 0xe]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], edx
cmp edx, eax
jge 0x1001054f
mov eax, edx
imul eax, eax, 0x2c
add eax, 0x100d272c
lea ecx, [edx*8 + 0x100d2e68]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
lea ebx, [ebx]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jle 0x100103e4
test ecx, ecx
jne 0x10010299
lea ecx, [ebp - 0x24]
push str.Online
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x1001032d
mov eax, 0x91a2b3c5
imul ecx
add edx, ecx
sar edx, 0xb
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, esi
cdq
mov edi, 0x3c
idiv edi
lea eax, [ebp - 0x24]
mov edi, edx
mov edx, esi
shl edx, 4
sub edx, esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
add edx, edx
add edx, edx
sub ecx, edx
push ecx
push edi
push ebx
push str._02d:_02d:_02d
push eax
mov dword [ebp - 0x3c], ecx
call esi
add esp, 0x14
cmp ebx, 0x17
jle 0x10010319
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea edx, [ebp - 0x24]
push 0x1005aaac
push edx
call esi
add esp, 0xc
jmp 0x1001032d
mov eax, dword [ebp - 0x3c]
push eax
push edi
push ebx
lea ecx, [ebp - 0x24]
push str._02d:_02d:_02d
push ecx
call esi
add esp, 0x14
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
cmp eax, 0xffffffff
jg 0x1001033e
mov edi, 0xff2d5fe1
jmp 0x10010362
test eax, eax
jne 0x10010349
mov edi, 0xff8be100
jmp 0x10010362
xor ecx, ecx
cmp eax, 0x12c
setge cl
lea edi, [ecx - 1]
and edi, 0x8ae101
add edi, 0xff00ffff
fild dword [ebp - 0x30]
fadd qword [0x1005c8c8]
fst qword [ebp - 0x40]
call fcn.100569f0
mov edx, dword [ebp - 0x38]
push edx
mov esi, eax
mov eax, dword [ebp - 0x4c]
push 0x34
push eax
push 0xffffffffffffffff
mov ebx, 1
mov ecx, esi
call fcn.10026c50
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x24]
push ecx
push 0x34
push edx
push edi
mov ecx, esi
call fcn.10026c50
fld qword [ebp - 0x40]
fadd qword [0x1005c4b8]
add esp, 0x20
push str._________________________________
push 0x6e
call fcn.100569f0
fld dword [ebp - 0x2c]
fadd qword [0x1005c8d0]
mov esi, eax
call fcn.100569f0
push eax
push 0x64d3d3d3
mov ecx, esi
call fcn.10026c50
mov esi, dword [0x100d2fc0]
mov edx, dword [ebp - 0x28]
add esp, 0x10
add dword [ebp - 0x30], 0xc
add dword [ebp - 0x34], 8
add dword [ebp - 0x38], 0x2c
lea eax, [esi + 1]
lea ecx, [eax*8]
sub ecx, eax
inc edx
add ecx, ecx
mov dword [ebp - 0x28], edx
cmp edx, ecx
jl 0x10010270
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100d2fb4]
fld dword [ebp - 0x30]
fadd qword [0x1005c8a0]
cmp eax, edi
jne 0x10010465
push str.Loading_..
push 0x34
call fcn.100569f0
push eax
push 0xff19bdff
mov ebx, edi
mov ecx, 0x96
call fcn.10026c50
add esp, 0x10
pop edi
pop ebx
mov dword [0x100d2fb4], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x100104a6
push str.Loading_...
push 0x34
call fcn.100569f0
push eax
push 0xff19bdff
mov ebx, edi
mov ecx, 0x96
call fcn.10026c50
add esp, 0x10
pop edi
pop ebx
mov dword [0x100d2fb4], 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x100104e7
push str.Loading_....
push 0x34
call fcn.100569f0
push eax
push 0xff19bdff
mov ebx, edi
mov ecx, 0x96
call fcn.10026c50
add esp, 0x10
pop edi
pop ebx
mov dword [0x100d2fb4], 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10010528
push str.Loading_.....
push 0x34
call fcn.100569f0
push eax
push 0xff19bdff
mov ebx, edi
mov ecx, 0x96
call fcn.10026c50
add esp, 0x10
pop edi
pop ebx
mov dword [0x100d2fb4], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
push str.Loading_.
push 0x34
call fcn.100569f0
push eax
push 0xff19bdff
mov ebx, edi
mov ecx, 0x96
call fcn.10026c50
mov dword [0x100d2fb4], edi
add esp, 0x10
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret