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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5934a6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x646384]
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 edx, ecx
mov dword [ebp - 0xdc], edx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x104], eax
mov ecx, dword [edx + 0x58]
sub ecx, dword [edx + 0x54]
mov ebx, dword [esi + 0x78]
mov edi, dword [esi + 0x6c]
mov dword [ebp - 0xd8], eax
mov eax, dword [edx + 0x7c]
sar ecx, 2
add eax, ecx
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xe0], eax
lea eax, [edx + 0x44]
mov dword [ebp - 0x100], eax
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x78]
cmp ebx, eax
je 0x4ce8e3
test edi, edi
jne 0x4ce836
xor eax, eax
jmp 0x4ce838
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov eax, dword [eax + ecx*4]
movzx eax, word [eax + 8]
mov dword [ebp - 0xe4], eax
test edi, edi
jne 0x4ce856
xor eax, eax
jmp 0x4ce858
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0xfc]
mov esi, dword [eax + 0xc]
call fcn.004d7e20
mov eax, dword [ebp - 0xe4]
mov word [ebp - 0xf4], ax
mov eax, dword [ebp - 0xe0]
add eax, esi
mov dword [ebp - 0xfc], vtable.PoDoFo::PdfReference.0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xfc]
add eax, 0x44
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
mov dword [ebp - 0x100], eax
call fcn.004e07a0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xfc], vtable.PoDoFo::PdfReference.0
call fcn.004d7e30
mov esi, dword [ebp - 0xec]
inc ebx
jmp 0x4ce820
mov ebx, dword [ebp - 0xec]
mov esi, dword [esi + 0x54]
cmp esi, dword [ebx + 0x58]
je 0x4cea63
push 0x38
call fcn.004550ff
add esp, 4
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4ce974
mov eax, dword [esi]
lea ecx, [ebp - 0xfc]
movzx edi, word [eax + 0x24]
mov ebx, dword [eax + 0x28]
call fcn.004d7e20
mov eax, dword [ebp - 0xe0]
add eax, ebx
mov dword [ebp - 0xfc], vtable.PoDoFo::PdfReference.0
mov word [ebp - 0xf4], di
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd8]
push dword [esi]
mov ecx, dword [ebp - 0xe4]
or eax, 1
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.004dc760
mov ebx, eax
jmp 0x4ce976
xor ebx, ebx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x4ce9a5
and eax, 0xfffffffe
mov dword [ebp - 0xfc], vtable.PoDoFo::PdfReference.0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xd8], eax
call fcn.004d7e30
mov ecx, dword [ebp - 0x100]
push ebx
call fcn.004e15f0
mov edi, dword [esi]
cmp byte [edi + 0x13], 0
jne 0x4ce9d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
movzx eax, byte [edi + 0x12]
push eax
mov byte [edi + 0x13], 1
call dword [edx + 0xc]
cmp byte [edi + 0x12], 7
jne 0x4cea22
mov edi, dword [esi]
cmp byte [edi + 0x13], 0
jne 0x4ce9f5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
movzx eax, byte [edi + 0x12]
push eax
mov byte [edi + 0x13], 1
call dword [edx + 0xc]
cmp byte [edi + 0x18], 0
jne 0x4cea06
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov byte [edi + 0x18], 1
cmp dword [edi + 0x2c], 0
je 0x4cea22
mov ecx, dword [esi]
call fcn.004dd390
push eax
mov ecx, ebx
call fcn.004dd270
mov ecx, eax
call fcn.004e22c0
movzx eax, word [ebx + 0x24]
mov edi, dword [ebp - 0xe0]
push edi
push eax
push dword [ebx + 0x28]
push str.Fixing_references_in__i__i_R_by__i_n
push 3
call fcn.004c94d0
add esp, 0x14
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
push ebx
call fcn.004cf160
mov ebx, dword [ebp - 0xec]
add esi, 4
cmp esi, dword [ebx + 0x58]
jne 0x4ce8f5
jmp 0x4cea69
mov edi, dword [ebp - 0xdc]
cmp byte [ebp + 0xc], 0
je 0x4cefe4
lea ecx, [ebp - 0xb0]
call fcn.004d7e20
mov dword [ebp - 4], 4
mov dword [ebp - 0xb0], vtable.PoDoFo::PdfName.0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
push 9
push str.Resources
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.004040db
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 6
call fcn.004d7e20
mov dword [ebp - 0x90], vtable.PoDoFo::PdfName.0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
push 8
push str.MediaBox
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.004040db
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.004d7e20
mov dword [ebp - 0x70], vtable.PoDoFo::PdfName.0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
push 7
push str.CropBox
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.004040db
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.004d7e20
mov dword [ebp - 0x50], vtable.PoDoFo::PdfName.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
push 6
push str.Rotate
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.004040db
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.004d7e20
push 0x655420
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x30], vtable.PoDoFo::PdfName.0
call fcn.0043e5f8
mov ecx, dword [ebx + 0x3c]
xor esi, esi
mov dword [ebp - 4], 0x11
mov dword [ebp - 0xe4], esi
call fcn.004d7190
test eax, eax
jle 0x4cee85
nop word [eax + eax]
test esi, esi
js 0x4cef89
mov ecx, dword [ebx + 0x3c]
call fcn.004d7190
cmp esi, eax
jge 0x4cef89
mov ecx, dword [ebx + 0x3c]
push esi
call fcn.004d6810
mov ebx, eax
test ebx, ebx
je 0x4cef33
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0xfc]
movzx esi, word [eax + 0x24]
mov edi, dword [eax + 0x28]
call fcn.004d7e20
mov eax, dword [ebp - 0xe0]
add eax, edi
mov dword [ebp - 0xfc], vtable.PoDoFo::PdfReference.0
mov word [ebp - 0xf4], si
mov dword [ebp - 0xf0], eax
mov edi, dword [ebp - 0xdc]
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x13
lea ecx, [edi + 0x44]
call fcn.004e0d40
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x11
mov esi, eax
mov dword [ebp - 0xfc], vtable.PoDoFo::PdfReference.0
call fcn.004d7e30
cmp byte [esi + 0x13], 0
jne 0x4cec70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
movzx eax, byte [esi + 0x12]
push eax
mov byte [esi + 0x13], 1
call dword [edx + 0xc]
cmp byte [esi + 0x12], 7
jne 0x4cecf9
lea ecx, [ebp - 0xd0]
call fcn.004d7e20
mov dword [ebp - 0xd0], vtable.PoDoFo::PdfName.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
push 6
push str.Parent
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x15
call fcn.004040db
mov eax, dword [ebp - 0xd8]
mov ecx, esi
or eax, 2
mov byte [ebp - 4], 0x16
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004cc3f0
mov ecx, eax
call fcn.004df050
mov byte [ebp - 0xd1], 1
test al, al
jne 0x4ced00
mov byte [ebp - 0xd1], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 4], 0x11
test al, 2
je 0x4ced25
and eax, 0xfffffffd
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
call fcn.004dda90
cmp byte [ebp - 0xd1], 0
je 0x4ced9c
lea ecx, [ebp - 0xd0]
call fcn.004d7e20
mov dword [ebp - 0xd0], vtable.PoDoFo::PdfName.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
push 6
push str.Parent
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x18
call fcn.004040db
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x19
push eax
mov ecx, esi
call fcn.004cc3f0
mov ecx, eax
call fcn.004df140
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x11
call fcn.004dda90
cmp dword [ebp - 0x98], 0
je 0x4cee4f
lea edi, [ebp - 0xa8]
nop
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4cedba
mov eax, dword [edi]
push 0
push dword [ebx + 4]
mov ecx, ebx
push eax
call fcn.004d4860
test eax, eax
je 0x4cee3c
push eax
lea ecx, [ebp - 0x13c]
call fcn.004dc3b0
push dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xdc]
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.004cf160
cmp byte [esi + 0x13], 0
jne 0x4cee10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
movzx eax, byte [esi + 0x12]
push eax
mov byte [esi + 0x13], 1
call dword [edx + 0xc]
cmp byte [esi + 0x12], 7
jne 0x4cf004
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x13c]
push eax
lea eax, [edi - 8]
push eax
call fcn.004dec80
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x11
call fcn.004dcda0
add edi, 0x20
cmp dword [edi + 0x10], 0
jne 0x4cedb0
mov edi, dword [ebp - 0xdc]
mov ecx, dword [edi + 0x3c]
call fcn.004d7190
mov ecx, dword [edi + 0x3c]
dec eax
push esi
push eax
call fcn.004d71a0
mov ebx, dword [ebp - 0xec]
mov esi, dword [ebp - 0xe4]
inc esi
mov dword [ebp - 0xe4], esi
mov ecx, dword [ebx + 0x3c]
call fcn.004d7190
cmp esi, eax
jl 0x4cebc0
push 1
mov ecx, edi
call fcn.004cf6c0
mov ecx, dword [ebp - 0xec]
mov ebx, eax
push 0
call fcn.004cf6c0
test eax, eax
je 0x4cefc8
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4cefc8
test ebx, ebx
je 0x4ceec1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4ceec1
mov ebx, eax
test ebx, ebx
jne 0x4ceeb4
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0xc0]
movzx esi, word [eax + 0x24]
mov edi, dword [eax + 0x28]
call fcn.004d7e20
mov eax, dword [ebp - 0xe0]
add eax, edi
mov dword [ebp - 0xc0], vtable.PoDoFo::PdfReference.0
mov word [ebp - 0xb8], si
mov dword [ebp - 0xb4], eax
push 0x24
mov byte [ebp - 4], 0x1b
call fcn.004550ff
mov esi, eax
add esp, 4
mov dword [ebp - 0xe8], esi
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x4cef9f
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0xc0]
push eax
call fcn.004e0d40
push eax
mov ecx, esi
call fcn.004d1a60
jmp 0x4cefa1
push 1
push 2
lea ecx, [ebp - 0x1d4]
call fcn.004cdee0
push str.__the_first_is_0__found.
push esi
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 0x12
push str.No_page
push eax
call fcn.004cdaf0
add esp, 8
mov ecx, eax
call fcn.0041b792
push eax
call fcn.004cdaf0
add esp, 8
mov dword [ebp - 0xe8], 0xb
push 0x59c3f4
push 0x14c
jmp 0x4cf015
push 0
mov dword [ebp - 0xe8], 0xb
push 0xba
jmp 0x4cf015
xor eax, eax
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1b
call fcn.004d1ec0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], vtable.PoDoFo::PdfReference.0
call fcn.004d7e30
mov edi, dword [ebp - 0xdc]
push fcn.004dda90
push 5
push 0x20
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004556e7
mov eax, edi
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.004553ba
mov esp, ebp
pop ebp
ret 8
push 0
mov dword [ebp - 0xe8], 0x14
push 0x382
push 0x59c3f4
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xcc]
call fcn.004c89e0
push 0x60d424
lea eax, [ebp - 0xcc]
push eax
call fcn.00512a1a
int3