Function at 0x4f5950
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x9c48d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xa0], edi
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xcc], ecx
call fcn.004b3520
test eax, eax
je 0x4f6c3b
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edx, eax
shl edx, 4
add edx, eax
lea eax, [ebx + edx*4 + 8]
push edi
push eax
call fcn.0065e2c0
mov ebx, dword [ebp - 0xbc]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov esi, edx
shl esi, 4
add esi, edx
add esp, 8
mov dword [ecx + esi*4 + 4], eax
cmp eax, edi
jne 0x4f6c3b
mov ecx, dword [ebp - 0xcc]
cmp ecx, edi
je 0x4f5a54
mov eax, dword [ecx]
cmp eax, 9
je 0x4f5a54
cmp eax, 0xa
je 0x4f5a54
mov esi, dword [ecx + 0x24]
cmp esi, edi
je 0x4f5a43
cmp dword [esi], 1
jne 0x4f5a41
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp dword [esi + 8], edx
jle 0x4f5a41
push esi
mov ecx, ebx
call fcn.004d1910
mov ecx, dword [ebp - 0xcc]
add esp, 4
inc dword [esi]
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xa4], ecx
jmp 0x4f5b05
mov edi, dword [ebp - 0xac]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x20]
push eax
push ecx
push edi
push ebx
call edx
mov dword [ebp - 0xc0], eax
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x18]
add esp, 0x10
mov dword [ebp - 0xc8], ecx
cmp eax, 1
jne 0x4f5a8b
mov dword [ebp - 0x94], eax
jmp 0x4f5a92
dec eax
mov dword [ebp - 0x94], eax
mov esi, dword [edi + 8]
imul esi, dword [ebp - 0x94]
imul esi, dword [edi + 0xc]
push esi
push ebx
call fcn.004d1730
mov dword [ebp - 0xa0], eax
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0xc0]
add esp, 8
cmp dword [eax + 0x18], 1
jne 0x4f5ad8
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 4]
push esi
push edx
push ecx
call fcn.0065b3c0
add esp, 0xc
jmp 0x4f5b05
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x2c]
mov edi, dword [ebp - 0x94]
test esi, esi
je 0x4f5b05
mov edi, edi
mov dl, byte [eax]
mov byte [ecx], dl
dec esi
inc ecx
inc eax
dec edi
jne 0x4f5b01
mov edi, dword [ebp - 0x94]
inc eax
test esi, esi
jne 0x4f5af0
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.004af110
lea edx, [ebp - 0x14]
add esp, 4
push edx
lea esi, [ebp - 0x90]
call fcn.004af1b0
mov esi, dword [ebp - 0xa8]
mov ecx, dword [esi + 0x28]
mov edi, dword [ebp - 0x14]
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x4f5b8b
mov edx, dword [esi + 0x30]
cmp edi, dword [edx]
je 0x4f5b85
inc eax
add edx, 0x14
cmp eax, ecx
jl 0x4f5b77
jmp 0x4f5b8b
mov dword [ebp - 0xb4], eax
cmp eax, ecx
jl 0x4f6c3b
mov eax, dword [esi + 0x2c]
cmp ecx, eax
jne 0x4f5c45
lea esi, [eax + eax]
test esi, esi
jne 0x4f5baa
mov esi, 4
mov eax, dword [ebp - 0xa8]
mov edi, dword [eax + 0x30]
test esi, esi
je 0x4f5c0f
cmp esi, 0xccccccc
jbe 0x4f5bd9
push 0x14
push esi
push str.resize_array___d_x__d_bytes__failed__integer_overflow_
push 1
push 0xa2
push str..mupdf_source_fitzmemory.c
push ebx
call fcn.004b35a0
lea ebx, [esi + esi*4]
push edi
mov edi, dword [ebp - 0xbc]
add ebx, ebx
add ebx, ebx
mov eax, edi
call fcn.004d1490
add esp, 4
test eax, eax
jne 0x4f5c39
push 0x14
push esi
push str.resize_array___d_x__d_bytes__failed
push 1
push 0xa6
push str..mupdf_source_fitzmemory.c
push edi
call fcn.004b35a0
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
push ecx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push edi
push ecx
call edx
mov ebx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
push 0
push eax
call ecx
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x2c], esi
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x28]
mov esi, dword [ebp - 0x14]
lea ecx, [eax + 1]
mov dword [edx + 0x28], ecx
lea ecx, [eax + eax*4]
mov dword [ebp - 0xb4], eax
mov eax, dword [edx + 0x30]
add ecx, ecx
add ecx, ecx
mov dword [eax + ecx], esi
mov esi, dword [ebp - 0x10]
add eax, ecx
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 8]
mov dword [eax + 0xc], esi
mov edx, dword [edx + 0x30]
mov esi, dword [ebp - 0xc4]
push 3
push esi
mov dword [ebp - 0xd0], ecx
mov dword [edx + ecx + 0x10], 0
call fcn.004bb660
mov dword [ebp - 0x98], eax
mov edi, dword [esi + 0x48]
add esp, 8
mov ebx, 0x18
mov eax, edi
call fcn.004d1410
xor ebx, ebx
cmp eax, ebx
jne 0x4f5cd1
push 0x18
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push edi
call fcn.004b35a0
mov ecx, str.XObject
lea edi, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], ebx
sub edi, ecx
lea ecx, [ecx]
mov dl, byte [ecx]
mov byte [ecx + edi], dl
inc ecx
cmp dl, bl
jne 0x4f5cf0
push eax
mov eax, dword [ebp - 0x98]
push str.Type
push eax
call fcn.004bc0a0
mov edi, dword [esi + 0x48]
add esp, 0xc
mov ebx, 0x16
mov eax, edi
call fcn.004d1410
xor ebx, ebx
cmp eax, ebx
jne 0x4f5d3a
push 0x16
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push edi
call fcn.004b35a0
mov ecx, str.Image
lea edi, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], ebx
sub edi, ecx
mov dl, byte [ecx]
mov byte [ecx + edi], dl
inc ecx
cmp dl, bl
jne 0x4f5d56
mov ecx, dword [ebp - 0x98]
push eax
push str.Subtype
push ecx
call fcn.004bc0a0
mov edx, dword [ebp - 0xac]
mov eax, dword [esi + 0x48]
mov edi, dword [edx + 8]
add esp, 0xc
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f5db2
mov eax, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push eax
call fcn.004b35a0
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebp - 0x98]
push str.Width
push ecx
call fcn.004bc0a0
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0xc]
mov edi, dword [esi + 0x48]
mov dword [ebp - 0x9c], eax
add esp, 0xc
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f5e0f
push 0x1c
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push edi
call fcn.004b35a0
mov ecx, dword [ebp - 0x9c]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.Height
push edx
call fcn.004bc0a0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x4f5fbd
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x4f5ef4
mov eax, dword [eax + 0x1c]
cmp eax, 1
je 0x4f5ef4
cmp eax, 3
jne 0x4f5ece
mov edi, dword [esi + 0x48]
lea ebx, [eax + 0x17]
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f5e92
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push edi
call fcn.004b35a0
mov ecx, 0x98e078
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
test dl, dl
jne 0x4f5eb2
push eax
mov eax, dword [ebp - 0x98]
push str.ColorSpace
push eax
jmp 0x4f5f57
cmp eax, 4
jne 0x4f5f5f
push esi
mov edi, 0x98e084
call fcn.004b9e80
mov ecx, dword [ebp - 0x98]
add esp, 4
push eax
push str.ColorSpace
push ecx
jmp 0x4f5f57
mov edi, dword [esi + 0x48]
mov ebx, 0x1b
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f5f1c
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push edi
call fcn.004b35a0
mov ecx, 0x98e06c
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
lea esp, [esp]
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
test dl, dl
jne 0x4f5f40
mov edx, dword [ebp - 0x98]
push eax
push str.ColorSpace
push edx
call fcn.004bc0a0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x4f5fbd
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x14]
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
mov dword [ebp - 0x9c], ecx
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov edx, dword [ebp - 0x9c]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push str.BitsPerComponent
push eax
call fcn.004bc0a0
add esp, 0xc
mov edi, dword [ebp - 0xa4]
test edi, edi
je 0x4f5fcb
mov eax, dword [edi]
jmp 0x4f5fcd
xor eax, eax
dec eax
cmp eax, 7
ja case.0x4f5fd7.5
jmp dword [eax*4 + 0x4f6df4]
mov edi, dword [edi + 4]
mov dword [ebp - 0x94], edi
cmp edi, 0xffffffff
je 0x4f6035
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.ColorTransform
push edx
call fcn.004bc0a0
add esp, 0xc
mov edi, dword [esi + 0x48]
mov ebx, 0x1a
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f604e
push ebx
jmp 0x4f5dfb
mov ecx, str.DCTDecode
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
mov edi, edi
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
test dl, dl
jne 0x4f6070
push eax
mov eax, dword [ebp - 0x98]
push str.Filter
push eax
jmp 0x4f68d7
mov edi, dword [edi + 4]
mov dword [ebp - 0x94], edi
test edi, edi
je 0x4f60e2
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.SMaskInData
push edx
call fcn.004bc0a0
add esp, 0xc
mov edi, dword [esi + 0x48]
mov ebx, 0x1a
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f60fb
push ebx
jmp 0x4f5dfb
mov ecx, str.JPXDecode
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
jmp 0x4f6120
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
test dl, dl
jne 0x4f6120
push eax
mov eax, dword [ebp - 0x98]
push str.Filter
push eax
jmp 0x4f68d7
mov eax, dword [edi + 4]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f61ad
mov eax, dword [esi + 0x48]
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f617d
mov ecx, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push ecx
jmp 0x4f5e0a
mov edx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push str.Columns
push eax
call fcn.004bc0a0
add esp, 0xc
mov eax, dword [edi + 8]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f621e
mov eax, dword [esi + 0x48]
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f61ee
mov ecx, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push ecx
jmp 0x4f5e0a
mov edx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push str.Rows
push eax
call fcn.004bc0a0
add esp, 0xc
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f628f
mov eax, dword [esi + 0x48]
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f625f
mov ecx, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push ecx
jmp 0x4f5e0a
mov edx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push 0x993078
push eax
call fcn.004bc0a0
add esp, 0xc
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f6300
mov eax, dword [esi + 0x48]
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f62d0
mov ecx, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push ecx
jmp 0x4f5e0a
mov edx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push str.EndOfLine
push eax
call fcn.004bc0a0
add esp, 0xc
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f6371
mov eax, dword [esi + 0x48]
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f6341
mov ecx, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push ecx
jmp 0x4f5e0a
mov edx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push str.EncodedByteAlign
push eax
call fcn.004bc0a0
add esp, 0xc
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f63e2
mov eax, dword [esi + 0x48]
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f63b2
mov ecx, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push ecx
jmp 0x4f5e0a
mov edx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push str.EndOfBlock
push eax
call fcn.004bc0a0
add esp, 0xc
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f6453
mov eax, dword [esi + 0x48]
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f6423
mov ecx, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push ecx
jmp 0x4f5e0a
mov edx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x98]
push str.BlackIs1
push eax
call fcn.004bc0a0
add esp, 0xc
mov edi, dword [edi + 0x20]
mov dword [ebp - 0x9c], edi
test edi, edi
je 0x4f64a9
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x9c]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.DamagedRowsBeforeError
push edx
call fcn.004bc0a0
add esp, 0xc
mov edi, dword [esi + 0x48]
mov ebx, 0x1f
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f64c2
push ebx
jmp 0x4f5dfb
mov ecx, str.CCITTFaxDecode
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
mov dl, byte [ecx]
mov byte [ebx + ecx], dl
inc ecx
test dl, dl
jne 0x4f64e2
push eax
mov eax, dword [ebp - 0x98]
push str.Filter
push eax
jmp 0x4f68d7
mov dword [edi], 0
jmp case.0x4f5fd7.5
mov eax, dword [edi + 4]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f6565
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.Columns
push edx
call fcn.004bc0a0
mov edi, dword [ebp - 0xa4]
add esp, 0xc
mov eax, dword [edi + 8]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f65c1
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.Colors
push edx
call fcn.004bc0a0
mov edi, dword [ebp - 0xa4]
add esp, 0xc
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x94], edi
test edi, edi
je 0x4f6617
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.Predictor
push edx
call fcn.004bc0a0
add esp, 0xc
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
test eax, eax
je 0x4f5df9
mov ecx, str.FlateDecode
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
mov edi, edi
mov dl, byte [ecx]
mov byte [ebx + ecx], dl
inc ecx
test dl, dl
jne 0x4f6650
push eax
mov eax, dword [ebp - 0x98]
push str.Filter
push eax
call fcn.004bc0a0
mov ecx, dword [ebp - 0xac]
mov edi, dword [esi + 0x48]
mov edx, dword [ecx + 0x14]
add esp, 0xc
mov ebx, 0x1c
mov eax, edi
mov dword [ebp - 0x9c], edx
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x9c]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.BitsPerComponent
push edx
jmp 0x4f68d7
mov eax, dword [edi + 4]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f6720
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.Columns
push edx
call fcn.004bc0a0
mov edi, dword [ebp - 0xa4]
add esp, 0xc
mov eax, dword [edi + 8]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f677c
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.Colors
push edx
call fcn.004bc0a0
mov edi, dword [ebp - 0xa4]
add esp, 0xc
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x4f67d8
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.Predictor
push edx
call fcn.004bc0a0
mov edi, dword [ebp - 0xa4]
add esp, 0xc
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x94], edi
test edi, edi
je 0x4f682e
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x94]
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x98]
push str.EarlyChange
push edx
call fcn.004bc0a0
add esp, 0xc
mov edi, dword [esi + 0x48]
mov ebx, 0x1a
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f6847
push ebx
jmp 0x4f5dfb
mov ecx, str.LZWDecode
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
mov dl, byte [ecx]
mov byte [ebx + ecx], dl
inc ecx
test dl, dl
jne 0x4f6867
push eax
mov eax, dword [ebp - 0x98]
push str.Filter
push eax
jmp 0x4f68d7
mov edi, dword [esi + 0x48]
mov ebx, 0x20
mov eax, edi
call fcn.004d1410
test eax, eax
jne 0x4f6899
push ebx
jmp 0x4f5dfb
mov ecx, str.RunLengthDecode
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x6e
mov dword [eax + 0xc], 0
sub ebx, ecx
lea esp, [esp]
mov dl, byte [ecx]
mov byte [ebx + ecx], dl
inc ecx
test dl, dl
jne 0x4f68c0
mov ecx, dword [ebp - 0x98]
push eax
push str.Filter
push ecx
call fcn.004bc0a0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4f692c
mov edi, dword [esi + 0x48]
mov ebx, 0x1c
mov eax, edi
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
je 0x4f5df9
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x62
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
mov edx, dword [ebp - 0x98]
push str.ImageMask
push edx
call fcn.004bc0a0
add esp, 0xc
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x18], 0
je 0x4f696b
mov eax, dword [eax + 0x18]
mov edi, dword [ebp - 0xa8]
push 1
push 0
push eax
push edi
call fcn.004f5950
mov edx, dword [edi + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 0x10]
mov ecx, dword [ebp - 0x98]
push eax
push str.SMask
push ecx
call fcn.004bbf20
add esp, 0x1c
mov eax, dword [esi + 0x74]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x94], edx
test eax, eax
jne 0x4f6982
xor edi, edi
jmp 0x4f6984
mov edi, dword [eax]
mov eax, dword [esi + 0x48]
push esi
mov dword [ebp - 0x9c], eax
call fcn.004c27e0
mov ebx, dword [esi + 0x74]
add esp, 4
cmp edi, dword [ebx]
jl 0x4f69b7
mov eax, dword [ebp - 0x9c]
lea ecx, [edi + 1]
push ecx
mov esi, ebx
call fcn.004c2510
mov esi, dword [ebp - 0xc4]
add esp, 4
mov eax, dword [ebx + 4]
xor ecx, ecx
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x94]
mov byte [eax], 0x66
mov dword [eax + 4], 0xffffffff
mov word [eax + 2], cx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
push edx
mov ebx, edi
mov eax, esi
call fcn.004c76c0
mov eax, dword [esi + 0x48]
add esp, 4
mov ebx, 0x1c
mov dword [ebp - 0x9c], eax
call fcn.004d1410
test eax, eax
jne 0x4f6a1e
mov eax, dword [ebp - 0x9c]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push eax
jmp 0x4f5e0a
xor ebx, ebx
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x72
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebx
mov cl, 0x72
mov dword [ebp - 0xb0], eax
cmp byte [eax + 4], cl
jne 0x4f6a4a
mov eax, dword [eax + 0x10]
jmp 0x4f6a4c
xor eax, eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x94], edx
cmp eax, ebx
jle 0x4f6b5d
mov ecx, dword [esi + 0x74]
cmp ecx, ebx
jne 0x4f6a6b
xor edi, edi
jmp 0x4f6a6d
mov edi, dword [ecx]
cmp eax, edi
jge 0x4f6b5d
cmp dword [esi + 0x70], ebx
jle 0x4f6aa2
lea ebx, [ebx]
cmp eax, dword [ecx]
jge 0x4f6a99
mov edi, dword [ecx + 4]
lea edx, [eax + eax*4]
cmp byte [edi + edx*4], 0
lea edi, [edi + edx*4]
mov edx, dword [ebp - 0x94]
jne 0x4f6aae
inc ebx
add ecx, 0x10
cmp ebx, dword [esi + 0x70]
jl 0x4f6a80
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 4]
lea edi, [eax + ecx*4]
mov ebx, dword [esi + 0x48]
mov dword [ebp - 0x9c], edi
mov edi, dword [edi + 0xc]
test edi, edi
je 0x4f6b24
dec dword [edi]
jne 0x4f6b24
mov eax, dword [ebx + 4]
mov edx, dword [eax]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 4]
push 0
push edx
mov dword [ebp - 0xb8], ecx
call eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
push ecx
push edx
call eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push 0
push ecx
call edx
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
push ecx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push edi
push ecx
call edx
mov ebx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
push 0
push eax
call ecx
mov edx, dword [ebp - 0x94]
add esp, 0x30
test edx, edx
je 0x4f6b52
cmp dword [edx], 1
jne 0x4f6b50
mov eax, dword [edx + 0xc]
lea ecx, [eax + 1]
cmp dword [edx + 8], ecx
jle 0x4f6b50
mov edx, dword [ebp - 0x94]
mov ecx, dword [esi + 0x48]
push edx
call fcn.004d1910
mov edx, dword [ebp - 0x94]
add esp, 4
inc dword [edx]
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0xc], edx
jmp 0x4f6b87
mov ecx, dword [esi + 0x74]
cmp ecx, ebx
jne 0x4f6b68
xor ecx, ecx
jmp 0x4f6b6a
mov ecx, dword [ecx]
push ecx
mov ecx, dword [esi + 0x48]
push eax
push str.object_out_of_range___d_0_R___xref_size__d
push 0x765
push str..mupdf_sourcepdfpdf_xref.c
push ecx
call fcn.004b3370
add esp, 0x18
mov edx, dword [ebp - 0xa0]
mov eax, dword [esi + 0x48]
mov edi, dword [edx + 0xc]
mov ebx, 0x1c
mov dword [ebp - 0xb8], eax
call fcn.004d1410
xor ecx, ecx
cmp eax, ecx
jne 0x4f6bc4
mov eax, dword [ebp - 0xb8]
push ebx
push str.malloc_of__d_bytes_failed
push 1
push 0x40
push str..mupdf_source_fitzmemory.c
push eax
jmp 0x4f5e0a
push eax
mov dword [eax + 8], esi
mov dword [eax], 1
mov word [eax + 4], 0x69
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebp - 0x98]
push str.Length
push ecx
call fcn.004bc0a0
mov edx, dword [ebp - 0xb4]
add esp, 0xc
push edx
push str.XObject_Img_d
lea eax, [ebp - 0x34]
push 0x20
push eax
call fcn.006613d1
mov ecx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa8]
mov eax, dword [esi + 0xc]
push ecx
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.004bc290
mov ecx, dword [esi + 0x30]
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0xbc]
add esp, 0x1c
mov dword [ecx + eax + 0x10], edx
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
mov edx, ecx
shl edx, 4
add edx, ecx
cmp dword [eax + edx*4 + 4], 3
jge 0x4f6d65
mov ecx, dword [eax]
mov edx, ecx
shl edx, 4
add edx, ecx
inc dword [eax + edx*4 + 4]
mov esi, dword [ebp - 0xa0]
lea eax, [eax + edx*4 + 4]
test esi, esi
je 0x4f6cc4
dec dword [esi]
cmp dword [esi], 0
jne 0x4f6cc4
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esi + 4]
push 0
push ecx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push edi
push ecx
call edx
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push 0
push ecx
call edx
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
push ecx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push esi
push ecx
call edx
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push 0
push ecx
call edx
add esp, 0x30
mov edi, dword [ebp - 0x98]
test edi, edi
je 0x4f6d1c
dec dword [edi]
cmp dword [edi], 0
jne 0x4f6d1c
mov al, byte [edi + 4]
cmp al, 0x61
jne 0x4f6ce3
call fcn.004bc7b0
jmp 0x4f6d1c
cmp al, 0x64
jne 0x4f6cee
call fcn.004bc830
jmp 0x4f6d1c
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x48]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
push ecx
call edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push edi
push ecx
call edx
mov esi, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push 0
push eax
call ecx
add esp, 0x18
mov esi, dword [ebp - 0xc0]
xor edi, edi
test esi, esi
je 0x4f6d65
mov eax, dword [ebx + 4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edi
push edx
call eax
mov eax, dword [esi]
add esp, 8
test eax, eax
js 0x4f6d47
dec eax
mov dword [esi], eax
jne 0x4f6d47
mov edi, 1
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push 0
push ecx
call edx
add esp, 8
test edi, edi
je 0x4f6d65
mov eax, dword [esi + 4]
push esi
push ebx
call eax
add esp, 8
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
mov edx, ecx
shl edx, 4
add edx, ecx
mov edx, dword [eax + edx*4 + 4]
dec ecx
mov dword [eax], ecx
cmp edx, 1
jle 0x4f6ddd
mov edi, dword [ebp - 0xb0]
test edi, edi
je 0x4f6dd5
dec dword [edi]
cmp dword [edi], 0
jne 0x4f6dd5
mov al, byte [edi + 4]
cmp al, 0x61
jne 0x4f6d9c
call fcn.004bc7b0
jmp 0x4f6dd5
cmp al, 0x64
jne 0x4f6da7
call fcn.004bc830
jmp 0x4f6dd5
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x48]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
push ecx
call edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push edi
push ecx
call edx
mov esi, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push 0
push eax
call ecx
add esp, 0x18
mov ecx, dword [ebx + 0xc]
call fcn.004b34d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xb4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0065865c
mov esp, ebp
pop ebp
ret