Function at 0x4e7180
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 edi, dword [ebp + 8]
push eax
mov esi, ecx
push esi
push edi
call fcn.004e70f0
mov edx, dword [edi + 0xc]
add esp, 0xc
inc edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], edx
xor edx, edx
cmp eax, 0xffffffff
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], edx
je 0x4e7881
cmp ebx, edx
je 0x4e789a
mov ecx, dword [0x85ff50]
mov ecx, dword [ecx + 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 0x4e7247
mov cx, word [edi + 0x2f0]
mov eax, esi
call fcn.0056d140
cmp al, 1
jne 0x4e78af
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4e78af
cmp byte [ebx + 0x28], 1
jne 0x4e78af
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 0x4e7247
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 0x4e78af
cmp cl, 0x1a
je 0x4e78af
test eax, eax
je 0x4e727b
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 0x4e728e
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 0x4e753b
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.005710e0
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 + 0x1c], eax
mov dword [esp + 0x18], eax
mov edi, ebx
jmp 0x4e7561
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 + 0x1c], eax
mov dword [esp + 0x18], eax
mov edi, ebx
jmp 0x4e7561
mov edx, dword [esp + 0x14]
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.00473f10
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.00563e20
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 4]
add esp, 4
inc edx
test eax, eax
mov dword [esp + 0x1c], edx
jle 0x4e7665
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [0x71c341], 1
jne 0x4e7640
push esi
call fcn.005629e0
add esp, 4
push esi
call fcn.005594d0
jmp 0x4e7650
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x11c]
push edx
call fcn.004f8090
mov eax, dword [esp + 0x24]
add esp, 4
dec eax
mov byte [0x71c341], 0
mov dword [esp + 0x20], eax
jne 0x4e7620
mov al, byte [edi]
mov edi, dword [edi + 0x414]
test edi, edi
mov byte [esp + 0xf], al
jne 0x4e755d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e769a
add eax, 0x5c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jmp 0x4e76b5
mov ecx, dword [esp + 0x14]
add ecx, 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
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.004e6050
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.004e6050
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.004e6050
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.004e6050
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.004e6050
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
movzx edx, byte [esp + 0x1b]
mov eax, dword [ebx]
add esp, 0xc
push esi
push edi
push edx
push eax
push str.________Ran_updates:___d_______d_____d__updates____d__ticks
mov eax, 2
xor ecx, ecx
call fcn.004e6050
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x4e77f0
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
jmp 0x4e780b
mov ecx, dword [esp + 0x14]
add ecx, 0x5c
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
add eax, esi
add edx, edi
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x1c], esi
mov esi, dword [ecx + 0xc]
cdq
idiv esi
mov dword [esp + 0x1c], esi
mov dword [ecx + 0x18], edi
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [ecx + 0x28]
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 + 0x20]
fst dword [ecx + 0x20]
fild dword [esp + 0x1c]
fdivr st(1)
fstp dword [ecx + 0x24]
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.004e6050
add esp, 8
test ebx, ebx
jne 0x4e78af
push esi
push str.Ignoring_update___d__due_to_starting_update__NULL
mov eax, 2
xor ecx, ecx
call fcn.004e6050
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret