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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4e6e80
jmp 0x4e6994
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e6e57
mov esi, dword [esp + 0x10]
mov ecx, str.Relationship
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e69c7
test dl, dl
je 0x4e69c3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e69c7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e69a7
xor eax, eax
jmp 0x4e69cc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e6bb4
mov edi, dword [esi + 0x2c]
mov esi, edi
test esi, esi
je 0x4e6a17
lea ecx, [ecx]
mov ecx, str.Target
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6a07
test dl, dl
je 0x4e6a03
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6a07
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e69e7
xor eax, eax
jmp 0x4e6a0c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6a48
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4e69e0
xor ebx, ebx
mov dword [esp + 0x14], ebx
test edi, edi
je 0x4e6a5d
mov ecx, str.Type
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6a4d
test dl, dl
je 0x4e6a44
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6a4d
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6a28
xor eax, eax
jmp 0x4e6a52
mov ebx, dword [esi + 0x28]
jmp 0x4e6a19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6ab4
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x4e6a21
xor esi, esi
test ebx, ebx
je 0x4e6bb4
test esi, esi
je 0x4e6bb4
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x78]
push 0x400
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
call fcn.004d4920
add esp, 0xc
mov ecx, str.http:__schemas.microsoft.com_xps_2005_06_fixedrepresentation
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6ab9
test dl, dl
je 0x4e6ab0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6ab9
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6a94
xor eax, eax
jmp 0x4e6abe
mov esi, dword [edi + 0x28]
jmp 0x4e6a5f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6af9
mov ecx, str.http:__schemas.openxps.org_oxps_v1.0_fixedrepresentation
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6af0
test dl, dl
je 0x4e6aec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6af0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6ad0
xor eax, eax
jmp 0x4e6af5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e6b08
mov eax, dword [ebx + 0x48]
lea edi, [esp + 0x20]
call fcn.004d16a0
mov dword [ebx + 0x5c], eax
mov ecx, str.http:__schemas.microsoft.com_xps_2005_06_documentstructure
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6b30
test dl, dl
je 0x4e6b2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6b30
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6b10
xor eax, eax
jmp 0x4e6b35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6b69
mov ecx, str.http:__schemas.openxps.org_oxps_v1.0_documentstructure
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6b60
test dl, dl
je 0x4e6b5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6b60
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6b40
xor eax, eax
jmp 0x4e6b65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e6b80
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4e6b80
mov eax, dword [ebx + 0x48]
lea edi, [esp + 0x20]
call fcn.004d16a0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov edi, 0x9927ac
call fcn.004cb930
test eax, eax
jne 0x4e6bb8
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x48]
push ecx
push str.missing_relationship_id_for__s
push 0x132
push str..mupdf_sourcexpsxps_doc.c
push edx
call fcn.004b3370
add esp, 0x14
jmp 0x4e6bb8
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, str.DocumentReference
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6be3
test dl, dl
je 0x4e6bdf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6be3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6bc3
xor eax, eax
jmp 0x4e6be8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e6c5d
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x4e6c5d
mov ecx, str.Source
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6c20
test dl, dl
je 0x4e6c1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6c20
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6c00
xor eax, eax
jmp 0x4e6c25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6c32
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4e6bf3
jmp 0x4e6c5d
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4e6c5d
mov ecx, dword [ebx + 0x78]
push 0x400
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004d4920
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.004e63d0
add esp, 8
mov ecx, str.PageContent
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6c84
test dl, dl
je 0x4e6c80
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6c84
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6c64
xor eax, eax
jmp 0x4e6c89
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e6dcc
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 0x2c]
mov esi, ebx
test esi, esi
je 0x4e6cd7
mov edi, edi
mov ecx, str.Source
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6cc7
test dl, dl
je 0x4e6cc3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6cc7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6ca7
xor eax, eax
jmp 0x4e6ccc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6d10
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4e6ca0
mov dword [esp + 0x14], 0
mov esi, ebx
test esi, esi
je 0x4e6d29
mov ecx, str.Width
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6d19
test dl, dl
je 0x4e6d0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6d19
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6cf0
xor eax, eax
jmp 0x4e6d1e
mov edx, dword [esi + 0x28]
mov dword [esp + 0x14], edx
jmp 0x4e6cdf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6d58
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4e6ce5
xor edi, edi
mov esi, ebx
test esi, esi
je 0x4e6d6d
mov ecx, str.Height
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6d5d
test dl, dl
je 0x4e6d54
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6d5d
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6d38
xor eax, eax
jmp 0x4e6d62
mov edi, dword [esi + 0x28]
jmp 0x4e6d2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6d80
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4e6d31
xor esi, esi
test edi, edi
je 0x4e6d85
push edi
call fcn.00658e45
add esp, 4
mov edi, eax
jmp 0x4e6d87
mov esi, dword [esi + 0x28]
jmp 0x4e6d6f
xor edi, edi
test esi, esi
je 0x4e6d98
push esi
call fcn.00658e45
add esp, 4
mov esi, eax
jmp 0x4e6d9a
xor esi, esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e6dcc
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x78]
push 0x400
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004d4920
add esp, 0xc
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004e6510
add esp, 0x10
mov esi, dword [esp + 0x10]
mov ecx, str.LinkTarget
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6df7
test dl, dl
je 0x4e6df3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6df7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6dd7
xor eax, eax
jmp 0x4e6dfc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e6e57
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x4e6e57
mov ecx, 0x98aab4
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6e30
test dl, dl
je 0x4e6e2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6e30
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6e10
xor eax, eax
jmp 0x4e6e35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e6e42
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4e6e07
jmp 0x4e6e57
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4e6e57
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004e6650
add esp, 8
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.004e6950
mov eax, dword [esi + 0x3c]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4e6990
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret