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

Disassembly:
sub esp, 0xe0
push ebx
push ebp
mov ebp, ecx
lea eax, [ebp + 0x3c0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x494]
test ecx, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
je 0x4ebd51
lea edx, [ecx + 0x3c0]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.004ebd00
mov eax, dword [ebp + 0x26c]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [esp + 0x14], ebx
je 0x4ebf6a
push esi
push edi
jmp 0x4ebd70
mov ebx, dword [esp + 0x1c]
lea ecx, [ecx]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4ebe43
mov ecx, dword [ebp + 0x1ac]
test ecx, ecx
jne 0x4ebd89
xor eax, eax
jmp 0x4ebd94
mov eax, dword [ebp + 0x1b0]
sub eax, ecx
sar eax, 2
mov edx, dword [ebx + 0x10]
cmp edx, eax
jb 0x4ebdda
mov ecx, dword [ebp + 0x1ac]
test ecx, ecx
jne 0x4ebdbb
xor eax, eax
push eax
push edx
push str.CActorInstance::UpdateAdvancingPointInstance___rInstance.dwModelIndex_d___m_LODControllerVector.size___d
call fcn.004b00f0
add esp, 0xc
jmp 0x4ebf56
mov eax, dword [ebp + 0x1b0]
sub eax, ecx
sar eax, 2
push eax
push edx
push str.CActorInstance::UpdateAdvancingPointInstance___rInstance.dwModelIndex_d___m_LODControllerVector.size___d
call fcn.004b00f0
add esp, 0xc
jmp 0x4ebf56
mov eax, dword [ebp + 0x1ac]
mov ecx, dword [eax + edx*4]
test ecx, ecx
lea eax, [eax + edx*4]
jne 0x4ebdfd
push edx
push str.CActorInstance::UpdateAdvancingPointInstance___m_LODControllerVector_rInstance.dwModelIndex_d__is_NULL
call fcn.004b00f0
add esp, 8
jmp 0x4ebf56
call fcn.004b8b60
test eax, eax
jne 0x4ebe18
push str.CActorInstance::UpdateAdvancingPointInstance___pGrnLODController__GetModelInstance___is_NULL
call fcn.004b00f0
add esp, 4
jmp 0x4ebf56
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, eax
call fcn.004bc320
add ebp, 0x6c
push ebp
lea edx, [esp + 0x74]
mov esi, eax
push edx
mov eax, edx
mov ecx, 0x10
lea edi, [esp + 0x78]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0048d832
jmp 0x4ebe51
lea esi, [ebp + 0x6c]
mov ecx, 0x10
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x4ebf52
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ebf52
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x18]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x4ebf52
mov ecx, dword [ebp + 0xc]
add ecx, dword [esp + 0x14]
call fcn.004bf480
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [ebx + 0x1c]
mov esi, dword [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
add ebx, esi
call fcn.0048e18f
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.0048d832
fld dword [esp + 0x20]
mov ecx, 0x10
lea esi, [esp + 0xb0]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x60]
mov dword [ebx + 0xc], edx
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x10], eax
mov ecx, dword [esp + 0x68]
mov dword [ebx + 0x14], ecx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, ebx
mov dword [edx], eax
mov eax, dword [ebx + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 8], eax
mov edx, dword [esp + 0x18]
fadd dword [ebx]
mov eax, dword [esp + 0x10]
inc edx
add ecx, 0x14
fstp dword [ebx]
mov dword [esp + 0x18], edx
fld dword [esp + 0x24]
mov dword [esp + 0x14], ecx
fadd dword [ebx + 4]
add eax, 0x1c
fstp dword [ebx + 4]
fld dword [esp + 0x28]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
mov ebx, dword [esp + 0x1c]
jmp 0x4ebe66
mov ebp, dword [esp + 0x2c]
mov ebx, dword [ebx]
cmp ebx, dword [ebp + 0x26c]
mov dword [esp + 0x1c], ebx
jne 0x4ebd69
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret