Function at 0x42fb00
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.00412200
lea ecx, [esp + 8]
push 0
push ecx
call fcn.0042f5a0
add esp, 8
mov dword [edi + 0xc], eax
test eax, eax
jne 0x42fb67
push str.Bad_color_space_in_shading_dictionary
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
lea ecx, [esp + 8]
call fcn.0044ea50
pop edi
xor eax, eax
pop ebp
add esp, 0x20
ret 4
push esi
lea ecx, [esp + 0xc]
call fcn.0044ea50
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.00412200
cmp dword [eax], 6
jne 0x42fc80
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 0x42fc6c
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 0x42fc7f
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00408350
cmp dword [eax], 1
jne 0x42fc3f
fild dword [eax + 8]
jmp 0x42fc42
fld qword [eax + 8]
fmul qword [0x534860]
call fcn.00512de0
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.0044ea50
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 0x42fc26
jmp 0x42fc7f
push str.Bad_Background_in_shading_dictionary
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
pop ebx
lea ecx, [esp + 0xc]
call fcn.0044ea50
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.00412200
cmp dword [eax], 6
pop esi
jne 0x42fdb2
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 4
jne 0x42fd9f
lea edx, [esp + 0x18]
push edx
push 0
mov dword [edi + 0xb8], 1
call fcn.00408350
cmp dword [eax], 1
jne 0x42fcf8
fild dword [eax + 8]
jmp 0x42fcfb
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0x98]
call fcn.0044ea50
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 1
call fcn.00408350
cmp dword [eax], 1
jne 0x42fd24
fild dword [eax + 8]
jmp 0x42fd27
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xa0]
call fcn.0044ea50
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push 2
call fcn.00408350
cmp dword [eax], 1
jne 0x42fd50
fild dword [eax + 8]
jmp 0x42fd53
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xa8]
call fcn.0044ea50
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 3
call fcn.00408350
cmp dword [eax], 1
jne 0x42fd8b
fild dword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xb0]
call fcn.0044ea50
jmp 0x42fdb2
fld qword [eax + 8]
lea ecx, [esp + 0x18]
fstp qword [edi + 0xb0]
call fcn.0044ea50
jmp 0x42fdb2
push str.Bad_BBox_in_shading_dictionary
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
lea ecx, [esp + 8]
call fcn.0044ea50
pop edi
mov eax, 1
pop ebp
add esp, 0x20
ret 4