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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101f69d1], 0
je 0x100195d9
movss xmm0, dword [0x101f65cc]
movss xmm1, dword [0x1008e78c]
movss xmm2, dword [0x101f65c8]
movss xmm3, dword [0x101f65c4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10018c97
movss xmm0, dword [0x101f65d0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018cd1
movaps xmm0, xmm3
mov dword [0x101f65cc], 0x434d0000
addss xmm0, dword [0x1008e60c]
mov dword [0x101f65d0], 0x42280000
movss dword [0x101f65d4], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1008e4fc]
movss dword [0x101f65d8], xmm0
push edi
sub esp, 0x10
mov edi, 0x790b50
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x42280000
mov dword [esp], 0x434d0000
push dword [0x101f65c0]
call edi
movss xmm0, dword [0x101f6614]
add esp, 0x14
movss xmm1, dword [0x1008e78c]
movss xmm2, dword [0x101f6610]
movss xmm3, dword [0x101f660c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10018d3a
movss xmm0, dword [0x101f6618]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018d74
movaps xmm0, xmm3
mov dword [0x101f6614], 0x434d0000
addss xmm0, dword [0x1008e60c]
mov dword [0x101f6618], 0x42200000
movss dword [0x101f661c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1008e4f4]
movss dword [0x101f6620], xmm0
push esi
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x42200000
mov dword [esp], 0x434d0000
push dword [0x101f6608]
call edi
movss xmm2, dword [0x1008e548]
add esp, 0x14
movss xmm1, dword [0x101f6658]
mov esi, 0xc
movss dword [ebp - 0x28], xmm2
nop dword [eax + eax]
movss xmm0, dword [0x101f6654]
sub esp, 0x10
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
mov dword [esp], 0x434d0000
push dword [0x101f6650]
call edi
movss xmm1, dword [0x101f6658]
add esp, 0x14
movss xmm2, dword [ebp - 0x28]
movaps xmm0, xmm1
addss xmm2, xmm0
movss dword [ebp - 0x28], xmm2
sub esi, 1
jne 0x10018dc0
movss xmm0, dword [0x101f66a4]
movss xmm1, dword [0x1008e78c]
movss xmm3, dword [0x101f66a0]
movss xmm4, dword [0x101f669c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10018e47
movss xmm0, dword [0x101f66a8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018e7b
movaps xmm0, xmm4
mov dword [0x101f66a4], 0x434d0000
addss xmm0, dword [0x1008e60c]
movss dword [0x101f66a8], xmm2
movss dword [0x101f66ac], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
movss dword [0x101f66b0], xmm0
sub esp, 0x10
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm2
mov dword [esp], 0x434d0000
push dword [0x101f6698]
call edi
movss xmm0, dword [0x101f6a4c]
add esp, 0x14
movss xmm1, dword [0x1008e78c]
movss xmm2, dword [0x1008e6e8]
movss xmm3, dword [0x101f6a44]
movss xmm4, dword [0x101f6a48]
subss xmm2, xmm3
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10018ee8
movss xmm0, dword [0x101f6a50]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018f1c
movaps xmm0, xmm3
movss dword [0x101f6a4c], xmm2
addss xmm0, xmm2
mov dword [0x101f6a50], 0x42200000
movss dword [0x101f6a54], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1008e4f4]
movss dword [0x101f6a58], xmm0
sub esp, 0x10
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x42200000
movss dword [esp], xmm2
push dword [0x101f6a40]
call edi
movd xmm0, dword [0x101fcaac]
add esp, 0x14
movss xmm2, dword [0x101f6a4c]
mov eax, 0x64d3d3d3
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
ja 0x10018fd8
comiss xmm0, dword [0x101f6a54]
ja 0x10018fd8
movd xmm1, dword [0x101fcab4]
movss xmm0, dword [0x101f6a50]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10018fd8
comiss xmm1, dword [0x101f6a58]
ja 0x10018fd8
cmp byte [0x101f6a60], 0
mov ecx, 0x96323232
movss xmm3, dword [0x1008e4f4]
cmovne eax, ecx
mov ecx, 0x101f5d40
push eax
push 0x2e
call fcn.1003ad20
cvttss2si eax, dword [0x101f6a50]
push str.Close
add eax, 0x19
push eax
cvttss2si eax, dword [0x101f6a4c]
add eax, 5
push eax
push 0x101f5d40
call fcn.10039ec0
add esp, 0x10
mov esi, dword [0x10202b70]
movss xmm4, dword [0x1008e5b8]
test esi, esi
je 0x1001900e
cmp esi, 1
je 0x1001900e
cmp esi, 2
jne 0x10018ffd
cmp dword [0x10202b74], 1
je 0x1001900e
push 0x63
mov ecx, 0x101f5d40
call fcn.100390f0
jmp 0x100190b5
movss xmm0, dword [0x101f7934]
movss xmm1, dword [0x1008e78c]
movss xmm2, dword [0x101f7930]
movss xmm3, dword [0x101f792c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10019048
movss xmm0, dword [0x101f7938]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001907e
movaps xmm0, xmm3
mov dword [0x101f7934], 0x43c68000
addss xmm0, dword [0x1008e6b8]
mov dword [0x101f7938], 0x43160000
movss dword [0x101f793c], xmm0
movaps xmm0, xmm2
addss xmm0, xmm4
movss dword [0x101f7940], xmm0
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x43160000
mov dword [esp], 0x43c68000
push dword [0x101f7928]
call edi
mov esi, dword [0x10202b70]
add esp, 0x14
movss xmm4, dword [0x1008e5b8]
cmp esi, 1
je 0x100190d5
cmp esi, 2
je 0x100190d5
cmp esi, 3
je 0x100190d5
push 0x64
mov ecx, 0x101f5d40
call fcn.100390f0
jmp 0x1001916e
movss xmm0, dword [0x101f797c]
movss xmm1, dword [0x1008e78c]
movss xmm2, dword [0x101f7978]
movss xmm3, dword [0x101f7974]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001910f
movss xmm0, dword [0x101f7980]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019145
movaps xmm0, xmm3
mov dword [0x101f797c], 0x43570000
addss xmm0, dword [0x1008e618]
mov dword [0x101f7980], 0x43160000
movss dword [0x101f7984], xmm0
movaps xmm0, xmm2
addss xmm0, xmm4
movss dword [0x101f7988], xmm0
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x43160000
mov dword [esp], 0x43570000
push dword [0x101f7970]
call edi
add esp, 0x14
push 0x19
mov ecx, 0x100bf2b0
call fcn.10021700
push eax
push 3
push 0xd2
push 0x32
push 0xd7
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
add esp, 0x1c
cmp dword [0x10202b68], 1
jne 0x10019494
mov eax, dword [0x10202b70]
test eax, eax
jne 0x100191d8
push str.Event
push 1
push 0x34
push 0x4d
push 0xff
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
mov eax, dword [0x10202b70]
add esp, 0x1c
cmp eax, 1
jne 0x10019203
push str.Invasion
push eax
push 0x34
push 0x4d
push 0xff
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
mov eax, dword [0x10202b70]
add esp, 0x1c
cmp eax, 2
jne 0x1001922f
push str.Boss
push 1
push 0x34
push 0x4d
push 0xff
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
mov eax, dword [0x10202b70]
add esp, 0x1c
cmp eax, 3
jne 0x10019256
push str.Arena
push 1
push 0x34
push 0x4d
push 0xff
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
add esp, 0x1c
push str.Time
push 1
push 0x34
push 0x4d
push 0x163
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x1c
call edi
sub eax, dword [0x10202b6c]
cmp eax, 0x3e8
jbe 0x100192be
mov esi, dword [0x10202960]
xor edx, edx
test esi, esi
jle 0x100192b7
mov ecx, 0x10202968
nop
mov eax, dword [ecx]
test eax, eax
jle 0x100192af
dec eax
mov dword [ecx], eax
mov esi, dword [0x10202960]
inc edx
add ecx, 8
cmp edx, esi
jl 0x100192a0
call edi
mov dword [0x10202b6c], eax
mov edx, dword [0x10202b70]
mov edi, edx
shl edi, 4
sub edi, edx
mov dword [ebp - 0x28], 0
lea eax, [edi + 0xf]
cmp edi, eax
jge 0x100195d7
imul eax, edi, 0x2c
mov dword [ebp - 0x34], 0x3c
push ebx
add eax, 0x10201e64
mov dword [ebp - 0x2c], eax
mov esi, dword [edi*8 + 0x10202968]
cmp esi, 0xffffffff
jle 0x10019467
test esi, esi
jne 0x1001931b
lea eax, [ebp - 0x24]
push str.Online
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x100193ad
mov eax, 0x91a2b3c5
imul esi
mov eax, 0x88888889
add edx, esi
sar edx, 0xb
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
imul esi
add edx, esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
cdq
idiv dword [ebp - 0x34]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov dword [ebp - 0x30], edx
shl eax, 2
sub esi, eax
lea eax, [ebp - 0x24]
push esi
push edx
push ebx
push str._02d:_02d:_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp ebx, 0x17
jle 0x10019396
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x24]
push 0x10088f94
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x100193ad
push esi
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push ebx
push str._02d:_02d:_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [edi*8 + 0x10202968]
cmp eax, 0xffffffff
jg 0x100193c0
mov ebx, 0xff2d5fe1
jmp 0x100193dd
test eax, eax
jne 0x100193cb
mov ebx, 0xff8be100
jmp 0x100193dd
cmp eax, 0x12c
mov ebx, 0xff00ffff
mov eax, 0xff8be100
cmovl ebx, eax
movd xmm0, dword [ebp - 0x28]
push dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
push 1
push 0x34
addss xmm0, dword [0x1008e560]
cvttss2si esi, xmm0
movss dword [ebp - 0x30], xmm0
push esi
push 0xff
push 0xffffffffffffffff
push 0x101f5d40
call fcn.10039d00
lea eax, [ebp - 0x24]
push eax
push 1
push 0x34
push esi
push 0x163
push ebx
push 0x101f5d40
call fcn.10039d00
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [0x1008e2c8]
push str._________________________________
push 1
push 0x6e
cvttss2si eax, xmm0
push eax
push 0x10d
push 0x64d3d3d3
push 0x101f5d40
call fcn.10039d00
mov edx, dword [0x10202b70]
add esp, 0x54
add dword [ebp - 0x28], 0xc
mov eax, dword [ebp - 0x2c]
add eax, 0x2c
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], eax
inc edi
mov eax, ecx
shl eax, 4
sub eax, ecx
cmp edi, eax
mov eax, dword [ebp - 0x2c]
jl 0x100192f0
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006459b
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10202b64]
cmp eax, 1
jne 0x100194dc
push str.Loading_..
push eax
push 0x34
push 0x8c
push 0x12d
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
add esp, 0x1c
mov dword [0x10202b64], 2
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006459b
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10019520
push str.Loading_...
push 1
push 0x34
push 0x8c
push 0x12d
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
add esp, 0x1c
mov dword [0x10202b64], 3
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006459b
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10019564
push str.Loading_....
push 1
push 0x34
push 0x8c
push 0x12d
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
add esp, 0x1c
mov dword [0x10202b64], 4
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006459b
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x100195a8
push str.Loading_.....
push 1
push 0x34
push 0x8c
push 0x12d
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
add esp, 0x1c
mov dword [0x10202b64], 0
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006459b
mov esp, ebp
pop ebp
ret
push str.Loading_.
push 1
push 0x34
push 0x8c
push 0x12d
push 0xff19bdff
push 0x101f5d40
call fcn.10039d00
mov dword [0x10202b64], 1
add esp, 0x1c
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006459b
mov esp, ebp
pop ebp
ret