Function at 0x474550
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x415], 0
mov byte [ebp - 0x41d], 0
xor eax, eax
mov word [ebp - 0x468], ax
mov byte [ebp - 0x466], al
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x460], 1
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x474], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x410], edx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x410]
push eax
call fcn.004671c0
add esp, 4
test eax, eax
jne 0x47464f
xor eax, eax
jmp 0x47616f
cmp dword [ebp + 0xc], 1
jne 0x47465f
mov eax, 1
jmp 0x47616f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046b200
add esp, 4
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x4b8], edx
mov edx, dword [ebp - 0x4bc]
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x42c], ecx
cmp dword [ebp - 0x42c], 0x504c5445
ja 0x474710
cmp dword [ebp - 0x42c], 0x504c5445
je 0x474e21
cmp dword [ebp - 0x42c], 0x49454e44
ja 0x4746fb
cmp dword [ebp - 0x42c], 0x49454e44
je 0x4754ac
cmp dword [ebp - 0x42c], 0x43674249
je 0x474766
cmp dword [ebp - 0x42c], 0x49444154
je 0x4753da
jmp 0x47609f
cmp dword [ebp - 0x42c], 0x49484452
je 0x47478b
jmp 0x47609f
cmp dword [ebp - 0x42c], 0x66644154
ja 0x474751
cmp dword [ebp - 0x42c], 0x66644154
je 0x475ff6
cmp dword [ebp - 0x42c], 0x6163544c
je 0x475aee
cmp dword [ebp - 0x42c], 0x6663544c
je 0x475b84
jmp 0x47609f
cmp dword [ebp - 0x42c], 0x74524e53
je 0x475130
jmp 0x47609f
mov dword [ebp - 0x474], 1
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047b710
add esp, 8
jmp 0x47615b
cmp dword [ebp - 0x460], 0
jne 0x4747a6
push str.multiple_IHDR
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov dword [ebp - 0x460], 0
cmp dword [ebp - 0x440], 0xd
je 0x4747cb
push str.bad_IHDR_len
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046b1a0
add esp, 4
mov edx, dword [ebp - 0x410]
mov dword [edx], eax
mov eax, dword [ebp - 0x410]
push eax
call fcn.0046b1a0
add esp, 4
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0x1000000
jbe 0x47481b
push str.too_large
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x410]
cmp dword [eax], 0x1000000
jbe 0x47483b
push str.too_large
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x474892
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
mov al, byte [edx]
mov byte [ebp - 0x450], al
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
add edx, 1
mov eax, dword [ebp - 0x410]
mov dword [eax + 0xac], edx
mov cl, byte [ebp - 0x450]
mov byte [ebp - 0x41e], cl
jmp 0x4748f1
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x4748ea
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047ad90
add esp, 4
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
mov al, byte [edx]
mov byte [ebp - 0x451], al
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
add edx, 1
mov eax, dword [ebp - 0x410]
mov dword [eax + 0xac], edx
mov cl, byte [ebp - 0x451]
mov byte [ebp - 0x41e], cl
jmp 0x4748f1
mov byte [ebp - 0x41e], 0
movzx edx, byte [ebp - 0x41e]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 1
je 0x47493d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 2
je 0x47493d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 4
je 0x47493d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 8
je 0x47493d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
je 0x47493d
push str.1_2_4_8_16_bit_only
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x474994
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
mov dl, byte [ecx]
mov byte [ebp - 0x452], dl
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
add ecx, 1
mov edx, dword [ebp - 0x410]
mov dword [edx + 0xac], ecx
mov al, byte [ebp - 0x452]
mov byte [ebp - 0x41f], al
jmp 0x4749f3
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x4749ec
mov edx, dword [ebp - 0x410]
push edx
call fcn.0047ad90
add esp, 4
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
mov dl, byte [ecx]
mov byte [ebp - 0x453], dl
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
add ecx, 1
mov edx, dword [ebp - 0x410]
mov dword [edx + 0xac], ecx
mov al, byte [ebp - 0x453]
mov byte [ebp - 0x41f], al
jmp 0x4749f3
mov byte [ebp - 0x41f], 0
movzx ecx, byte [ebp - 0x41f]
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 6
jle 0x474a1b
push str.bad_ctype
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp - 0x434], 3
jne 0x474a3f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
jne 0x474a3f
push str.bad_ctype
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp - 0x434], 3
jne 0x474a51
mov byte [ebp - 0x415], 3
jmp 0x474a6e
mov eax, dword [ebp - 0x434]
and eax, 1
je 0x474a6e
push str.bad_ctype
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x474ac5
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
mov al, byte [edx]
mov byte [ebp - 0x455], al
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
add edx, 1
mov eax, dword [ebp - 0x410]
mov dword [eax + 0xac], edx
mov cl, byte [ebp - 0x455]
mov byte [ebp - 0x420], cl
jmp 0x474b24
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x474b1d
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047ad90
add esp, 4
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
mov al, byte [edx]
mov byte [ebp - 0x456], al
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xac]
add edx, 1
mov eax, dword [ebp - 0x410]
mov dword [eax + 0xac], edx
mov cl, byte [ebp - 0x456]
mov byte [ebp - 0x420], cl
jmp 0x474b24
mov byte [ebp - 0x420], 0
movzx edx, byte [ebp - 0x420]
mov dword [ebp - 0x4ac], edx
cmp dword [ebp - 0x4ac], 0
je 0x474b4c
push str.bad_comp_method
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x474ba3
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
mov dl, byte [ecx]
mov byte [ebp - 0x457], dl
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
add ecx, 1
mov edx, dword [ebp - 0x410]
mov dword [edx + 0xac], ecx
mov al, byte [ebp - 0x457]
mov byte [ebp - 0x421], al
jmp 0x474c02
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x474bfb
mov edx, dword [ebp - 0x410]
push edx
call fcn.0047ad90
add esp, 4
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
mov dl, byte [ecx]
mov byte [ebp - 0x461], dl
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
add ecx, 1
mov edx, dword [ebp - 0x410]
mov dword [edx + 0xac], ecx
mov al, byte [ebp - 0x461]
mov byte [ebp - 0x421], al
jmp 0x474c02
mov byte [ebp - 0x421], 0
movzx ecx, byte [ebp - 0x421]
mov dword [ebp - 0x4b0], ecx
cmp dword [ebp - 0x4b0], 0
je 0x474c2a
push str.bad_filter_method
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x474c81
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x462], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x462]
mov byte [ebp - 0x422], dl
jmp 0x474ce0
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x474cd9
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047ad90
add esp, 4
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x463], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x463]
mov byte [ebp - 0x422], dl
jmp 0x474ce0
mov byte [ebp - 0x422], 0
movzx eax, byte [ebp - 0x422]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 1
jle 0x474d08
push str.bad_interlace_method
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov ecx, dword [ebp - 0x410]
cmp dword [ecx], 0
je 0x474d1f
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0
jne 0x474d31
push str.0_pixel_image
call fcn.0046ab20
add esp, 4
jmp 0x47616f
movzx eax, byte [ebp - 0x415]
test eax, eax
jne 0x474de0
mov ecx, dword [ebp - 0x434]
and ecx, 2
je 0x474d57
mov dword [ebp - 0x484], 3
jmp 0x474d61
mov dword [ebp - 0x484], 1
mov edx, dword [ebp - 0x434]
and edx, 4
je 0x474d78
mov dword [ebp - 0x488], 1
jmp 0x474d82
mov dword [ebp - 0x488], 0
mov eax, dword [ebp - 0x484]
add eax, dword [ebp - 0x488]
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x410]
mov eax, 0x40000000
xor edx, edx
div dword [ecx]
mov ecx, dword [ebp - 0x410]
xor edx, edx
div dword [ecx + 8]
mov edx, dword [ebp - 0x410]
cmp eax, dword [edx + 4]
jae 0x474dce
push str.too_large
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp + 0xc], 2
jne 0x474dde
mov eax, 1
jmp 0x47616f
jmp 0x474e1c
mov eax, dword [ebp - 0x410]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x410]
mov eax, 0x40000000
xor edx, edx
div dword [ecx]
shr eax, 2
mov edx, dword [ebp - 0x410]
cmp eax, dword [edx + 4]
jae 0x474e1c
push str.too_large
call fcn.0046ab20
add esp, 4
jmp 0x47616f
jmp 0x47615b
cmp dword [ebp - 0x460], 0
je 0x474e3c
push str.first_not_IHDR
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp - 0x440], 0x300
jbe 0x474e5a
push str.invalid_PLTE
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x440]
xor edx, edx
mov ecx, 3
div ecx
mov dword [ebp - 0x45c], eax
imul edx, dword [ebp - 0x45c], 3
cmp edx, dword [ebp - 0x440]
je 0x474e90
push str.invalid_PLTE
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov dword [ebp - 0x414], 0
jmp 0x474eab
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [ebp - 0x45c]
jae 0x47512b
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x474f14
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x445], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x445]
mov byte [ebp - 0x423], dl
jmp 0x474f73
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x474f6c
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047ad90
add esp, 4
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x44d], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x44d]
mov byte [ebp - 0x423], dl
jmp 0x474f73
mov byte [ebp - 0x423], 0
mov eax, dword [ebp - 0x414]
mov cl, byte [ebp - 0x423]
mov byte [ebp + eax*4 - 0x40c], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x474fdd
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x446], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x446]
mov byte [ebp - 0x424], dl
jmp 0x47503c
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x475035
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047ad90
add esp, 4
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x447], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x447]
mov byte [ebp - 0x424], dl
jmp 0x47503c
mov byte [ebp - 0x424], 0
mov eax, dword [ebp - 0x414]
mov cl, byte [ebp - 0x424]
mov byte [ebp + eax*4 - 0x40b], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x4750a6
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x448], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x448]
mov byte [ebp - 0x425], dl
jmp 0x475105
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4750fe
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047ad90
add esp, 4
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x449], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x449]
mov byte [ebp - 0x425], dl
jmp 0x475105
mov byte [ebp - 0x425], 0
mov eax, dword [ebp - 0x414]
mov cl, byte [ebp - 0x425]
mov byte [ebp + eax*4 - 0x40a], cl
mov edx, dword [ebp - 0x414]
mov byte [ebp + edx*4 - 0x409], 0xff
jmp 0x474e9c
jmp 0x47615b
cmp dword [ebp - 0x460], 0
je 0x47514b
push str.first_not_IHDR
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x475166
push str.tRNS_after_IDAT
call fcn.0046ab20
add esp, 4
jmp 0x47616f
movzx ecx, byte [ebp - 0x415]
test ecx, ecx
je 0x4752d4
cmp dword [ebp + 0xc], 2
jne 0x475192
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], 4
mov eax, 1
jmp 0x47616f
cmp dword [ebp - 0x45c], 0
jne 0x4751ad
push str.tRNS_before_PLTE
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x440]
cmp eax, dword [ebp - 0x45c]
jbe 0x4751cd
push str.bad_tRNS_len
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov byte [ebp - 0x415], 4
mov dword [ebp - 0x414], 0
jmp 0x4751ef
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
cmp edx, dword [ebp - 0x440]
jae 0x4752cf
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x475258
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
mov dl, byte [ecx]
mov byte [ebp - 0x44a], dl
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
add ecx, 1
mov edx, dword [ebp - 0x410]
mov dword [edx + 0xac], ecx
mov al, byte [ebp - 0x44a]
mov byte [ebp - 0x426], al
jmp 0x4752b7
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x4752b0
mov edx, dword [ebp - 0x410]
push edx
call fcn.0047ad90
add esp, 4
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
mov dl, byte [ecx]
mov byte [ebp - 0x44b], dl
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xac]
add ecx, 1
mov edx, dword [ebp - 0x410]
mov dword [edx + 0xac], ecx
mov al, byte [ebp - 0x44b]
mov byte [ebp - 0x426], al
jmp 0x4752b7
mov byte [ebp - 0x426], 0
mov ecx, dword [ebp - 0x414]
mov dl, byte [ebp - 0x426]
mov byte [ebp + ecx*4 - 0x409], dl
jmp 0x4751e0
jmp 0x4753d5
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 8]
and ecx, 1
jne 0x4752f4
push str.tRNS_with_alpha
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
shl eax, 1
cmp dword [ebp - 0x440], eax
je 0x475319
push str.bad_tRNS_len
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov byte [ebp - 0x41d], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0x10
jne 0x475373
mov dword [ebp - 0x430], 0
jmp 0x475344
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x430]
cmp ecx, dword [eax + 8]
jge 0x475371
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046af40
add esp, 4
mov ecx, dword [ebp - 0x430]
mov word [ebp + ecx*2 - 0xc], ax
jmp 0x475335
jmp 0x4753d5
mov dword [ebp - 0x430], 0
jmp 0x47538e
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x430]
cmp ecx, dword [eax + 8]
jge 0x4753d5
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046af40
add esp, 4
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
movzx ecx, byte [edx + 0x5860a8]
imul eax, ecx
mov edx, dword [ebp - 0x430]
mov byte [ebp + edx - 0x468], al
jmp 0x47537f
jmp 0x47615b
cmp dword [ebp - 0x460], 0
je 0x4753f5
push str.first_not_IHDR
call fcn.0046ab20
add esp, 4
jmp 0x47616f
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x47541b
cmp dword [ebp - 0x45c], 0
jne 0x47541b
push str.no_PLTE
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp - 0x444], 0
je 0x475436
push str.invalid_sequence_number_for_IDAT
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp - 0x438], 1
jbe 0x475451
push str.IDAT_after_more_than_one_fcTL
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp + 0xc], 2
jne 0x475471
movzx ecx, byte [ebp - 0x415]
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], ecx
mov eax, 1
jmp 0x47616f
mov eax, dword [ebp - 0x440]
push eax
lea ecx, [ebp - 0x480]
push ecx
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047ab20
add esp, 0x14
test eax, eax
jne 0x4754a7
xor eax, eax
jmp 0x47616f
jmp 0x47615b
cmp dword [ebp - 0x460], 0
je 0x4754c7
push str.first_not_IHDR
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp + 0xc], 0
je 0x4754d7
mov eax, 1
jmp 0x47616f
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x4754f2
push str.no_IDAT
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 0x438]
je 0x475512
push str.missing_fcTL_chunks
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
imul ecx, dword [eax + 0x1c]
add ecx, 7
shr ecx, 3
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x478]
imul eax, dword [edx + 4]
mov ecx, dword [ebp - 0x410]
imul eax, dword [ecx + 8]
mov edx, dword [ebp - 0x410]
add eax, dword [edx + 4]
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x474], 0
jne 0x47556b
mov dword [ebp - 0x48c], 1
jmp 0x475575
mov dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x47c]
push edx
mov eax, dword [ebp - 0x490]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.0047d410
add esp, 0x14
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x4755c2
xor eax, eax
jmp 0x47616f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0054c170
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x414], 0
jmp 0x4755f6
mov edx, dword [ebp - 0x414]
add edx, 1
mov dword [ebp - 0x414], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [eax + 0x14]
jae 0x47575d
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + edx + 0x20], 0
je 0x475758
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + edx + 8]
imul ecx, dword [eax + 0x1c]
add ecx, 7
shr ecx, 3
mov dword [ebp - 0x478], ecx
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x478]
imul eax, dword [ecx + edx + 0xc]
mov ecx, dword [ebp - 0x410]
imul eax, dword [ecx + 8]
imul edx, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
add eax, dword [ecx + edx + 0xc]
imul edx, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x474], 0
jne 0x47569d
mov dword [ebp - 0x494], 1
jmp 0x4756a7
mov dword [ebp - 0x494], 0
mov edx, dword [ebp - 0x494]
push edx
imul eax, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
lea eax, [edx + eax + 4]
push eax
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 4]
push ecx
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx]
push edx
imul eax, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 0x20]
push eax
call fcn.0047d410
add esp, 0x14
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov dword [edx + ecx + 0x24], eax
imul eax, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
cmp dword [edx + eax + 0x24], 0
jne 0x475729
xor eax, eax
jmp 0x47616f
imul eax, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 0x20]
push eax
call fcn.0054c170
add esp, 4
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [eax + ecx + 0x20], 0
jmp 0x4755e7
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 8]
add edx, 1
cmp dword [ebp + 0x10], edx
jne 0x47577f
cmp dword [ebp + 0x10], 3
je 0x47577f
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x47578a
movzx ecx, byte [ebp - 0x41d]
test ecx, ecx
je 0x4757a1
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xc], eax
jmp 0x4757b3
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 8]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x4a8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4a4], ecx
mov edx, dword [ebp + 8]
add edx, 8
mov dword [ebp - 0x4a0], edx
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x498], ecx
mov edx, dword [ebp - 0x470]
push edx
mov eax, dword [ebp - 0x434]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
lea edx, [ebp - 0x4a8]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.00468d20
add esp, 0x1c
test eax, eax
jne 0x47583b
xor eax, eax
jmp 0x47616f
mov dword [ebp - 0x414], 0
jmp 0x475856
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x414]
cmp eax, dword [edx + 0x14]
jae 0x475941
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
cmp dword [eax + ecx + 0x24], 0
je 0x47593c
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 8]
mov dword [ebp - 0x4a8], ecx
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov dword [ebp - 0x4a4], edx
imul eax, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
lea eax, [edx + eax + 0x24]
mov dword [ebp - 0x4a0], eax
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
lea ecx, [eax + ecx + 0x28]
mov dword [ebp - 0x49c], ecx
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
mov dword [ebp - 0x498], edx
mov eax, dword [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00468d20
add esp, 0x1c
test eax, eax
jne 0x47593c
xor eax, eax
jmp 0x47616f
jmp 0x475847
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x4759a4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jne 0x47597c
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00467870
add esp, 0xc
test eax, eax
jne 0x47597a
xor eax, eax
jmp 0x47616f
jmp 0x4759a4
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x468]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00467930
add esp, 0xc
test eax, eax
jne 0x4759a4
xor eax, eax
jmp 0x47616f
cmp dword [ebp - 0x474], 0
je 0x4759ce
cmp dword [0x5e3b00], 0
je 0x4759ce
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0xc], 2
jle 0x4759ce
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046a0a0
add esp, 4
movzx edx, byte [ebp - 0x415]
test edx, edx
je 0x475a3c
movzx eax, byte [ebp - 0x415]
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 8], eax
movzx edx, byte [ebp - 0x415]
mov eax, dword [ebp - 0x410]
mov dword [eax + 0xc], edx
cmp dword [ebp + 0x10], 3
jl 0x475a0b
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x45c]
push edx
lea eax, [ebp - 0x40c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046ab40
add esp, 0x10
test eax, eax
jne 0x475a3a
xor eax, eax
jmp 0x47616f
jmp 0x475a5c
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x475a5c
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x475a8a
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4b4]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.0054c170
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov dword [ebp - 0x414], 0
jmp 0x475aa5
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x414]
cmp edx, dword [ecx + 0x14]
jae 0x475ae4
imul eax, dword [ebp - 0x414], 0x2c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 0x24]
push eax
call fcn.0054c170
add esp, 4
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [eax + ecx + 0x24], 0
jmp 0x475a96
mov eax, 1
jmp 0x47616f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x475b09
push str.acTL_after_IDAT
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046b1a0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
jne 0x475b39
push str.acTL_with_0_frames
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x410]
push eax
call fcn.0046b1a0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 8]
imul eax, dword [edx + 0x14], 0x2c
push eax
call fcn.00473350
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0
jne 0x475b7f
push str.outofmem
call fcn.0046ab20
add esp, 4
jmp 0x47616f
jmp 0x47615b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x475b9f
push str.fcTL_before_acTL
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x438]
cmp edx, dword [ecx + 0x14]
jb 0x475bbf
push str.too_many_frames
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov dword [ebp - 0x480], 0
imul eax, dword [ebp - 0x438], 0x2c
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x41c], eax
mov edx, dword [ebp - 0x41c]
mov dword [edx], 0
mov eax, dword [ebp - 0x41c]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x41c]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x410]
push eax
call fcn.0046b1a0
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x46c]
cmp ecx, dword [ebp - 0x444]
je 0x475c44
push str.invalid_sequence_number
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x444]
add edx, 1
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.0046b1a0
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046b1a0
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046b1a0
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046b1a0
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046af40
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046af40
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov word [ecx + 0x1a], ax
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x475d3c
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x44c], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x44c]
mov byte [ebp - 0x427], dl
jmp 0x475d9b
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x475d94
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047ad90
add esp, 4
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x454], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x454]
mov byte [ebp - 0x427], dl
jmp 0x475d9b
mov byte [ebp - 0x427], 0
mov eax, dword [ebp - 0x41c]
mov cl, byte [ebp - 0x427]
mov byte [eax + 0x1c], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x475e01
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x44e], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x44e]
mov byte [ebp - 0x428], dl
jmp 0x475e60
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x475e59
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047ad90
add esp, 4
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
mov cl, byte [eax]
mov byte [ebp - 0x44f], cl
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 0xac]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xac], eax
mov dl, byte [ebp - 0x44f]
mov byte [ebp - 0x428], dl
jmp 0x475e60
mov byte [ebp - 0x428], 0
mov eax, dword [ebp - 0x41c]
mov cl, byte [ebp - 0x428]
mov byte [eax + 0x1d], cl
cmp dword [ebp - 0x438], 0
jne 0x475e93
cmp dword [ebp - 0x444], 0
je 0x475e93
push str.invalid_sequence_number_in_first_fcTL
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 8], 0
jne 0x475eb1
push str.zero_width_in_fcTL
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0xc], 0
jne 0x475ecf
push str.zero_height_in_fcTL
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x41c]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0x410]
cmp edx, dword [ecx]
jbe 0x475efd
push str.fcTL_out_of_image_bounds
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x41c]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x410]
cmp eax, dword [edx + 4]
jbe 0x475f2c
push str.fcTL_out_of_image_bounds
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x475fc0
mov ecx, dword [ebp - 0x41c]
cmp dword [ecx + 0x10], 0
je 0x475f57
push str.invalid_x_offset_in_fcTL_for_default_image
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 0x14], 0
je 0x475f75
push str.invalid_y_offset_in_fcTL_for_default_image
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 8]
cmp edx, dword [ecx]
je 0x475f9a
push str.invalid_width_in_fcTL_for_default_image
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 4]
je 0x475fc0
push str.invalid_height_in_fcTL_for_default_image
call fcn.0046ab20
add esp, 4
jmp 0x47616f
cmp dword [ebp - 0x438], 0
jne 0x475fe2
mov eax, dword [ebp - 0x41c]
movzx ecx, byte [eax + 0x1c]
cmp ecx, 2
jne 0x475fe2
mov edx, dword [ebp - 0x41c]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x438]
add eax, 1
mov dword [ebp - 0x438], eax
jmp 0x47615b
cmp dword [ebp - 0x438], 0
je 0x476008
cmp dword [ebp - 0x41c], 0
jne 0x47601a
push str.missing_fcTL
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046b1a0
add esp, 4
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x46c]
cmp edx, dword [ebp - 0x444]
je 0x47604f
push str.invalid_sequence_number
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x444]
add eax, 1
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x440]
sub ecx, 4
push ecx
lea edx, [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x41c]
add ecx, 0x20
push ecx
mov edx, dword [ebp - 0x410]
push edx
call fcn.0047ab20
add esp, 0x14
test eax, eax
jne 0x47609a
xor eax, eax
jmp 0x47616f
jmp 0x47615b
cmp dword [ebp - 0x460], 0
je 0x4760ba
push str.first_not_IHDR
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov eax, dword [ebp - 0x43c]
and eax, 0x20000000
jne 0x476145
mov ecx, dword [ebp - 0x43c]
shr ecx, 0x18
and ecx, 0xff
mov edx, 1
imul eax, edx, 0
mov byte [eax + str.XXXX_PNG_chunk_not_known], cl
mov ecx, dword [ebp - 0x43c]
shr ecx, 0x10
and ecx, 0xff
mov edx, 1
shl edx, 0
mov byte [edx + str.XXXX_PNG_chunk_not_known], cl
mov eax, dword [ebp - 0x43c]
shr eax, 8
and eax, 0xff
mov ecx, 1
shl ecx, 1
mov byte [ecx + str.XXXX_PNG_chunk_not_known], al
mov edx, dword [ebp - 0x43c]
and edx, 0xff
mov eax, 1
imul ecx, eax, 3
mov byte [ecx + str.XXXX_PNG_chunk_not_known], dl
push str.XXXX_PNG_chunk_not_known
call fcn.0046ab20
add esp, 4
jmp 0x47616f
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047b710
add esp, 8
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046b1a0
add esp, 4
jmp 0x47465f
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret