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

Disassembly:
sub esp, 0x20
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov eax, 0xd
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
push 0
lea eax, [esp + 0xc]
push eax
mov edi, ecx
push str.ColorSpace
mov ecx, ebp
call fcn.0047c300
lea ecx, [esp + 8]
push 0
push ecx
call fcn.004a63d0
add esp, 8
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4a6915
push str.Bad_color_space_in_shading_dictionary
push 0xffffffffffffffff
push 1
call fcn.00489570
add esp, 0xc
lea ecx, [esp + 8]
call fcn.0047c660
pop edi
xor eax, eax
pop ebp
add esp, 0x20
ret 4
push esi
lea ecx, [esp + 0xc]
call fcn.0047c660
xor eax, eax
lea esi, [edi + 0x10]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
push eax
mov dword [esi + 0x74], eax
lea edx, [esp + 0x10]
mov dword [esi + 0x78], eax
push edx
mov dword [esi + 0x7c], eax
push str.Background
mov ecx, ebp
mov dword [edi + 0x90], eax
call fcn.0047c300
cmp dword [eax], 6
jne 0x4a6a2c
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
push ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [edx + 0x18]
call eax
cmp ebx, eax
jne 0x4a6a1a
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x90], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
xor ebx, ebx
call eax
test eax, eax
jle 0x4a6a2b
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.0047c000
cmp dword [eax], 1
jne 0x4a69ed
fild dword [eax + 8]
jmp 0x4a69f0
fld qword [eax + 8]
fmul qword [0x5c4880]
call fcn.00551da0
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.0047c660
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
inc ebx
add esi, 4
call eax
cmp ebx, eax
jl 0x4a69d4
jmp 0x4a6a2b
push str.Bad_Background_in_shading_dictionary
push 0xffffffffffffffff
push 1
call fcn.00489570
add esp, 0xc
pop ebx
lea ecx, [esp + 0xc]
call fcn.0047c660
fldz
push 0
fst qword [edi + 0xb0]
lea ecx, [esp + 0x10]
fst qword [edi + 0xa8]
push ecx
fst qword [edi + 0xa0]
push str.BBox
fstp qword [edi + 0x98]
mov ecx, ebp
mov dword [edi + 0xb8], 0
call fcn.0047c300
cmp dword [eax], 6
pop esi
jne 0x4a6b5c
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 4
jne 0x4a6b4b
lea edx, [esp + 0x18]
push edx
push 0
mov dword [edi + 0xb8], 1
call fcn.0047c000
cmp dword [eax], 1
jne 0x4a6aa4
fild dword [eax + 8]
jmp 0x4a6aa7
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0x98]
call fcn.0047c660
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 1
call fcn.0047c000
cmp dword [eax], 1
jne 0x4a6ad0
fild dword [eax + 8]
jmp 0x4a6ad3
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xa0]
call fcn.0047c660
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push 2
call fcn.0047c000
cmp dword [eax], 1
jne 0x4a6afc
fild dword [eax + 8]
jmp 0x4a6aff
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xa8]
call fcn.0047c660
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 3
call fcn.0047c000
cmp dword [eax], 1
jne 0x4a6b37
fild dword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xb0]
call fcn.0047c660
jmp 0x4a6b5c
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xb0]
call fcn.0047c660
jmp 0x4a6b5c
push str.Bad_BBox_in_shading_dictionary
push 0xffffffffffffffff
push 1
call fcn.00489570
add esp, 0xc
lea ecx, [esp + 8]
call fcn.0047c660
pop edi
mov eax, 1
pop ebp
add esp, 0x20
ret 4