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

Disassembly:
push 0xffffffffffffffff
push 0x101c659e
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x114]
mov eax, 0xd
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push eax
xor edi, edi
push str.Coords
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
call fcn.1001d860
cmp dword [eax], 6
jne 0x1004d40f
mov ecx, dword [esp + 0x24]
cmp ecx, 6
je 0x1004cd27
push 6
push ecx
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 + 0x24]
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], 6
jne 0x1004d40f
cmp ecx, 6
je 0x1004cd55
push 6
push ecx
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 eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], edi
mov ebx, 5
lea ebp, [ebx - 4]
jg 0x1004cd70
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x14]
jmp 0x1004cd8d
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
call fcn.100760f0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1004cdab
cmp eax, 2
je 0x1004cda7
mov eax, dword [esi]
push 2
push ebp
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
cmp dword [esi], ebp
jne 0x1004cdb0
fild dword [esi + 8]
jmp 0x1004cdb3
fld qword [esi + 8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x4c]
call fcn.10076130
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004cde0
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], ebp
jg 0x1004cdf7
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x14]
jmp 0x1004ce17
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, 0x10
call fcn.100760f0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1004ce35
cmp eax, 2
je 0x1004ce31
mov eax, dword [esi]
push 2
push ebp
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
cmp dword [esi], ebp
jne 0x1004ce3a
fild dword [esi + 8]
jmp 0x1004ce3d
fld qword [esi + 8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x3c]
call fcn.10076130
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004ce6a
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], 2
jg 0x1004ce82
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x14]
jmp 0x1004cea2
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, 0x20
call fcn.100760f0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1004cec0
cmp eax, 2
je 0x1004cebc
mov eax, dword [esi]
push 2
push ebp
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
cmp dword [esi], ebp
jne 0x1004cec5
fild dword [esi + 8]
jmp 0x1004cec8
fld qword [esi + 8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x5c]
call fcn.10076130
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004cef5
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], 3
jg 0x1004cf0d
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x14]
jmp 0x1004cf2d
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, 0x30
call fcn.100760f0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1004cf4b
cmp eax, 2
je 0x1004cf47
mov eax, dword [esi]
push 2
push ebp
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
cmp dword [esi], ebp
jne 0x1004cf50
fild dword [esi + 8]
jmp 0x1004cf53
fld qword [esi + 8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x34]
call fcn.10076130
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004cf80
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], 4
jg 0x1004cf98
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x14]
jmp 0x1004cfb8
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, 0x40
call fcn.100760f0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1004cfd6
cmp eax, 2
je 0x1004cfd2
mov eax, dword [esi]
push 2
push ebp
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
cmp dword [esi], ebp
jne 0x1004cfdb
fild dword [esi + 8]
jmp 0x1004cfde
fld qword [esi + 8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x54]
call fcn.10076130
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004d00b
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], ebx
jg 0x1004d022
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x14]
jmp 0x1004d042
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, 0x50
call fcn.100760f0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x1004d060
cmp eax, 2
je 0x1004d05c
mov eax, dword [esi]
push 2
push ebp
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
cmp dword [esi], ebp
jne 0x1004d065
fild dword [esi + 8]
jmp 0x1004d068
fld qword [esi + 8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x44]
call fcn.10076130
lea ecx, [esp + 0x24]
call fcn.10076130
fldz
lea ecx, [esp + 0x24]
fstp qword [esp + 0x64]
fld1
push ecx
mov ecx, dword [esp + 0x118]
fstp qword [esp + 0x70]
push str.Domain
call fcn.1001d860
cmp dword [eax], 6
jne 0x1004d174
lea esi, [esp + 0x24]
call fcn.100097c0
cmp eax, 2
jne 0x1004d174
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004d0db
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], edi
jg 0x1004d0f2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
jmp 0x1004d102
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ecx
mov ecx, dword [eax + 4]
call fcn.100760f0
mov esi, eax
call fcn.100096c0
fstp qword [esp + 0x64]
lea ecx, [esp + 0x14]
call fcn.10076130
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004d136
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], ebp
jg 0x1004d14d
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
jmp 0x1004d160
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ecx
mov ecx, dword [eax + 4]
add ecx, 0x10
call fcn.100760f0
mov esi, eax
call fcn.100096c0
fstp qword [esp + 0x6c]
lea ecx, [esp + 0x14]
call fcn.10076130
lea ecx, [esp + 0x24]
call fcn.10076130
mov ecx, dword [esp + 0x114]
lea edx, [esp + 0x24]
push edx
push str.Function
call fcn.1001d860
cmp dword [esp + 0x24], 6
jne 0x1004d2a2
lea esi, [esp + 0x24]
call fcn.100097c0
mov ebp, eax
cmp ebp, 0x20
jle 0x1004d1b8
push str.Invalid_Function_array_in_shading_dictionary
jmp 0x1004d414
xor esi, esi
cmp ebp, edi
jle 0x1004d1f5
mov edi, edi
lea ebx, [esp + 0x14]
lea edi, [esp + 0x24]
call fcn.100097f0
mov eax, ebx
push eax
call fcn.1002bfd0
add esp, 4
mov dword [esp + esi*4 + 0x7c], eax
test eax, eax
je 0x1004d28b
mov ecx, ebx
call fcn.10076130
inc esi
cmp esi, ebp
jl 0x1004d1c0
mov ebx, 5
lea ecx, [esp + 0x24]
call fcn.10076130
mov ecx, dword [esp + 0x114]
lea edx, [esp + 0x24]
push edx
push str.Extend
xor esi, esi
xor edi, edi
call fcn.1001d860
cmp dword [eax], 6
jne 0x1004d348
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004d245
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
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0xc], 2
jne 0x1004d348
cmp eax, 6
je 0x1004d273
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
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0xc], 0
lea eax, [esp + 0x14]
jg 0x1004d2c9
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebx
jmp 0x1004d2d5
lea ecx, [esp + 0x24]
call fcn.10076130
lea ecx, [esp + 0x14]
call fcn.10076130
jmp 0x1004d41f
lea ecx, [esp + 0x24]
push ecx
call fcn.1002bfd0
add esp, 4
mov dword [esp + 0x7c], eax
cmp eax, edi
jne 0x1004d1f5
lea ecx, [esp + 0x24]
call fcn.10076130
jmp 0x1004d41f
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
push eax
push edx
call fcn.100760f0
mov esi, eax
call fcn.10009660
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.10076130
mov eax, dword [esp + 0x24]
cmp eax, 6
je 0x1004d307
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
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], 1
jg 0x1004d323
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
jmp 0x1004d336
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, 0x10
call fcn.100760f0
mov esi, eax
call fcn.10009660
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.10076130
lea ecx, [esp + 0x24]
call fcn.10076130
push 0x190
call fcn.100f5c37
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x10c], 0
test eax, eax
je 0x1004d3dc
fld qword [esp + 0x6c]
push esi
push edi
push ebp
sub esp, 0x40
fstp qword [esp + 0x38]
lea esi, [esp + 0xc8]
fld qword [esp + 0xb0]
fstp qword [esp + 0x30]
fld qword [esp + 0x90]
fstp qword [esp + 0x28]
fld qword [esp + 0xa0]
fstp qword [esp + 0x20]
fld qword [esp + 0x80]
fstp qword [esp + 0x18]
fld qword [esp + 0xa8]
fstp qword [esp + 0x10]
fld qword [esp + 0x88]
fstp qword [esp + 8]
fld qword [esp + 0x98]
fstp qword [esp]
push eax
call fcn.1004c9d0
mov esi, eax
jmp 0x1004d3de
xor esi, esi
mov dword [esp + 0x10c], 0xffffffff
mov eax, dword [esp + 0x114]
push eax
push esi
call fcn.1004ad80
test eax, eax
jne 0x1004d40b
test esi, esi
je 0x1004d41f
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x1004d41f
mov eax, esi
jmp 0x1004d421
push str.Missing_or_invalid_Coords_in_shading_dictionary
or edx, 0xffffffff
call fcn.1001d950
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret