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

Disassembly:
sub esp, 0xe4
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x464]
mov eax, dword [ebp + 0x460]
mov edx, dword [ebp + 0x468]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x558]
push esi
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x4c212b
mov eax, dword [ecx + 0x460]
mov edx, dword [ecx + 0x464]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x468]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004c20d0
mov ecx, dword [ebp + 0x2d4]
mov ebx, dword [ecx]
mov edi, dword [ebp + 0x2c0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov esi, dword [ebp + 0x2d4]
mov eax, dword [ebp + 0x2c0]
test edi, edi
je 0x4c2155
cmp edi, eax
je 0x4c215a
call fcn.005c5aaf
cmp ebx, esi
je 0x4c23d6
test edi, edi
jne 0x4c21ba
call fcn.005c5aaf
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4c2177
call fcn.005c5aaf
cmp dword [ebx + 0xc], 0
je 0x4c2231
mov edx, dword [ebp + 0x1c0]
sub edx, dword [ebp + 0x1bc]
mov esi, dword [ebx + 0x10]
sar edx, 2
cmp esi, edx
jb 0x4c21be
mov eax, dword [ebp + 0x1c0]
sub eax, dword [ebp + 0x1bc]
sar eax, 2
push eax
push esi
push str.CActorInstance::UpdateAdvancingPointInstance___rInstance.dwModelIndex_d___m_LODControllerVector.size___d
call fcn.0053cc80
add esp, 0xc
jmp 0x4c23b0
mov eax, dword [edi]
jmp 0x4c216d
mov ecx, dword [ebp + 0x1c0]
sub ecx, dword [ebp + 0x1bc]
sar ecx, 2
cmp esi, ecx
jb 0x4c21d6
call fcn.005c5aaf
mov edx, dword [ebp + 0x1bc]
mov ecx, dword [edx + esi*4]
test ecx, ecx
jne 0x4c21f9
mov eax, dword [ebx + 0x10]
push eax
push str.CActorInstance::UpdateAdvancingPointInstance___m_LODControllerVector_rInstance.dwModelIndex_d__is_NULL
call fcn.0053cc80
add esp, 8
jmp 0x4c23b0
call fcn.00569da0
test eax, eax
je 0x4c23b0
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, eax
call fcn.0056d940
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.0058e8ba
jmp 0x4c223f
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 0x4c23a8
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 0x4c23a8
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jmp 0x4c2284
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 0x4c22a4
call fcn.005c5aaf
mov ecx, dword [ebp + 0x14]
add ecx, dword [esp + 0x20]
call fcn.005295d0
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 0x4c22d4
call fcn.005c5aaf
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.0058f217
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xbc]
push edx
call fcn.0058e8ba
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 0x4c2280
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
test edi, edi
jne 0x4c23d2
call fcn.005c5aaf
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4c23c5
call fcn.005c5aaf
mov ecx, dword [ebx]
mov dword [esp + 0x14], ecx
mov ebx, ecx
jmp 0x4c2141
mov eax, dword [edi]
jmp 0x4c23bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret