Function at 0x475530
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x5df040]
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.004681a0
add esp, 4
test eax, eax
jne 0x47562f
xor eax, eax
jmp 0x47714f
cmp dword [ebp + 0xc], 1
jne 0x47563f
mov eax, 1
jmp 0x47714f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046c1e0
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 0x4756f0
cmp dword [ebp - 0x42c], 0x504c5445
je 0x475e01
cmp dword [ebp - 0x42c], 0x49454e44
ja 0x4756db
cmp dword [ebp - 0x42c], 0x49454e44
je 0x47648c
cmp dword [ebp - 0x42c], 0x43674249
je 0x475746
cmp dword [ebp - 0x42c], 0x49444154
je 0x4763ba
jmp 0x47707f
cmp dword [ebp - 0x42c], 0x49484452
je 0x47576b
jmp 0x47707f
cmp dword [ebp - 0x42c], 0x66644154
ja 0x475731
cmp dword [ebp - 0x42c], 0x66644154
je 0x476fd6
cmp dword [ebp - 0x42c], 0x6163544c
je 0x476ace
cmp dword [ebp - 0x42c], 0x6663544c
je 0x476b64
jmp 0x47707f
cmp dword [ebp - 0x42c], 0x74524e53
je 0x476110
jmp 0x47707f
mov dword [ebp - 0x474], 1
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047c6f0
add esp, 8
jmp 0x47713b
cmp dword [ebp - 0x460], 0
jne 0x475786
push str.multiple_IHDR
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov dword [ebp - 0x460], 0
cmp dword [ebp - 0x440], 0xd
je 0x4757ab
push str.bad_IHDR_len
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046c180
add esp, 4
mov edx, dword [ebp - 0x410]
mov dword [edx], eax
mov eax, dword [ebp - 0x410]
push eax
call fcn.0046c180
add esp, 4
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0x1000000
jbe 0x4757fb
push str.too_large
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x410]
cmp dword [eax], 0x1000000
jbe 0x47581b
push str.too_large
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x475872
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 0x4758d1
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x4758ca
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047bd70
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 0x4758d1
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 0x47591d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 2
je 0x47591d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 4
je 0x47591d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 8
je 0x47591d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
je 0x47591d
push str.1_2_4_8_16_bit_only
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x475974
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 0x4759d3
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x4759cc
mov edx, dword [ebp - 0x410]
push edx
call fcn.0047bd70
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 0x4759d3
mov byte [ebp - 0x41f], 0
movzx ecx, byte [ebp - 0x41f]
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 6
jle 0x4759fb
push str.bad_ctype
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp - 0x434], 3
jne 0x475a1f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0x10
jne 0x475a1f
push str.bad_ctype
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp - 0x434], 3
jne 0x475a31
mov byte [ebp - 0x415], 3
jmp 0x475a4e
mov eax, dword [ebp - 0x434]
and eax, 1
je 0x475a4e
push str.bad_ctype
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x410]
mov eax, dword [ecx + 0xac]
cmp eax, dword [edx + 0xb0]
jae 0x475aa5
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 0x475b04
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x20], 0
je 0x475afd
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047bd70
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 0x475b04
mov byte [ebp - 0x420], 0
movzx edx, byte [ebp - 0x420]
mov dword [ebp - 0x4ac], edx
cmp dword [ebp - 0x4ac], 0
je 0x475b2c
push str.bad_comp_method
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x475b83
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 0x475be2
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x475bdb
mov edx, dword [ebp - 0x410]
push edx
call fcn.0047bd70
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 0x475be2
mov byte [ebp - 0x421], 0
movzx ecx, byte [ebp - 0x421]
mov dword [ebp - 0x4b0], ecx
cmp dword [ebp - 0x4b0], 0
je 0x475c0a
push str.bad_filter_method
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x475c61
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 0x475cc0
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x475cb9
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047bd70
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 0x475cc0
mov byte [ebp - 0x422], 0
movzx eax, byte [ebp - 0x422]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 1
jle 0x475ce8
push str.bad_interlace_method
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov ecx, dword [ebp - 0x410]
cmp dword [ecx], 0
je 0x475cff
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0
jne 0x475d11
push str.0_pixel_image
call fcn.0046bb00
add esp, 4
jmp 0x47714f
movzx eax, byte [ebp - 0x415]
test eax, eax
jne 0x475dc0
mov ecx, dword [ebp - 0x434]
and ecx, 2
je 0x475d37
mov dword [ebp - 0x484], 3
jmp 0x475d41
mov dword [ebp - 0x484], 1
mov edx, dword [ebp - 0x434]
and edx, 4
je 0x475d58
mov dword [ebp - 0x488], 1
jmp 0x475d62
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 0x475dae
push str.too_large
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp + 0xc], 2
jne 0x475dbe
mov eax, 1
jmp 0x47714f
jmp 0x475dfc
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 0x475dfc
push str.too_large
call fcn.0046bb00
add esp, 4
jmp 0x47714f
jmp 0x47713b
cmp dword [ebp - 0x460], 0
je 0x475e1c
push str.first_not_IHDR
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp - 0x440], 0x300
jbe 0x475e3a
push str.invalid_PLTE
call fcn.0046bb00
add esp, 4
jmp 0x47714f
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 0x475e70
push str.invalid_PLTE
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov dword [ebp - 0x414], 0
jmp 0x475e8b
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [ebp - 0x45c]
jae 0x47610b
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x410]
mov ecx, dword [edx + 0xac]
cmp ecx, dword [eax + 0xb0]
jae 0x475ef4
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 0x475f53
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x475f4c
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047bd70
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 0x475f53
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 0x475fbd
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 0x47601c
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x476015
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047bd70
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 0x47601c
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 0x476086
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 0x4760e5
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x4760de
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047bd70
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 0x4760e5
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 0x475e7c
jmp 0x47713b
cmp dword [ebp - 0x460], 0
je 0x47612b
push str.first_not_IHDR
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x476146
push str.tRNS_after_IDAT
call fcn.0046bb00
add esp, 4
jmp 0x47714f
movzx ecx, byte [ebp - 0x415]
test ecx, ecx
je 0x4762b4
cmp dword [ebp + 0xc], 2
jne 0x476172
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], 4
mov eax, 1
jmp 0x47714f
cmp dword [ebp - 0x45c], 0
jne 0x47618d
push str.tRNS_before_PLTE
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x440]
cmp eax, dword [ebp - 0x45c]
jbe 0x4761ad
push str.bad_tRNS_len
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov byte [ebp - 0x415], 4
mov dword [ebp - 0x414], 0
jmp 0x4761cf
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
cmp edx, dword [ebp - 0x440]
jae 0x4762af
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xac]
cmp edx, dword [ecx + 0xb0]
jae 0x476238
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 0x476297
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x20], 0
je 0x476290
mov edx, dword [ebp - 0x410]
push edx
call fcn.0047bd70
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 0x476297
mov byte [ebp - 0x426], 0
mov ecx, dword [ebp - 0x414]
mov dl, byte [ebp - 0x426]
mov byte [ebp + ecx*4 - 0x409], dl
jmp 0x4761c0
jmp 0x4763b5
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 8]
and ecx, 1
jne 0x4762d4
push str.tRNS_with_alpha
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
shl eax, 1
cmp dword [ebp - 0x440], eax
je 0x4762f9
push str.bad_tRNS_len
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov byte [ebp - 0x41d], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0x10
jne 0x476353
mov dword [ebp - 0x430], 0
jmp 0x476324
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 0x476351
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046bf20
add esp, 4
mov ecx, dword [ebp - 0x430]
mov word [ebp + ecx*2 - 0xc], ax
jmp 0x476315
jmp 0x4763b5
mov dword [ebp - 0x430], 0
jmp 0x47636e
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 0x4763b5
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046bf20
add esp, 4
and eax, 0xff
movzx eax, al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
movzx ecx, byte [edx + 0x5870a0]
imul eax, ecx
mov edx, dword [ebp - 0x430]
mov byte [ebp + edx - 0x468], al
jmp 0x47635f
jmp 0x47713b
cmp dword [ebp - 0x460], 0
je 0x4763d5
push str.first_not_IHDR
call fcn.0046bb00
add esp, 4
jmp 0x47714f
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x4763fb
cmp dword [ebp - 0x45c], 0
jne 0x4763fb
push str.no_PLTE
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp - 0x444], 0
je 0x476416
push str.invalid_sequence_number_for_IDAT
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp - 0x438], 1
jbe 0x476431
push str.IDAT_after_more_than_one_fcTL
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp + 0xc], 2
jne 0x476451
movzx ecx, byte [ebp - 0x415]
mov edx, dword [ebp - 0x410]
mov dword [edx + 8], ecx
mov eax, 1
jmp 0x47714f
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.0047bb00
add esp, 0x14
test eax, eax
jne 0x476487
xor eax, eax
jmp 0x47714f
jmp 0x47713b
cmp dword [ebp - 0x460], 0
je 0x4764a7
push str.first_not_IHDR
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp + 0xc], 0
je 0x4764b7
mov eax, 1
jmp 0x47714f
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x4764d2
push str.no_IDAT
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 0x438]
je 0x4764f2
push str.missing_fcTL_chunks
call fcn.0046bb00
add esp, 4
jmp 0x47714f
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 0x47654b
mov dword [ebp - 0x48c], 1
jmp 0x476555
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.0047e3f0
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 0x4765a2
xor eax, eax
jmp 0x47714f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0054d120
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x414], 0
jmp 0x4765d6
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 0x47673d
imul edx, dword [ebp - 0x414], 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + edx + 0x20], 0
je 0x476738
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 0x47667d
mov dword [ebp - 0x494], 1
jmp 0x476687
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.0047e3f0
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 0x476709
xor eax, eax
jmp 0x47714f
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.0054d120
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 0x4765c7
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 8]
add edx, 1
cmp dword [ebp + 0x10], edx
jne 0x47675f
cmp dword [ebp + 0x10], 3
je 0x47675f
movzx eax, byte [ebp - 0x415]
test eax, eax
je 0x47676a
movzx ecx, byte [ebp - 0x41d]
test ecx, ecx
je 0x476781
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0xc], eax
jmp 0x476793
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.00469d00
add esp, 0x1c
test eax, eax
jne 0x47681b
xor eax, eax
jmp 0x47714f
mov dword [ebp - 0x414], 0
jmp 0x476836
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 0x476921
imul ecx, dword [ebp - 0x414], 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
cmp dword [eax + ecx + 0x24], 0
je 0x47691c
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.00469d00
add esp, 0x1c
test eax, eax
jne 0x47691c
xor eax, eax
jmp 0x47714f
jmp 0x476827
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x476984
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jne 0x47695c
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.00468850
add esp, 0xc
test eax, eax
jne 0x47695a
xor eax, eax
jmp 0x47714f
jmp 0x476984
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.00468910
add esp, 0xc
test eax, eax
jne 0x476984
xor eax, eax
jmp 0x47714f
cmp dword [ebp - 0x474], 0
je 0x4769ae
cmp dword [0x5e1b08], 0
je 0x4769ae
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0xc], 2
jle 0x4769ae
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046b080
add esp, 4
movzx edx, byte [ebp - 0x415]
test edx, edx
je 0x476a1c
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 0x4769eb
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.0046bb20
add esp, 0x10
test eax, eax
jne 0x476a1a
xor eax, eax
jmp 0x47714f
jmp 0x476a3c
movzx edx, byte [ebp - 0x41d]
test edx, edx
je 0x476a3c
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 0x476a6a
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.0054d120
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov dword [ebp - 0x414], 0
jmp 0x476a85
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 0x476ac4
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.0054d120
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 0x476a76
mov eax, 1
jmp 0x47714f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x476ae9
push str.acTL_after_IDAT
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046c180
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
jne 0x476b19
push str.acTL_with_0_frames
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x410]
push eax
call fcn.0046c180
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.00474330
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0
jne 0x476b5f
push str.outofmem
call fcn.0046bb00
add esp, 4
jmp 0x47714f
jmp 0x47713b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x476b7f
push str.fcTL_before_acTL
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x438]
cmp edx, dword [ecx + 0x14]
jb 0x476b9f
push str.too_many_frames
call fcn.0046bb00
add esp, 4
jmp 0x47714f
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.0046c180
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x46c]
cmp ecx, dword [ebp - 0x444]
je 0x476c24
push str.invalid_sequence_number
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov edx, dword [ebp - 0x444]
add edx, 1
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.0046c180
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046c180
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046c180
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046c180
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046bf20
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 0x410]
push edx
call fcn.0046bf20
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 0x476d1c
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 0x476d7b
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x476d74
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047bd70
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 0x476d7b
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 0x476de1
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 0x476e40
mov eax, dword [ebp - 0x410]
cmp dword [eax + 0x20], 0
je 0x476e39
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0047bd70
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 0x476e40
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 0x476e73
cmp dword [ebp - 0x444], 0
je 0x476e73
push str.invalid_sequence_number_in_first_fcTL
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 8], 0
jne 0x476e91
push str.zero_width_in_fcTL
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0xc], 0
jne 0x476eaf
push str.zero_height_in_fcTL
call fcn.0046bb00
add esp, 4
jmp 0x47714f
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 0x476edd
push str.fcTL_out_of_image_bounds
call fcn.0046bb00
add esp, 4
jmp 0x47714f
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 0x476f0c
push str.fcTL_out_of_image_bounds
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x476fa0
mov ecx, dword [ebp - 0x41c]
cmp dword [ecx + 0x10], 0
je 0x476f37
push str.invalid_x_offset_in_fcTL_for_default_image
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 0x14], 0
je 0x476f55
push str.invalid_y_offset_in_fcTL_for_default_image
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 8]
cmp edx, dword [ecx]
je 0x476f7a
push str.invalid_width_in_fcTL_for_default_image
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x410]
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 4]
je 0x476fa0
push str.invalid_height_in_fcTL_for_default_image
call fcn.0046bb00
add esp, 4
jmp 0x47714f
cmp dword [ebp - 0x438], 0
jne 0x476fc2
mov eax, dword [ebp - 0x41c]
movzx ecx, byte [eax + 0x1c]
cmp ecx, 2
jne 0x476fc2
mov edx, dword [ebp - 0x41c]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x438]
add eax, 1
mov dword [ebp - 0x438], eax
jmp 0x47713b
cmp dword [ebp - 0x438], 0
je 0x476fe8
cmp dword [ebp - 0x41c], 0
jne 0x476ffa
push str.missing_fcTL
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046c180
add esp, 4
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x46c]
cmp edx, dword [ebp - 0x444]
je 0x47702f
push str.invalid_sequence_number
call fcn.0046bb00
add esp, 4
jmp 0x47714f
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.0047bb00
add esp, 0x14
test eax, eax
jne 0x47707a
xor eax, eax
jmp 0x47714f
jmp 0x47713b
cmp dword [ebp - 0x460], 0
je 0x47709a
push str.first_not_IHDR
call fcn.0046bb00
add esp, 4
jmp 0x47714f
mov eax, dword [ebp - 0x43c]
and eax, 0x20000000
jne 0x477125
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.0046bb00
add esp, 4
jmp 0x47714f
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x410]
push eax
call fcn.0047c6f0
add esp, 8
mov ecx, dword [ebp - 0x410]
push ecx
call fcn.0046c180
add esp, 4
jmp 0x47563f
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423495
mov esp, ebp
pop ebp
ret