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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0x14
mov esi, 0xd
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
jg 0x4d31bb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
push 0
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
push str.FormType
mov ecx, ebx
call fcn.0047c300
mov eax, dword [esp + 0x10]
cmp eax, 5
je 0x4d3029
cmp eax, 1
jne 0x4d2ffb
cmp dword [esp + 0x18], eax
je 0x4d3029
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x4d3016
mov eax, dword [eax + 4]
cmp dword [eax + 8], esi
je 0x4d3016
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
jmp 0x4d3019
or eax, 0xffffffff
push str.Unknown_form_type
push eax
push 1
call fcn.00489570
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0047c660
push 0
lea ecx, [esp + 0x14]
push ecx
push str.BBox
mov ecx, ebx
call fcn.0047c300
cmp dword [esp + 0x10], 6
je 0x4d308c
lea ecx, [esp + 0x10]
call fcn.0047c660
mov edi, dword [edi + 0x6c]
test edi, edi
je 0x4d3070
mov eax, dword [edi + 4]
cmp dword [eax + 8], esi
je 0x4d3070
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
jmp 0x4d3073
or eax, 0xffffffff
push str.Bad_form_bounding_box
push eax
push 1
call fcn.00489570
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
xor esi, esi
mov edi, edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0047c000
cmp dword [esp + 0x20], 1
jne 0x4d30ac
fild dword [esp + 0x28]
jmp 0x4d30b0
fld qword [esp + 0x28]
lea ecx, [esp + 0x20]
fstp qword [esp + esi*8 + 0x30]
call fcn.0047c660
inc esi
cmp esi, 4
jl 0x4d3090
lea ecx, [esp + 0x10]
call fcn.0047c660
push 0
lea edx, [esp + 0x14]
push edx
push str.Matrix
mov ecx, ebx
call fcn.0047c300
cmp dword [esp + 0x10], 6
jne 0x4d3125
xor esi, esi
jmp 0x4d30f0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0047c000
cmp dword [esp + 0x20], 1
jne 0x4d310c
fild dword [esp + 0x28]
jmp 0x4d3110
fld qword [esp + 0x28]
lea ecx, [esp + 0x20]
fstp qword [esp + esi*8 + 0x50]
call fcn.0047c660
inc esi
cmp esi, 6
jl 0x4d30f0
jmp 0x4d3141
fld1
fst qword [esp + 0x50]
fldz
fst qword [esp + 0x58]
fst qword [esp + 0x60]
fst qword [esp + 0x70]
fstp qword [esp + 0x78]
fstp qword [esp + 0x68]
lea ecx, [esp + 0x10]
call fcn.0047c660
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x5c45f0
mov ecx, ebx
call fcn.0047c300
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push ecx
xor eax, eax
cmp dword [esp + 0x20], 7
push edx
setne al
inc dword [edi + 0x60]
push esi
push 1
push 1
lea ecx, [esp + 0x50]
push ecx
dec eax
and eax, dword [esp + 0x3c]
lea edx, [esp + 0x74]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, edi
call fcn.004d24c0
dec dword [edi + 0x60]
test esi, esi
je 0x4d31b2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x10]
call fcn.0047c660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20