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

Disassembly:
push 0xffffffffffffffff
push 0x64ee44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push ebp
mov ebp, dword [esp + 0x378]
mov dword [esp + 0x44], ecx
push esi
push edi
mov ebx, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
call dword [edx + 4]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
push 0x14
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ecx
call fcn.0048b430
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x378], eax
je 0x49359b
mov dword [esi], 0x660d4c
mov dword [esi + 8], eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x378], 1
call fcn.005729b0
mov dword [esi], 0x660d48
mov dword [esi + 4], 6
mov dword [esp + 0x30], esi
jmp 0x4935a1
mov dword [esp + 0x30], eax
mov esi, eax
push 0xffffffffffffffff
push str.XObject
lea ecx, [esp + 0x2c]
mov dword [esp + 0x380], 0xffffffff
call fcn.00490fb0
mov edi, str.Type
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x380], 2
call fcn.004903e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
push 0xffffffffffffffff
push str.Image
lea ecx, [esp + 0x2c]
call fcn.00490fb0
mov edi, str.Subtype
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x380], 3
call fcn.004903e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
mov edi, str.Width
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push ebx
push eax
mov ecx, esi
call fcn.00490390
mov edi, str.Height
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00490390
mov eax, dword [esp + 0x10]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x1c], 0
jne 0x493a33
lea eax, [esp + 0x58]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push 0
mov ecx, ebp
call fcn.004bb950
push eax
call fcn.004bb460
add esp, 0x14
lea ecx, [esp + 0x34]
lea edx, [esp + 0x60]
lea eax, [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.004bb950
push eax
call fcn.004bb460
mov eax, dword [esp + 0x78]
add esp, 0x14
test eax, eax
je 0x49387a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49387a
push 0x20
call fcn.0048b430
mov ebp, eax
add esp, 4
mov dword [esp + 0x44], ebp
test ebp, ebp
mov dword [esp + 0x378], 6
je 0x493771
mov dword [ebp], 0x660d4c
mov dword [ebp + 8], 0
lea ecx, [ebp + 0xc]
push 4
mov byte [esp + 0x37c], 7
call fcn.00492640
mov dword [ebp], 0x660d44
mov dword [ebp + 4], 5
jmp 0x493773
xor ebp, ebp
or edi, 0xffffffff
lea ecx, [esp + 0x24]
push edi
push str.Indexed
mov dword [esp + 0x380], edi
call fcn.00490fb0
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
mov dword [esp + 0x37c], 8
call fcn.0048fcb0
lea ecx, [esp + 0x24]
mov dword [esp + 0x378], edi
call fcn.00490f90
push edi
push str.DeviceRGB
lea ecx, [esp + 0x2c]
call fcn.00490fb0
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
mov dword [esp + 0x37c], 9
call fcn.0048fcb0
lea ecx, [esp + 0x24]
mov dword [esp + 0x378], edi
call fcn.00490f90
push 0x3f800000
mov ecx, ebp
call fcn.0048fbb0
mov cl, byte [esp + 0x54]
mov dl, byte [esp + 0x5c]
mov al, byte [esp + 0x58]
mov byte [esp + 0x14], cl
mov cl, byte [esp + 0x50]
mov byte [esp + 0x15], dl
mov dl, byte [esp + 0x60]
mov byte [esp + 0x17], cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x34]
push 6
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], al
call fcn.00490fb0
push eax
mov ecx, ebp
mov dword [esp + 0x37c], 0xa
call fcn.0048fc10
lea ecx, [esp + 0x24]
mov dword [esp + 0x378], edi
call fcn.00490f90
mov edi, str.ColorSpace
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x24]
push ebp
mov dword [esp + 0x2c], ecx
push edx
jmp 0x493959
push 0x10
call fcn.0048b430
add esp, 4
test eax, eax
je 0x49389f
mov dword [eax + 8], 0
mov dword [eax], 0x674b88
mov dword [eax + 4], edi
mov dword [eax + 0xc], edi
mov edx, eax
jmp 0x4938a1
xor edx, edx
mov edi, str.ImageMask
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
call fcn.004902a0
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
jne 0x493960
push 0x20
call fcn.0048b430
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
cmp edi, ebp
mov dword [esp + 0x378], 4
je 0x49391c
mov dword [edi], 0x660d4c
mov dword [edi + 8], ebp
lea ecx, [edi + 0xc]
push 4
mov byte [esp + 0x37c], 5
call fcn.00492640
mov dword [edi], 0x660d44
mov dword [edi + 4], 5
mov ebp, edi
push 0x3f800000
mov ecx, ebp
mov dword [esp + 0x37c], 0xffffffff
call fcn.0048fbb0
push 0
mov ecx, ebp
call fcn.0048fbb0
mov edi, str.Decode
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004902a0
mov edi, str.BitsPerComponent
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
push 0x3f800000
push edx
mov ecx, esi
call fcn.00490500
lea eax, [ebx + 7]
mov esi, dword [esp + 0x2c]
cdq
and edx, 7
add eax, edx
mov ebx, eax
sar ebx, 3
mov eax, ebx
imul eax, esi
push eax
mov dword [esp + 0x3c], eax
call fcn.0048b3b0
add esp, 4
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x4939eb
mov eax, dword [esp + 0x40]
mov ecx, esi
xor edx, edx
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov ebp, ecx
mov esi, eax
add edi, edx
add edx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
add eax, edi
dec ecx
mov dword [esp + 0x24], ecx
jne 0x4939c0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
cmp dword [edi], 0
jne 0x49437e
push 0x28
call fcn.0048b430
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x378], 0x1c
je 0x49436f
push 0
push 0
push 0
mov ecx, eax
call fcn.004907a0
jmp 0x494371
cmp eax, 8
jne 0x493cae
push 0x20
call fcn.0048b430
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
xor eax, eax
mov dword [esp + 0x378], 0xb
cmp esi, eax
je 0x493a8b
mov dword [esi], 0x660d4c
mov dword [esi + 8], eax
lea ecx, [esi + 0xc]
push 4
mov byte [esp + 0x37c], 0xc
call fcn.00492640
mov dword [esi], 0x660d44
mov dword [esi + 4], 5
mov dword [esp + 0x20], esi
jmp 0x493a91
mov dword [esp + 0x20], eax
mov esi, eax
or edi, 0xffffffff
lea ecx, [esp + 0x10]
push edi
push str.Indexed
mov dword [esp + 0x380], edi
call fcn.00490fb0
lea edx, [esp + 0x10]
mov ecx, esi
push edx
mov dword [esp + 0x37c], 0xd
call fcn.0048fcb0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], edi
call fcn.00490f90
push edi
push str.DeviceRGB
lea ecx, [esp + 0x18]
call fcn.00490fb0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x37c], 0xe
call fcn.0048fcb0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], edi
call fcn.00490f90
push 0x437f0000
mov ecx, esi
call fcn.0048fbb0
xor edi, edi
lea esi, [esp + 0x71]
push edi
mov ecx, ebp
call fcn.004bb950
mov ecx, eax
mov edx, eax
shr ecx, 0x10
shr edx, 8
mov byte [esi - 1], cl
mov byte [esi], dl
mov byte [esi + 1], al
inc edi
add esi, 3
cmp edi, 0x100
jl 0x493b19
lea eax, [esp + 0x70]
push 0x300
push eax
lea ecx, [esp + 0x3c]
call fcn.00490fb0
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x37c], 0xf
call fcn.0048fc10
lea ecx, [esp + 0x34]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
mov edi, str.ColorSpace
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x14]
not ecx
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004902a0
mov edi, str.BitsPerComponent
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push 0x41000000
push eax
mov ecx, esi
call fcn.00490500
mov eax, dword [esp + 0x384]
test eax, eax
jne 0x493c38
mov esi, dword [esp + 0x2c]
mov eax, esi
imul eax, ebx
push eax
mov dword [esp + 0x3c], eax
call fcn.0048b3b0
add esp, 4
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x4939ef
mov eax, dword [esp + 0x40]
mov ecx, esi
xor edx, edx
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov ebp, ecx
mov esi, eax
add edi, edx
add edx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, edi
dec ecx
mov dword [esp + 0x10], ecx
jne 0x493c08
jmp 0x4939ef
call fcn.004a8cb0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0x10]
push 0xffffffffffffffff
push str.DCTDecode
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov edi, str.Filter
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x380], 0x10
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
jmp 0x4939ef
cmp eax, 0x18
jne 0x493e71
push 0xffffffffffffffff
push str.DeviceRGB
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov edi, str.ColorSpace
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x380], 0x11
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
mov edi, str.BitsPerComponent
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push 0x41000000
push eax
mov ecx, esi
call fcn.00490500
mov eax, dword [esp + 0x384]
test eax, eax
jne 0x493dfb
lea ebp, [ebx + ebx*2]
mov eax, ebp
mov dword [esp + 0x34], ebp
imul eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x3c], eax
call fcn.0048b3b0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
add esp, 4
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x4939f3
xor ecx, ecx
mov dword [esp + 0x24], ecx
test ebx, ebx
jle 0x493ddf
mov eax, ebp
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
sub eax, ebp
imul eax, edi
lea edx, [esi + 1]
mov edi, esi
sub edi, edx
add eax, ecx
add ecx, edx
sub esi, edx
lea ebp, [edi + 2]
mov edi, ebx
mov ebx, dword [esp + 0x1c]
mov dl, byte [ecx + ebp]
add ecx, 3
mov byte [eax + ebx], dl
mov ebx, dword [esp + 0x1c]
mov dl, byte [ecx - 3]
mov byte [eax + ebx + 1], dl
mov ebx, dword [esp + 0x1c]
mov dl, byte [esi + ecx - 3]
mov byte [eax + ebx + 2], dl
add eax, 3
dec edi
jne 0x493da1
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
inc edi
add ecx, edx
cmp edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ecx
jl 0x493d7c
jmp 0x4939f3
call fcn.004a8cb0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0x10]
push 0xffffffffffffffff
push str.DCTDecode
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov edi, str.Filter
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x380], 0x12
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
jmp 0x4939f3
cmp eax, 0x20
jne 0x4939f3
push 0xffffffffffffffff
push str.DeviceRGB
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov edi, str.ColorSpace
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x380], 0x13
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
mov edi, str.BitsPerComponent
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push 0x41000000
push eax
mov ecx, esi
call fcn.00490500
mov edi, dword [esp + 0x2c]
lea eax, [ebx + ebx*2]
imul eax, edi
push eax
mov dword [esp + 0x3c], eax
call fcn.0048b3b0
add esp, 4
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x493f8c
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
test ebx, ebx
jle 0x493f6a
mov esi, ebx
mov edi, dword [esp + 0x1c]
mov dl, byte [eax + 1]
add eax, 4
mov byte [ecx + edi], dl
mov edi, dword [esp + 0x1c]
mov dl, byte [eax - 4]
mov byte [ecx + edi + 1], dl
mov edi, dword [esp + 0x1c]
mov dl, byte [eax - 5]
mov byte [ecx + edi + 2], dl
add ecx, 3
dec esi
jne 0x493f39
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
lea ecx, [ebx + ebx*2]
add eax, edi
add edx, ecx
mov ecx, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jne 0x493f2f
mov eax, dword [esp + 0x384]
test eax, eax
je 0x494008
call fcn.004a8cb0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0x10]
push 0xffffffffffffffff
push str.DCTDecode
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov edi, str.Filter
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x380], 0x14
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
push 0x14
call fcn.0048b430
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
mov dword [esp + 0x378], 0x15
je 0x494053
mov dword [esi], 0x660d4c
mov dword [esi + 8], 0
lea ecx, [esi + 0xc]
mov byte [esp + 0x378], 0x16
call fcn.005729b0
mov dword [esi], 0x660d48
mov dword [esi + 4], 6
jmp 0x494055
xor esi, esi
push 0xffffffffffffffff
push str.XObject
lea ecx, [esp + 0x18]
mov dword [esp + 0x380], 0xffffffff
call fcn.00490fb0
mov edi, str.Type
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x380], 0x17
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
push 0xffffffffffffffff
push str.Image
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov edi, str.Subtype
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x380], 0x18
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
mov edi, str.Width
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
push ebx
push edx
mov ecx, esi
call fcn.00490390
mov edi, str.Height
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
push eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00490390
push 0xffffffffffffffff
push str.DeviceGray
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov dword [esp + 0x378], 0x19
mov edi, str.ColorSpace
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
mov edi, str.BitsPerComponent
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 8
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00490390
mov eax, dword [esp + 0x384]
test eax, eax
jne 0x49425c
mov edi, dword [esp + 0x2c]
mov eax, edi
imul eax, ebx
push eax
mov dword [esp + 0x48], eax
call fcn.0048b3b0
add esp, 4
mov dword [esp + 0x48], eax
test edi, edi
jle 0x4942e5
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
lea eax, [edx + 3]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x20]
test ebx, ebx
jle 0x494238
mov ebp, ebx
mov edx, dword [esp + 0x48]
mov cl, byte [eax]
add eax, 4
mov byte [edi + edx], cl
inc edi
dec ebp
jne 0x494224
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add eax, edi
add edx, ebx
dec ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jne 0x49421a
jmp 0x4942e5
push 0
mov ecx, ebp
call fcn.004bc0b0
mov ebp, eax
call fcn.004a8cb0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x4c]
mov edx, dword [eax]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0x10]
push 0xffffffffffffffff
push str.DCTDecode
lea ecx, [esp + 0x18]
call fcn.00490fb0
mov edi, str.Filter
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x380], 0x1a
call fcn.004903e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x378], 0xffffffff
call fcn.00490f90
test ebp, ebp
je 0x4942e5
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
push 0x28
call fcn.0048b430
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x378], 0x1b
je 0x494316
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
push esi
push ecx
push edx
mov ecx, eax
call fcn.004907a0
jmp 0x494318
xor eax, eax
mov esi, dword [esp + 0x4c]
push eax
mov dword [esp + 0x37c], 0xffffffff
mov ecx, dword [esi + 0x10]
add ecx, 0x1c
call fcn.00490ea0
mov edx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x494341
lea esi, [eax + 0x1c]
jmp 0x494343
xor esi, esi
mov edi, str.SMask
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x68], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x34]
push esi
push eax
call fcn.004905a0
jmp 0x4939ef
xor eax, eax
mov dword [esp + 0x378], 0xffffffff
mov dword [edi], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
push esi
push ecx
mov ecx, dword [edi]
push edx
call fcn.004909f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push ecx
mov dword [edi + 0xc], 0
mov dword [edi + 8], ebx
mov dword [edi + 4], eax
call fcn.0048b400
mov ecx, dword [esp + 0x374]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x36c
ret 8