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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x378
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [0xf91610]
push esi
lea eax, [edi + 0x40]
push ecx
call fcn.004e76f0
mov esi, eax
cmp ebx, esi
mov dword [esp + 0xc], esi
je 0x4e5041
mov eax, dword [0xeb0b60]
mov edx, 1
mov ecx, esi
shl edx, cl
test edx, eax
je 0x4e5034
mov dword [0xf91610], esi
jmp 0x4e5041
push str.RenderRegionManager::SetActiveRenderRegion___attempt_to_activate_region_that_is_not_in_use_n
call fcn.004fefa0
add esp, 4
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3880]
xor eax, eax
test edx, edx
jle 0x4e5069
lea ecx, [ebx + 0x3390]
cmp dword [ecx], esi
je 0x4e51c3
inc eax
add ecx, 0xa0
cmp eax, edx
jl 0x4e5056
xor ebx, ebx
mov esi, dword [edi + 4]
mov ecx, dword [esi + 0x38]
shr ecx, 0x1f
test cl, 1
mov dword [esp + 8], esi
je 0x4e537d
test ebx, ebx
je 0x4e51f9
test byte [ebx], 6
je 0x4e51f9
mov edx, dword [ebp + 8]
lea eax, [ebx + 0x20]
push edx
lea esi, [esp + 0x24]
call fcn.004e7fe0
fld dword [eax + 4]
mov ecx, dword [eax]
fstp dword [esp + 0x14]
fld dword [eax + 8]
xor edx, edx
mov dx, word [ebx + 0xa]
fstp dword [esp + 0x18]
fld dword [eax + 0xc]
xor eax, eax
mov ax, word [ebx + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
fstp dword [esp + 0x1c]
push edx
lea edx, [esp + 0x134]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004e7e80
mov ecx, eax
lea eax, [esp + 0xb0]
call fcn.00407fe0
mov esi, dword [esp + 0xc]
mov ecx, dword [0xf9b300]
mov eax, esi
shl eax, 6
add eax, ecx
lea ecx, [esp + 0xb0]
call fcn.00407fe0
mov dword [esi*4 + 0xeb0b48], 1
fld dword [edi + 0x10]
mov edx, dword [edi + 8]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0xc]
lea eax, [esp + 0xf8]
fstp dword [esp]
push edx
push eax
call fcn.00571c03
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
mov edx, dword [esp + 0x24]
fchs
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00571c03
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xf8]
push ecx
call fcn.00401680
add esp, 0xc
lea eax, [esp + 0x1b0]
call fcn.0049e340
test byte [edi + 0x3c], 1
push 0
je 0x4e51d5
mov edx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0x1b8]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004a51c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [eax + eax*4]
shl eax, 5
lea ebx, [eax + ebx + 0x3380]
jmp 0x4e506b
lea ecx, [esp + 0x1b4]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.004a4d40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [edi + 0x34]
test al, al
je 0x4e5232
lea ecx, [edi + 0x24]
lea eax, [esp + 0x70]
call fcn.0042c6e0
fld dword [edi + 0x10]
mov edx, dword [edi + 8]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0xc]
lea eax, [esp + 0xb8]
fstp dword [esp]
push edx
push eax
call fcn.00571c03
jmp 0x4e52cc
fld dword [edi + 0x18]
push ecx
fchs
lea ecx, [esp + 0xf4]
fstp dword [esp]
push ecx
call fcn.00571c81
fld dword [edi + 0x1c]
push ecx
fchs
lea edx, [esp + 0x174]
fstp dword [esp]
push edx
call fcn.00571d1d
fld dword [edi + 0x20]
push ecx
fchs
lea eax, [esp + 0x134]
fstp dword [esp]
push eax
call fcn.00571dba
fld dword [edi + 0x10]
mov ecx, dword [edi + 8]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0xc]
lea edx, [esp + 0xb8]
fstp dword [esp]
push ecx
push edx
call fcn.00571c03
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x178]
push edx
call fcn.00401680
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.00401680
add esp, 0x18
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00401680
add esp, 0xc
test ebx, ebx
je 0x4e531e
test byte [ebx + 1], 0x80
je 0x4e531e
lea eax, [esp + 0x30]
push eax
lea ecx, [ebx + 0x20]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00401680
lea eax, [esp + 0x3c]
push eax
add ebx, 0x60
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00401680
mov ebx, dword [ebp + 0x10]
add esp, 0x18
jmp 0x4e5337
mov ebx, dword [ebp + 0x10]
lea edx, [esp + 0x30]
push edx
lea eax, [ebx + 0x40]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.00401680
add esp, 0xc
mov al, byte [edi + 0x3c]
add ebx, 0x140
test al, 1
push 0x1fc00
je 0x4e5369
mov edx, dword [ebp + 0xc]
push edx
push ebx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.004a51c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004a4d40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc