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

Disassembly:
sub esp, 0xe4
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x47c]
mov eax, dword [ebp + 0x478]
mov edx, dword [ebp + 0x480]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x570]
push esi
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x49e41b
mov eax, dword [ecx + 0x478]
mov edx, dword [ecx + 0x47c]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x480]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.0049e3c0
mov ecx, dword [ebp + 0x2ec]
mov ebx, dword [ecx]
mov edi, dword [ebp + 0x2d8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov esi, dword [ebp + 0x2ec]
mov eax, dword [ebp + 0x2d8]
test edi, edi
je 0x49e445
cmp edi, eax
je 0x49e44a
call fcn.005a01dd
cmp ebx, esi
je 0x49e6c6
test edi, edi
jne 0x49e4aa
call fcn.005a01dd
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x49e467
call fcn.005a01dd
cmp dword [ebx + 0xc], 0
je 0x49e521
mov edx, dword [ebp + 0x1d8]
sub edx, dword [ebp + 0x1d4]
mov esi, dword [ebx + 0x10]
sar edx, 2
cmp esi, edx
jb 0x49e4ae
mov eax, dword [ebp + 0x1d8]
sub eax, dword [ebp + 0x1d4]
sar eax, 2
push eax
push esi
push str.CActorInstance::UpdateAdvancingPointInstance___rInstance.dwModelIndex_d___m_LODControllerVector.size___d
call fcn.005190b0
add esp, 0xc
jmp 0x49e6a0
mov eax, dword [edi]
jmp 0x49e45d
mov ecx, dword [ebp + 0x1d8]
sub ecx, dword [ebp + 0x1d4]
sar ecx, 2
cmp esi, ecx
jb 0x49e4c6
call fcn.005a01dd
mov edx, dword [ebp + 0x1d4]
mov ecx, dword [edx + esi*4]
test ecx, ecx
jne 0x49e4e9
mov eax, dword [ebx + 0x10]
push eax
push str.CActorInstance::UpdateAdvancingPointInstance___m_LODControllerVector_rInstance.dwModelIndex_d__is_NULL
call fcn.005190b0
add esp, 8
jmp 0x49e6a0
call fcn.00540b00
test eax, eax
je 0x49e6a0
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, eax
call fcn.00544840
add ebp, 0x6c
push ebp
lea edx, [esp + 0x38]
mov esi, eax
push edx
mov eax, edx
mov ecx, 0x10
lea edi, [esp + 0x3c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.005682dd
jmp 0x49e52f
lea esi, [ebp + 0x6c]
mov ecx, 0x10
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x49e698
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x14]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
xor edi, edi
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x18], edi
je 0x49e698
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jmp 0x49e574
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x14]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x49e594
call fcn.005a01dd
mov ecx, dword [ebp + 0x14]
add ecx, dword [esp + 0x20]
call fcn.00523250
mov ecx, dword [ebx + 0x28]
sub ecx, dword [ebx + 0x24]
mov esi, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x49e5c4
call fcn.005a01dd
fld dword [esi + 8]
mov ebx, dword [ebx + 0x24]
add ebx, dword [esp + 0x1c]
sub esp, 0xc
fstp dword [esp + 8]
lea edx, [esp + 0x80]
fld dword [esi + 4]
fstp dword [esp + 4]
fld dword [esi]
fstp dword [esp]
push edx
call fcn.00568c3a
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xbc]
push edx
call fcn.005682dd
fld dword [esp + 0xe4]
mov ecx, 0x10
lea esi, [esp + 0xb4]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
fstp dword [ebx + 0xc]
fld dword [esp + 0xa8]
fstp dword [ebx + 0x10]
fld dword [esp + 0xac]
fstp dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov esi, dword [esp + 0x18]
fld dword [ebx]
add dword [esp + 0x20], 0x14
fadd dword [esp + 0x24]
add dword [esp + 0x1c], 0x1c
mov eax, 0x66666667
inc esi
fstp dword [ebx]
mov dword [esp + 0x18], esi
fld dword [ebx + 4]
fadd dword [esp + 0x28]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fadd dword [esp + 0x2c]
fstp dword [ebx + 8]
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x14]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x49e570
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
test edi, edi
jne 0x49e6c2
call fcn.005a01dd
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x49e6b5
call fcn.005a01dd
mov ecx, dword [ebx]
mov dword [esp + 0x14], ecx
mov ebx, ecx
jmp 0x49e431
mov eax, dword [edi]
jmp 0x49e6ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret