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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd3a1
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1010aef8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x58], eax
mov dword [esi], vtable.AGMBasePortBIBImpl.0
call fcn.1009d5a0
xor ebx, ebx
mov dword [esi + 0x14], ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
lea eax, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.PDFGraphicsPort.0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov word [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [ebp - 0x40], eax
call fcn.100a1d00
mov dword [0x1010e240], eax
cmp eax, ebx
je 0x1004b8a3
mov eax, dword [eax]
call eax
jmp 0x1004b8a5
xor eax, eax
mov ecx, dword [ebp - 0x40]
push eax
call fcn.1009e380
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, 0x1010ae10
mov byte [ebp - 4], 1
call fcn.100a2050
mov byte [ebp - 4], 2
call fcn.1009b450
push eax
lea ecx, [esi + 0x48]
call fcn.10045ad0
lea ecx, [esi + 0x54]
push edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], ecx
call fcn.1009e380
mov byte [ebp - 4], 4
call fcn.1009d400
mov edx, dword [ebp - 0x40]
mov dword [edx + 4], eax
mov ecx, 0x1010a44c
mov byte [ebp - 4], 5
call fcn.10036140
mov edx, dword [0x1010da08]
cmp edi, ebx
je 0x1004b917
mov ecx, dword [eax + 4]
cmp dword [edi + edx], ecx
jne 0x1004b917
mov eax, dword [edi + edx + 8]
jmp 0x1004b921
push eax
push edi
call fcn.1009e420
add esp, 8
lea ecx, [esi + 0x60]
mov dword [esi + 0x5c], eax
call fcn.1009d630
mov dword [esi + 0x64], ebx
fld1
mov eax, dword [ebp - 0x58]
fst dword [ebp - 0x38]
fldz
mov ecx, dword [ebp - 0x38]
fst dword [ebp - 0x34]
mov dword [esi + 0x70], ecx
fst dword [ebp - 0x30]
mov dword [esi + 0x6c], eax
mov edx, dword [ebp - 0x34]
fst dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
fstp dword [ebp - 0x24]
mov dword [esi + 0x74], edx
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x24]
fstp dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x7c], ecx
mov cl, byte [ebp + 0x18]
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], eax
mov byte [esi + 0x88], cl
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
lea edi, [esi + 0x94]
push 8
mov byte [ebp - 4], 8
mov dword [edi], ebx
call dword [0x1010db70]
add esp, 4
mov dword [ebp - 0x40], eax
cmp eax, ebx
jne 0x1004b9b0
call fcn.1009d5f0
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x48]
push edx
push eax
mov dword [edi], eax
lea eax, [ebp - 0x49]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.10031080
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
lea edi, [esi + 0xc0]
push 8
mov byte [ebp - 4], 0xa
mov dword [edi], ebx
call dword [0x1010db70]
add esp, 0x10
mov dword [ebp - 0x40], eax
cmp eax, ebx
jne 0x1004ba0b
call fcn.1009d5f0
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x48]
push edx
push eax
mov dword [edi], eax
lea eax, [ebp - 0x49]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.10031080
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
xor edx, edx
mov dword [esi + 0xd8], ebx
mov word [esi + 0xdc], dx
mov dword [esi + 0xe0], 1
push 8
mov byte [ebp - 4], 0xb
mov dword [esi + 0xe4], ebx
call dword [0x1010db70]
add esp, 0x10
mov dword [ebp - 0x40], eax
cmp eax, ebx
jne 0x1004ba6e
call fcn.1009d5f0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0x49]
push edx
mov dword [esi + 0xe4], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.10031080
mov ecx, dword [esi + 0xe4]
lea eax, [esi + 0xe4]
mov dword [ecx], eax
add esp, 0xc
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
xor edx, edx
mov byte [ebp - 4], 0xc
mov word [esi + 0xfc], dx
mov dword [esi + 0x100], ebx
call fcn.1009b450
push eax
lea ecx, [esi + 0x104]
call fcn.10045ad0
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
lea ecx, [esi + 0x120]
call fcn.1009d630
lea eax, [esi + 0x128]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x40], eax
call fcn.1009d480
test eax, eax
je 0x1004bb0e
call fcn.1009d480
mov eax, dword [eax]
push ebx
call eax
add esp, 4
jmp 0x1004bb10
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 4
push eax
call fcn.1009e380
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x10
mov dword [ecx], vtable.CAGMPDFPortErrorStrategist.0
call fcn.1009d480
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], eax
push 8
mov byte [ebp - 4], 0x11
call dword [0x1010db70]
add esp, 4
cmp eax, ebx
jne 0x1004bbe0
call fcn.1009d5f0
xor eax, eax
lea ecx, [esi + 0x134]
push eax
push ecx
call fcn.100977d0
add esp, 8
fldz
mov eax, dword [esi + 0x5c]
fst dword [esi + 0xbc]
add eax, 0xdc
fstp dword [esi + 0xb8]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x40], eax
call fcn.1009e3b0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x50], ecx
push str.AddCommentCallBack
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.100a1da0
test al, al
je 0x1004bbed
push 1
push str.AddCommentCallBack
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x54]
call fcn.100a25f0
mov eax, dword [ebp - 0x48]
mov ecx, dword [0x1010e238]
mov edx, dword [ecx + 8]
push eax
mov byte [ebp - 4], 0x14
call edx
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0x13
call fcn.1009dac0
jmp 0x1004bbf0
push esi
mov ecx, eax
call fcn.10030350
jmp 0x1004bb52
mov dword [esi + 0x2c], ebx
push str.OutlineStrokedText
lea ecx, [ebp - 0x54]
call fcn.100a1da0
test al, al
je 0x1004bc5e
push 1
push str.OutlineStrokedText
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x54]
call fcn.100a2440
mov ecx, dword [ebp - 0x48]
mov edx, dword [0x1010e228]
mov eax, dword [edx + 8]
push ecx
mov byte [ebp - 4], 0x15
call eax
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x1004bc4b
mov eax, 1
lea ecx, [ebp - 0x48]
mov byte [esi + 0x30], al
mov byte [ebp - 4], 0x13
call fcn.1009dac0
jmp 0x1004bc62
xor eax, eax
lea ecx, [ebp - 0x48]
mov byte [esi + 0x30], al
mov byte [ebp - 4], 0x13
call fcn.1009dac0
jmp 0x1004bc62
mov byte [esi + 0x30], 1
push str.OptimizeComplexClips
lea ecx, [ebp - 0x54]
call fcn.100a1da0
test al, al
je 0x1004bcbe
push 1
push str.OptimizeComplexClips
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
call fcn.100a2440
mov edx, dword [ebp - 0x48]
mov eax, dword [0x1010e228]
mov ecx, dword [eax + 8]
push edx
mov byte [ebp - 4], 0x16
call ecx
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x1004bcad
mov eax, 1
jmp 0x1004bcaf
xor eax, eax
lea ecx, [ebp - 0x48]
mov byte [esi + 0x38], al
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.RemoveHiddenGlyphs
lea ecx, [ebp - 0x54]
call fcn.100a1da0
test al, al
je 0x1004bd1b
push 1
push str.RemoveHiddenGlyphs
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x54]
call fcn.100a2440
mov eax, dword [ebp - 0x48]
mov ecx, dword [0x1010e228]
mov edx, dword [ecx + 8]
push eax
mov byte [ebp - 4], 0x17
call edx
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x1004bd0a
mov eax, 1
jmp 0x1004bd0c
xor eax, eax
lea ecx, [ebp - 0x48]
mov byte [esi + 0x39], al
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.UseImageCache
lea ecx, [ebp - 0x54]
call fcn.100a1da0
test al, al
je 0x1004bd78
push 1
push str.UseImageCache
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x54]
call fcn.100a2440
mov ecx, dword [ebp - 0x48]
mov edx, dword [0x1010e228]
mov eax, dword [edx + 8]
push ecx
mov byte [ebp - 4], 0x18
call eax
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x1004bd67
mov eax, 1
jmp 0x1004bd69
xor eax, eax
lea ecx, [ebp - 0x48]
mov byte [esi + 0x3a], al
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.NotifyTransferFuntionUsage
lea ecx, [ebp - 0x54]
call fcn.100a1da0
test al, al
je 0x1004bdd4
push 1
push str.NotifyTransferFuntionUsage
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
call fcn.100a2440
mov edx, dword [ebp - 0x48]
mov eax, dword [0x1010e228]
mov ecx, dword [eax + 8]
push edx
mov byte [ebp - 4], 0x19
call ecx
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x1004bdc3
mov eax, 1
jmp 0x1004bdc5
xor eax, eax
lea ecx, [ebp - 0x48]
mov byte [esi + 0x3c], al
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.CheckGlyphIdsInFont
lea ecx, [ebp - 0x54]
call fcn.100a1da0
test al, al
je 0x1004be34
push 1
push str.CheckGlyphIdsInFont
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x54]
call fcn.100a2440
mov eax, dword [ebp - 0x48]
mov ecx, dword [0x1010e228]
mov edx, dword [ecx + 8]
push eax
mov byte [ebp - 4], 0x1a
call edx
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x1004be1d
mov cl, 1
jmp 0x1004be1f
xor cl, cl
mov eax, dword [esi + 0x5c]
mov byte [eax + 0x185], cl
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push 1
push str.InDesignHackLayer
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.100a27a0
mov dword [ebp - 0x44], eax
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
call fcn.1009e3b0
mov ecx, dword [esi + 0x40]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 0x40], eax
call fcn.1009dac0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x28]
mov dword [esi + 0x44], eax
mov byte [ebp - 4], 0x13
call fcn.1009dac0
cmp dword [esi + 0x40], ebx
je 0x1004bfe5
cmp dword [ebp + 0x10], ebx
jne 0x1004bec5
push 1
push str.DocPort
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x40]
call fcn.100a25f0
mov eax, dword [eax]
mov edx, dword [0x1010e238]
push eax
mov eax, dword [edx + 8]
mov byte [ebp - 4], 0x1c
call eax
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.GStateStack
lea ecx, [esi + 0x40]
call fcn.100a1da0
test al, al
je 0x1004bf0d
push 1
push str.GStateStack
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x40]
call fcn.100a25f0
mov eax, dword [eax]
mov edx, dword [0x1010e238]
push eax
mov eax, dword [edx + 8]
mov byte [ebp - 4], 0x1d
call eax
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.ExportUtils
lea ecx, [esi + 0x40]
call fcn.100a1da0
test al, al
je 0x1004bf55
push 1
push str.ExportUtils
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x40]
call fcn.100a25f0
mov eax, dword [eax]
mov edx, dword [0x1010e238]
push eax
mov eax, dword [edx + 8]
mov byte [ebp - 4], 0x1e
call eax
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.DrawMgr
lea ecx, [esi + 0x40]
call fcn.100a1da0
test al, al
je 0x1004bf9d
push 1
push str.DrawMgr
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x40]
call fcn.100a25f0
mov eax, dword [eax]
mov edx, dword [0x1010e238]
push eax
mov eax, dword [edx + 8]
mov byte [ebp - 4], 0x1f
call eax
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push str.ProgressBar
lea ecx, [esi + 0x40]
call fcn.100a1da0
test al, al
je 0x1004bfe5
push 1
push str.ProgressBar
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x40]
call fcn.100a25f0
mov eax, dword [eax]
mov edx, dword [0x1010e238]
push eax
mov eax, dword [edx + 8]
mov byte [ebp - 4], 0x20
call eax
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 0x13
call fcn.1009dac0
push 1
push str.Other
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x54]
call fcn.100a27a0
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x64], ebx
je 0x1004c05b
push 1
push 0x100ca118
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.100a27a0
push 1
push str.PDPage
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x22
call fcn.100a25f0
mov eax, dword [eax]
mov ecx, dword [0x1010e238]
mov edx, dword [ecx + 8]
push eax
mov byte [ebp - 4], 0x23
call edx
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [esi + 0x68], eax
mov byte [ebp - 4], 0x22
call fcn.1009dac0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x21
call fcn.1009dac0
cmp dword [esi + 0x1c], ebx
jne 0x1004c0ff
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 0x164]
cmp ecx, 1
je 0x1004c0b0
cmp ecx, 3
je 0x1004c0b0
push esi
push ebx
mov ecx, esi
call fcn.1002df80
mov eax, dword [eax + 4]
push eax
call fcn.10072140
mov ecx, dword [esi + 0x8c]
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x1004c0a5
cmp ecx, ebx
je 0x1004c0a5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x8c], ecx
jmp 0x1004c0f6
cmp eax, ebx
je 0x1004c51c
add eax, 0x118
cmp eax, ebx
je 0x1004c51c
mov edx, dword [eax + 4]
push esi
push 1
push edx
call fcn.10072140
mov ecx, dword [esi + 0x8c]
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x1004c0ed
cmp ecx, ebx
je 0x1004c0ed
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x1c], ecx
cmp dword [esi + 0x18], ebx
jne 0x1004c153
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x124], ebx
mov eax, dword [eax + 0x11c]
setne cl
movzx edx, cl
mov ecx, dword [ebp - 0x58]
push edx
mov edx, dword [esi + 0x1c]
push eax
push ecx
push edx
push esi
call fcn.1006b3a0
mov ecx, dword [esi + 0x90]
add esp, 0x14
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x1004c145
cmp ecx, ebx
je 0x1004c145
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x18], ecx
push 4
push str.Cyan
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.1003e050
mov edx, dword [edi + 0x10]
inc edx
mov byte [ebp - 4], 0x24
cmp dword [edi + 8], edx
ja 0x1004c185
push 1
mov ecx, edi
call fcn.1003e2d0
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x40], eax
cmp ecx, eax
ja 0x1004c19a
sub eax, ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [edi + 4]
cmp dword [ecx + eax*4], ebx
jne 0x1004c1b6
push ebx
push 1
call fcn.10036300
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
push edx
mov edx, dword [eax + ecx*4]
push edx
lea eax, [edi + 0x14]
push eax
call fcn.100490c0
inc dword [edi + 0x10]
add esp, 0xc
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 0x21
jb 0x1004c1ea
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [0x1010db78]
add esp, 4
push 7
push str.Magenta
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.1003e050
mov edx, dword [edi + 0x10]
inc edx
mov byte [ebp - 4], 0x25
cmp dword [edi + 8], edx
ja 0x1004c21c
push 1
mov ecx, edi
call fcn.1003e2d0
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x40], eax
cmp ecx, eax
ja 0x1004c231
sub eax, ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [edi + 4]
cmp dword [ecx + eax*4], ebx
jne 0x1004c24d
push ebx
push 1
call fcn.10036300
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
push edx
mov edx, dword [eax + ecx*4]
push edx
lea eax, [edi + 0x14]
push eax
call fcn.100490c0
inc dword [edi + 0x10]
add esp, 0xc
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 0x21
jb 0x1004c281
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [0x1010db78]
add esp, 4
push 6
push str.Yellow
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.1003e050
mov edx, dword [edi + 0x10]
inc edx
mov byte [ebp - 4], 0x26
cmp dword [edi + 8], edx
ja 0x1004c2b3
push 1
mov ecx, edi
call fcn.1003e2d0
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x40], eax
cmp ecx, eax
ja 0x1004c2c8
sub eax, ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [edi + 4]
cmp dword [ecx + eax*4], ebx
jne 0x1004c2e4
push ebx
push 1
call fcn.10036300
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
push edx
mov edx, dword [eax + ecx*4]
push edx
lea eax, [edi + 0x14]
push eax
call fcn.100490c0
inc dword [edi + 0x10]
add esp, 0xc
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 0x21
jb 0x1004c318
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [0x1010db78]
add esp, 4
push 5
push str.Black
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.1003e050
mov edx, dword [edi + 0x10]
inc edx
mov byte [ebp - 4], 0x27
cmp dword [edi + 8], edx
ja 0x1004c34a
push 1
mov ecx, edi
call fcn.1003e2d0
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x40], eax
cmp ecx, eax
ja 0x1004c35f
sub eax, ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [edi + 4]
cmp dword [ecx + eax*4], ebx
jne 0x1004c37b
push ebx
push 1
call fcn.10036300
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
push edx
mov edx, dword [eax + ecx*4]
push edx
lea eax, [edi + 0x14]
push eax
call fcn.100490c0
inc dword [edi + 0x10]
add esp, 0xc
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 0x21
jb 0x1004c3af
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [0x1010db78]
add esp, 4
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x16c], ebx
je 0x1004c41f
mov eax, dword [eax + 0x16c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1009e380
mov edi, vtable.CAGMPDFPortErrorStrategist.0
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x2c], edi
call fcn.1009d480
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x29
call fcn.1009e3b0
mov ecx, dword [esi + 0x12c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 0x12c], eax
call fcn.1009dac0
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
mov dword [esi + 0x130], edx
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x2c], edi
call fcn.1009dac0
mov edx, dword [esi + 0x128]
lea ecx, [esi + 0x128]
lea eax, [esi + 0x134]
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, esi
call fcn.1002eb60
fldz
push 1
fst dword [ebp - 0x20]
push ebx
fst dword [ebp - 0x1c]
push ebx
fstp dword [ebp - 0x18]
fld1
push ebx
push 1
fstp dword [ebp - 0x14]
push ebx
push 2
call fcn.1009ad40
add esp, 0x18
push eax
lea ecx, [ebp - 0x5c]
call fcn.1009acd0
mov byte [ebp - 4], 0x2a
call fcn.1009a230
mov dword [ebp - 0x58], eax
push 1
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 0x2b
call fcn.1009b290
add esp, 8
push eax
lea ecx, [ebp - 0x48]
call fcn.1009b220
mov byte [ebp - 4], 0x2c
call fcn.1009a660
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x48]
push ebx
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x2d
call fcn.10046c80
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x2b
call fcn.1009dac0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x21
call fcn.1009dac0
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + 0x164]
cmp eax, 7
je 0x1004c4dc
cmp eax, 8
jne 0x1004c4e1
mov ebx, 1
lea ecx, [ebp - 0x64]
mov byte [esi + 0x3b], bl
mov byte [ebp - 4], 0x13
call fcn.1009dac0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.1009dac0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a2cc1
mov esp, ebp
pop ebp
ret 0x14
push ebx
push ebx
push ebx
push 0x100c8900
push str.PDFPort_error
lea ecx, [ebp - 0x30]
call fcn.1009d960
push 0x100eeddc
lea edx, [ebp - 0x30]
push edx
call fcn.100a2c75
int3