Function at 0x1402f8990
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
call fcn.1403b4520
test rax, rax
je 0x1402f8820
add rsp, 0x38
pop rbx
pop rsi
ret
mov ecx, dword [rbx + 0x3c]
call fcn.1403765b0
mov ecx, dword [rbx + 0x40]
mov rsi, rax
call fcn.1403765b0
lea r8, str.No_accelerated_colorspace_conversion_found_from__s_to__s._n
mov r9, rax
mov qword [rsp + 0x20], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.14036cf30
cmp dword [rbx + 0x3c], 0x3c
ja case.0x1402f886a.0
mov edx, dword [rbx + 0x3c]
lea rax, [0x14042df7c]
movsxd rdx, dword [rax + rdx*4]
add rax, rdx
jmp rax
mov ebx, dword [rbx + 0x40]
mov ecx, ebx
call fcn.1403768d0
test rax, rax
mov rdx, rax
je 0x1402f895b
cmp ebx, 0xb
lea rax, [0x1402f3850]
je 0x1402f8813
test byte [rdx + 0x10], 0x80
lea rdx, [0x1402f3270]
cmove rax, rdx
jmp 0x1402f8813
lea rax, [0x1402f2a10]
jmp 0x1402f8813
mov esi, dword [rbx + 0x40]
mov ecx, esi
call fcn.1403768d0
test rax, rax
je 0x1402f895b
cmp esi, 0xb
je 0x1402f88d0
test byte [rax + 0x10], 0x80
je case.0x1402f886a.26
lea rax, [0x1402f4030]
jmp 0x1402f8813
lea rax, [0x1402f7bd0]
jmp 0x1402f8813
lea rax, [0x1402f71e0]
jmp 0x1402f8813
lea rax, [0x1402f6890]
jmp 0x1402f8813
lea rax, [0x1402f8520]
jmp 0x1402f8813
lea rax, [0x1402f63f0]
jmp 0x1402f8813
lea rax, [0x1402f5d30]
jmp 0x1402f8813
lea rax, [0x1402f5580]
jmp 0x1402f8813
lea rax, [0x1402f21b0]
jmp 0x1402f8813
lea rax, [0x1402f4e80]
jmp 0x1402f8813
lea rax, [0x1402f4780]
jmp 0x1402f8813
xor eax, eax
jmp 0x1402f8813
lea rax, [0x14042df5e]
lea r9, [0x14042df3b]
lea r8, [0x14042df40]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x30b
mov qword [rsp + 0x20], rax
call fcn.14036cf30
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov qword [rsp + 0xf0], rcx
mov ecx, dword [rcx + 0x40]
mov qword [rsp + 0xf8], rdx
mov qword [rsp + 0x100], r8
mov dword [rsp + 0x108], r9d
call fcn.1403768d0
mov qword [rsp + 0x70], rax
movzx ebx, byte [rax + 8]
mov rax, qword [rsp + 0xf0]
mov esi, dword [rax + 0x40]
mov ecx, esi
call fcn.1403768d0
test rax, rax
je 0x1402f97d0
test byte [rax + 0x10], 0xa
mov dword [rsp + 0x68], 3
jne 0x1402f8a15
cmp byte [rax + 8], 2
ja 0x1402f8a15
sub esi, 9
cmp esi, 2
sbb eax, eax
and eax, 2
add eax, 1
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x70]
mov edx, 1
mov rdi, qword [rsp + 0xf0]
mov r13d, dword [rax + 0x28]
mov eax, edx
lea r8d, [r13 - 1]
mov ecx, r8d
shl eax, cl
mov ecx, r13d
shl edx, cl
mov ecx, r8d
mov r9d, eax
lea r12d, [rdx - 1]
mov edx, 3
shr r9d, 0x1f
shl edx, cl
add r9d, eax
mov dword [rsp + 0x30], eax
mov ecx, edx
sar r9d, 1
shr ecx, 0x1f
add edx, ecx
sar edx, 1
cmp dword [rdi + 0xcf00], 2
mov r8d, edx
je 0x1402f9729
cmp dword [rsp + 0x68], 1
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x8c], 0
je 0x1402f8ad6
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rdi + 0x10]
test dl, 0x20
jne 0x1402f9781
mov dword [rsp + 0x84], eax
mov ecx, eax
cmp dword [rsp + 0x68], 3
mov dword [rsp + 0x90], ecx
jne 0x1402f8ad6
and edx, 0x20
je 0x1402f971d
mov dword [rsp + 0x88], 0
xor eax, eax
mov dword [rsp + 0x94], eax
lea eax, [rbx - 1]
cmp dword [rsp + 0x68], eax
jne 0x1402f97ed
mov rax, qword [rsp + 0x70]
test byte [rax + 0x10], 0x10
je 0x1402f91ec
mov eax, dword [rsp + 0x110]
mov rdi, qword [rsp + 0x100]
xor r14d, r14d
mov ebp, 0xff
neg eax
mov dword [rsp + 0x7c], eax
movsxd rax, dword [rsp + 0x68]
lea rdi, [rdi + rax*4]
mov qword [rsp + 0x40], rdi
mov rdi, qword [rsp + 0xf8]
lea rax, [rdi + rax*8]
mov qword [rsp + 0x48], rax
test r14, r14
movsxd rdi, r14d
mov rax, qword [rsp + 0xf0]
je 0x1402f980a
mov rbx, qword [rsp + 0x70]
mov esi, dword [rax + 0x1c]
movzx eax, byte [rbx + 9]
movzx ebx, byte [rbx + 0xa]
mov dword [rsp + 0x78], ebx
mov r8d, ebx
mov edx, dword [rsp + 0x7c]
mov ebx, dword [rsp + 0x108]
mov ecx, r8d
sar edx, cl
sar ebx, cl
mov ecx, r8d
neg edx
or eax, ecx
mov dword [rsp + 0x34], edx
cmp ebx, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
jge 0x1402f8c78
mov r10d, dword [rsp + 0x38]
test r10d, r10d
je 0x1402f8ca0
cmp r13d, 8
mov rax, qword [rsp + 0x40]
jg 0x1402f8df5
movsxd r9, dword [rax]
mov rax, qword [rsp + 0xf8]
mov r8d, ebx
mov r10, qword [rax + r14*8]
mov rax, qword [rsp + 0x100]
imul r8d, r9d
mov edx, dword [rax + r14*4]
mov eax, dword [rsp + 0x78]
mov ecx, eax
shl r8d, cl
mov rcx, qword [rsp + 0x48]
movsxd r8, r8d
imul edx, ebx
add r8, qword [rcx]
mov rcx, qword [rsp + 0x118]
movsxd rdx, edx
mov r15, qword [rcx + r14*8]
mov rcx, qword [rsp + 0x120]
mov r11d, dword [rcx + r14*4]
imul r11d, ebx
test esi, esi
movsxd r11, r11d
jle 0x1402f8c6b
test eax, eax
jne 0x1402f8d70
xor eax, eax
add r11, r15
add r10, rdx
movzx edx, byte [r8 + rax*2]
movzx ecx, byte [r8 + rax*2 + 1]
add ecx, edx
mov edx, ebx
xor edx, eax
sar ecx, 1
sar edx, 5
and edx, 1
lea r9, [rdx + rdx]
add rdx, r9
mov r9d, ebp
add rdx, rdi
sub r9d, ecx
imul r9d, dword [rsp + rdx*4 + 0x80]
mov edx, r9d
movzx r9d, byte [r10 + rax]
imul ecx, r9d
lea edx, [rdx + rcx + 0x80]
mov ecx, edx
shl ecx, 8
add edx, ecx
shr edx, 0x10
mov byte [r11 + rax], dl
add rax, 1
cmp esi, eax
jg 0x1402f8c10
add ebx, 1
cmp ebx, dword [rsp + 0x34]
jl 0x1402f8b84
add r14, 1
cmp dword [rsp + 0x68], r14d
jg 0x1402f8b2e
xor eax, eax
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp r13d, 8
jg 0x1402f8f80
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x120]
mov r11, qword [rax + r14*8]
mov eax, dword [rcx + r14*4]
mov rcx, qword [rsp + 0x48]
imul eax, ebx
mov r10, qword [rcx]
mov rcx, qword [rsp + 0x40]
cdqe
mov r8d, dword [rcx]
mov rcx, qword [rsp + 0x118]
mov r9, qword [rcx + r14*8]
mov ecx, dword [rdx + r14*4]
imul r8d, ebx
imul ecx, ebx
test esi, esi
movsxd r8, r8d
movsxd rcx, ecx
jle 0x1402f8c6b
add r10, r8
lea r8, [r11 + rax]
xor edx, edx
add r9, rcx
mov eax, ebx
movzx ecx, byte [r10 + rdx]
xor eax, edx
sar eax, 5
and eax, 1
lea r11, [rax + rax]
add rax, r11
mov r11d, ebp
add rax, rdi
sub r11d, ecx
imul r11d, dword [rsp + rax*4 + 0x80]
mov eax, r11d
movzx r11d, byte [r8 + rdx]
imul ecx, r11d
lea eax, [rax + rcx + 0x80]
mov ecx, eax
shl ecx, 8
add eax, ecx
shr eax, 0x10
mov byte [r9 + rdx], al
add rdx, 1
cmp esi, edx
jg 0x1402f8d10
add ebx, 1
jmp 0x1402f8c6e
xor ecx, ecx
add r11, r15
add r10, rdx
add r9, r8
nop dword [rax + rax]
movzx eax, byte [r8 + rcx*2 + 1]
movzx edx, byte [r8 + rcx*2]
lea edx, [rdx + rax + 2]
movzx eax, byte [r9 + rcx*2]
add edx, eax
movzx eax, byte [r9 + rcx*2 + 1]
add edx, eax
mov eax, ebx
xor eax, ecx
sar edx, 2
sar eax, 5
and eax, 1
lea r15, [rax + rax]
add rax, r15
mov r15d, ebp
add rax, rdi
sub r15d, edx
imul r15d, dword [rsp + rax*4 + 0x80]
mov eax, r15d
movzx r15d, byte [r10 + rcx]
imul edx, r15d
lea eax, [rax + rdx + 0x80]
mov edx, eax
shl edx, 8
add eax, edx
shr eax, 0x10
mov byte [r11 + rcx], al
add rcx, 1
cmp esi, ecx
jg 0x1402f8d80
add ebx, 1
jmp 0x1402f8c6e
mov edx, dword [rax]
mov rax, qword [rsp + 0x100]
movzx ecx, byte [rsp + 0x78]
mov r8d, dword [rax + r14*4]
mov rax, qword [rsp + 0xf8]
mov r15d, edx
imul edx, ebx
sar r15d, 1
imul r8d, ebx
shl edx, cl
movsxd rdx, edx
movsxd r8, r8d
add r8, qword [rax + r14*8]
mov rax, qword [rsp + 0x48]
add rdx, qword [rax]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x60], r8
mov r9d, dword [rax + r14*4]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rdx
imul r9d, ebx
movsxd r9, r9d
add r9, qword [rax + r14*8]
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rax + 0x40]
mov qword [rsp + 0x50], r9
call fcn.1403768d0
test rax, rax
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
je 0x1402f97a0
test byte [rax + 0x10], 1
je 0x1402f90b0
test esi, esi
jle 0x1402f8c6b
movsxd r15, r15d
xor r10d, r10d
mov ecx, r13d
lea r11, [rdx + r15*2]
mov qword [rsp + 0x50], r14
mov r15d, dword [rsp + 0x78]
jmp 0x1402f8f4c
lea r13d, [r13 + rax + 2]
movzx eax, word [r11]
rol ax, 8
movzx eax, ax
add r13d, eax
movzx eax, word [r11 + 2]
rol ax, 8
movzx eax, ax
add eax, r13d
sar eax, 2
xor r14d, ebx
sar r14d, 5
and r14d, 1
lea r13, [r14 + r14]
add r14, r13
mov r13d, r12d
add r14, rdi
sub r13d, eax
imul r13d, dword [rsp + r14*4 + 0x80]
mov r14d, r13d
movzx r13d, word [r8 + r10*2]
rol r13w, 8
movzx r13d, r13w
imul eax, r13d
add eax, dword [rsp + 0x30]
add r14d, eax
mov eax, r14d
shr eax, cl
add r14d, eax
xor eax, eax
shr r14d, cl
test r14d, r14d
js 0x1402f8f36
cmp r12d, r14d
cmovle r14d, r12d
mov eax, r14d
mov word [r9 + r10*2], ax
add r10, 1
add r11, 4
cmp esi, r10d
jle 0x1402f90a0
movzx r13d, word [rdx + r10*4]
movzx eax, word [rdx + r10*4 + 2]
mov r14d, r10d
rol r13w, 8
rol ax, 8
test r15d, r15d
movzx r13d, r13w
movzx eax, ax
jne 0x1402f8eb5
add eax, r13d
sar eax, 1
jmp 0x1402f8eda
mov rax, qword [rsp + 0x100]
mov r15d, dword [rax + r14*4]
mov rax, qword [rsp + 0xf8]
imul r15d, ebx
movsxd r15, r15d
add r15, qword [rax + r14*8]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x48]
imul r8d, ebx
movsxd r8, r8d
add r8, qword [rax]
mov rax, qword [rsp + 0x120]
mov r9d, dword [rax + r14*4]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], r8
imul r9d, ebx
movsxd r9, r9d
add r9, qword [rax + r14*8]
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rax + 0x40]
mov qword [rsp + 0x50], r9
call fcn.1403768d0
test rax, rax
je 0x1402f97a0
test byte [rax + 0x10], 1
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
je 0x1402f9170
xor r10d, r10d
test esi, esi
mov ecx, r13d
mov r11d, dword [rsp + 0x30]
jle 0x1402f8c6b
nop
mov eax, ebx
movzx edx, word [r8 + r10*2]
xor eax, r10d
sar eax, 5
and eax, 1
lea r13, [rax + rax]
rol dx, 8
movzx edx, dx
add rax, r13
lea r13, [rax + rdi]
mov eax, r12d
sub eax, edx
imul eax, dword [rsp + r13*4 + 0x80]
mov r13d, eax
movzx eax, word [r15 + r10*2]
rol ax, 8
movzx eax, ax
imul edx, eax
add edx, r11d
lea eax, [r13 + rdx]
mov edx, eax
shr edx, cl
add eax, edx
xor edx, edx
shr eax, cl
test eax, eax
js 0x1402f9081
cmp r12d, eax
cmovle eax, r12d
mov edx, eax
mov word [r9 + r10*2], dx
add r10, 1
cmp esi, r10d
jg 0x1402f9020
mov r13d, ecx
add ebx, 1
jmp 0x1402f8c6e
mov r13d, ecx
mov r14, qword [rsp + 0x50]
add ebx, 1
jmp 0x1402f8c6e
test esi, esi
jle 0x1402f8c6b
movsxd r15, r15d
xor r10d, r10d
mov ecx, r13d
lea r11, [rdx + r15*2]
mov qword [rsp + 0x50], r14
mov r15d, dword [rsp + 0x78]
jmp 0x1402f914e
lea r13d, [r13 + rax + 2]
movzx eax, word [r11]
add r13d, eax
movzx eax, word [r11 + 2]
add eax, r13d
sar eax, 2
xor r14d, ebx
sar r14d, 5
and r14d, 1
lea r13, [r14 + r14]
add r14, r13
mov r13d, r12d
add r14, rdi
sub r13d, eax
imul r13d, dword [rsp + r14*4 + 0x80]
movzx r14d, word [r8 + r10*2]
imul eax, r14d
add eax, dword [rsp + 0x30]
add r13d, eax
mov eax, r13d
shr eax, cl
add r13d, eax
xor eax, eax
shr r13d, cl
test r13d, r13d
js 0x1402f9138
cmp r12d, r13d
cmovle r13d, r12d
mov eax, r13d
mov word [r9 + r10*2], ax
add r10, 1
add r11, 4
cmp esi, r10d
jle 0x1402f90a0
test r15d, r15d
mov r14d, r10d
movzx r13d, word [rdx + r10*4]
movzx eax, word [rdx + r10*4 + 2]
jne 0x1402f90d1
add eax, r13d
sar eax, 1
jmp 0x1402f90e8
test esi, esi
jle 0x1402f8c6b
mov r11d, dword [rsp + 0x30]
xor r10d, r10d
mov ecx, r13d
mov eax, ebx
movzx edx, word [r8 + r10*2]
xor eax, r10d
sar eax, 5
and eax, 1
lea r13, [rax + rax]
add rax, r13
lea r13, [rax + rdi]
mov eax, r12d
sub eax, edx
imul eax, dword [rsp + r13*4 + 0x80]
mov r13d, eax
movzx eax, word [r15 + r10*2]
imul edx, eax
add edx, r11d
lea eax, [r13 + rdx]
mov edx, eax
shr edx, cl
add eax, edx
xor edx, edx
shr eax, cl
test eax, eax
js 0x1402f91d6
cmp r12d, eax
cmovle eax, r12d
mov edx, eax
mov word [r9 + r10*2], dx
add r10, 1
cmp esi, r10d
jg 0x1402f9183
mov r13d, ecx
jmp 0x1402f9092
mov esi, dword [rsp + 0x68]
mov rcx, rax
movsxd rax, esi
mov rdi, rax
mov qword [rsp + 0x38], rax
shl rax, 5
mov eax, dword [rcx + rax + 0x20]
mov rcx, qword [rsp + 0xf0]
mov ebp, dword [rcx + 0x10]
mov ecx, dword [rsp + 0x110]
cmp dword [rsp + 0x108], ecx
mov dword [rsp + 0x58], eax
jge 0x1402f8c87
cmp eax, 1
movsxd rcx, eax
mov r15d, 0xff
sbb rax, rax
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x34], ebp
and eax, 2
mov qword [rsp + 0x68], rax
mov eax, ebx
add rax, rax
mov qword [rsp + 0x60], rax
mov rax, rdi
mov edi, dword [rsp + 0x108]
add rax, rax
cmp r13d, 8
mov qword [rsp + 0x40], rax
movsxd rax, ebx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xf8]
jle 0x1402f9491
mov rbx, qword [rsp + 0x100]
mov rdx, qword [rax]
mov eax, dword [rbx]
mov rbx, qword [rsp + 0x68]
imul eax, edi
cdqe
lea r9, [rbx + rax]
add rax, qword [rsp + 0x48]
lea r14, [rdx + r9]
lea rbp, [rdx + rax]
mov rax, qword [rsp + 0x120]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x118]
imul r8d, edi
movsxd r8, r8d
mov rbx, r8
add rbx, qword [rax]
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rax + 0x40]
call fcn.1403768d0
test rax, rax
je 0x1402f97a0
test byte [rax + 0x10], 1
je 0x1402f95e8
mov r9d, dword [rsp + 0x34]
test r9d, r9d
jle 0x1402f946f
mov r10, rbp
lea r8, [rbx + 4]
mov rbp, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x30]
lea r9, [r14 + 2]
xor r11d, r11d
mov ecx, r13d
mov dword [rsp + 0x108], edi
nop dword [rax]
mov edx, dword [rsp + 0x108]
movzx r13d, word [r10]
mov edi, r12d
movzx eax, word [r9 - 2]
xor edx, r11d
sar edx, 5
rol r13w, 8
and edx, 1
rol ax, 8
movzx r13d, r13w
lea r14, [rdx + rdx]
movzx eax, ax
sub edi, r13d
imul eax, r13d
add r14, rdx
mov r13d, dword [rsp + r14*4 + 0x80]
add eax, ebx
imul r13d, edi
add eax, r13d
mov r13d, eax
shr r13d, cl
add eax, r13d
xor r13d, r13d
shr eax, cl
test eax, eax
js 0x1402f9387
cmp r12d, eax
cmovle eax, r12d
mov r13d, eax
cmp esi, 1
mov word [r8 - 4], r13w
je 0x1402f944b
movzx r13d, word [r10]
movzx eax, word [r9]
lea r14, [rdx + rdx]
mov edi, r12d
add r14, rdx
rol r13w, 8
rol ax, 8
movzx r13d, r13w
movzx eax, ax
imul eax, r13d
sub edi, r13d
mov r13d, dword [rsp + r14*4 + 0x84]
imul r13d, edi
add eax, ebx
add eax, r13d
mov r13d, eax
shr r13d, cl
add eax, r13d
xor r13d, r13d
shr eax, cl
test eax, eax
js 0x1402f93eb
cmp r12d, eax
cmovle eax, r12d
mov r13d, eax
cmp esi, 3
mov word [r8 - 2], r13w
jne 0x1402f944b
movzx r13d, word [r10]
movzx eax, word [r9 + 2]
lea r14, [rdx + rdx]
mov edi, r12d
add rdx, r14
rol r13w, 8
rol ax, 8
movzx r13d, r13w
movzx eax, ax
imul eax, r13d
sub edi, r13d
mov r13d, dword [rsp + rdx*4 + 0x88]
imul r13d, edi
add eax, ebx
add eax, r13d
mov edx, eax
shr edx, cl
add eax, edx
xor edx, edx
shr eax, cl
test eax, eax
js 0x1402f9447
cmp r12d, eax
cmovle eax, r12d
mov edx, eax
mov word [r8], dx
add r11d, 1
add r10, rbp
add r8, qword [rsp + 0x40]
add r9, rbp
cmp dword [rsp + 0x34], r11d
jne 0x1402f9320
mov edi, dword [rsp + 0x108]
mov r13d, ecx
add edi, 1
cmp dword [rsp + 0x110], edi
je 0x1402f8c87
cmp r13d, 8
mov rax, qword [rsp + 0xf8]
jg 0x1402f927f
mov r8, qword [rax]
mov rax, qword [rsp + 0x100]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x120]
mov ebp, dword [rax]
xor eax, eax
imul ebp, edi
test edx, edx
sete al
movsxd rbp, ebp
add rax, rbp
add rbp, qword [rsp + 0x48]
mov rbx, rax
mov rax, qword [rsp + 0x118]
mov rdx, qword [rax]
mov eax, dword [rcx]
mov ecx, dword [rsp + 0x34]
imul eax, edi
test ecx, ecx
cdqe
jle 0x1402f946f
mov r14, qword [rsp + 0x70]
lea r9, [rdx + rax]
mov dword [rsp + 0x78], r13d
add r8, rbx
xor r10d, r10d
mov dword [rsp + 0x50], r12d
mov r13, rbx
nop dword [rax + rax]
mov eax, r10d
mov rcx, r8
movzx r12d, byte [r8]
xor eax, edi
sub rcx, r13
lea rbx, [rsp + 0xa0]
sar eax, 5
movzx edx, byte [rcx + rbp]
and eax, 1
lea r11, [rax + rax]
add rax, r11
mov r11d, r15d
shl rax, 2
sub r11d, edx
imul r11d, dword [rsp + rax + 0x80]
imul edx, r12d
add rbx, rax
lea edx, [r11 + rdx + 0x80]
mov r11d, edx
shl r11d, 8
add edx, r11d
shr edx, 0x10
cmp esi, 1
mov byte [r9], dl
je 0x1402f95c2
movzx edx, byte [rcx + rbp]
mov r11d, r15d
sub r11d, edx
imul r11d, dword [rsp + rax + 0x84]
mov eax, r11d
movzx r11d, byte [r8 + 1]
imul edx, r11d
lea eax, [rax + rdx + 0x80]
mov edx, eax
shl edx, 8
add eax, edx
shr eax, 0x10
cmp esi, 3
mov byte [r9 + 1], al
jne 0x1402f95c2
movzx eax, byte [rcx + rbp]
mov edx, r15d
movzx ecx, byte [r8 + 2]
sub edx, eax
imul edx, dword [rbx - 0x18]
imul eax, ecx
lea eax, [rdx + rax + 0x80]
mov edx, eax
shl edx, 8
add eax, edx
shr eax, 0x10
mov byte [r9 + 2], al
add r10d, 1
add r8, r14
add r9, qword [rsp + 0x38]
cmp dword [rsp + 0x34], r10d
jne 0x1402f9500
mov r13d, dword [rsp + 0x78]
mov r12d, dword [rsp + 0x50]
jmp 0x1402f946f
mov r8d, dword [rsp + 0x34]
test r8d, r8d
jle 0x1402f946f
mov r11, rbp
mov r8d, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
lea r10, [r14 + 2]
lea r9, [rbx + 4]
mov ecx, r13d
xor ebx, ebx
mov edx, ebx
movzx eax, word [r11]
mov r13d, r12d
xor edx, edi
sar edx, 5
and edx, 1
lea r14, [rdx + rdx]
sub r13d, eax
add r14, rdx
imul r13d, dword [rsp + r14*4 + 0x80]
movzx r14d, word [r10 - 2]
imul eax, r14d
add eax, r8d
add r13d, eax
mov eax, r13d
shr eax, cl
add r13d, eax
xor eax, eax
shr r13d, cl
test r13d, r13d
js 0x1402f965f
cmp r12d, r13d
cmovle r13d, r12d
mov eax, r13d
cmp esi, 1
mov word [r9 - 4], ax
je 0x1402f96fd
movzx eax, word [r11]
lea r14, [rdx + rdx]
mov r13d, r12d
add r14, rdx
sub r13d, eax
imul r13d, dword [rsp + r14*4 + 0x84]
movzx r14d, word [r10]
imul eax, r14d
add eax, r8d
add r13d, eax
mov eax, r13d
shr eax, cl
add r13d, eax
xor eax, eax
shr r13d, cl
test r13d, r13d
js 0x1402f96b1
cmp r12d, r13d
cmovle r13d, r12d
mov eax, r13d
cmp esi, 3
mov word [r9 - 2], ax
jne 0x1402f96fd
movzx eax, word [r11]
lea r13, [rdx + rdx]
add r13, rdx
mov edx, r12d
sub edx, eax
imul edx, dword [rsp + r13*4 + 0x88]
movzx r13d, word [r10 + 2]
imul eax, r13d
add eax, r8d
add edx, eax
mov eax, edx
shr eax, cl
add eax, edx
xor edx, edx
shr eax, cl
test eax, eax
js 0x1402f96f9
cmp r12d, eax
cmovle eax, r12d
mov edx, eax
mov word [r9], dx
add ebx, 1
add r11, rbp
add r9, qword [rsp + 0x40]
add r10, rbp
cmp dword [rsp + 0x34], ebx
jne 0x1402f9610
mov r13d, ecx
jmp 0x1402f946f
mov dword [rsp + 0x88], eax
jmp 0x1402f8acf
cmp dword [rsp + 0x68], 1
mov dword [rsp + 0x80], r9d
mov dword [rsp + 0x8c], edx
je 0x1402f8ad6
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rdi + 0x10]
test dl, 0x20
jne 0x1402f9793
mov dword [rsp + 0x84], eax
mov ecx, eax
cmp dword [rsp + 0x68], 3
mov dword [rsp + 0x90], ecx
jne 0x1402f8ad6
and edx, 0x20
je 0x1402f971d
mov dword [rsp + 0x88], r9d
mov eax, r8d
jmp 0x1402f8acf
mov dword [rsp + 0x84], 0
xor ecx, ecx
jmp 0x1402f8aab
mov dword [rsp + 0x84], r9d
mov ecx, r8d
jmp 0x1402f975a
lea rax, [0x14042e183]
lea r9, [0x14042e160]
mov dword [rsp + 0x28], 0x297
mov qword [rsp + 0x20], rax
lea r8, [0x14042e165]
xor edx, edx
xor ecx, ecx
call fcn.14036cf30
call sub.msvcrt.dll_abort
lea rax, [0x14042e183]
mov dword [rsp + 0x28], 0x2be
lea r9, [0x14042e160]
mov qword [rsp + 0x20], rax
jmp 0x1402f97bb
lea rax, str.libswscale_alphablend.c
mov dword [rsp + 0x28], 0x2f
lea r9, str.plane_count__nb_components___1
mov qword [rsp + 0x20], rax
jmp 0x1402f97bb
mov esi, dword [rax + 0x10]
mov dword [rsp + 0x78], 0
xor eax, eax
mov r8d, dword [rsp + 0x78]
jmp 0x1402f8b59