Function at 0x4e2dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push esi
push ecx
call fcn.004e2d40
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 0xffffffff
je 0x4e34d1
test ebx, ebx
je 0x4e34ea
mov edx, dword [0x851c30]
mov ecx, dword [edx + 0x34]
and eax, 0xffff
lea eax, [eax + eax*2]
mov edi, dword [ecx + eax*4 + 8]
mov esi, dword [edi + 0x11c]
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
je 0x4e2e88
mov cx, word [edi + 0x2f0]
mov eax, esi
call fcn.005686e0
cmp al, 1
jne 0x4e34ff
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4e34ff
cmp byte [ebx + 0x28], 1
jne 0x4e34ff
mov edx, dword [esp + 0x20]
and esi, 0xffff
lea ecx, [esi + esi*2]
mov eax, dword [edx + ecx*4 + 8]
mov cl, byte [eax + 0x524]
test cl, cl
mov dword [esp + 0x10], eax
je 0x4e2e88
mov byte [eax + 0x524], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [edi + 0x2a3]
cmp cl, 0x1b
je 0x4e34ff
cmp cl, 0x1a
je 0x4e34ff
test eax, eax
je 0x4e2ebc
lea ecx, [eax + 0x5c]
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
lea edx, [ebx + 0x100]
jmp 0x4e2ecf
lea ecx, [edi + 0x5c]
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
lea edx, [ebx + 0x30]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea edx, [edi + 0x68]
lea ecx, [ebx + 0x3c]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
lea ecx, [edi + 0x74]
lea edx, [ebx + 0x48]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
lea edx, [edi + 0xcc]
lea ecx, [ebx + 0x54]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x14]
add edi, 0x298
lea esi, [ebx + 0x60]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xa8]
mov edi, dword [ecx]
lea esi, [edx + 0x34c]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov ecx, dword [ecx + 8]
mov dword [esi + 8], ecx
lea ecx, [ebx + 0xb4]
mov edi, dword [ecx]
lea esi, [edx + 0x358]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov ecx, dword [ecx + 8]
mov dword [esi + 8], ecx
lea ecx, [ebx + 0xc0]
mov edi, dword [ecx]
lea esi, [edx + 0x364]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov ecx, dword [ecx + 8]
mov dword [esi + 8], ecx
lea ecx, [ebx + 0xcc]
mov edi, dword [ecx]
lea esi, [edx + 0x370]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov ecx, dword [ecx + 8]
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0xd8]
mov dword [edx + 0x4cc], ecx
mov cl, byte [ebx + 0xdc]
mov byte [edx + 0x503], cl
mov cl, byte [ebx + 0xdd]
mov byte [edx + 0x501], cl
mov cl, byte [ebx + 0xde]
mov byte [edx + 0x502], cl
mov cl, byte [ebx + 0xdf]
mov byte [edx + 0x504], cl
mov cx, word [ebx + 0xe0]
mov word [edx + 0x508], cx
test eax, eax
mov ecx, dword [ebx + 0xe4]
mov dword [edx + 0x50c], ecx
lea ecx, [ebx + 0xe8]
mov edi, dword [ecx]
lea esi, [edx + 0x514]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov edi, dword [ecx + 8]
mov dword [esi + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov cl, byte [ebx + 0xf8]
mov byte [edx + 0x4d0], cl
mov cl, byte [ebx + 0xf9]
mov byte [edx + 0x4d1], cl
mov cl, byte [ebx + 0xfa]
mov byte [edx + 0x4d2], cl
mov ecx, dword [ebx + 0xfc]
mov dword [edx + 0x4d8], ecx
je 0x4e317c
lea ecx, [eax + 0x68]
lea esi, [ebx + 0x10c]
mov edi, dword [esi]
mov dword [ecx], edi
mov edi, dword [esi + 4]
mov dword [ecx + 4], edi
mov esi, dword [esi + 8]
mov dword [ecx + 8], esi
lea ecx, [eax + 0x8c]
lea esi, [ebx + 0x118]
mov edi, dword [esi]
mov dword [ecx], edi
mov edi, dword [esi + 4]
mov dword [ecx + 4], edi
mov esi, dword [esi + 8]
mov dword [ecx + 8], esi
lea ecx, [eax + 0x74]
lea esi, [ebx + 0x194]
mov edi, dword [esi]
mov dword [ecx], edi
mov edi, dword [esi + 4]
mov dword [ecx + 4], edi
mov esi, dword [esi + 8]
mov dword [ecx + 8], esi
lea ecx, [eax + 0x80]
lea esi, [ebx + 0x1a0]
mov edi, dword [esi]
mov dword [ecx], edi
mov edi, dword [esi + 4]
mov dword [ecx + 4], edi
mov esi, dword [esi + 8]
mov dword [ecx + 8], esi
mov ecx, dword [ebx + 0x314]
mov dword [eax + 0x338], ecx
mov ecx, dword [ebx + 0x318]
mov dword [eax + 0x33c], ecx
lea edi, [eax + 0x4cc]
lea esi, [ebx + 0x320]
mov ecx, 0x3d
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x11c]
lea eax, [ebp + 0x10]
call fcn.0056c680
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
lea edx, [ecx + 0x14]
mov esi, dword [edx]
mov dword [eax + 0x68], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x6c], esi
mov edx, dword [edx + 8]
mov dword [eax + 0x70], edx
lea edx, [ecx + 0x20]
mov esi, dword [edx]
mov dword [eax + 0x8c], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x90], esi
mov edx, dword [edx + 8]
mov dword [eax + 0x94], edx
lea edx, [ecx + 0x2c]
mov esi, dword [edx]
mov dword [eax + 0x74], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x78], esi
mov edx, dword [edx + 8]
mov dword [eax + 0x7c], edx
add ecx, 0x38
mov edx, dword [ecx]
add eax, 0x80
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x14]
mov dword [eax + 8], ecx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov edi, ebx
jmp 0x4e31b0
mov ecx, dword [ebp + 0x10]
lea eax, [edx + 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 8], ecx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov edi, ebx
jmp 0x4e31b0
mov edx, dword [esp + 0x14]
jmp 0x4e31b0
mov ax, word [edi + 8]
mov word [esp + 0x4a], ax
mov eax, dword [edx + 0x218]
lea ecx, [edi + 0xc]
lea esi, [esp + 0x70]
call fcn.00472bc0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, dword [edi + 0x18]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x58], edx
mov dx, word [edi + 0x22]
mov dword [esp + 0x60], eax
mov ax, word [edi + 0x24]
mov dword [esp + 0x54], ecx
mov cx, word [edi + 0x20]
mov word [esp + 0x4e], dx
mov word [esp + 0x50], ax
push 0xffffffffffffffff
lea edx, [esp + 0x4c]
mov eax, esi
mov dword [esp + 0x60], 0
mov byte [esp + 0x4c], 3
mov word [esp + 0x50], cx
mov byte [esp + 0x4d], 0
call fcn.0055f3b0
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
add esp, 4
inc edx
test eax, eax
mov dword [esp + 0x18], edx
jle 0x4e32b5
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x4e3270
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [0x70e04e], 1
jne 0x4e3290
push esi
call fcn.0055df70
add esp, 4
push esi
call fcn.00554a80
jmp 0x4e32a0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x11c]
push edx
call fcn.004f3ad0
mov eax, dword [esp + 0x24]
add esp, 4
dec eax
mov byte [0x70e04e], 0
mov dword [esp + 0x20], eax
jne 0x4e3270
mov al, byte [edi]
mov edi, dword [edi + 0x414]
test edi, edi
mov byte [esp + 0xf], al
jne 0x4e319e
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4e32ea
lea ecx, [esi + 0x5c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jmp 0x4e3305
mov edx, dword [esp + 0x14]
add edx, 0x5c
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
fld dword [esp + 0x2c]
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, 4
fld dword [esp + 0x40]
xor ecx, ecx
fstp qword [esp + 8]
fld dword [esp + 0x3c]
fstp qword [esp]
push str._______Original_Pos:___f____f____f_
call fcn.004e2440
fld dword [ebp + 0x18]
add esp, 4
fstp qword [esp + 0x10]
mov eax, 4
fld dword [ebp + 0x14]
xor ecx, ecx
fstp qword [esp + 8]
fld dword [ebp + 0x10]
fstp qword [esp]
push str.Server_Starting_Pos:___f____f____f_
call fcn.004e2440
fld dword [esp + 0x60]
add esp, 4
fstp qword [esp + 0x10]
mov eax, 4
fld dword [esp + 0x58]
xor ecx, ecx
fstp qword [esp + 8]
fld dword [esp + 0x54]
fstp qword [esp]
push str.Client_Starting_Pos:___f____f____f_
call fcn.004e2440
fld dword [esp + 0x54]
add esp, 4
fstp qword [esp + 0x10]
mov eax, 4
fld dword [esp + 0x4c]
xor ecx, ecx
fstp qword [esp + 8]
fld dword [esp + 0x48]
fstp qword [esp]
push str._________Ending_Pos:___f____f____f_
call fcn.004e2440
fld dword [esp + 0x4c]
fsub dword [esp + 0x40]
add esp, 0x14
fld dword [esp + 0x3c]
mov eax, 4
fsub dword [esp + 0x30]
xor ecx, ecx
fld dword [esp + 0x40]
fsub dword [esp + 0x34]
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fstp qword [esp]
push str._________Difference:___f_
call fcn.004e2440
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esp + 0x1b]
mov edx, dword [ebx]
add esp, 0xc
push edi
push eax
push ecx
push edx
push str.________Ran_updates:___d_______d_____d__updates____d__ticks
mov eax, 2
xor ecx, ecx
call fcn.004e2440
add esp, 0x14
test esi, esi
je 0x4e343c
add esi, 0x5c
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x4e3457
mov eax, dword [esp + 0x14]
add eax, 0x5c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x18]
mov ebx, dword [ecx + 0x10]
inc eax
mov esi, eax
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x14]
add eax, edi
add ebx, edx
mov dword [ecx + 0x14], eax
cdq
idiv esi
mov dword [esp + 0x1c], esi
mov dword [ecx + 0x10], ebx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [ecx + 0x20]
fld dword [esp + 0x3c]
fsub dword [esp + 0x24]
fld dword [esp + 0x40]
fsub dword [esp + 0x28]
fld dword [esp + 0x44]
fsub dword [esp + 0x2c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fadd dword [ecx + 0x18]
fst dword [ecx + 0x18]
fild dword [esp + 0x1c]
fdivr st(1)
fstp dword [ecx + 0x1c]
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.Ignoring_update___d__due_to_unit_index__NONE
mov eax, 2
xor ecx, ecx
call fcn.004e2440
add esp, 8
test ebx, ebx
jne 0x4e34ff
push esi
push str.Ignoring_update___d__due_to_starting_update__NULL
mov eax, 2
xor ecx, ecx
call fcn.004e2440
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret