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

Disassembly:
sub esp, 0xb0
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx]
mov dword [esp], ecx
or ecx, 0xffffffff
test edx, edx
je 0x4e1fe1
mov ecx, dword [0x681548]
mov ecx, dword [ecx + 0x28]
mov ecx, dword [ecx + edx*4]
cmp ecx, 0xffffffff
push ebp
push esi
push edi
je 0x4e2422
mov esi, ecx
sar esi, 0x10
test cx, cx
jl 0x4e2422
mov edx, dword [0x86b840]
cmp cx, word [edx + 0x20]
jge 0x4e2422
movsx ebp, word [edx + 0x22]
mov edi, dword [edx + 0x34]
movsx ecx, cx
imul ebp, ecx
mov cx, word [ebp + edi]
add ebp, edi
test cx, cx
je 0x4e2422
test si, si
je 0x4e2036
cmp cx, si
jne 0x4e2422
mov edx, dword [eax]
cmp dword [edx], 0
push ebx
jne 0x4e209e
lea ecx, [esp + 0x24]
call fcn.004e8150
mov bl, al
cmp bl, 1
jne 0x4e20c1
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x5c]
call fcn.004052d0
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x60]
lea ecx, [esp + 0x54]
call fcn.004052d0
add esp, 8
lea ecx, [esp + 0x4c]
call fcn.00401990
fstp st(0)
lea ecx, [esp + 0x58]
call fcn.00401990
fstp st(0)
lea edi, [ebp + 0x1a0]
mov ecx, 0x10
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
jmp 0x4e20c1
lea edx, [ebp + 0x1a0]
mov esi, edx
mov ecx, 0x10
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [esp + 0x28]
call fcn.004e81c0
add esp, 4
mov bl, al
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
test ecx, ecx
je 0x4e20d8
mov edx, dword [0x681120]
mov eax, dword [edx + 0x28]
mov eax, dword [eax + ecx*4]
fld dword [esp + 0x60]
mov dword [esp + 0x24], eax
fmul dword [esp + 0x50]
fld dword [esp + 0x5c]
fmul dword [esp + 0x54]
fsubp st(1)
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x54]
mov dword [esp + 0x64], ecx
fmul dword [esp + 0x58]
fld dword [esp + 0x60]
fmul dword [esp + 0x4c]
fsubp st(1)
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld dword [esp + 0x5c]
mov dword [esp + 0x68], edx
fmul dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul dword [esp + 0x58]
fsubp st(1)
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x68]
mov dword [esp + 0x6c], eax
fmul dword [esp + 0x54]
fld dword [esp + 0x6c]
fmul dword [esp + 0x50]
fsubp st(1)
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x6c]
mov dword [esp + 0x58], ecx
fmul dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
fld dword [esp + 0x54]
fmul dword [esp + 0x64]
fsubp st(1)
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld dword [esp + 0x50]
mov dword [esp + 0x5c], edx
fmul dword [esp + 0x64]
fld dword [esp + 0x68]
fmul dword [esp + 0x4c]
fsubp st(1)
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
call fcn.00401990
fstp st(0)
lea ecx, [esp + 0x58]
call fcn.00401990
fstp st(0)
cmp bl, 1
jne 0x4e2417
mov esi, dword [esp + 0x10]
mov eax, ebp
call fcn.004e27f0
cmp al, bl
jne 0x4e2417
cmp dword [ebp + 0x19c], 0xffffffff
je 0x4e2409
mov eax, dword [ebp + 0x140]
mov ecx, dword [ebp + 0x13c]
cmp eax, ecx
lea ebx, [ebp + 0x130]
je 0x4e21f3
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x4e21fb
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 4]
mov edi, ebp
mov dword [esp + 0x74], edx
call fcn.004e2880
mov esi, eax
test esi, esi
mov dword [esp + 0x70], esi
jl 0x4e22bb
cmp esi, 0x20
jge 0x4e22bb
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
lea edx, [esp + 0x78]
mov ecx, 0x10
lea esi, [esp + 0x24]
lea edi, [esp + 0x80]
lea ebx, [ebp + 0x1e0]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00478cc0
add esp, 4
test al, al
jne 0x4e2274
mov eax, dword [0x6eb40c]
mov ecx, dword [eax + 0xc]
push ecx
push str.__d_:_Remote_player_vehicle_update_queue_overflow._n
push 1
mov eax, ebp
call fcn.004e24c0
add esp, 0xc
mov edx, ebx
call fcn.00478d50
push eax
lea edx, [ebp + 0x130]
call fcn.00478d50
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push edx
movzx edx, byte [ecx + 4]
push eax
push edx
push str.Received_vehicle_update_update___d___on___d____d_.___d__actions____d__vehicle_updates
push 1
mov eax, ebp
call fcn.004e24c0
add esp, 0x1c
mov dword [ebp + 0x1f8], 0
jmp 0x4e23fb
mov edx, dword [ebp + 0x1f8]
inc edx
mov eax, edx
cmp eax, 1
mov dword [ebp + 0x1f8], edx
jle 0x4e23c4
lea edx, [ebp + 0x1e0]
call fcn.00478d50
push eax
mov edx, ebx
call fcn.00478d50
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 4]
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push edx
push str.Received_pos_update___d___on___d____d_.___d__actions____d__positions_Applying_immediately
push 1
mov eax, ebp
call fcn.004e24c0
mov ecx, dword [ebp + 0x34]
add esp, 0x1c
cmp ecx, 0xffffffff
mov dword [ebp + 0x1f8], 0
je 0x4e23fb
push 3
call fcn.004f2aa0
add esp, 4
test eax, eax
je 0x4e23fb
mov edi, dword [esp + 0x24]
cmp dword [eax + 0x11c], edi
jne 0x4e23fb
push 3
mov ecx, edi
call fcn.004f2aa0
mov esi, eax
add esp, 4
test esi, esi
je 0x4e23fb
lea eax, [esp + 0x28]
mov ecx, edi
call fcn.0056c680
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x68]
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x40]
lea edx, [esi + 0x8c]
mov dword [edx], eax
mov ecx, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
mov edx, dword [esp + 0x4c]
lea ecx, [esi + 0x74]
mov dword [ecx], edx
mov eax, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x58]
add esi, 0x80
mov dword [esi], eax
mov ecx, dword [esp + 0x5c]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esi + 8], edx
jmp 0x4e23fb
push 1
push eax
lea edx, [ebp + 0x180]
call fcn.00478d50
push eax
mov edx, ebx
call fcn.00478d50
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx + 4]
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
push edx
push str.Received_pos_update___d___on___d____d_.___d__actions____d__positions_Ignoring___d___d__
push 1
mov eax, ebp
call fcn.004e24c0
add esp, 0x24
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 5]
mov dword [ebp + 0x16c], ecx
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 4]
mov dword [ebp + 0x19c], eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xb0
ret
call fcn.004e8230
pop edi
pop esi
pop ebp
add esp, 0xb0
ret