Function at 0x1403ab1e1
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xf0], xmm8
movaps xmmword [rsp + 0x100], xmm9
movaps xmmword [rsp + 0x110], xmm10
movaps xmmword [rsp + 0x120], xmm11
movaps xmmword [rsp + 0x130], xmm12
movaps xmmword [rsp + 0x140], xmm13
movaps xmmword [rsp + 0x150], xmm14
movaps xmmword [rsp + 0x160], xmm15
mov r14, rdx
movsxd rbx, r9d
mov eax, dword [rsp + 0x1e0]
mov qword [rsp + 0x1c0], rcx
mov ecx, 0x36
mov qword [rsp + 0x1d0], r8
mov r12d, dword [rsp + 0x200]
movsxd rdi, dword [rsp + 0x228]
movsxd rsi, dword [rsp + 0x230]
cdq
mov qword [rsp + 0xc8], 0
idiv dword [rsp + 0x1e8]
mov edx, 0x1f
or eax, 1
bsr eax, eax
xor eax, 0x1f
sub edx, eax
cmp edx, 8
mov eax, edx
mov edx, 8
cmovg eax, edx
sub ecx, eax
mov eax, 1
shl rax, cl
mov r13, rax
emms
mov eax, dword [rsp + 0x1e8]
mov edx, 4
add eax, 3
cdqe
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.14036da20
test rax, rax
mov qword [r14], rax
jne 0x1403ab30d
lea r8, str.Cannot_allocate_memory._n
mov edx, 0x10
xor ecx, ecx
call fcn.14036cf30
mov qword [rsp + 0x38], 0
jmp 0x1403ac425
cmp ebx, 0xffff
jle 0x1403ab31f
cmp ebx, 0x10009
jle 0x1403ab32b
jmp 0x1403ab372
mov eax, 0x10000
sub eax, ebx
cmp eax, 9
jg 0x1403ab372
cmp edi, esi
jne 0x1403ab372
movsxd rcx, dword [rsp + 0x1e8]
mov edx, 8
call fcn.14036da90
xor edx, edx
test rax, rax
mov qword [rsp + 0xc8], rax
je 0x1403ab2ec
cmp edx, dword [rsp + 0x1e8]
jge 0x1403ab368
mov rcx, qword [r14]
mov qword [rax + rdx*8], r13
mov dword [rcx + rdx*4], edx
inc rdx
jmp 0x1403ab350
mov ebp, 1
jmp 0x1403abbdd
test r12b, 0x10
je 0x1403ab3d9
movsxd rcx, dword [rsp + 0x1e8]
mov edx, 8
call fcn.14036da20
test rax, rax
mov qword [rsp + 0xc8], rax
je 0x1403ab2ec
movsxd rdx, esi
shl rdi, 8
xor ecx, ecx
imul rdx, rbx
sar rdx, 8
sub rdx, rdi
add rdx, 0x8000
cmp dword [rsp + 0x1e8], ecx
jle 0x1403ab368
mov r8, qword [r14]
mov r9, rdx
add rdx, rbx
sar r9, 0x10
mov dword [r8 + rcx*4], r9d
mov qword [rax + rcx*8], r13
inc rcx
jmp 0x1403ab3b6
cmp ebx, 0x10000
jg 0x1403ab3e7
test r12b, 0x20
jne 0x1403ab3f1
test r12b, 1
je 0x1403ab499
movsxd rcx, dword [rsp + 0x1e8]
mov edx, 0x10
call fcn.14036da20
test rax, rax
mov qword [rsp + 0xc8], rax
je 0x1403ab2ec
imul rsi, rbx
shl rdi, 8
xor r8d, r8d
xor r11d, r11d
sar rsi, 8
sub rsi, rdi
mov rdi, r13
sar rdi, 0x10
cmp dword [rsp + 0x1e8], r8d
jle 0x1403ab48f
mov rdx, qword [r14]
mov r9, rsi
xor ecx, ecx
sar r9, 0x10
mov dword [rdx + r8*4], r9d
movsxd r9, r9d
lea rdx, [r9 + rcx]
mov r15, r13
shl rdx, 0x10
sub rdx, rsi
mov r10, rdx
sar r10, 0x3f
xor rdx, r10
sub rdx, r10
imul rdx, rdi
sub r15, rdx
mov rdx, r15
cmovs rdx, r11
mov qword [rax + rcx*8], rdx
inc rcx
cmp rcx, 2
jne 0x1403ab44d
add rsi, rbx
inc r8
add rax, 0x10
jmp 0x1403ab430
mov ebp, 2
jmp 0x1403abbdd
xor edx, edx
lea rax, [0x14042da40]
test dword [rax + rdx], r12d
je 0x1403ab4b6
lea rax, [0x14042da50]
mov eax, dword [rax + rdx]
test eax, eax
jg 0x1403ab4c6
add rdx, 0x18
cmp rdx, 0x108
jne 0x1403ab49b
or eax, 0xffffffff
mov ecx, r12d
and ecx, 0x200
mov dword [rsp + 0x60], ecx
je 0x1403ab4fa
mov rax, qword [rsp + 0x220]
movsd xmm0, qword [rax]
ucomisd xmm0, qword [0x14042dc78]
jp 0x1403ab4ed
je 0x1403ab51e
addsd xmm0, xmm0
call fcn.140381f40
cvttsd2si eax, xmm0
test eax, eax
jg 0x1403ab523
lea rax, str.libswscale_utils.c
mov dword [rsp + 0x28], 0x197
lea r9, str.sizeFactor___0
mov qword [rsp + 0x20], rax
jmp 0x1403ab692
mov eax, 6
cmp ebx, 0x10000
jle 0x1403ab541
imul eax, dword [rsp + 0x1e0]
mov ecx, dword [rsp + 0x1e8]
lea eax, [rcx + rax - 1]
cdq
idiv ecx
mov ecx, dword [rsp + 0x1e0]
mov edx, dword [rsp + 0x1e0]
inc eax
dec ecx
sub edx, 2
cmp eax, ecx
movsxd rcx, dword [rsp + 0x1e8]
cmovge eax, edx
mov edx, 1
test eax, eax
cmovg edx, eax
movsxd rdx, edx
mov rbp, rdx
shl rdx, 3
call fcn.14036da20
test rax, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0xc8], rax
je 0x1403ab2ec
movsxd rax, ebx
movsxd r15, esi
shl rdi, 9
imul r15, rax
mov qword [rsp + 0x40], rax
lea eax, [rbp - 2]
movsd xmm8, qword [0x14042dca0]
mov dword [rsp + 0x200], r12d
cdqe
mov dword [rsp + 0x48], 0
shl rax, 0x10
movsd xmm7, qword [0x14042dc50]
mov qword [rsp + 0xb0], rax
mov eax, r12d
sar r15, 7
and eax, 4
sub r15, rdi
xor edi, edi
mov dword [rsp + 0x70], eax
mov eax, r12d
and eax, 8
movaps xmm10, xmm8
mov dword [rsp + 0x78], eax
mov eax, r12d
and eax, 0x20
mov dword [rsp + 0x84], eax
mov rax, r13
sar rax, 0x2e
mov qword [rsp + 0x88], rax
mov eax, r12d
and eax, 0x80
mov dword [rsp + 0x90], eax
mov eax, r12d
and eax, 0x100
mov dword [rsp + 0x94], eax
mov eax, r12d
and eax, 2
mov dword [rsp + 0xa0], eax
mov rax, r13
sar rax, 0x1e
mov qword [rsp + 0x98], rax
mov eax, r12d
mov r12, qword [rsp + 0x220]
and eax, 0x400
mov dword [rsp + 0xa4], eax
lea eax, [rbx + rbx]
cdqe
mov qword [rsp + 0xa8], rax
jmp 0x1403ab77b
lea rax, str.libswscale_utils.c
lea r9, [0x14042cd39]
mov dword [rsp + 0x28], 0x1f1
mov qword [rsp + 0x20], rax
lea r8, [0x14042cd08]
xor edx, edx
xor ecx, ecx
call fcn.14036cf30
call sub.msvcrt.dll_abort
movsxd rax, dword [rsp + 0x68]
add rax, rsi
shl rax, 0x11
sub rax, r15
cqo
xor rax, rdx
sub rax, rdx
shl rax, 0xd
cmp ebx, 0x10000
jle 0x1403ab6e3
movsxd rdx, dword [rsp + 0x1e8]
movsxd rcx, dword [rsp + 0x1e0]
imul rax, rdx
cqo
idiv rcx
cmp dword [rsp + 0x70], 0
je 0x1403ab896
movsd xmm1, qword [r12]
movsd xmm0, qword [0x14042dc78]
ucomisd xmm1, xmm0
jnp 0x1403ab7d3
mulsd xmm1, qword [0x14042dc80]
cvttsd2si r10, xmm1
movsd xmm1, qword [r12 + 8]
ucomisd xmm1, xmm0
jp 0x1403ab7e1
mov r8d, 0x999999
jne 0x1403ab7e1
xor ecx, ecx
cmp rax, 0x7fffffff
jle 0x1403ab7f3
movabs rax, 0x40000000000000
cqo
idiv r13
mov r8, rax
mov rax, rcx
cqo
idiv r8
mov rdx, qword [rsp + 0x58]
mov qword [rdx + rsi*8], rax
inc rsi
cmp ebp, esi
jg 0x1403ab6a7
add r15, qword [rsp + 0xa8]
add dword [rsp + 0x48], ebp
inc rdi
cmp dword [rsp + 0x1e8], edi
jle 0x1403abbd5
mov rax, r15
sub rax, qword [rsp + 0xb0]
mov ecx, 0x20000
mov rsi, qword [rsp + 0x38]
movsd xmm11, qword [0x14042dcb8]
movsd xmm9, qword [0x14042dca0]
cqo
idiv rcx
mov rdx, qword [r14]
mov dword [rsp + 0x68], eax
mov dword [rdx + rdi*4], eax
movsxd rax, dword [rsp + 0x48]
lea rax, [rsi + rax*8]
xor esi, esi
mov qword [rsp + 0x58], rax
jmp 0x1403ab6a7
jne 0x1403ab706
xor r10d, r10d
jmp 0x1403ab713
mulsd xmm1, qword [0x14042dc80]
cvttsd2si r8, xmm1
jmp 0x1403ab730
mov r11, rax
mov r9, rax
imul r11, rax
sar r11, 0x1e
imul r9, r11
sar r9, 0x1e
cmp rax, 0x3fffffff
jg 0x1403ab853
imul rax, r8, 0xfffffffffffffffa
mov ecx, 0x3000000
imul rdx, r10, 0xfffffffffffffff7
sub rcx, r10
imul r8, r8, 6
shl rcx, 0x1f
lea rax, [rdx + rax + 0xc000000]
imul r9, rax
imul rax, r10, 0xc
lea r8, [rax + r8 - 0x12000000]
mov rax, r8
imul rax, r11
add rax, r9
add rcx, rax
jmp 0x1403ab73e
imul rdx, r8, 0x1e
imul rcx, r10, 6
add rcx, rdx
imul r11, rcx
imul rcx, r8, 0xfffffffffffffffa
sub rcx, r10
imul r9, rcx
imul rcx, r10, 0xfffffffffffffff4
add r9, r11
imul r11, r8, 0xffffffffffffffd0
lea r8, [r8 + r8*2]
add rcx, r11
imul rax, rcx
lea rcx, [r8 + r10]
shl rcx, 0x21
add rax, r9
add rcx, rax
jmp 0x1403ab73e
cvtsi2sd xmm6, rax
cmp dword [rsp + 0x78], 0
mulsd xmm6, qword [0x14042dc88]
je 0x1403ab94f
movsd xmm12, qword [r12]
ucomisd xmm12, qword [0x14042dc78]
jp 0x1403ab8de
movq rax, xmm12
cmove rax, qword [0x14042dc50]
mov qword [rsp + 0xb8], rax
movsd xmm12, qword [rsp + 0xb8]
movsd xmm5, qword [0x14042dc50]
movsd xmm0, qword [0x14042dc58]
ucomisd xmm5, xmm6
jbe 0x1403ab90e
mulsd xmm6, qword [0x14042dc90]
movapd xmm0, xmm6
call fcn.140386310
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x1403ab922
xorps xmm0, xmm9
movapd xmm1, xmm12
call fcn.140386a90
xorps xmm0, xmm9
jmp 0x1403ab92c
movapd xmm1, xmm12
call fcn.140386a90
cvtsi2sd xmm2, r13
movsd xmm1, qword [0x14042dcb0]
mulsd xmm0, xmm1
addsd xmm1, xmm0
mulsd xmm1, xmm2
cvttsd2si rax, xmm1
jmp 0x1403ab758
cmp dword [rsp + 0x84], 0
je 0x1403ab9ae
mov rcx, qword [rsp + 0x40]
lea rdx, [rax - 0x20000000]
movabs r8, 0xffffe00000000000
movabs rax, 0x400000000000
imul rcx, rdx
cmp rcx, r8
jl 0x1403ab9a0
movabs r8, 0x1fffffffffff
xor eax, eax
cmp rcx, r8
jg 0x1403ab9a0
movabs rax, 0x200000000000
sub rax, rcx
imul rax, qword [rsp + 0x88]
jmp 0x1403ab758
cmp dword [rsp + 0x90], 0
je 0x1403aba0a
movsd xmm0, qword [r12]
ucomisd xmm0, qword [0x14042dc78]
jp 0x1403ab9e6
movq rax, xmm0
cmove rax, qword [0x14042dc60]
mov qword [rsp + 0xb8], rax
movsd xmm0, qword [rsp + 0xb8]
xorps xmm0, xmm10
mulsd xmm0, xmm6
mulsd xmm0, xmm6
call fcn.140386650
cvtsi2sd xmm1, r13
mulsd xmm0, xmm1
cvttsd2si rax, xmm0
jmp 0x1403ab758
cmp dword [rsp + 0x94], 0
je 0x1403aba3f
test rax, rax
movsd xmm0, qword [0x14042dc50]
je 0x1403abbc2
mulsd xmm6, qword [0x14042dc90]
movapd xmm0, xmm6
call fcn.1403870b0
divsd xmm0, xmm6
jmp 0x1403abbc2
cmp dword [rsp + 0x60], 0
je 0x1403abaeb
movsd xmm13, qword [r12]
ucomisd xmm13, qword [0x14042dc78]
jp 0x1403aba7a
movq rcx, xmm13
cmove rcx, qword [0x14042dc60]
mov qword [rsp + 0xb8], rcx
movsd xmm13, qword [rsp + 0xb8]
test rax, rax
movsd xmm0, qword [0x14042dc50]
je 0x1403abad9
movsd xmm14, qword [0x14042dc90]
movapd xmm15, xmm6
mulsd xmm15, xmm14
movapd xmm0, xmm15
call fcn.1403870b0
movapd xmm12, xmm0
movapd xmm0, xmm15
divsd xmm0, xmm13
call fcn.1403870b0
movapd xmm1, xmm6
mulsd xmm0, xmm12
mulsd xmm1, xmm6
mulsd xmm1, xmm14
mulsd xmm14, xmm1
divsd xmm14, xmm13
divsd xmm0, xmm14
xor eax, eax
ucomisd xmm6, xmm13
ja 0x1403ab758
jmp 0x1403abbc2
cmp dword [rsp + 0xa0], 0
je 0x1403abb15
mov r8d, 0x40000000
sub r8, rax
mov eax, 0
cmovns rax, r8
imul rax, qword [rsp + 0x98]
jmp 0x1403ab758
cmp dword [rsp + 0xa4], 0
je 0x1403ab677
xorps xmm1, xmm1
movapd xmm3, xmm7
movsd xmm2, qword [0x14042dc68]
movsd xmm0, qword [0x14042dc70]
movsd xmm5, qword [0x14042dc60]
ucomisd xmm7, xmm6
jb 0x1403abb73
mulsd xmm2, xmm6
cvtsi2sd xmm4, r13
addsd xmm0, xmm2
mulsd xmm0, xmm6
addsd xmm1, xmm0
mulsd xmm6, xmm1
addsd xmm3, xmm6
mulsd xmm3, xmm4
cvttsd2si rax, xmm3
jmp 0x1403ab758
movapd xmm12, xmm2
mulsd xmm2, xmm5
movapd xmm3, xmm0
movapd xmm4, xmm1
mulsd xmm12, xmm11
mulsd xmm3, xmm5
subsd xmm6, xmm7
xorps xmm4, xmm8
movapd xmm13, xmm2
movapd xmm2, xmm0
subsd xmm4, xmm3
xorps xmm3, xmm3
addsd xmm2, xmm0
addsd xmm0, xmm13
subsd xmm4, xmm12
addsd xmm1, xmm2
movapd xmm2, xmm4
addsd xmm1, xmm13
jmp 0x1403abb42
cvtsi2sd xmm1, r13
mulsd xmm0, xmm1
cvttsd2si rax, xmm0
jmp 0x1403ab758
mov r12d, dword [rsp + 0x200]
cmp qword [rsp + 0x210], 0
je 0x1403abc35
mov rax, qword [rsp + 0x210]
cmp qword [rsp + 0x218], 0
mov eax, dword [rax + 8]
lea ebx, [rbp + rax - 1]
je 0x1403abc11
mov rax, qword [rsp + 0x218]
mov eax, dword [rax + 8]
lea ebx, [rbx + rax - 1]
test ebx, ebx
jg 0x1403abc42
lea rax, str.libswscale_utils.c
mov dword [rsp + 0x28], 0x204
lea r9, str.filter2Size___0
mov qword [rsp + 0x20], rax
jmp 0x1403ab692
cmp qword [rsp + 0x218], 0
mov ebx, ebp
jne 0x1403abc02
movsxd rax, dword [rsp + 0x1e8]
movsxd rsi, ebx
shl rsi, 3
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.14036da90
test rax, rax
mov qword [rsp + 0x38], rax
je 0x1403ab2ec
mov rax, qword [rsp + 0xc8]
mov ecx, 2
mov r11, qword [rsp + 0x38]
xor r10d, r10d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea eax, [rbx - 1]
mov rdi, qword [rsp + 0x40]
cdq
idiv ecx
lea edx, [rbp - 1]
sar edx, 1
sub edx, eax
movsxd rax, ebp
shl rax, 3
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0x1e8], r8d
jle 0x1403abd98
cmp qword [rsp + 0x210], 0
je 0x1403abd66
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x38]
movsxd rdx, r10d
mov eax, dword [rax + 8]
mov dword [rsp + 0x68], eax
movsxd rax, r9d
lea rax, [rcx + rax*8]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea r15, [rcx + rdx*8]
xor ecx, ecx
mov qword [rsp + 0x48], r15
cmp ecx, dword [rsp + 0x68]
jge 0x1403abd77
mov r15, qword [rsp + 0x210]
mov rdx, rax
sub rdx, qword [rsp + 0x60]
mov dword [rsp + 0x84], ecx
mov r15, qword [r15]
movsd xmm2, qword [r15 + rdx]
mov r15, qword [rsp + 0x48]
xor edx, edx
cvtsi2sd xmm0, qword [r15 + rdx*8]
mulsd xmm0, xmm2
cvtsi2sd xmm1, qword [rax + rdx*8]
addsd xmm0, xmm1
cvttsd2si rcx, xmm0
mov qword [rax + rdx*8], rcx
inc rdx
cmp ebp, edx
jg 0x1403abd2e
mov ecx, dword [rsp + 0x84]
mov qword [rsp + 0x48], r15
add rax, 8
inc ecx
jmp 0x1403abd01
xor eax, eax
mov rdx, qword [rdi + rax*8]
mov qword [r11 + rax*8], rdx
inc rax
cmp ebp, eax
jg 0x1403abd68
mov rax, qword [r14]
mov edx, dword [rsp + 0x78]
add r11, rsi
add rdi, qword [rsp + 0x70]
add r9d, ebx
add r10d, ebp
add dword [rax + r8*4], edx
inc r8
jmp 0x1403abcb1
lea rcx, [rsp + 0xc8]
sub rsi, 8
call fcn.14036dc30
mov eax, dword [rsp + 0x1e8]
movsd xmm1, qword [0x14042dcc0]
xor r11d, r11d
mov qword [rsp + 0x78], rsi
dec eax
mov dword [rsp + 0x40], eax
mov eax, ebx
movsxd rdi, dword [rsp + 0x40]
neg eax
mov r8d, dword [rsp + 0x40]
cdqe
shl rax, 3
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x68], rdi
shl rdi, 2
mov qword [rsp + 0x48], rdi
mov rdi, qword [rsp + 0x38]
imul eax, ebx
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x60], eax
cdqe
lea rax, [rdi + rax*8]
xor edi, edi
test r8d, r8d
js 0x1403abeff
cvtsi2sd xmm0, r13
mov esi, dword [rsp + 0x60]
test ebx, ebx
mov ecx, 1
lea r9, [rdx + 4]
cmovg ecx, ebx
lea r10d, [r11 + rsi]
mov rsi, qword [rsp + 0x38]
add ecx, r10d
xor r10d, r10d
movsxd rcx, ecx
lea rbp, [rsi + rcx*8 - 8]
xor esi, esi
mulsd xmm0, xmm1
mov rcx, qword [rax]
sar rcx, 0x3f
mov r15, rcx
xor r15, qword [rax]
sub r15, rcx
add rsi, r15
cvtsi2sd xmm2, rsi
ucomisd xmm2, xmm0
jbe 0x1403abe77
mov rsi, qword [rsp + 0x78]
mov ecx, ebx
xor r9d, r9d
lea rbp, [rsi + rax]
xor esi, esi
jmp 0x1403abee1
cmp r8d, dword [rsp + 0x40]
jge 0x1403abe8b
mov rcx, qword [r14]
mov r15d, dword [rcx + r9]
cmp dword [rcx + rdx], r15d
jge 0x1403abe65
xor ecx, ecx
inc rcx
cmp ebx, ecx
jle 0x1403abe9f
mov r15, qword [rax + rcx*8]
mov qword [rax + rcx*8 - 8], r15
jmp 0x1403abe8d
mov rcx, rdx
add rcx, qword [r14]
inc r10d
mov qword [rbp], 0
inc dword [rcx]
cmp r10d, ebx
jl 0x1403abe47
jmp 0x1403abe65
mov r10, qword [rbp + r9]
sar r10, 0x3f
mov r15, r10
xor r15, qword [rbp + r9]
sub r9, 8
sub r15, r10
add rsi, r15
cvtsi2sd xmm2, rsi
ucomisd xmm2, xmm0
ja 0x1403abee6
dec ecx
cmp ecx, 1
jne 0x1403abeb9
cmp edi, ecx
cmovl edi, ecx
dec r8d
sub r11d, ebx
sub rdx, 4
add rax, qword [rsp + 0x70]
jmp 0x1403abe0a
test byte [rsp + 0x208], 1
je 0x1403abf18
cmp edi, 1
jne 0x1403abf18
cmp dword [rsp + 0x1f0], 2
je 0x1403abf3c
test edi, edi
jne 0x1403abf47
lea rax, str.libswscale_utils.c
mov dword [rsp + 0x28], 0x256
lea r9, str.minFilterSize___0
mov qword [rsp + 0x20], rax
jmp 0x1403ab692
mov dword [rsp + 0x1f0], 1
mov eax, dword [rsp + 0x1f0]
mov esi, dword [rsp + 0x1f0]
lea eax, [rdi + rax - 1]
neg esi
and esi, eax
jg 0x1403abf7f
lea rax, str.libswscale_utils.c
mov dword [rsp + 0x28], 0x258
lea r9, str.filterSize___0
mov qword [rsp + 0x20], rax
jmp 0x1403ab692
movsxd rax, esi
mov rcx, qword [rsp + 0x58]
shl rax, 3
mov rdx, rax
mov qword [rsp + 0x60], rax
call fcn.14036da20
test rax, rax
mov qword [rsp + 0xc8], rax
je 0x1403ac425
mov eax, r12d
and eax, 0x40000
cmp eax, 1
sbb eax, eax
and eax, 0x56
add eax, 0xaa
cmp eax, esi
jle 0x1403ac40b
mov rax, qword [rsp + 0x1d0]
test r12d, 0x1000
mov dword [rax], esi
je 0x1403abff3
lea r8, str.SwScaler:_reducing___aligning_filtersize__d_____d_n
mov dword [rsp + 0x20], esi
mov r9d, ebx
mov edx, 0x28
xor ecx, ecx
call fcn.14036cf30
mov ecx, r12d
mov rdx, qword [rsp + 0xc8]
xor r10d, r10d
shr ecx, 0x13
xor r9d, r9d
xor r8d, r8d
and ecx, 1
cmp r8d, dword [rsp + 0x1e8]
jge 0x1403ac069
mov r15, qword [rsp + 0x38]
movsxd rax, r9d
lea r11, [rdx + rax*8]
movsxd rax, r10d
lea rbp, [r15 + rax*8]
xor eax, eax
cmp eax, ebx
mov r12d, eax
jl 0x1403ac03d
mov qword [r11 + rax*8], 0
jmp 0x1403ac046
mov r13, qword [rbp + rax*8]
mov qword [r11 + rax*8], r13
test cl, cl
je 0x1403ac057
cmp edi, r12d
jg 0x1403ac057
mov qword [r11 + rax*8], 0
inc rax
cmp esi, eax
jg 0x1403ac02c
inc r8d
add r9d, esi
add r10d, ebx
jmp 0x1403ac00d
mov eax, dword [rsp + 0x1e0]
xor ecx, ecx
xor r10d, r10d
xor r15d, r15d
lea r11d, [rax - 1]
mov eax, esi
sub eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x1e8], r10d
jle 0x1403ac253
mov rax, qword [r14]
lea r9, [rax + r10*4]
mov ebx, dword [r9]
test ebx, ebx
jns 0x1403ac0dd
movsxd rax, ecx
xor r8d, r8d
lea rdi, [rdx + rax*8]
inc r8
cmp esi, r8d
jle 0x1403ac0d6
mov eax, ebx
mov rbp, qword [rdi + r8*8]
add eax, r8d
cmovs eax, r15d
add eax, ecx
cdqe
add qword [rdx + rax*8], rbp
mov qword [rdi + r8*8], 0
jmp 0x1403ac0af
mov dword [r9], 0
mov r13d, dword [r9]
lea eax, [rsi + r13]
cmp dword [rsp + 0x1e0], eax
jge 0x1403ac1a3
mov eax, esi
sub eax, dword [rsp + 0x1e0]
movsxd rbx, ecx
test eax, eax
cmovg eax, r15d
xor r12d, r12d
lea edi, [r13 + rax]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x58], edi
lea edi, [rsi - 1]
add rbx, rdi
mov r8, rdi
mov ebp, edi
lea rbx, [rdx + rbx*8]
xor edi, edi
lea eax, [r13 + rbp]
cmp dword [rsp + 0x1e0], eax
jg 0x1403ac13e
add r12, qword [rbx + rdi]
mov qword [rbx + rdi], 0
dec ebp
sub rdi, 8
cmp ebp, 0xffffffff
jne 0x1403ac124
mov edi, dword [rsp + 0x70]
mov eax, dword [rsp + 0x78]
lea ebp, [rdi + r11]
movsxd rdi, dword [rsp + 0x58]
movsxd rbp, ebp
imul rdi, rdi, 0xfffffffffffffff8
lea rbp, [rdi + rbp*8]
xor edi, edi
add rbp, rdx
cmp dword [rsp + 0x58], r8d
jle 0x1403ac17b
mov qword [rbx + rdi], 0
jmp 0x1403ac184
mov r13, qword [rbp + rdi]
mov qword [rbx + rdi], r13
dec r8d
sub rdi, 8
cmp r8d, 0xffffffff
jne 0x1403ac16a
mov r8d, eax
add eax, r11d
neg r8d
cdqe
mov dword [r9], r8d
add qword [rdx + rax*8], r12
mov r8d, dword [r9]
test r8d, r8d
jns 0x1403ac1cb
lea rax, str.libswscale_utils.c
mov dword [rsp + 0x28], 0x299
lea r9, str._filterPos__i____0
mov qword [rsp + 0x20], rax
jmp 0x1403ab692
cmp dword [rsp + 0x1e0], r8d
jg 0x1403ac1f5
lea rax, str.libswscale_utils.c
mov dword [rsp + 0x28], 0x29a
lea r9, str._filterPos__i____srcW
mov qword [rsp + 0x20], rax
jmp 0x1403ab692
lea eax, [rsi + r8]
cmp dword [rsp + 0x1e0], eax
jge 0x1403ac246
movsxd rax, ecx
lea r9, [rdx + rax*8]
xor eax, eax
lea ebx, [r8 + rax]
cmp dword [rsp + 0x1e0], ebx
jg 0x1403ac23f
cmp qword [r9 + rax*8], 0
je 0x1403ac23f
lea rax, str.libswscale_utils.c
mov dword [rsp + 0x28], 0x29d
lea r9, str._filterPos__i___j___srcW___filter_i__filterSize__j_
mov qword [rsp + 0x20], rax
jmp 0x1403ab692
inc rax
cmp esi, eax
jg 0x1403ac20b
inc r10
add r11d, esi
add ecx, esi
jmp 0x1403ac089
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rax]
add rdx, rdx
call fcn.14036da90
mov rbx, qword [rsp + 0x1c0]
test rax, rax
mov qword [rbx], rax
je 0x1403ac2a0
mov eax, dword [rsp + 0x1f8]
mov ecx, 2
xor r12d, r12d
xor ebx, ebx
movsxd rbp, dword [rsp + 0x1f8]
cdq
idiv ecx
cdqe
mov qword [rsp + 0x50], rax
jmp 0x1403ac2bf
lea r8, str.Cannot_allocate_memory._n
mov edx, 0x10
xor ecx, ecx
call fcn.14036cf30
jmp 0x1403ac425
add r12, qword [rsp + 0x60]
inc ebx
cmp ebx, dword [rsp + 0x1e8]
jge 0x1403ac382
mov rcx, r12
add rcx, qword [rsp + 0xc8]
xor edx, edx
xor eax, eax
add rax, qword [rcx + rdx*8]
inc rdx
cmp esi, edx
jg 0x1403ac2db
add rax, qword [rsp + 0x50]
cqo
idiv rbp
test rax, rax
mov r8, rax
jne 0x1403ac311
lea r8, str.SwScaler:_zero_vector_in_scaling_n
mov edx, 0x18
xor ecx, ecx
call fcn.14036cf30
mov r8d, 1
mov rax, qword [rsp + 0x1d0]
mov r13, r12
add r13, qword [rsp + 0xc8]
mov rdi, r8
xor r9d, r9d
xor ecx, ecx
sar rdi, 1
mov r11d, dword [rax]
mov r10d, r11d
imul r10d, ebx
movsxd r10, r10d
cmp r11d, r9d
jle 0x1403ac2b8
add rcx, qword [r13 + r9*8]
lea r15, [r10 + r9]
lea rdx, [rcx + rdi]
mov rax, rcx
sub rax, rdi
test rcx, rcx
cmovg rax, rdx
inc r9
cqo
idiv r8
mov rdx, qword [rsp + 0x1c0]
mov rdx, qword [rdx]
mov word [rdx + r15*2], ax
cdqe
imul rax, r8
sub rcx, rax
jmp 0x1403ac33c
mov rax, qword [r14]
mov rbx, qword [rsp + 0x68]
xor r10d, r10d
mov rdi, qword [rsp + 0x48]
mov edx, dword [rax + rbx*4]
mov dword [rax + rdi + 0xc], edx
mov dword [rax + rdi + 8], edx
mov dword [rax + rdi + 4], edx
mov rax, qword [rsp + 0x1d0]
movsxd rdx, dword [rax]
mov eax, dword [rsp + 0x40]
mov r8, rdx
lea rbx, [rdx + rdx]
imul eax, edx
lea edx, [rdx + rdx]
movsxd rdx, edx
lea rcx, [rdx + rdx]
lea edx, [r8 + r8*2]
cdqe
add rax, rax
movsxd rdx, edx
add rdx, rdx
cmp r10d, r8d
jge 0x1403ac407
mov rsi, qword [rsp + 0x1c0]
inc r10d
mov r9, qword [rsi]
mov r11w, word [r9 + rax]
lea rsi, [r9 + rax]
add r9, rbx
mov word [rsi + rdx], r11w
mov word [rsi + rcx], r11w
mov word [r9 + rax], r11w
add rax, 2
jmp 0x1403ac3d3
xor ebx, ebx
jmp 0x1403ac42f
mov ebx, 0xffffcfc7
mov edx, 0x30
lea r8, str.sws:_initFilter_failed_n
xor ecx, ecx
call fcn.14036cf30
jmp 0x1403ac42f
or ebx, 0xffffffff
mov edx, 0x10
jmp 0x1403ac415
mov rcx, qword [rsp + 0xc8]
call fcn.14036dc20
mov rcx, qword [rsp + 0x38]
call fcn.14036dc20
nop
movaps xmm6, xmmword [rsp + 0xd0]
mov eax, ebx
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm10, xmmword [rsp + 0x110]
movaps xmm11, xmmword [rsp + 0x120]
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm13, xmmword [rsp + 0x140]
movaps xmm14, xmmword [rsp + 0x150]
movaps xmm15, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret