Function at 0x18004e900
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1390]
mov eax, 0x1490
call fcn.1800682e0
sub rsp, rax
mov rax, qword [0x1801b9588]
xor rax, rsp
mov qword [rbp + 0x1380], rax
mov r12, rcx
mov dword [rsp + 0x5c], r8d
xor ecx, ecx
mov dword [rsp + 0x48], edx
xor eax, eax
mov dword [rsp + 0x4c], ecx
xor r15b, r15b
mov dword [rsp + 0x54], ecx
mov rbx, qword [r12]
mov r14d, ecx
mov r13d, ecx
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], ecx
mov edi, edx
mov qword [r12 + 0x10], rcx
mov qword [r12 + 8], rcx
mov qword [r12 + 0x18], rcx
mov byte [rsp + 0x41], r15b
mov r15d, ecx
mov rcx, rbx
mov byte [rsp + 0x40], 0
mov word [rbp + 0xf70], ax
mov byte [rbp + 0xf72], al
mov dword [rsp + 0x44], 1
call fcn.180046820
test eax, eax
je 0x18004f7ea
cmp edi, 1
je 0x18004f788
mov rcx, rbx
call fcn.180049160
mov rcx, rbx
mov esi, eax
call fcn.180049160
shl esi, 0x10
mov rcx, rbx
add esi, eax
mov dword [rsp + 0x60], esi
call fcn.180049160
mov rcx, rbx
mov edi, eax
call fcn.180049160
shl edi, 0x10
lea edx, [rdi + rax]
mov dword [rsp + 0x64], edx
mov rcx, qword [rsp + 0x60]
shr rcx, 0x20
cmp ecx, 0x49484452
ja 0x18004ede8
je 0x18004eb55
cmp ecx, 0x43674249
je 0x18004eaec
cmp ecx, 0x49444154
je 0x18004ea53
cmp ecx, 0x49454e44
jne 0x18004edfc
cmp dword [rsp + 0x44], 0
je 0x18004f0cb
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.first_not_IHDR
jmp 0x18004f7e1
cmp dword [rsp + 0x44], 0
jne 0x18004ea34
movzx eax, byte [rsp + 0x40]
test al, al
je 0x18004ea6c
test r15d, r15d
je 0x18004f5ba
cmp dword [rsp + 0x48], 2
je 0x18004f5f8
mov eax, dword [rsp + 0x4c]
lea edi, [rsi + rax]
cmp edi, eax
jl 0x18004f7ea
cmp edi, r14d
jbe 0x18004eac9
test r14d, r14d
jne 0x18004ea9d
mov r14d, 0x1000
cmp esi, r14d
cmova r14d, esi
cmp edi, r14d
jbe 0x18004eaaa
add r14d, r14d
cmp edi, r14d
ja 0x18004eaa2
mov rcx, qword [r12 + 8]
mov edx, r14d
call fcn.180079da0
test rax, rax
je 0x18004f572
mov qword [r12 + 8], rax
mov eax, dword [rsp + 0x4c]
mov edx, eax
mov r8d, esi
add rdx, qword [r12 + 8]
mov rcx, rbx
call fcn.1800493f0
test eax, eax
je 0x18004f5d9
mov dword [rsp + 0x4c], edi
jmp 0x18004f0b6
mov dword [rsp + 0x50], 1
test esi, esi
je 0x18004f0b6
jns 0x18004eb11
mov rax, qword [rbx + 0xc8]
mov qword [rbx + 0xc0], rax
jmp 0x18004f0b6
cmp qword [rbx + 0x10], 0
je 0x18004eb46
mov ecx, dword [rbx + 0xc8]
sub ecx, dword [rbx + 0xc0]
cmp ecx, esi
jge 0x18004eb46
mov rax, qword [rbx + 0xc8]
sub esi, ecx
mov rcx, qword [rbx + 0x28]
mov edx, esi
mov qword [rbx + 0xc0], rax
call qword [rbx + 0x18]
jmp 0x18004f0b6
movsxd rax, esi
add qword [rbx + 0xc0], rax
jmp 0x18004f0b6
cmp dword [rsp + 0x44], 0
je 0x18004f6e1
mov dword [rsp + 0x44], 0
cmp esi, 0xd
jne 0x18004f6c2
mov rcx, rbx
call fcn.180049160
mov rcx, rbx
mov edi, eax
call fcn.180049160
shl edi, 0x10
mov rcx, rbx
add eax, edi
mov dword [rbx], eax
call fcn.180049160
mov rcx, rbx
mov edi, eax
call fcn.180049160
shl edi, 0x10
lea ecx, [rax + rdi]
mov dword [rbx + 4], ecx
cmp ecx, 0x1000000
ja 0x18004edc9
cmp dword [rbx], 0x1000000
ja 0x18004edc9
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x18004ebdc
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004ec02
cmp dword [rbx + 0x30], 0
je 0x18004ec00
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004ec02
xor cl, cl
movzx eax, cl
mov dword [r12 + 0x20], eax
cmp eax, 1
je 0x18004ec26
cmp eax, 0x10
ja 0x18004f608
mov ecx, 0x10114
bt ecx, eax
jae 0x18004f608
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x18004ec45
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004ec6b
cmp dword [rbx + 0x30], 0
je 0x18004ec69
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004ec6b
xor cl, cl
movzx edi, cl
mov dword [rsp + 0x58], edi
cmp edi, 6
ja 0x18004f627
cmp edi, 3
jne 0x18004ec97
cmp dword [r12 + 0x20], 0x10
je 0x18004f627
movzx esi, dil
mov byte [rsp + 0x40], dil
jmp 0x18004eca6
test dil, 1
jne 0x18004f627
movzx esi, byte [rsp + 0x40]
cmp rax, qword [rbx + 0xc8]
jb 0x18004ecc4
cmp dword [rbx + 0x30], 0
je 0x18004ecd9
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
test cl, cl
jne 0x18004f646
cmp rax, qword [rbx + 0xc8]
jb 0x18004ecf7
cmp dword [rbx + 0x30], 0
je 0x18004ed0c
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
test cl, cl
jne 0x18004f665
cmp rax, qword [rbx + 0xc8]
jae 0x18004ed24
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004ed4a
cmp dword [rbx + 0x30], 0
je 0x18004ed48
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004ed4a
xor cl, cl
movzx r13d, cl
mov dword [rsp + 0x54], r13d
cmp r13d, 1
ja 0x18004f6a3
mov ecx, dword [rbx]
test ecx, ecx
je 0x18004f684
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x18004f684
xor edx, edx
mov eax, 0x40000000
div ecx
test sil, sil
jne 0x18004edb6
xor edx, edx
mov r8d, edi
shr r8d, 2
mov ecx, edi
and ecx, 2
and r8d, 1
or ecx, 1
add r8d, ecx
div r8d
mov dword [rbx + 8], r8d
cmp eax, r9d
jb 0x18004edc9
cmp dword [rsp + 0x48], 2
je 0x18004f788
jmp 0x18004f0b6
shr eax, 2
mov dword [rbx + 8], 1
cmp eax, r9d
jae 0x18004f0b6
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.too_large
jmp 0x18004f7e1
cmp ecx, 0x504c5445
je 0x18004ef64
cmp ecx, 0x74524e53
je 0x18004ee20
cmp dword [rsp + 0x44], 0
jne 0x18004ea34
bt edx, 0x1d
jae 0x18004f700
mov edx, esi
mov rcx, rbx
call fcn.180053d60
jmp 0x18004f0b6
cmp dword [rsp + 0x44], 0
jne 0x18004ea34
cmp qword [r12 + 8], 0
jne 0x18004f7ab
cmp byte [rsp + 0x40], 0
je 0x18004eece
cmp dword [rsp + 0x48], 2
je 0x18004f781
test r15d, r15d
je 0x18004f765
cmp esi, r15d
ja 0x18004f749
xor edi, edi
mov byte [rsp + 0x40], 4
test esi, esi
je 0x18004f0b6
nop
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x18004ee8f
movzx edx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004eeb5
cmp dword [rbx + 0x30], 0
je 0x18004eeb3
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
movzx edx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x18004eeb5
xor dl, dl
lea eax, [rdi*4 + 3]
inc edi
mov byte [rbp + rax + 0xf80], dl
cmp edi, esi
jb 0x18004ee70
jmp 0x18004f0b6
mov ecx, dword [rbx + 8]
test cl, 1
je 0x18004f78f
lea eax, [rcx + rcx]
cmp esi, eax
jne 0x18004f749
xor esi, esi
mov byte [rsp + 0x41], 1
cmp dword [r12 + 0x20], 0x10
jne 0x18004ef1e
test ecx, ecx
jle 0x18004f0b6
lea rdi, [rbp + 0xf74]
mov rcx, rbx
call fcn.180049160
inc esi
mov word [rdi], ax
lea rdi, [rdi + 2]
cmp esi, dword [rbx + 8]
jl 0x18004ef03
jmp 0x18004f0b6
test ecx, ecx
jle 0x18004f0b6
lea rdi, [rbp + 0xf70]
lea r13, [0x18019ba30]
mov rcx, rbx
call fcn.180049160
movsxd rcx, dword [r12 + 0x20]
lea rdi, [rdi + 1]
movzx eax, al
inc esi
movzx edx, byte [rcx + r13]
imul eax, edx
mov byte [rdi - 1], al
cmp esi, dword [rbx + 8]
jl 0x18004ef34
mov r13d, dword [rsp + 0x54]
jmp 0x18004f0b6
cmp dword [rsp + 0x44], 0
jne 0x18004ea34
cmp esi, 0x300
ja 0x18004f7c7
mov eax, 0xaaaaaaab
mul esi
mov r15d, edx
shr r15d, 1
lea eax, [r15 + r15*2]
cmp eax, esi
jne 0x18004f7c7
xor esi, esi
test r15d, r15d
je 0x18004f0b6
mov r8, qword [rbx + 0xc0]
nop word [rax + rax]
mov rdx, qword [rbx + 0xc8]
cmp r8, rdx
jae 0x18004efcc
movzx ecx, byte [r8]
inc r8
mov qword [rbx + 0xc0], r8
jmp 0x18004effa
cmp dword [rbx + 0x30], 0
je 0x18004eff8
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
mov rdx, qword [rbx + 0xc8]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [rbx + 0xc0], r8
jmp 0x18004effa
xor cl, cl
lea edi, [rsi*4]
mov byte [rbp + rdi + 0xf80], cl
cmp r8, rdx
jae 0x18004f01d
movzx r9d, byte [r8]
inc r8
mov qword [rbx + 0xc0], r8
jmp 0x18004f04d
cmp dword [rbx + 0x30], 0
je 0x18004f04a
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
mov rdx, qword [rbx + 0xc8]
movzx r9d, byte [rax]
lea r8, [rax + 1]
mov qword [rbx + 0xc0], r8
jmp 0x18004f04d
xor r9b, r9b
lea eax, [rdi + 1]
mov byte [rbp + rax + 0xf80], r9b
cmp r8, rdx
jae 0x18004f06d
movzx edx, byte [r8]
inc r8
mov qword [rbx + 0xc0], r8
jmp 0x18004f094
cmp dword [rbx + 0x30], 0
je 0x18004f092
mov rcx, rbx
call fcn.180053600
mov rax, qword [rbx + 0xc0]
movzx edx, byte [rax]
lea r8, [rax + 1]
mov qword [rbx + 0xc0], r8
jmp 0x18004f094
xor dl, dl
lea eax, [rdi + 2]
inc esi
mov byte [rbp + rax + 0xf80], dl
lea eax, [rdi + 3]
mov ecx, eax
mov byte [rbp + rax + 0xf80], 0xff
cmp esi, r15d
jb 0x18004efb0
mov rcx, rbx
call fcn.180049160
mov rcx, rbx
call fcn.180049160
jmp 0x18004e9b7
cmp dword [rsp + 0x48], 0
jne 0x18004f788
mov rsi, qword [r12 + 8]
test rsi, rsi
jne 0x18004f0ff
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.no_IDAT
jmp 0x18004f7e1
mov edi, dword [rbx]
imul edi, dword [r12 + 0x20]
add edi, 7
shr edi, 3
imul edi, dword [rbx + 8]
inc edi
imul edi, dword [rbx + 4]
movsxd r14, edi
mov rcx, r14
call fcn.180074b18
mov rcx, rax
test rax, rax
jne 0x18004f133
mov esi, dword [rsp + 0x50]
xor r14d, r14d
jmp 0x18004f18e
movsxd rax, dword [rsp + 0x4c]
add rax, rsi
mov qword [rsp + 0x70], rsi
mov esi, dword [rsp + 0x50]
mov qword [rsp + 0x78], rax
lea rax, [rcx + r14]
xor r14d, r14d
mov qword [rbp - 0x70], rcx
mov edx, r14d
mov qword [rbp - 0x78], rcx
test esi, esi
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x70]
mov dword [rbp - 0x60], 1
sete dl
call fcn.18004f9b0
test eax, eax
je 0x18004f185
mov edi, dword [rbp - 0x78]
sub edi, dword [rbp - 0x70]
mov rax, qword [rbp - 0x70]
jmp 0x18004f191
mov rcx, qword [rbp - 0x70]
call fcn.180074b04
mov rax, r14
mov qword [r12 + 0x10], rax
test rax, rax
je 0x18004f7ea
mov rcx, qword [r12 + 8]
call fcn.180074b04
mov ecx, dword [rsp + 0x5c]
mov qword [r12 + 8], r14
mov eax, dword [rbx + 8]
movzx r14d, byte [rsp + 0x40]
lea r9d, [rax + 1]
cmp ecx, r9d
jne 0x18004f1d2
cmp ecx, 3
je 0x18004f1d2
test r14b, r14b
je 0x18004f272
movzx r15d, byte [rsp + 0x41]
test r15b, r15b
jne 0x18004f1e0
mov r9d, eax
mov eax, dword [rsp + 0x58]
mov r8d, edi
mov dword [rbx + 0xc], r9d
mov rcx, r12
mov rdx, qword [r12 + 0x10]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
mov eax, dword [r12 + 0x20]
mov dword [rsp + 0x20], eax
call fcn.1800476e0
test eax, eax
je 0x18004f7ea
test r15b, r15b
je 0x18004f330
mov rcx, qword [r12]
mov eax, dword [rcx + 4]
imul eax, dword [rcx]
cmp dword [r12 + 0x20], 0x10
mov rcx, qword [r12 + 0x18]
jne 0x18004f2bb
test eax, eax
je 0x18004f330
cmp dword [rbx + 0xc], 2
jne 0x18004f27d
movzx r8d, word [rbp + 0xf74]
xor r13d, r13d
mov edx, eax
cmp word [rcx], r8w
lea rcx, [rcx + 4]
mov eax, 0xffff
cmove ax, r13w
mov word [rcx - 2], ax
sub rdx, 1
jne 0x18004f251
jmp 0x18004f333
movzx r15d, byte [rsp + 0x41]
jmp 0x18004f1e0
movzx edx, word [rbp + 0xf78]
movzx r8d, word [rbp + 0xf76]
movzx r9d, word [rbp + 0xf74]
xor r13d, r13d
cmp word [rcx], r9w
jne 0x18004f2af
cmp word [rcx + 2], r8w
jne 0x18004f2af
cmp word [rcx + 4], dx
jne 0x18004f2af
mov word [rcx + 6], r13w
add rcx, 8
sub rax, 1
jne 0x18004f294
jmp 0x18004f333
test eax, eax
je 0x18004f330
cmp dword [rbx + 0xc], 2
jne 0x18004f2fb
movzx r8d, byte [rbp + 0xf70]
xor r13d, r13d
mov edx, eax
nop dword [rax]
nop word [rax + rax]
cmp byte [rcx], r8b
lea rcx, [rcx + 2]
mov eax, 0xff
cmove eax, r13d
mov byte [rcx - 1], al
sub rdx, 1
jne 0x18004f2e0
jmp 0x18004f333
movzx edx, byte [rbp + 0xf72]
movzx r8d, byte [rbp + 0xf71]
movzx r9d, byte [rbp + 0xf70]
cmp byte [rcx], r9b
jne 0x18004f326
cmp byte [rcx + 1], r8b
jne 0x18004f326
cmp byte [rcx + 2], dl
jne 0x18004f326
mov byte [rcx + 3], 0
add rcx, 4
sub rax, 1
jne 0x18004f312
xor r13d, r13d
test esi, esi
je 0x18004f44a
cmp dword [0x1801ba148], 0
je 0x18004f44a
cmp dword [rbx + 0xc], 2
jle 0x18004f44a
mov rax, qword [r12]
mov r10, qword [r12 + 0x18]
mov ecx, dword [rax + 4]
imul ecx, dword [rax]
test ecx, ecx
je 0x18004f44a
cmp dword [rax + 0xc], 3
jne 0x18004f39f
mov edx, ecx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
movzx eax, byte [r10 + 2]
mov byte [r10], al
mov byte [r10 + 2], cl
lea r10, [r10 + 3]
sub rdx, 1
jne 0x18004f380
jmp 0x18004f44a
cmp dword [0x1801ba144], 0
je 0x18004f426
mov esi, ecx
nop word [rax + rax]
movzx eax, byte [r10 + 3]
movzx ecx, byte [r10]
movzx edi, byte [r10 + 2]
test al, al
je 0x18004f40b
movzx r9d, al
xor edx, edx
movzx eax, byte [r10 + 1]
mov r8d, r9d
imul eax, eax, 0xff
shr r8d, 1
add eax, r8d
div r9d
xor edx, edx
mov byte [r10 + 1], al
movzx eax, cl
imul eax, eax, 0xff
movzx ecx, dil
add eax, r8d
div r9d
xor edx, edx
mov r11d, eax
imul eax, ecx, 0xff
add eax, r8d
div r9d
jmp 0x18004f413
movzx r11d, cl
movzx eax, dil
mov byte [r10], al
mov byte [r10 + 2], r11b
add r10, 4
sub rsi, 1
jne 0x18004f3b0
jmp 0x18004f44a
mov edx, ecx
nop dword [rax + rax]
movzx ecx, byte [r10]
movzx eax, byte [r10 + 2]
mov byte [r10], al
mov byte [r10 + 2], cl
lea r10, [r10 + 4]
sub rdx, 1
jne 0x18004f430
test r14b, r14b
je 0x18004f591
mov eax, dword [rsp + 0x5c]
movzx esi, r14b
mov dword [rbx + 8], esi
mov dword [rbx + 0xc], esi
cmp eax, 3
jl 0x18004f46b
mov dword [rbx + 0xc], eax
mov esi, eax
mov rax, qword [r12]
mov rdi, qword [r12 + 0x18]
mov r14d, dword [rax + 4]
imul r14d, dword [rax]
test r14d, r14d
js 0x18004f572
test esi, esi
js 0x18004f572
je 0x18004f4a0
mov eax, 0x7fffffff
cdq
idiv esi
cmp r14d, eax
jg 0x18004f572
mov eax, esi
imul eax, r14d
movsxd rcx, eax
call fcn.180074b18
mov r15, rax
test rax, rax
je 0x18004f572
test r14d, r14d
je 0x18004f561
mov r9d, r14d
lea r8, [rax + 2]
cmp esi, 3
jne 0x18004f520
nop
movzx edx, byte [rdi]
lea r8, [r8 + 3]
lea rdi, [rdi + 1]
movzx eax, byte [rbp + rdx*4 + 0xf80]
movzx ecx, byte [rbp + rdx*4 + 0xf82]
mov byte [r8 - 5], al
movzx eax, byte [rbp + rdx*4 + 0xf81]
mov byte [r8 - 4], al
mov byte [r8 - 3], cl
sub r9, 1
jne 0x18004f4d0
mov rcx, qword [r12 + 0x18]
call fcn.180074b04
mov qword [r12 + 0x18], r15
jmp 0x18004f599
movzx edx, byte [rdi]
lea r8, [r8 + 4]
lea rdi, [rdi + 1]
movzx eax, byte [rbp + rdx*4 + 0xf80]
movzx ecx, byte [rbp + rdx*4 + 0xf83]
mov byte [r8 - 6], al
movzx eax, byte [rbp + rdx*4 + 0xf81]
mov byte [r8 - 5], al
movzx eax, byte [rbp + rdx*4 + 0xf82]
mov byte [r8 - 4], al
mov byte [r8 - 3], cl
sub r9, 1
jne 0x18004f520
mov rcx, qword [r12 + 0x18]
call fcn.180074b04
mov qword [r12 + 0x18], r15
jmp 0x18004f599
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.outofmem
jmp 0x18004f7e1
test r15b, r15b
je 0x18004f599
inc dword [rbx + 8]
mov rcx, qword [r12 + 0x10]
call fcn.180074b04
mov rcx, rbx
mov qword [r12 + 0x10], r13
call fcn.1800492c0
mov eax, 1
jmp 0x18004f7ec
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.no_PLTE
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.outofdata
jmp 0x18004f7e1
movzx eax, al
mov dword [rbx + 8], eax
mov eax, 1
jmp 0x18004f7ec
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.1_2_4_8_16_bit_only
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.bad_ctype
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.bad_comp_method
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.bad_filter_method
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.0_pixel_image
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.bad_interlace_method
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.bad_IHDR_len
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.multiple_IHDR
jmp 0x18004f7e1
mov eax, edx
shr eax, 0x18
mov byte [str.XXXX_PNG_chunk_not_known], al
mov eax, edx
shr eax, 0x10
mov byte [0x1801b92e1], al
movzx eax, byte [rsp + 0x64]
shr edx, 8
mov byte [0x1801b92e3], al
mov rax, qword gs:[0x58]
mov byte [0x1801b92e2], dl
mov edx, dword [0x1801bd240]
mov rax, qword [rax + rdx*8]
lea rdx, str.XXXX_PNG_chunk_not_known
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.bad_tRNS_len
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.tRNS_before_PLTE
jmp 0x18004f7e1
mov dword [rbx + 8], 4
mov eax, 1
jmp 0x18004f7ec
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.tRNS_with_alpha
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.tRNS_after_IDAT
jmp 0x18004f7e1
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdx*8]
lea rdx, str.invalid_PLTE
mov ecx, 0x10
mov qword [rcx + rax], rdx
xor eax, eax
mov rcx, qword [rbp + 0x1380]
xor rcx, rsp
call fcn.1800682a0
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret