Function at 0x547ac0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
test dword [esi + 0x6c], 0x4000
push edi
mov dword [esp + 0x14], eax
jne 0x547aef
mov edi, str.attempt_to_png_read_frame_head___but_no_acTL_present
mov eax, esi
jmp fcn.0054c480
push ebx
xor ebx, ebx
cmp dword [esi + 0x278], ebx
je 0x547e84
push ebp
xor eax, eax
call fcn.00556840
and dword [esi + 0x70], 0xffffffbf
and dword [esi + 0x6c], 0xffff7ff3
cmp dword [esi + 0x54], ebx
mov al, 0x54
mov dl, 0x41
mov cl, 0x66
mov dword [esi + 0xe4], ebx
mov byte [esi + 0x124], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x28], 0x49
mov byte [esp + 0x29], 0x44
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], bl
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], al
mov byte [esp + 0x24], bl
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x32], al
mov byte [esp + 0x33], 0x4c
mov byte [esp + 0x34], bl
jne 0x547b82
mov edi, str.Call_to_NULL_read_function
mov eax, esi
jmp fcn.0054c480
xor ebx, ebx
mov edx, dword [esi + 0x54]
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call edx
mov eax, dword [esp + 0x24]
movzx ecx, byte [esp + 0x26]
movzx edx, byte [esp + 0x27]
movzx edi, al
shl edi, 8
movzx eax, ah
add edi, eax
shl edi, 8
add edi, ecx
shl edi, 8
add edi, edx
add esp, 0xc
cmp edi, 0x7fffffff
mov dword [esp + 0x14], edi
ja 0x547e5e
mov dword [esi + 0x110], ebx
lea ebp, [esi + 0x11c]
mov ebx, 4
mov eax, ebp
call fcn.005567d0
mov eax, ebx
lea ecx, [esp + 0x28]
mov edx, ebp
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x547bfd
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x547be5
test eax, eax
je 0x547c62
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547c4c
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547c5e
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547c4c
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547c5e
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547c4c
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547c5e
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x547c5e
test edi, edi
mov edi, dword [esp + 0x14]
mov eax, 1
jg 0x547c64
or eax, 0xffffffff
jmp 0x547c64
mov edi, dword [esp + 0x14]
xor eax, eax
test eax, eax
jne 0x547c87
cmp byte [esp + 0x13], al
jne 0x547c7b
cmp dword [esi + 0x278], 1
jbe 0x547df5
mov edi, str.png_read_frame_head__:_out_of_place_IDAT
mov eax, esi
jmp fcn.0054c480
mov eax, 4
lea ecx, [esp + 0x30]
mov edx, ebp
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x547caa
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x547c92
test eax, eax
je 0x547d0f
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547cf9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547d0b
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547cf9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547d0b
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547cf9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547d0b
movzx edi, byte [edx]
movzx ecx, byte [ecx]
sub edi, ecx
je 0x547d0b
test edi, edi
mov edi, dword [esp + 0x14]
mov eax, 1
jg 0x547d11
or eax, 0xffffffff
jmp 0x547d11
mov edi, dword [esp + 0x14]
xor eax, eax
test eax, eax
jne 0x547d30
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
mov edx, esi
call fcn.00559510
add esp, 4
mov byte [esp + 0x13], 1
jmp 0x547dfe
mov eax, 4
lea ecx, [esp + 0x20]
mov edx, ebp
jmp 0x547d40
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x547d58
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x547d40
test eax, eax
je 0x547dbd
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547da7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547db9
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547da7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547db9
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x547da7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x547db9
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x547db9
test edi, edi
mov edi, dword [esp + 0x14]
mov eax, 1
jg 0x547dbf
or eax, 0xffffffff
jmp 0x547dbf
mov edi, dword [esp + 0x14]
xor eax, eax
test eax, eax
jne 0x547deb
push edi
mov eax, esi
call fcn.005596f0
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x547e6a
cmp dword [esi + 0x278], 1
jbe 0x547e6a
lea eax, [edi - 4]
jmp 0x547df7
mov ecx, str.Skipped__ignored__a_chunk_between_APNG_chunks
call fcn.0054c4a0
mov eax, edi
mov ecx, esi
call fcn.00556840
cmp dword [esi + 0x54], 0
mov al, 0x54
mov cl, 0x41
mov dl, 0x66
mov byte [esp + 0x28], 0x49
mov byte [esp + 0x29], 0x44
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x32], al
mov byte [esp + 0x33], 0x4c
mov byte [esp + 0x34], 0
jne 0x547b80
mov edi, str.Call_to_NULL_read_function
mov eax, esi
jmp fcn.0054c480
mov edi, str.PNG_unsigned_integer_out_of_range
mov eax, esi
jmp fcn.0054c480
mov eax, dword [esi + 0x6c]
test eax, 0x8000
je 0x547e96
add edi, 0xfffffffc
or eax, 4
mov dword [esi + 0x10c], edi
mov dword [esi + 0x6c], eax
pop ebp
mov ecx, dword [esp + 0x34]
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.005d28b3
add esp, 0x2c
ret
mov edi, str.png_read_frame_head__:_out_of_place_fdAT
mov eax, esi
jmp fcn.0054c480