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

Disassembly:
sub esp, 0x104
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov ecx, dword [ebx + 0x274]
push esi
cmp ecx, ebp
push edi
je 0x487258
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x487258
mov ecx, ebx
call fcn.004865f0
mov ecx, dword [ebx + 0x274]
cmp ecx, ebp
je 0x487258
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x487258
cmp dword [ebx + 0x2ac], ebp
jne 0x486d4a
cmp dword [ebx + 0x2e0], ebp
jne 0x486d4a
lea edi, [ebx + 0x2b0]
xor esi, esi
mov ecx, edi
call fcn.004631c0
test eax, eax
jle 0x486d10
mov ebp, 0x11
push esi
mov ecx, edi
call fcn.004632b0
cmp dword [eax + 0xc], 0x10
je 0x486d48
push esi
mov ecx, edi
call fcn.004632b0
cmp dword [eax + 0xc], ebp
je 0x486d48
mov ecx, edi
inc esi
call fcn.004631c0
cmp esi, eax
jl 0x486ce7
xor ebp, ebp
mov ecx, dword [ebx + 0x274]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x486d4a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebx + 0x2f4]
add ecx, 0x2710
cmp eax, ecx
jbe 0x486d50
mov ecx, ebx
call fcn.00488c10
call esi
mov dword [ebx + 0x2f4], eax
jmp 0x486d50
xor ebp, ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edx, dword [ebx + 0x2ec]
add edx, 0x3e8
cmp eax, edx
jb 0x487258
call esi
mov ecx, dword [ebx + 0x2f0]
add ecx, 0x3e8
cmp eax, ecx
jb 0x487258
cmp dword [ebx + 0x2ac], ebp
jne 0x487258
mov ecx, dword [ebx + 0x274]
cmp ecx, ebp
jne 0x486d96
xor eax, eax
jmp 0x486d9b
mov edx, dword [ecx]
call dword [edx + 0x40]
cmp eax, ebp
jne 0x487258
mov eax, dword [ebx + 0x2e0]
cmp eax, ebp
je 0x487258
mov ecx, dword [ebx + 0x2dc]
mov eax, dword [eax]
lea edx, [ecx + 1]
cmp eax, edx
jne 0x486fe5
mov eax, dword [ebx + 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
shl eax, 6
lea eax, [eax + ebx + 0x14]
push eax
push str._s__player__d___state___ld__says:_n
push ecx
call fcn.005308a0
mov edi, str.PROCESSING_FUTURE_STATE_n
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004f07d0
mov eax, dword [ebx + 0x2d4]
add esp, 4
cmp eax, 0xffffffff
je 0x486e92
mov eax, dword [ebx + 0x29c]
cmp eax, ebp
je 0x486e3c
push eax
call fcn.004d86d0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [ebx + 0x29c], ebp
push ecx
push str.STRING
mov ecx, ebx
mov dword [ebx + 0x2a0], ebp
mov dword [ebx + 0x2a4], ebp
call fcn.00489ff0
mov edx, dword [ebx + 0x29c]
cmp edx, ebp
je 0x486e78
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
jmp 0x486e7f
push 1
push 0x586b28
push 0x85
mov ecx, ebx
call fcn.00489210
mov ecx, ebx
call fcn.0048a170
mov ecx, dword [ebx + 0x274]
cmp ecx, ebp
je 0x486ea3
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ebp, eax
test ebp, ebp
je 0x487258
mov ecx, dword [ebx + 0x274]
mov edx, dword [ebx + 0x2e0]
mov dword [ebx + 0x2ac], 1
push ebp
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov ecx, dword [ebx + 0x274]
mov edx, dword [ebx + 0x2e0]
push edx
push ebp
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
mov eax, dword [ebx + 0x2e0]
je 0x486f04
mov ecx, dword [eax]
push eax
mov dword [ebx + 0x2dc], ecx
mov ecx, dword [ebx + 0x274]
mov edx, dword [ecx]
call dword [edx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x486fb6
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
shl ecx, 6
mov dword [ebx + 0x2dc], eax
lea eax, [esp + 0x14]
lea edx, [ecx + ebx + 0x14]
push edx
push str._s:
push eax
call fcn.005308a0
mov edi, str.Due_to_a_network_error__your_game_has_gotten_out_of_step_with_that_of_your_opponent_s_.__It_will_be_updated_now_to_resynchronize.
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x2000
lea eax, [esp + 0x18]
and ecx, 3
push str.Resynchronizing
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.004f0710
mov ecx, dword [ebx + 0x274]
add esp, 0x10
test ecx, ecx
je 0x486f88
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebx + 0x2ec], eax
call esi
mov dword [ebx + 0x2f0], eax
call esi
mov dword [ebx + 0x2f4], eax
call esi
mov dword [ebx + 0x2f8], eax
call esi
mov dword [ebx + 0x2fc], eax
mov ecx, dword [ebx + 0x274]
mov dword [ebx + 0x2ac], 0
push ebp
mov edx, dword [ecx]
call dword [edx + 0x18]
call esi
mov dword [ebx + 0x2f0], eax
mov dword [ebx + 0x300], 0xffffffff
xor ebp, ebp
jmp 0x4870de
cmp eax, dword [ebx + 0x300]
jne 0x4870d0
call esi
mov ecx, dword [ebx + 0x2f8]
add ecx, 0x2710
cmp eax, ecx
jbe 0x4870de
mov eax, dword [ebx + 0xc]
mov ebp, dword [ebx + 0x2e0]
shl eax, 6
mov dword [ebx + 0x2ac], 1
mov edx, dword [ebp]
lea ecx, [eax + ebx + 0x14]
mov dword [ebx + 0x2dc], edx
push ecx
lea edx, [esp + 0x18]
push str._s:
push edx
call fcn.005308a0
mov edi, str.Due_to_a_network_error__your_game_has_gotten_out_of_step_with_that_of_your_opponent_s_.__It_will_be_updated_now_to_resynchronize.
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x2000
lea eax, [esp + 0x18]
and ecx, 3
push str.Resynchronizing
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.004f0710
mov ecx, dword [ebx + 0x274]
add esp, 0x10
test ecx, ecx
je 0x487094
mov edx, dword [ecx]
push ebp
call dword [edx + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebx + 0x2ec], eax
call esi
mov dword [ebx + 0x2f0], eax
call esi
mov dword [ebx + 0x2f4], eax
call esi
mov dword [ebx + 0x2f8], eax
call esi
mov dword [ebx + 0x2fc], eax
mov dword [ebx + 0x2ac], 0
xor ebp, ebp
jmp 0x4870de
mov dword [ebx + 0x300], eax
call esi
mov dword [ebx + 0x2f8], eax
mov ecx, dword [ebx + 0x2dc]
mov edx, dword [ebx + 0x2e0]
mov esi, dword [edx]
lea eax, [ecx + 1]
cmp esi, eax
jg 0x487258
mov eax, dword [ebx + 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
shl eax, 6
lea eax, [eax + ebx + 0x14]
push eax
push str._s__player__d___state___ld__says:_n
push ecx
call fcn.005308a0
mov edi, str.DELETING_FUTURE_STATE_THAT_WEVE_PASSED_n
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004f07d0
mov eax, dword [ebx + 0x2d4]
add esp, 4
cmp eax, 0xffffffff
je 0x487239
mov eax, dword [ebx + 0x29c]
cmp eax, ebp
je 0x487173
push eax
call fcn.004d86d0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [ebx + 0x29c], ebp
push ecx
push str.STRING
mov ecx, ebx
mov dword [ebx + 0x2a0], ebp
mov dword [ebx + 0x2a4], ebp
call fcn.00489ff0
mov esi, dword [ebx + 0x29c]
cmp esi, ebp
je 0x487263
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0x2a8]
not ecx
dec ecx
mov ebp, ecx
inc ebp
test eax, eax
je 0x487212
lea edx, [ebp + 5]
push edx
call fcn.004d8630
add esp, 4
mov dword [esp + 0x10], eax
test ebp, ebp
mov dword [eax], ebp
mov byte [eax + 4], 0x85
je 0x4871ea
mov ecx, ebp
lea edi, [eax + 5]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebp, 5
push ebp
push eax
call dword [0x5a2424]
mov eax, dword [esp + 0x18]
add esp, 8
push eax
call fcn.004d86d0
mov eax, dword [ebx + 0x2cc]
add esp, 4
inc eax
mov dword [ebx + 0x2cc], eax
xor ebp, ebp
mov eax, dword [ebx + 0x29c]
cmp eax, ebp
je 0x487227
push eax
call fcn.004d86d0
add esp, 4
mov dword [ebx + 0x29c], ebp
mov dword [ebx + 0x2a0], ebp
mov dword [ebx + 0x2a4], ebp
mov eax, dword [ebx + 0x2e0]
mov ecx, dword [ebx + 0x274]
cmp ecx, ebp
mov esi, dword [eax + 8]
je 0x487252
mov edx, dword [ecx]
push eax
call dword [edx + 0x18]
mov dword [ebx + 0x2e0], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push 1
push 0x586b28
push 0x85
mov ecx, ebx
call fcn.00489210
jmp 0x487214