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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
xor ecx, ecx
mov eax, 0xd
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x60], 0x14
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
jg 0x1003ce68
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, 8
je 0x1003c947
push 8
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
call edx
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push str.FormType
mov ecx, ebx
mov dword [esp + 0x5c], ebx
call fcn.1001d860
mov eax, dword [esp + 0x10]
cmp eax, 5
je 0x1003c992
cmp eax, 1
jne 0x1003c97c
cmp dword [esp + 0x18], eax
je 0x1003c992
push str.Unknown_form_type
mov eax, edi
call fcn.10031d80
mov edx, eax
call fcn.1001d950
add esp, 4
lea ecx, [esp + 0x10]
call fcn.10076130
lea ecx, [esp + 0x58]
push ecx
push str.BBox
mov ecx, ebx
call fcn.1001d860
mov eax, dword [esp + 0x58]
cmp eax, 6
je 0x1003c9dd
lea ecx, [esp + 0x58]
call fcn.10076130
push str.Bad_form_bounding_box
mov eax, edi
call fcn.10031d80
mov edx, eax
call fcn.1001d950
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor esi, esi
xor edi, edi
jmp 0x1003c9e7
mov eax, dword [esp + 0x58]
cmp eax, 6
je 0x1003ca03
push 6
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
test esi, esi
jl 0x1003ca58
mov eax, dword [esp + 0x60]
cmp esi, dword [eax + 0xc]
jge 0x1003ca58
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.100760f0
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x1003ca52
cmp eax, 2
je 0x1003ca4d
push 2
push 1
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d_or__d
xor edx, edx
call fcn.1001d950
add esp, 0x10
call fcn.10105849
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x1003ca6b
fild dword [esp + 0x18]
jmp 0x1003ca6f
mov eax, 5
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x1003ca30
fld qword [esp + 0x18]
lea ecx, [esp + 0x10]
fstp qword [esp + esi*8 + 0xb8]
call fcn.10076130
add edi, 0x10
inc esi
cmp edi, 0x40
jl 0x1003c9e3
lea ecx, [esp + 0x58]
call fcn.10076130
lea edx, [esp + 0x68]
push edx
push str.Matrix
mov ecx, ebx
call fcn.1001d860
mov eax, dword [esp + 0x68]
cmp eax, 6
jne 0x1003cb6b
xor esi, esi
xor edi, edi
jmp 0x1003cac4
mov eax, dword [esp + 0x68]
cmp eax, 6
je 0x1003cae0
push 6
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
test esi, esi
jl 0x1003cb35
mov eax, dword [esp + 0x70]
cmp esi, dword [eax + 0xc]
jge 0x1003cb35
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, edi
call fcn.100760f0
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x1003cb2f
cmp eax, 2
je 0x1003cb2a
push 2
push 1
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d_or__d
xor edx, edx
call fcn.1001d950
add esp, 0x10
call fcn.10105849
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x1003cb48
fild dword [esp + 0x18]
jmp 0x1003cb4c
mov eax, 5
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x1003cb0d
fld qword [esp + 0x18]
lea ecx, [esp + 0x10]
fstp qword [esp + esi*8 + 0x88]
call fcn.10076130
add edi, 0x10
inc esi
cmp edi, 0x60
jl 0x1003cac0
jmp 0x1003cb99
fld1
fst qword [esp + 0x88]
fldz
fst qword [esp + 0x90]
fst qword [esp + 0x98]
fst qword [esp + 0xa8]
fstp qword [esp + 0xb0]
fstp qword [esp + 0xa0]
lea ecx, [esp + 0x68]
call fcn.10076130
push str.Resources
mov eax, ebx
call fcn.1001d730
xor edi, edi
cmp eax, edi
je 0x1003cbf0
mov ecx, dword [ebx]
add eax, 8
cmp dword [eax], 9
jne 0x1003cbe5
cmp ecx, edi
je 0x1003cbe5
lea edx, [esp + 0x40]
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
call fcn.100a4540
cmp dword [esp + 0x40], 7
jne 0x1003cbfc
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
jmp 0x1003cc00
lea esi, [esp + 0x40]
call fcn.10076070
jmp 0x1003cbd4
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], 5
mov dword [esp + 0x38], edi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
push str.Group
mov eax, esi
xor ebx, ebx
xor edi, edi
call fcn.1001d730
test eax, eax
je 0x1003ccc0
mov ecx, dword [esi]
add eax, 8
cmp dword [eax], 9
jne 0x1003ccb5
test ecx, ecx
je 0x1003ccb5
lea edx, [esp + 0x10]
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
call fcn.100a4540
cmp dword [eax], 7
jne 0x1003ce0e
mov eax, dword [esp + 0x10]
cmp eax, 7
je 0x1003cc71
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x10204334
call fcn.1001d860
cmp dword [eax], 4
jne 0x1003ce05
mov eax, dword [eax + 8]
mov ecx, str.Transparency
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003ccd5
test dl, dl
je 0x1003ccb1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003ccd5
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003cc95
xor eax, eax
jmp 0x1003ccda
lea esi, [esp + 0x10]
call fcn.10076070
jmp 0x1003cc48
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 5
jmp 0x1003ce0e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003ce05
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
cmp eax, 7
je 0x1003cd05
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push 0x102326b0
call fcn.1001d860
cmp dword [eax], 5
je 0x1003cd2c
lea eax, [esp + 0x20]
push eax
call fcn.100451b0
add esp, 4
mov edi, eax
lea ecx, [esp + 0x20]
call fcn.10076130
mov eax, dword [esp + 0x10]
cmp eax, 7
je 0x1003cd55
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x1020433c
call fcn.1001d860
cmp dword [eax], 0
jne 0x1003cd94
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003cd8c
push 0
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x20]
call fcn.10076130
mov eax, dword [esp + 0x10]
cmp eax, 7
je 0x1003cdbd
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 0x102061f4
call fcn.1001d860
cmp dword [eax], 0
jne 0x1003cdfc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003cdf4
push 0
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x20]
call fcn.10076130
lea ecx, [esp + 0x78]
call fcn.10076130
lea ecx, [esp + 0x10]
call fcn.10076130
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov esi, dword [ebp + 8]
inc dword [esi + 0x60]
push 0
push 0
push 0
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x4c]
push edi
push 0
push ebx
lea ecx, [esp + 0xd8]
push ecx
push edx
push esi
lea ecx, [esp + 0xb4]
call fcn.1003ce80
dec dword [esi + 0x60]
test edi, edi
je 0x1003ce5f
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0x40]
call fcn.10076130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8