Function at 0x46c560
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x6d906c]
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.0045f550
add esp, 4
test eax, eax
jne 0x46c65f
xor eax, eax
jmp 0x46e17f
cmp dword [ebp + 0xc], 1
jne 0x46c66f
mov eax, 1
jmp 0x46e17f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00463590
add esp, 4
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x4b8], edx
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x42c], ecx
cmp dword [ebp - 0x42c], 0x504c5445
ja 0x46c720
cmp dword [ebp - 0x42c], 0x504c5445
je 0x46ce31
cmp dword [ebp - 0x42c], 0x49454e44
ja 0x46c70b
cmp dword [ebp - 0x42c], 0x49454e44
je 0x46d4bc
cmp dword [ebp - 0x42c], 0x43674249
je 0x46c776
cmp dword [ebp - 0x42c], 0x49444154
je 0x46d3ea
jmp 0x46e0af
cmp dword [ebp - 0x42c], 0x49484452
je 0x46c79b
jmp 0x46e0af
cmp dword [ebp - 0x42c], 0x66644154
ja 0x46c761
cmp dword [ebp - 0x42c], 0x66644154
je 0x46e006
cmp dword [ebp - 0x42c], 0x6163544c
je 0x46dafe
cmp dword [ebp - 0x42c], 0x6663544c
je 0x46db94
jmp 0x46e0af
cmp dword [ebp - 0x42c], 0x74524e53
je 0x46d140
jmp 0x46e0af
mov dword [ebp - 0x474], 1
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.00473720
add esp, 8
jmp 0x46e16b
cmp dword [ebp - 0x460], 0
jne 0x46c7b6
push str.multiple_IHDR
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov dword [ebp - 0x460], 0
cmp dword [ebp - 0x440], 0xd
je 0x46c7db
push str.bad_IHDR_len
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00463530
add esp, 4
mov edx, dword [ebp - 0x410]
mov dword [edx], eax
mov eax, dword [ebp - 0x410]
push eax
call fcn.00463530
add esp, 4
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0x1000000
jbe 0x46c82b
push 0x64ed84
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x410]
cmp dword [eax], 0x1000000
jbe 0x46c84b
push 0x64ed84
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x46c8a2
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 0x46c901
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x46c8fa
mov eax, dword [ebp - 0x410]
push eax
call fcn.00472da0
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 0x46c901
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 0x46c94d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 2
je 0x46c94d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 4
je 0x46c94d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 8
je 0x46c94d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
je 0x46c94d
push str.1_2_4_8_16_bit_only
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x46c9a4
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 0x46ca03
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x46c9fc
mov edx, dword [ebp - 0x410]
push edx
call fcn.00472da0
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 0x46ca03
mov byte [ebp - 0x41f], 0
movzx ecx, byte [ebp - 0x41f]
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 6
jle 0x46ca2b
push str.bad_ctype
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp - 0x434], 3
jne 0x46ca4f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
jne 0x46ca4f
push str.bad_ctype
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp - 0x434], 3
jne 0x46ca61
mov byte [ebp - 0x415], 3
jmp 0x46ca7e
mov eax, dword [ebp - 0x434]
and eax, 1
je 0x46ca7e
push str.bad_ctype
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x46cad5
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 0x46cb34
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x46cb2d
mov eax, dword [ebp - 0x410]
push eax
call fcn.00472da0
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 0x46cb34
mov byte [ebp - 0x420], 0
movzx edx, byte [ebp - 0x420]
mov dword [ebp - 0x4ac], edx
cmp dword [ebp - 0x4ac], 0
je 0x46cb5c
push str.bad_comp_method
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x46cbb3
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 0x46cc12
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x46cc0b
mov edx, dword [ebp - 0x410]
push edx
call fcn.00472da0
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 0x46cc12
mov byte [ebp - 0x421], 0
movzx ecx, byte [ebp - 0x421]
mov dword [ebp - 0x4b0], ecx
cmp dword [ebp - 0x4b0], 0
je 0x46cc3a
push str.bad_filter_method
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x46cc91
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 0x46ccf0
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x46cce9
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00472da0
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 0x46ccf0
mov byte [ebp - 0x422], 0
movzx eax, byte [ebp - 0x422]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 1
jle 0x46cd18
push str.bad_interlace_method
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov ecx, dword [ebp - 0x410]
cmp dword [ecx], 0
je 0x46cd2f
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0
jne 0x46cd41
push str.0_pixel_image
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
movzx eax, byte [ebp - 0x415]
test eax, eax
jne 0x46cdf0
mov ecx, dword [ebp - 0x434]
and ecx, 2
je 0x46cd67
mov dword [ebp - 0x484], 3
jmp 0x46cd71
mov dword [ebp - 0x484], 1
mov edx, dword [ebp - 0x434]
and edx, 4
je 0x46cd88
mov dword [ebp - 0x488], 1
jmp 0x46cd92
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 0x46cdde
push 0x64ed84
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp + 0xc], 2
jne 0x46cdee
mov eax, 1
jmp 0x46e17f
jmp 0x46ce2c
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 0x46ce2c
push 0x64ed84
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
jmp 0x46e16b
cmp dword [ebp - 0x460], 0
je 0x46ce4c
push str.first_not_IHDR
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp - 0x440], 0x300
jbe 0x46ce6a
push str.invalid_PLTE
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
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 0x46cea0
push str.invalid_PLTE
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov dword [ebp - 0x414], 0
jmp 0x46cebb
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [ebp - 0x45c]
jae 0x46d13b
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x46cf24
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 0x46cf83
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x46cf7c
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00472da0
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 0x46cf83
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 0x46cfed
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 0x46d04c
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x46d045
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00472da0
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 0x46d04c
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 0x46d0b6
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 0x46d115
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x46d10e
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00472da0
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 0x46d115
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 0x46ceac
jmp 0x46e16b
cmp dword [ebp - 0x460], 0
je 0x46d15b
push str.first_not_IHDR
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x46d176
push str.tRNS_after_IDAT
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
movzx ecx, byte [ebp - 0x415]
test ecx, ecx
je 0x46d2e4
cmp dword [ebp + 0xc], 2
jne 0x46d1a2
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], 4
mov eax, 1
jmp 0x46e17f
cmp dword [ebp - 0x45c], 0
jne 0x46d1bd
push str.tRNS_before_PLTE
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x440]
cmp eax, dword [ebp - 0x45c]
jbe 0x46d1dd
push str.bad_tRNS_len
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov byte [ebp - 0x415], 4
mov dword [ebp - 0x414], 0
jmp 0x46d1ff
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
cmp edx, dword [ebp - 0x440]
jae 0x46d2df
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x46d268
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 0x46d2c7
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x46d2c0
mov edx, dword [ebp - 0x410]
push edx
call fcn.00472da0
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 0x46d2c7
mov byte [ebp - 0x426], 0
mov ecx, dword [ebp - 0x414]
mov dl, byte [ebp - 0x426]
mov byte [ebp + ecx*4 - 0x409], dl
jmp 0x46d1f0
jmp 0x46d3e5
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 8]
and ecx, 1
jne 0x46d304
push str.tRNS_with_alpha
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
shl eax, 1
cmp dword [ebp - 0x440], eax
je 0x46d329
push str.bad_tRNS_len
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov byte [ebp - 0x41d], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0x10
jne 0x46d383
mov dword [ebp - 0x430], 0
jmp 0x46d354
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 0x46d381
mov edx, dword [ebp - 0x410]
push edx
call fcn.004632d0
add esp, 4
mov ecx, dword [ebp - 0x430]
mov word [ebp + ecx*2 - 0xc], ax
jmp 0x46d345
jmp 0x46d3e5
mov dword [ebp - 0x430], 0
jmp 0x46d39e
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 0x46d3e5
mov edx, dword [ebp - 0x410]
push edx
call fcn.004632d0
add esp, 4
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
movzx ecx, byte [edx + 0x64e85c]
imul eax, ecx
mov edx, dword [ebp - 0x430]
mov byte [ebp + edx - 0x468], al
jmp 0x46d38f
jmp 0x46e16b
cmp dword [ebp - 0x460], 0
je 0x46d405
push str.first_not_IHDR
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x46d42b
cmp dword [ebp - 0x45c], 0
jne 0x46d42b
push str.no_PLTE
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp - 0x444], 0
je 0x46d446
push str.invalid_sequence_number_for_IDAT
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp - 0x438], 1
jbe 0x46d461
push str.IDAT_after_more_than_one_fcTL
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp + 0xc], 2
jne 0x46d481
movzx ecx, byte [ebp - 0x415]
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], ecx
mov eax, 1
jmp 0x46e17f
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.00472b30
add esp, 0x14
test eax, eax
jne 0x46d4b7
xor eax, eax
jmp 0x46e17f
jmp 0x46e16b
cmp dword [ebp - 0x460], 0
je 0x46d4d7
push str.first_not_IHDR
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp + 0xc], 0
je 0x46d4e7
mov eax, 1
jmp 0x46e17f
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x46d502
push str.no_IDAT
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 0x438]
je 0x46d522
push str.missing_fcTL_chunks
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
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 0x46d57b
mov dword [ebp - 0x48c], 1
jmp 0x46d585
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.004752e0
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 0x46d5d2
xor eax, eax
jmp 0x46e17f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.004fe770
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x414], 0
jmp 0x46d606
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 0x46d76d
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + edx + 0x20], 0
je 0x46d768
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 0x46d6ad
mov dword [ebp - 0x494], 1
jmp 0x46d6b7
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.004752e0
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 0x46d739
xor eax, eax
jmp 0x46e17f
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.004fe770
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 0x46d5f7
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 8]
add edx, 1
cmp dword [ebp + 0x10], edx
jne 0x46d78f
cmp dword [ebp + 0x10], 3
je 0x46d78f
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x46d79a
movzx ecx, byte [ebp - 0x41d]
test ecx, ecx
je 0x46d7b1
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xc], eax
jmp 0x46d7c3
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.004610b0
add esp, 0x1c
test eax, eax
jne 0x46d84b
xor eax, eax
jmp 0x46e17f
mov dword [ebp - 0x414], 0
jmp 0x46d866
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 0x46d951
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
cmp dword [eax + ecx + 0x24], 0
je 0x46d94c
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.004610b0
add esp, 0x1c
test eax, eax
jne 0x46d94c
xor eax, eax
jmp 0x46e17f
jmp 0x46d857
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x46d9b4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jne 0x46d98c
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.0045fc00
add esp, 0xc
test eax, eax
jne 0x46d98a
xor eax, eax
jmp 0x46e17f
jmp 0x46d9b4
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.0045fcc0
add esp, 0xc
test eax, eax
jne 0x46d9b4
xor eax, eax
jmp 0x46e17f
cmp dword [ebp - 0x474], 0
je 0x46d9de
cmp dword [0x6e617c], 0
je 0x46d9de
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0xc], 2
jle 0x46d9de
mov ecx, dword [ebp + 8]
push ecx
call fcn.00462430
add esp, 4
movzx edx, byte [ebp - 0x415]
test edx, edx
je 0x46da4c
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 0x46da1b
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.00462ed0
add esp, 0x10
test eax, eax
jne 0x46da4a
xor eax, eax
jmp 0x46e17f
jmp 0x46da6c
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x46da6c
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 0x46da9a
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.004fe770
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov dword [ebp - 0x414], 0
jmp 0x46dab5
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 0x46daf4
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.004fe770
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 0x46daa6
mov eax, 1
jmp 0x46e17f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x46db19
push str.acTL_after_IDAT
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov edx, dword [ebp - 0x410]
push edx
call fcn.00463530
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
jne 0x46db49
push str.acTL_with_0_frames
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x410]
push eax
call fcn.00463530
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.0046b360
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0
jne 0x46db8f
push str.outofmem
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
jmp 0x46e16b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x46dbaf
push str.fcTL_before_acTL
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x438]
cmp edx, dword [ecx + 0x14]
jb 0x46dbcf
push str.too_many_frames
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
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.00463530
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x46c]
cmp ecx, dword [ebp - 0x444]
je 0x46dc54
push 0x64f090
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov edx, dword [ebp - 0x444]
add edx, 1
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.00463530
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.00463530
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.00463530
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.00463530
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.004632d0
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 0x410]
push edx
call fcn.004632d0
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 0x46dd4c
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 0x46ddab
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x46dda4
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00472da0
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 0x46ddab
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 0x46de11
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 0x46de70
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x46de69
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00472da0
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 0x46de70
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 0x46dea3
cmp dword [ebp - 0x444], 0
je 0x46dea3
push str.invalid_sequence_number_in_first_fcTL
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 8], 0
jne 0x46dec1
push str.zero_width_in_fcTL
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0xc], 0
jne 0x46dedf
push str.zero_height_in_fcTL
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
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 0x46df0d
push str.fcTL_out_of_image_bounds
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
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 0x46df3c
push str.fcTL_out_of_image_bounds
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x46dfd0
mov ecx, dword [ebp - 0x41c]
cmp dword [ecx + 0x10], 0
je 0x46df67
push str.invalid_x_offset_in_fcTL_for_default_image
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 0x14], 0
je 0x46df85
push str.invalid_y_offset_in_fcTL_for_default_image
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 8]
cmp edx, dword [ecx]
je 0x46dfaa
push str.invalid_width_in_fcTL_for_default_image
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 4]
je 0x46dfd0
push str.invalid_height_in_fcTL_for_default_image
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
cmp dword [ebp - 0x438], 0
jne 0x46dff2
mov eax, dword [ebp - 0x41c]
movzx ecx, byte [eax + 0x1c]
cmp ecx, 2
jne 0x46dff2
mov edx, dword [ebp - 0x41c]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x438]
add eax, 1
mov dword [ebp - 0x438], eax
jmp 0x46e16b
cmp dword [ebp - 0x438], 0
je 0x46e018
cmp dword [ebp - 0x41c], 0
jne 0x46e02a
push str.missing_fcTL
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00463530
add esp, 4
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x46c]
cmp edx, dword [ebp - 0x444]
je 0x46e05f
push 0x64f090
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
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.00472b30
add esp, 0x14
test eax, eax
jne 0x46e0aa
xor eax, eax
jmp 0x46e17f
jmp 0x46e16b
cmp dword [ebp - 0x460], 0
je 0x46e0ca
push str.first_not_IHDR
call fcn.00462eb0
add esp, 4
jmp 0x46e17f
mov eax, dword [ebp - 0x43c]
and eax, 0x20000000
jne 0x46e155
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.00462eb0
add esp, 4
jmp 0x46e17f
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.00473720
add esp, 8
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.00463530
add esp, 4
jmp 0x46c66f
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421065
mov esp, ebp
pop ebp
ret