Function at 0x1400c6220
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4e0
mov rax, qword [0x1401c03c0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 3
rep stosb byte [rdi], al
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x80], 0
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x4f0]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x4f0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x4f0]
mov qword [rax + 0x18], 0
mov rcx, qword [rsp + 0x48]
call fcn.1400c3c10
test eax, eax
jne 0x1400c62f6
xor eax, eax
jmp 0x1400c6f81
cmp dword [rsp + 0x4f8], 1
jne 0x1400c630a
mov eax, 1
jmp 0x1400c6f81
mov rcx, qword [rsp + 0x48]
call fcn.1400c3be0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x49484452
ja 0x1400c6360
cmp dword [rsp + 0x70], 0x49484452
je 0x1400c639f
cmp dword [rsp + 0x70], 0x43674249
je 0x1400c6381
cmp dword [rsp + 0x70], 0x49444154
je 0x1400c699c
cmp dword [rsp + 0x70], 0x49454e44
je 0x1400c6b42
jmp 0x1400c6eb4
cmp dword [rsp + 0x70], 0x504c5445
je 0x1400c66b1
cmp dword [rsp + 0x70], 0x74524e53
je 0x1400c67a4
jmp 0x1400c6eb4
mov dword [rsp + 0x80], 1
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.1400b6f70
jmp 0x1400c6f72
cmp dword [rsp + 0x78], 0
jne 0x1400c63b7
lea rcx, str.multiple_IHDR
call fcn.1400b5ff0
jmp 0x1400c6f81
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x58], 0xd
je 0x1400c63d7
lea rcx, str.bad_IHDR_len
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rcx, qword [rsp + 0x48]
call fcn.1400b7200
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400b7200
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 4], 0x1000000
jbe 0x1400c6419
lea rcx, [0x1401a3ac0]
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x1000000
jbe 0x1400c6437
lea rcx, [0x1401a3ab0]
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
movzx eax, al
mov rcx, qword [rsp + 0x4f0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 1
je 0x1400c64a6
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 2
je 0x1400c64a6
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 4
je 0x1400c64a6
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 8
je 0x1400c64a6
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 0x10
je 0x1400c64a6
lea rcx, str.1_2_4_8_16_bit_only
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
movzx eax, al
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 6
jle 0x1400c64cf
lea rcx, [0x1401a3ad0]
call fcn.1400b5ff0
jmp 0x1400c6f81
cmp dword [rsp + 0x6c], 3
jne 0x1400c64f5
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 0x10
jne 0x1400c64f5
lea rcx, str.bad_ctype
call fcn.1400b5ff0
jmp 0x1400c6f81
cmp dword [rsp + 0x6c], 3
jne 0x1400c6503
mov byte [rsp + 0x40], 3
jmp 0x1400c651f
mov eax, dword [rsp + 0x6c]
and eax, 1
test eax, eax
je 0x1400c651f
lea rcx, [0x1401a3af8]
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
movzx eax, al
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
je 0x1400c654e
lea rcx, str.bad_comp_method
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
movzx eax, al
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
je 0x1400c657d
lea rcx, str.bad_filter_method
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
movzx eax, al
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 1
jle 0x1400c65a6
lea rcx, str.bad_interlace_method
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0
je 0x1400c65bb
mov rax, qword [rsp + 0x48]
cmp dword [rax + 4], 0
jne 0x1400c65cc
lea rcx, str.0_pixel_image
call fcn.1400b5ff0
jmp 0x1400c6f81
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1400c666e
mov eax, dword [rsp + 0x6c]
and eax, 2
test eax, eax
je 0x1400c65f1
mov dword [rsp + 0x88], 3
jmp 0x1400c65fc
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x6c]
and eax, 4
test eax, eax
je 0x1400c6614
mov dword [rsp + 0x84], 1
jmp 0x1400c661f
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x88]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 8], eax
xor edx, edx
mov eax, 0x40000000
mov rcx, qword [rsp + 0x48]
div dword [rcx]
xor edx, edx
mov rcx, qword [rsp + 0x48]
div dword [rcx + 8]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 4]
jae 0x1400c666c
lea rcx, [0x1401a3b78]
call fcn.1400b5ff0
jmp 0x1400c6f81
jmp 0x1400c66ac
mov rax, qword [rsp + 0x48]
mov dword [rax + 8], 1
xor edx, edx
mov eax, 0x40000000
mov rcx, qword [rsp + 0x48]
div dword [rcx]
xor edx, edx
mov ecx, 4
div ecx
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 4]
jae 0x1400c66ac
lea rcx, [0x1401a3b68]
call fcn.1400b5ff0
jmp 0x1400c6f81
jmp 0x1400c6f72
cmp dword [rsp + 0x78], 0
je 0x1400c66c9
lea rcx, [0x1401a3b98]
call fcn.1400b5ff0
jmp 0x1400c6f81
cmp dword [rsp + 0x58], 0x300
jbe 0x1400c66e4
lea rcx, [0x1401a3b88]
call fcn.1400b5ff0
jmp 0x1400c6f81
xor edx, edx
mov eax, dword [rsp + 0x58]
mov ecx, 3
div ecx
mov dword [rsp + 0x74], eax
imul eax, dword [rsp + 0x74], 3
cmp eax, dword [rsp + 0x58]
je 0x1400c6711
lea rcx, str.invalid_PLTE
call fcn.1400b5ff0
jmp 0x1400c6f81
mov dword [rsp + 0x54], 0
jmp 0x1400c6725
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x54], eax
jae 0x1400c679f
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
mov ecx, dword [rsp + 0x54]
shl ecx, 2
mov ecx, ecx
mov byte [rsp + rcx + 0xd0], al
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
mov ecx, dword [rsp + 0x54]
lea ecx, [rcx*4 + 1]
mov ecx, ecx
mov byte [rsp + rcx + 0xd0], al
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
mov ecx, dword [rsp + 0x54]
lea ecx, [rcx*4 + 2]
mov ecx, ecx
mov byte [rsp + rcx + 0xd0], al
mov eax, dword [rsp + 0x54]
lea eax, [rax*4 + 3]
mov eax, eax
mov byte [rsp + rax + 0xd0], 0xff
jmp 0x1400c671b
jmp 0x1400c6f72
cmp dword [rsp + 0x78], 0
je 0x1400c67bc
lea rcx, [0x1401a3ba8]
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rax, qword [rsp + 0x4f0]
cmp qword [rax + 8], 0
je 0x1400c67dc
lea rcx, str.tRNS_after_IDAT
call fcn.1400b5ff0
jmp 0x1400c6f81
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400c6884
cmp dword [rsp + 0x4f8], 2
jne 0x1400c6809
mov rax, qword [rsp + 0x48]
mov dword [rax + 8], 4
mov eax, 1
jmp 0x1400c6f81
cmp dword [rsp + 0x74], 0
jne 0x1400c6821
lea rcx, str.tRNS_before_PLTE
call fcn.1400b5ff0
jmp 0x1400c6f81
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x58], eax
jbe 0x1400c683c
lea rcx, [0x1401a3c00]
call fcn.1400b5ff0
jmp 0x1400c6f81
mov byte [rsp + 0x40], 4
mov dword [rsp + 0x54], 0
jmp 0x1400c6855
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x54], eax
jae 0x1400c687f
mov rcx, qword [rsp + 0x48]
call fcn.1400b6e40
mov ecx, dword [rsp + 0x54]
lea ecx, [rcx*4 + 3]
mov ecx, ecx
mov byte [rsp + rcx + 0xd0], al
jmp 0x1400c684b
jmp 0x1400c6997
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x1400c68a4
lea rcx, str.tRNS_with_alpha
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
shl eax, 1
cmp dword [rsp + 0x58], eax
je 0x1400c68c5
lea rcx, str.bad_tRNS_len
call fcn.1400b5ff0
jmp 0x1400c6f81
mov byte [rsp + 0x50], 1
cmp dword [rsp + 0x4f8], 2
jne 0x1400c68f0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 8], eax
mov eax, 1
jmp 0x1400c6f81
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 0x10
jne 0x1400c693b
mov dword [rsp + 0x60], 0
jmp 0x1400c6912
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x60], eax
jge 0x1400c6939
mov rcx, qword [rsp + 0x48]
call fcn.1400b71c0
movsxd rcx, dword [rsp + 0x60]
mov word [rsp + rcx*2 + 0xbc], ax
jmp 0x1400c6908
jmp 0x1400c6997
mov dword [rsp + 0x60], 0
jmp 0x1400c694f
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x60], eax
jge 0x1400c6997
mov rcx, qword [rsp + 0x48]
call fcn.1400b71c0
and eax, 0xff
movzx eax, al
mov rcx, qword [rsp + 0x4f0]
movsxd rcx, dword [rcx + 0x20]
lea rdx, [0x1401a46a0]
movzx ecx, byte [rdx + rcx]
imul eax, ecx
movsxd rcx, dword [rsp + 0x60]
mov byte [rsp + rcx + 0xb8], al
jmp 0x1400c6945
jmp 0x1400c6f72
cmp dword [rsp + 0x78], 0
je 0x1400c69b4
lea rcx, [0x1401a3c10]
call fcn.1400b5ff0
jmp 0x1400c6f81
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400c69d5
cmp dword [rsp + 0x74], 0
jne 0x1400c69d5
lea rcx, str.no_PLTE
call fcn.1400b5ff0
jmp 0x1400c6f81
cmp dword [rsp + 0x4f8], 2
jne 0x1400c69ff
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400c69f5
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 8], eax
mov eax, 1
jmp 0x1400c6f81
cmp dword [rsp + 0x58], 0x40000000
jbe 0x1400c6a1a
lea rcx, str.IDAT_size_limit
call fcn.1400b5ff0
jmp 0x1400c6f81
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x68]
jge 0x1400c6a33
xor eax, eax
jmp 0x1400c6f81
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x64]
jbe 0x1400c6af6
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0x64], 0
jne 0x1400c6a88
cmp dword [rsp + 0x58], 0x1000
jbe 0x1400c6a72
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x8c], eax
jmp 0x1400c6a7d
mov dword [rsp + 0x8c], 0x1000
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x64]
jbe 0x1400c6aa6
mov eax, dword [rsp + 0x64]
shl eax, 1
mov dword [rsp + 0x64], eax
jmp 0x1400c6a88
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rax, qword [rsp + 0x4f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x1400c6ae2
lea rcx, [0x1401a3c58]
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rax, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x4f0]
add rax, qword [rcx + 8]
mov r8d, dword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.1400b7050
test eax, eax
jne 0x1400c6b2d
lea rcx, str.outofdata
call fcn.1400b5ff0
jmp 0x1400c6f81
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
jmp 0x1400c6f72
cmp dword [rsp + 0x78], 0
je 0x1400c6b5a
lea rcx, [0x1401a3c70]
call fcn.1400b5ff0
jmp 0x1400c6f81
cmp dword [rsp + 0x4f8], 0
je 0x1400c6b6e
mov eax, 1
jmp 0x1400c6f81
mov rax, qword [rsp + 0x4f0]
cmp qword [rax + 8], 0
jne 0x1400c6b8e
lea rcx, str.no_IDAT
call fcn.1400b5ff0
jmp 0x1400c6f81
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x4f0]
mov eax, dword [rax]
imul eax, dword [rcx + 0x20]
add eax, 7
xor edx, edx
mov ecx, 8
div ecx
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0xa0]
imul ecx, dword [rax + 4]
mov eax, ecx
mov rcx, qword [rsp + 0x48]
imul eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x48]
add eax, dword [rcx + 4]
mov dword [rsp + 0xb4], eax
cmp dword [rsp + 0x80], 0
jne 0x1400c6bf5
mov dword [rsp + 0x90], 1
jmp 0x1400c6c00
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0xb4]
mov r8d, dword [rsp + 0xb4]
mov edx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x4f0]
mov rcx, qword [rax + 8]
call fcn.1400c3ae0
mov rcx, qword [rsp + 0x4f0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x4f0]
cmp qword [rax + 0x10], 0
jne 0x1400c6c52
xor eax, eax
jmp 0x1400c6f81
mov rax, qword [rsp + 0x4f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x4f0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
inc eax
cmp dword [rsp + 0x500], eax
jne 0x1400c6c9a
cmp dword [rsp + 0x500], 3
je 0x1400c6c9a
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400c6ca3
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400c6cb7
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0xc], eax
jmp 0x1400c6cc7
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 8]
mov dword [rax + 0xc], ecx
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x4f0]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax + 0xc]
mov r8d, dword [rsp + 0xb4]
mov rax, qword [rsp + 0x4f0]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x4f0]
call fcn.1400c54f0
test eax, eax
jne 0x1400c6d1b
xor eax, eax
jmp 0x1400c6f81
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400c6d86
mov rax, qword [rsp + 0x4f0]
cmp dword [rax + 0x20], 0x10
jne 0x1400c6d5d
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0xc]
lea rdx, [rsp + 0xbc]
mov rcx, qword [rsp + 0x4f0]
call fcn.1400c5b50
test eax, eax
jne 0x1400c6d5b
xor eax, eax
jmp 0x1400c6f81
jmp 0x1400c6d86
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0xc]
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x4f0]
call fcn.1400c59c0
test eax, eax
jne 0x1400c6d86
xor eax, eax
jmp 0x1400c6f81
cmp dword [rsp + 0x80], 0
je 0x1400c6df7
mov eax, Ordinal_32
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
cmp dword [rax + rcx], 0
je 0x1400c6dc8
mov eax, reloc.WLDAP32.dll_Ordinal_32
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
mov dword [rsp + 0x94], eax
jmp 0x1400c6dd5
mov eax, dword [0x14022d6cc]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x1400c6df7
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0xc], 2
jle 0x1400c6df7
mov rcx, qword [rsp + 0x4f0]
call fcn.1400c5f30
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400c6e63
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 8], eax
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0xc], eax
cmp dword [rsp + 0x500], 3
jl 0x1400c6e33
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x500]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax + 0xc]
mov r8d, dword [rsp + 0x74]
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x4f0]
call fcn.1400c5cf0
test eax, eax
jne 0x1400c6e61
xor eax, eax
jmp 0x1400c6f81
jmp 0x1400c6e7e
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400c6e7e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x4f0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x4f0]
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0x48]
call fcn.1400b7200
mov eax, 1
jmp 0x1400c6f81
cmp dword [rsp + 0x78], 0
je 0x1400c6ecc
lea rcx, str.first_not_IHDR
call fcn.1400b5ff0
jmp 0x1400c6f81
mov eax, dword [rsp + 0x5c]
and eax, 0x20000000
test eax, eax
jne 0x1400c6f64
mov eax, dword [rsp + 0x5c]
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
lea rdx, str.XXXX_PNG_chunk_not_known
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x5c]
shr eax, 0x10
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 1
lea rdx, str.XXXX_PNG_chunk_not_known
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x5c]
shr eax, 8
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 2
lea rdx, str.XXXX_PNG_chunk_not_known
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x5c]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 3
lea rdx, str.XXXX_PNG_chunk_not_known
mov byte [rdx + rcx], al
lea rcx, str.XXXX_PNG_chunk_not_known
call fcn.1400b5ff0
jmp 0x1400c6f81
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.1400b6f70
mov rcx, qword [rsp + 0x48]
call fcn.1400b7200
jmp 0x1400c630a
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140167f50
add rsp, 0x4e0
pop rdi
ret