Function at 0x4a3f70
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x5a83f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x415], 0
mov byte [ebp - 0x41d], 0
mov byte [ebp - 0x468], 0
xor eax, eax
mov word [ebp - 0x467], ax
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.00496b90
add esp, 4
test eax, eax
jne 0x4a4070
xor eax, eax
jmp 0x4a5b90
cmp dword [ebp + 0xc], 1
jne 0x4a4080
mov eax, 1
jmp 0x4a5b90
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0049abd0
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 0x4a4131
cmp dword [ebp - 0x42c], 0x504c5445
je 0x4a4842
cmp dword [ebp - 0x42c], 0x49454e44
ja 0x4a411c
cmp dword [ebp - 0x42c], 0x49454e44
je 0x4a4ecd
cmp dword [ebp - 0x42c], 0x43674249
je 0x4a4187
cmp dword [ebp - 0x42c], 0x49444154
je 0x4a4dfb
jmp 0x4a5ac0
cmp dword [ebp - 0x42c], 0x49484452
je 0x4a41ac
jmp 0x4a5ac0
cmp dword [ebp - 0x42c], 0x66644154
ja 0x4a4172
cmp dword [ebp - 0x42c], 0x66644154
je 0x4a5a17
cmp dword [ebp - 0x42c], 0x6163544c
je 0x4a550f
cmp dword [ebp - 0x42c], 0x6663544c
je 0x4a55a5
jmp 0x4a5ac0
cmp dword [ebp - 0x42c], 0x74524e53
je 0x4a4b51
jmp 0x4a5ac0
mov dword [ebp - 0x474], 1
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.004ab130
add esp, 8
jmp 0x4a5b7c
cmp dword [ebp - 0x460], 0
jne 0x4a41c7
push str.multiple_IHDR
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov dword [ebp - 0x460], 0
cmp dword [ebp - 0x440], 0xd
je 0x4a41ec
push str.bad_IHDR_len
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0049ab70
add esp, 4
mov edx, dword [ebp - 0x410]
mov dword [edx], eax
mov eax, dword [ebp - 0x410]
push eax
call fcn.0049ab70
add esp, 4
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0x1000000
jbe 0x4a423c
push str.too_large
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x410]
cmp dword [eax], 0x1000000
jbe 0x4a425c
push str.too_large
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x4a42b3
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 0x4a4312
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x4a430b
mov eax, dword [ebp - 0x410]
push eax
call fcn.004aa7b0
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 0x4a4312
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 0x4a435e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 2
je 0x4a435e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 4
je 0x4a435e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 8
je 0x4a435e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
je 0x4a435e
push str.1_2_4_8_16_bit_only
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x4a43b5
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 0x4a4414
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x4a440d
mov edx, dword [ebp - 0x410]
push edx
call fcn.004aa7b0
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 0x4a4414
mov byte [ebp - 0x41f], 0
movzx ecx, byte [ebp - 0x41f]
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 6
jle 0x4a443c
push str.bad_ctype
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp - 0x434], 3
jne 0x4a4460
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
jne 0x4a4460
push str.bad_ctype
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp - 0x434], 3
jne 0x4a4472
mov byte [ebp - 0x415], 3
jmp 0x4a448f
mov eax, dword [ebp - 0x434]
and eax, 1
je 0x4a448f
push str.bad_ctype
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x4a44e6
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 0x4a4545
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x4a453e
mov eax, dword [ebp - 0x410]
push eax
call fcn.004aa7b0
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 0x4a4545
mov byte [ebp - 0x420], 0
movzx edx, byte [ebp - 0x420]
mov dword [ebp - 0x4ac], edx
cmp dword [ebp - 0x4ac], 0
je 0x4a456d
push str.bad_comp_method
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x4a45c4
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 0x4a4623
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x4a461c
mov edx, dword [ebp - 0x410]
push edx
call fcn.004aa7b0
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 0x4a4623
mov byte [ebp - 0x421], 0
movzx ecx, byte [ebp - 0x421]
mov dword [ebp - 0x4b0], ecx
cmp dword [ebp - 0x4b0], 0
je 0x4a464b
push str.bad_filter_method
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x4a46a2
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 0x4a4701
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4a46fa
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.004aa7b0
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 0x4a4701
mov byte [ebp - 0x422], 0
movzx eax, byte [ebp - 0x422]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 1
jle 0x4a4729
push str.bad_interlace_method
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov ecx, dword [ebp - 0x410]
cmp dword [ecx], 0
je 0x4a4740
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0
jne 0x4a4752
push str.0_pixel_image
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
movzx eax, byte [ebp - 0x415]
test eax, eax
jne 0x4a4801
mov ecx, dword [ebp - 0x434]
and ecx, 2
je 0x4a4778
mov dword [ebp - 0x484], 3
jmp 0x4a4782
mov dword [ebp - 0x484], 1
mov edx, dword [ebp - 0x434]
and edx, 4
je 0x4a4799
mov dword [ebp - 0x488], 1
jmp 0x4a47a3
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 0x4a47ef
push str.too_large
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp + 0xc], 2
jne 0x4a47ff
mov eax, 1
jmp 0x4a5b90
jmp 0x4a483d
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 0x4a483d
push str.too_large
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
jmp 0x4a5b7c
cmp dword [ebp - 0x460], 0
je 0x4a485d
push str.first_not_IHDR
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp - 0x440], 0x300
jbe 0x4a487b
push str.invalid_PLTE
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
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 0x4a48b1
push str.invalid_PLTE
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov dword [ebp - 0x414], 0
jmp 0x4a48cc
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [ebp - 0x45c]
jae 0x4a4b4c
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x4a4935
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 0x4a4994
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4a498d
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.004aa7b0
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 0x4a4994
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 0x4a49fe
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 0x4a4a5d
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4a4a56
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.004aa7b0
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 0x4a4a5d
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 0x4a4ac7
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 0x4a4b26
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4a4b1f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.004aa7b0
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 0x4a4b26
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 0x4a48bd
jmp 0x4a5b7c
cmp dword [ebp - 0x460], 0
je 0x4a4b6c
push str.first_not_IHDR
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x4a4b87
push str.tRNS_after_IDAT
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
movzx ecx, byte [ebp - 0x415]
test ecx, ecx
je 0x4a4cf5
cmp dword [ebp + 0xc], 2
jne 0x4a4bb3
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], 4
mov eax, 1
jmp 0x4a5b90
cmp dword [ebp - 0x45c], 0
jne 0x4a4bce
push str.tRNS_before_PLTE
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x440]
cmp eax, dword [ebp - 0x45c]
jbe 0x4a4bee
push str.bad_tRNS_len
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov byte [ebp - 0x415], 4
mov dword [ebp - 0x414], 0
jmp 0x4a4c10
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
cmp edx, dword [ebp - 0x440]
jae 0x4a4cf0
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x4a4c79
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 0x4a4cd8
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x4a4cd1
mov edx, dword [ebp - 0x410]
push edx
call fcn.004aa7b0
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 0x4a4cd8
mov byte [ebp - 0x426], 0
mov ecx, dword [ebp - 0x414]
mov dl, byte [ebp - 0x426]
mov byte [ebp + ecx*4 - 0x409], dl
jmp 0x4a4c01
jmp 0x4a4df6
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 8]
and ecx, 1
jne 0x4a4d15
push str.tRNS_with_alpha
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
shl eax, 1
cmp dword [ebp - 0x440], eax
je 0x4a4d3a
push str.bad_tRNS_len
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov byte [ebp - 0x41d], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0x10
jne 0x4a4d94
mov dword [ebp - 0x430], 0
jmp 0x4a4d65
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 0x4a4d92
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049a910
add esp, 4
mov ecx, dword [ebp - 0x430]
mov word [ebp + ecx*2 - 0xc], ax
jmp 0x4a4d56
jmp 0x4a4df6
mov dword [ebp - 0x430], 0
jmp 0x4a4daf
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 0x4a4df6
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049a910
add esp, 4
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
movzx ecx, byte [edx + 0x55d8ec]
imul eax, ecx
mov edx, dword [ebp - 0x430]
mov byte [ebp + edx - 0x468], al
jmp 0x4a4da0
jmp 0x4a5b7c
cmp dword [ebp - 0x460], 0
je 0x4a4e16
push str.first_not_IHDR
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x4a4e3c
cmp dword [ebp - 0x45c], 0
jne 0x4a4e3c
push str.no_PLTE
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp - 0x444], 0
je 0x4a4e57
push str.invalid_sequence_number_for_IDAT
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp - 0x438], 1
jbe 0x4a4e72
push str.IDAT_after_more_than_one_fcTL
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp + 0xc], 2
jne 0x4a4e92
movzx ecx, byte [ebp - 0x415]
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], ecx
mov eax, 1
jmp 0x4a5b90
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.004aa540
add esp, 0x14
test eax, eax
jne 0x4a4ec8
xor eax, eax
jmp 0x4a5b90
jmp 0x4a5b7c
cmp dword [ebp - 0x460], 0
je 0x4a4ee8
push str.first_not_IHDR
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp + 0xc], 0
je 0x4a4ef8
mov eax, 1
jmp 0x4a5b90
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x4a4f13
push str.no_IDAT
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 0x438]
je 0x4a4f33
push str.missing_fcTL_chunks
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
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 0x4a4f8c
mov dword [ebp - 0x48c], 1
jmp 0x4a4f96
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.004ace30
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 0x4a4fe3
xor eax, eax
jmp 0x4a5b90
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.004f67c5
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x414], 0
jmp 0x4a5017
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 0x4a517e
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + edx + 0x20], 0
je 0x4a5179
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 0x4a50be
mov dword [ebp - 0x494], 1
jmp 0x4a50c8
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.004ace30
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 0x4a514a
xor eax, eax
jmp 0x4a5b90
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.004f67c5
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 0x4a5008
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 8]
add edx, 1
cmp dword [ebp + 0x10], edx
jne 0x4a51a0
cmp dword [ebp + 0x10], 3
je 0x4a51a0
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x4a51ab
movzx ecx, byte [ebp - 0x41d]
test ecx, ecx
je 0x4a51c2
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xc], eax
jmp 0x4a51d4
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.004986f0
add esp, 0x1c
test eax, eax
jne 0x4a525c
xor eax, eax
jmp 0x4a5b90
mov dword [ebp - 0x414], 0
jmp 0x4a5277
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 0x4a5362
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
cmp dword [eax + ecx + 0x24], 0
je 0x4a535d
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.004986f0
add esp, 0x1c
test eax, eax
jne 0x4a535d
xor eax, eax
jmp 0x4a5b90
jmp 0x4a5268
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x4a53c5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jne 0x4a539d
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.00497240
add esp, 0xc
test eax, eax
jne 0x4a539b
xor eax, eax
jmp 0x4a5b90
jmp 0x4a53c5
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.00497300
add esp, 0xc
test eax, eax
jne 0x4a53c5
xor eax, eax
jmp 0x4a5b90
cmp dword [ebp - 0x474], 0
je 0x4a53ef
cmp dword [0x5aa460], 0
je 0x4a53ef
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0xc], 2
jle 0x4a53ef
mov ecx, dword [ebp + 8]
push ecx
call fcn.00499a70
add esp, 4
movzx edx, byte [ebp - 0x415]
test edx, edx
je 0x4a545d
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 0x4a542c
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.0049a510
add esp, 0x10
test eax, eax
jne 0x4a545b
xor eax, eax
jmp 0x4a5b90
jmp 0x4a547d
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x4a547d
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 0x4a54ab
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.004f67c5
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov dword [ebp - 0x414], 0
jmp 0x4a54c6
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 0x4a5505
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.004f67c5
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 0x4a54b7
mov eax, 1
jmp 0x4a5b90
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x4a552a
push str.acTL_after_IDAT
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049ab70
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
jne 0x4a555a
push str.acTL_with_0_frames
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x410]
push eax
call fcn.0049ab70
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.004a2d70
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0
jne 0x4a55a0
push str.outofmem
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
jmp 0x4a5b7c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x4a55c0
push str.fcTL_before_acTL
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x438]
cmp edx, dword [ecx + 0x14]
jb 0x4a55e0
push str.too_many_frames
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
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.0049ab70
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x46c]
cmp ecx, dword [ebp - 0x444]
je 0x4a5665
push str.invalid_sequence_number
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov edx, dword [ebp - 0x444]
add edx, 1
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.0049ab70
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049ab70
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049ab70
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049ab70
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049a910
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0049a910
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 0x4a575d
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 0x4a57bc
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4a57b5
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.004aa7b0
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 0x4a57bc
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 0x4a5822
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 0x4a5881
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4a587a
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.004aa7b0
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 0x4a5881
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 0x4a58b4
cmp dword [ebp - 0x444], 0
je 0x4a58b4
push str.invalid_sequence_number_in_first_fcTL
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 8], 0
jne 0x4a58d2
push str.zero_width_in_fcTL
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0xc], 0
jne 0x4a58f0
push str.zero_height_in_fcTL
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
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 0x4a591e
push str.fcTL_out_of_image_bounds
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
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 0x4a594d
push str.fcTL_out_of_image_bounds
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x4a59e1
mov ecx, dword [ebp - 0x41c]
cmp dword [ecx + 0x10], 0
je 0x4a5978
push str.invalid_x_offset_in_fcTL_for_default_image
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 0x14], 0
je 0x4a5996
push str.invalid_y_offset_in_fcTL_for_default_image
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 8]
cmp edx, dword [ecx]
je 0x4a59bb
push str.invalid_width_in_fcTL_for_default_image
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 4]
je 0x4a59e1
push str.invalid_height_in_fcTL_for_default_image
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
cmp dword [ebp - 0x438], 0
jne 0x4a5a03
mov eax, dword [ebp - 0x41c]
movzx ecx, byte [eax + 0x1c]
cmp ecx, 2
jne 0x4a5a03
mov edx, dword [ebp - 0x41c]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x438]
add eax, 1
mov dword [ebp - 0x438], eax
jmp 0x4a5b7c
cmp dword [ebp - 0x438], 0
je 0x4a5a29
cmp dword [ebp - 0x41c], 0
jne 0x4a5a3b
push str.missing_fcTL
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0049ab70
add esp, 4
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x46c]
cmp edx, dword [ebp - 0x444]
je 0x4a5a70
push str.invalid_sequence_number
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
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.004aa540
add esp, 0x14
test eax, eax
jne 0x4a5abb
xor eax, eax
jmp 0x4a5b90
jmp 0x4a5b7c
cmp dword [ebp - 0x460], 0
je 0x4a5adb
push str.first_not_IHDR
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov eax, dword [ebp - 0x43c]
and eax, 0x20000000
jne 0x4a5b66
mov ecx, dword [ebp - 0x43c]
shr ecx, 0x18
and ecx, 0xff
mov edx, 1
imul eax, edx, 0
mov byte [eax + 0x5a84c0], cl
mov ecx, dword [ebp - 0x43c]
shr ecx, 0x10
and ecx, 0xff
mov edx, 1
shl edx, 0
mov byte [edx + 0x5a84c0], cl
mov eax, dword [ebp - 0x43c]
shr eax, 8
and eax, 0xff
mov ecx, 1
shl ecx, 1
mov byte [ecx + 0x5a84c0], al
mov edx, dword [ebp - 0x43c]
and edx, 0xff
mov eax, 1
imul ecx, eax, 3
mov byte [ecx + 0x5a84c0], dl
push 0x5a84c0
call fcn.0049a4f0
add esp, 4
jmp 0x4a5b90
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.004ab130
add esp, 8
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0049ab70
add esp, 4
jmp 0x4a4080
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ec22
mov esp, ebp
pop ebp
ret