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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x70]
xor ebx, ebx
push edi
mov dword [esp + 0x14], eax
mov edi, str.RenderTransform
mov eax, ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
call fcn.004cb930
mov dword [esp + 0x24], eax
mov edi, str.Clip
mov eax, ebp
call fcn.004cb930
mov dword [esp + 0x1c], eax
mov edi, str.Opacity
mov eax, ebp
call fcn.004cb930
mov dword [esp + 0x30], eax
mov edi, str.OpacityMask
mov eax, ebp
call fcn.004cb930
mov dword [esp + 0x3c], eax
mov edi, str.FixedPage.NavigateUri
mov eax, ebp
call fcn.004cb930
mov edi, dword [ebp + 0x34]
mov dword [esp + 0x40], eax
test edi, edi
je 0x4d76cf
mov ecx, str.Canvas.Resources
mov eax, edi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d75c0
test dl, dl
je 0x4d75bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d75c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d75a0
xor eax, eax
jmp 0x4d75c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d7615
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4d7615
test ebx, ebx
je 0x4d75f5
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x48]
push str.ignoring_follow_up_resource_dictionaries
push 0x129
push str..mupdf_sourcexpsxps_tile.c
push edx
call fcn.004b3370
add esp, 0x10
jmp 0x4d7615
push eax
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0052b690
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4d7615
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x14], ecx
mov dword [esp + 0x14], ebx
mov ecx, str.Canvas.RenderTransform
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d7640
test dl, dl
je 0x4d763c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d7640
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d7620
xor eax, eax
jmp 0x4d7645
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d7650
mov edx, dword [edi + 0x34]
mov dword [esp + 0x28], edx
mov ecx, str.Canvas.Clip
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d7677
test dl, dl
je 0x4d7673
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d7677
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d7657
xor eax, eax
jmp 0x4d767c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d7687
mov eax, dword [edi + 0x34]
mov dword [esp + 0x20], eax
mov ecx, str.Canvas.OpacityMask
mov eax, edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d76b0
test dl, dl
je 0x4d76ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d76b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d7690
xor eax, eax
jmp 0x4d76b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d76c0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], ecx
mov edi, dword [edi + 0x3c]
test edi, edi
jne 0x4d7593
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], esi
je 0x4d76f9
mov ecx, dword [esp + 0x24]
push ebx
xor edi, edi
call fcn.0052b3c0
add esp, 4
test eax, eax
je 0x4d76f9
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4d771c
push ebx
xor edi, edi
mov ecx, esi
call fcn.0052b3c0
add esp, 4
test eax, eax
je 0x4d771c
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4d7739
push ebx
lea edi, [esp + 0x38]
call fcn.0052b3c0
add esp, 4
test eax, eax
je 0x4d7739
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], 0
mov edx, dword [0x7b7da4]
mov eax, dword [0x7b7da8]
mov ecx, dword [0x7b7dac]
mov dword [esp + 0x4c], edx
mov edx, dword [0x7b7db0]
mov dword [esp + 0x50], eax
mov eax, dword [0x7b7db4]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x7b7db8]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
je 0x4d7787
mov ecx, dword [esp + 0x24]
lea ebx, [esp + 0x4c]
call fcn.0052aba0
cmp dword [esp + 0x28], 0
je 0x4d779f
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x4c]
call fcn.0052ac40
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x4c]
mov eax, edx
call fcn.004bdca0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push 0
push 0x7b8dfc
push edx
mov eax, 1
call fcn.004f4940
add esp, 0xc
test esi, esi
jne 0x4d77d5
cmp dword [esp + 0x20], esi
je 0x4d77f7
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x28]
mov edx, edi
call fcn.0052d840
add esp, 8
jmp 0x4d77fb
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
push edi
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x60]
push eax
push ecx
call fcn.0052a9b0
mov esi, dword [ebp + 0x34]
add esp, 0x1c
test esi, esi
je 0x4d7851
mov ebx, dword [esp + 0x44]
lea ecx, [ecx]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push esi
push edi
push ebx
push edx
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.0052a860
mov esi, dword [esi + 0x3c]
add esp, 0x18
test esi, esi
jne 0x4d7830
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x18]
jne 0x4d7864
test ecx, ecx
je 0x4d790f
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x184]
test eax, eax
jle 0x4d7879
dec eax
mov dword [edi + 0x184], eax
test ecx, ecx
je 0x4d7913
movsx eax, byte [ecx]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, str.SolidColorBrush
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d78b0
test dl, dl
je 0x4d78ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d78b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d7890
xor eax, eax
jmp 0x4d78b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4d7913
mov eax, dword [edi + 0x1b4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x4d78ea
dec ecx
mov dword [eax + 0x74], ecx
jne 0x4d7913
lea edx, [eax + 0x78]
mov eax, dword [eax + 0x10]
push edx
push 0x924470
push 1
push 0x139
push str..mupdf_source_fitzdevice.c
push eax
call fcn.004b35a0
test byte [eax], 8
je 0x4d7900
mov ecx, dword [eax + 0x178]
test ecx, ecx
jle 0x4d7900
dec ecx
mov dword [eax + 0x178], ecx
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x4d7913
push eax
call ecx
add esp, 4
jmp 0x4d7913
mov edi, dword [esp + 0x10]
mov esi, dword [ebp + 0x2c]
test esi, esi
je 0x4d7957
lea ebx, [ebx]
mov ecx, 0x98aab4
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d7947
test dl, dl
je 0x4d7943
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d7947
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d7927
xor eax, eax
jmp 0x4d794c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4d7995
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4d7920
xor eax, eax
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push edi
mov eax, 2
xor ecx, ecx
call fcn.004f4940
add esp, 0xc
cmp dword [esp + 0x1c], 0
jne 0x4d797d
cmp dword [esp + 0x20], 0
je 0x4d79bd
mov eax, dword [edi + 0x1b4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x4d799a
dec ecx
mov dword [eax + 0x74], ecx
jne 0x4d79bd
jmp 0x4d78cc
mov eax, dword [esi + 0x28]
jmp 0x4d7959
test byte [eax], 8
je 0x4d79b0
mov ecx, dword [eax + 0x178]
test ecx, ecx
jle 0x4d79b0
dec ecx
mov dword [eax + 0x178], ecx
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x4d79bd
push eax
call ecx
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d79ce
push edi
call fcn.0052b760
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x5c
ret