Function at 0x140077460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x1402840b0]
mov qword [rsp + 0x50], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], r9
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], r8
call fcn.140160910
mov rdx, qword [rsp + 0x28]
xor rdx, qword [rbx]
jne 0x1400772ef
add rsp, 0x30
pop rbx
ret
call fcn.1400c4db0
nop
nop
nop word cs:[rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
mov rax, qword [0x1402840b0]
mov r10d, 0x16
mov r14, qword [rsp + 0x208]
lea r13, [rsp + 0x20]
mov rbx, rcx
mov rcx, r10
mov r12d, edx
mov ebp, r8d
mov edx, dword [rsp + 0x200]
mov rsi, qword [rax]
mov qword [rsp + 0x188], rsi
xor esi, esi
lea rsi, [rsp + 0xd0]
xor eax, eax
mov rdi, r13
rep stosq qword [rdi], rax
mov rcx, r10
mov rdi, rsi
mov dword [rsp + 0x20], 0x41565559
movss xmm0, dword [0x1401882c0]
mov dword [rsp + 0x34], r9d
movss dword [rsp + 0xac], xmm0
mov dword [rsp + 0x24], r9d
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x28], edx
rep stosq qword [rdi], rax
mov edi, dword [rbx + 0x10]
mov rcx, rbx
movss dword [rsp + 0x15c], xmm0
mov r8d, edi
or r8d, 6
mov dword [rbx + 0x10], r8d
call sym.libvlccore.dll_image_HandlerCreate
test rax, rax
mov r15, rax
je 0x140077443
mov rdx, r14
mov r9, r13
mov r8, rsi
mov rcx, rax
call qword [rax + 8]
mov rcx, r15
mov r14, rax
call sym.libvlccore.dll_image_HandlerDelete
test r14, r14
mov dword [rbx + 0x10], edi
je 0x140077450
mov rcx, r13
call sym.libvlccore.dll_subpicture_region_New
test rax, rax
mov rbx, rax
je 0x140077450
mov rcx, qword [rax + 0xb0]
call sym.libvlccore.dll_picture_Release
mov qword [rbx + 0xb0], r14
mov dword [rbx + 0xb8], r12d
mov dword [rbx + 0xbc], ebp
mov dword [rbx + 0xc0], 5
mov r9, qword [0x1402840b0]
mov rax, rbx
mov rdx, qword [rsp + 0x188]
xor rdx, qword [r9]
jne 0x140077454
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rbx + 0x10], edi
xor ebx, ebx
jmp 0x140077418
xor ebx, ebx
jmp 0x140077418
call fcn.1400c4db0
nop
nop word [rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x548
movaps xmmword [rsp + 0x4e0], xmm6
movaps xmmword [rsp + 0x4f0], xmm7
movaps xmmword [rsp + 0x500], xmm8
movaps xmmword [rsp + 0x510], xmm9
movaps xmmword [rsp + 0x520], xmm10
movaps xmmword [rsp + 0x530], xmm11
mov r10d, 0x7f8
mov r13d, 0xcccccccd
lea r11, [rsp + 0xd0]
mov r12d, ecx
mov ebp, edx
mov rax, qword [0x1402840b0]
movsd xmm8, qword [0x1401882c8]
lea rdi, [r11 + 4]
movsd xmm7, qword [0x1401882d0]
movsd xmm6, qword [0x1401882d8]
mov rsi, qword [rax]
mov qword [rsp + 0x4d8], rsi
xor esi, esi
movsd xmm1, qword [0x1401882e0]
movsd xmm5, qword [0x1401882e8]
movsd xmm4, qword [0x1401882f0]
movsd xmm3, qword [0x1401882f8]
movsd xmm2, qword [0x140188300]
nop dword [rax]
mov eax, r10d
pxor xmm9, xmm9
mul r13d
movapd xmm11, xmm4
add rdi, 8
addsd xmm11, xmm5
shr edx, 5
cvtsi2sd xmm9, edx
movapd xmm0, xmm9
mulsd xmm11, xmm9
mulsd xmm0, xmm8
addsd xmm0, xmm7
cvttsd2si ecx, xmm0
movapd xmm0, xmm9
mulsd xmm0, xmm6
movapd xmm10, xmm0
addsd xmm10, xmm1
mov bl, cl
subsd xmm10, xmm11
movapd xmm11, xmm4
addsd xmm11, xmm5
cvttsd2si eax, xmm10
movapd xmm10, xmm9
mulsd xmm9, xmm2
mulsd xmm10, xmm3
subsd xmm0, xmm10
mov bh, al
lea eax, [r10 - 0x33]
subsd xmm0, xmm9
pxor xmm9, xmm9
movzx ebx, bx
mul r13d
addsd xmm0, xmm1
shr edx, 5
cvtsi2sd xmm9, edx
cvttsd2si esi, xmm0
movapd xmm0, xmm9
mulsd xmm11, xmm9
mulsd xmm0, xmm8
movzx ecx, sil
shl ecx, 0x10
or ecx, ebx
or ecx, 0xc0000000
addsd xmm0, xmm7
mov dword [rdi - 8], ecx
cvttsd2si r14d, xmm0
movapd xmm0, xmm9
mulsd xmm0, xmm6
movapd xmm10, xmm0
addsd xmm10, xmm1
mov cl, r14b
subsd xmm10, xmm11
cvttsd2si ebx, xmm10
movapd xmm10, xmm9
mulsd xmm9, xmm2
mulsd xmm10, xmm3
subsd xmm0, xmm10
subsd xmm0, xmm9
mov ch, bl
movzx esi, cx
addsd xmm0, xmm1
cvttsd2si r15d, xmm0
movzx ebx, r15b
shl ebx, 0x10
or ebx, esi
or ebx, 0xc0000000
mov dword [rdi - 4], ebx
sub r10d, 0x66
jne 0x140077520
lea r10, [rsp + 0x20]
xor eax, eax
mov ecx, 0x16
mov dword [rsp + 0xd0], 0x28
mov rdi, r10
rep stosq qword [rdi], rax
mov rcx, r10
mov dword [rsp + 0x20], 0x50565559
mov dword [rsp + 0xac], 0x42a00000
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x78], r11
call sym.libvlccore.dll_subpicture_region_New
test rax, rax
mov r13, rax
je 0x1400778a3
mov r14, qword [rax + 0xb0]
mov dword [rax + 0xbc], ebp
movzx ebp, byte [rsp + 0xd0]
mov dword [rax + 0xb8], r12d
mov dword [rax + 0xc0], 5
mov r8d, dword [r14 + 0xc4]
mov eax, r8d
cdq
idiv ebp
add edx, dword [r14 + 0xb8]
mov r15d, eax
mov r12d, edx
sub r12d, r8d
test ebp, ebp
je 0x14007787c
mov r9d, dword [r14 + 0xbc]
mov rcx, qword [r14 + 0xb0]
lea esi, [rbp - 1]
xor edx, edx
mov edi, 1
mov ebx, r15d
and esi, 3
imul r9d, eax
movsxd r8, r9d
call sub.msvcrt.dll_memset
cmp ebp, 1
je 0x14007787c
test esi, esi
je 0x1400777ce
cmp esi, 1
je 0x14007779c
cmp esi, 2
je 0x140077770
mov r11d, dword [r14 + 0xbc]
lea ebx, [r15 + r15]
mov edx, 1
mov edi, 2
imul r11d, r15d
movsxd r8, r11d
mov rcx, r8
add rcx, qword [r14 + 0xb0]
call sub.msvcrt.dll_memset
mov r10d, dword [r14 + 0xbc]
mov r8d, r15d
mov edx, edi
add edi, 1
imul r8d, r10d
imul r10d, ebx
add ebx, r15d
movsxd r8, r8d
movsxd rcx, r10d
add rcx, qword [r14 + 0xb0]
call sub.msvcrt.dll_memset
mov ecx, dword [r14 + 0xbc]
mov eax, r15d
mov edx, edi
add edi, 1
imul eax, ecx
imul ecx, ebx
add ebx, r15d
movsxd r8, eax
movsxd rcx, ecx
add rcx, qword [r14 + 0xb0]
call sub.msvcrt.dll_memset
cmp ebp, edi
je 0x14007787c
mov edx, dword [r14 + 0xbc]
mov esi, r15d
imul esi, edx
imul edx, ebx
add ebx, r15d
movsxd r8, esi
movsxd rcx, edx
add rcx, qword [r14 + 0xb0]
mov edx, edi
call sub.msvcrt.dll_memset
mov r9d, dword [r14 + 0xbc]
mov r11d, r15d
lea edx, [rdi + 1]
imul r11d, r9d
imul r9d, ebx
add ebx, r15d
movsxd r8, r11d
movsxd rcx, r9d
add rcx, qword [r14 + 0xb0]
call sub.msvcrt.dll_memset
mov r10d, dword [r14 + 0xbc]
mov r8d, r15d
lea edx, [rdi + 2]
imul r8d, r10d
imul r10d, ebx
add ebx, r15d
movsxd r8, r8d
movsxd rcx, r10d
add rcx, qword [r14 + 0xb0]
call sub.msvcrt.dll_memset
mov ecx, dword [r14 + 0xbc]
mov eax, r15d
lea edx, [rdi + 3]
add edi, 4
imul eax, ecx
imul ecx, ebx
add ebx, r15d
movsxd r8, eax
movsxd rcx, ecx
add rcx, qword [r14 + 0xb0]
call sub.msvcrt.dll_memset
cmp ebp, edi
jne 0x1400777ce
mov ecx, dword [r14 + 0xbc]
lea edx, [rbp - 1]
imul r12d, ecx
imul ecx, edx
movsxd r8, r12d
imul r15d, ecx
movsxd rcx, r15d
add rcx, qword [r14 + 0xb0]
call sub.msvcrt.dll_memset
mov rbx, qword [0x1402840b0]
mov rax, r13
mov rdi, qword [rsp + 0x4d8]
xor rdi, qword [rbx]
jne 0x140077902
movaps xmm6, xmmword [rsp + 0x4e0]
movaps xmm7, xmmword [rsp + 0x4f0]
movaps xmm8, xmmword [rsp + 0x500]
movaps xmm9, xmmword [rsp + 0x510]
movaps xmm10, xmmword [rsp + 0x520]
movaps xmm11, xmmword [rsp + 0x530]
add rsp, 0x548
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400c4db0
nop
nop dword [rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x598
movaps xmmword [rsp + 0x4f0], xmm6
movaps xmmword [rsp + 0x500], xmm7
movaps xmmword [rsp + 0x510], xmm8
movaps xmmword [rsp + 0x520], xmm9
movaps xmmword [rsp + 0x530], xmm10
movaps xmmword [rsp + 0x540], xmm11
movaps xmmword [rsp + 0x550], xmm12
movaps xmmword [rsp + 0x560], xmm13
movaps xmmword [rsp + 0x570], xmm14
movaps xmmword [rsp + 0x580], xmm15
lea r15, [rsp + 0x184]
mov eax, dword [rsp + 0x600]
mov rsi, qword [0x1402840b0]
mov dword [rsp + 0x5e8], edx
lea rdx, [rsp + 0xe0]
mov dword [rsp + 0x5e0], ecx
movsd xmm11, qword [0x140188308]
lea rcx, [rsp + 0xe4]
mov r12d, eax
movzx r13d, al
mov qword [rsp + 0x28], rdx
shr r12d, 0x10
lea r10d, [r13 + r13*4]
mov rdi, qword [rsi]
mov qword [rsp + 0x4e8], rdi
xor edi, edi
movzx r12d, r12b
movzx edi, ah
and eax, 0xff000000
lea r11d, [rdi + rdi*4]
lea esi, [r12 + r12*4]
mov r14d, edi
movsd xmm10, qword [0x140188310]
shl r10d, 3
movsd xmm9, qword [0x140188318]
shl esi, 3
movsd xmm8, qword [0x1401882d0]
shl r11d, 3
movsd xmm3, qword [0x1401882d8]
mov edi, 0xcccccccd
movsd xmm2, qword [0x1401882e0]
mov ebp, eax
movsd xmm7, qword [0x1401882e8]
movsd xmm6, qword [0x1401882f0]
movsd xmm5, qword [0x1401882f8]
movsd xmm4, qword [0x140188300]
nop
mov eax, esi
pxor xmm0, xmm0
mul edi
mov eax, r11d
add rcx, 4
pxor xmm14, xmm14
sub esi, r12d
pxor xmm13, xmm13
sub r11d, r14d
shr edx, 5
cvtsi2sd xmm0, edx
mul edi
mov eax, r10d
sub r10d, r13d
shr edx, 5
cvtsi2sd xmm14, edx
mul edi
shr edx, 5
cvtsi2sd xmm13, edx
movapd xmm15, xmm0
mulsd xmm15, xmm11
movapd xmm1, xmm14
mulsd xmm1, xmm10
movapd xmm12, xmm13
addsd xmm15, xmm1
movapd xmm1, xmm13
mulsd xmm12, xmm9
mulsd xmm1, xmm3
mulsd xmm13, xmm4
addsd xmm12, xmm8
addsd xmm1, xmm2
addsd xmm15, xmm12
movapd xmm12, xmm14
mulsd xmm14, xmm5
mulsd xmm12, xmm6
cvttsd2si eax, xmm15
movapd xmm15, xmm0
mulsd xmm0, xmm3
mulsd xmm15, xmm7
subsd xmm0, xmm14
addsd xmm12, xmm15
subsd xmm0, xmm13
subsd xmm1, xmm12
mov bl, al
addsd xmm0, xmm2
cvttsd2si edx, xmm1
cvttsd2si eax, xmm0
mov bh, dl
movzx ebx, bx
movzx edx, al
shl edx, 0x10
or ebx, edx
or ebx, ebp
mov dword [rcx - 4], ebx
cmp r15, rcx
jne 0x140077a50
lea rbx, [rsp + 0x30]
xor eax, eax
mov ecx, 0x16
mov dword [rsp + 0xe0], 0x28
mov rdi, rbx
rep stosq qword [rdi], rax
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x34], r8d
mov rcx, rbx
mov r8, qword [rsp + 0x28]
mov dword [rsp + 0x30], 0x50565559
mov dword [rsp + 0xbc], 0x42a00000
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 1
mov qword [rsp + 0x88], r8
call sym.libvlccore.dll_subpicture_region_New
test rax, rax
mov rdi, rax
je 0x140077da9
mov r13, qword [rax + 0xb0]
mov r12d, dword [rsp + 0x5e8]
mov r9d, dword [rsp + 0x5e0]
movzx ebp, byte [rsp + 0xe0]
mov dword [rax + 0xc0], 5
mov esi, dword [r13 + 0xc4]
mov dword [rax + 0xbc], r12d
mov dword [rax + 0xb8], r9d
mov eax, esi
cdq
idiv ebp
add edx, dword [r13 + 0xb8]
mov r14d, eax
mov r12d, edx
sub r12d, esi
test ebp, ebp
je 0x140077d82
mov r11d, dword [r13 + 0xbc]
mov rcx, qword [r13 + 0xb0]
lea r15d, [rbp - 1]
xor edx, edx
mov esi, 1
mov ebx, r14d
and r15d, 3
imul r11d, eax
movsxd r8, r11d
call sub.msvcrt.dll_memset
cmp ebp, 1
je 0x140077d82
test r15d, r15d
je 0x140077cd2
cmp r15d, 1
je 0x140077c9e
cmp r15d, 2
je 0x140077c73
mov r10d, dword [r13 + 0xbc]
lea ebx, [r14 + r14]
mov edx, 1
mov esi, 2
imul r10d, r14d
movsxd r8, r10d
mov rcx, r8
add rcx, qword [r13 + 0xb0]
call sub.msvcrt.dll_memset
mov ecx, dword [r13 + 0xbc]
mov r8d, r14d
mov edx, esi
add esi, 1
imul r8d, ecx
imul ecx, ebx
add ebx, r14d
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [r13 + 0xb0]
call sub.msvcrt.dll_memset
mov r9d, dword [r13 + 0xbc]
mov eax, r14d
mov edx, esi
add esi, 1
imul eax, r9d
imul r9d, ebx
add ebx, r14d
movsxd r8, eax
movsxd rcx, r9d
add rcx, qword [r13 + 0xb0]
call sub.msvcrt.dll_memset
cmp ebp, esi
je 0x140077d82
mov edx, dword [r13 + 0xbc]
mov r15d, r14d
imul r15d, edx
imul edx, ebx
add ebx, r14d
movsxd r8, r15d
movsxd rcx, edx
add rcx, qword [r13 + 0xb0]
mov edx, esi
call sub.msvcrt.dll_memset
mov r11d, dword [r13 + 0xbc]
mov r10d, r14d
lea edx, [rsi + 1]
imul r10d, r11d
imul r11d, ebx
add ebx, r14d
movsxd r8, r10d
movsxd rcx, r11d
add rcx, qword [r13 + 0xb0]
call sub.msvcrt.dll_memset
mov ecx, dword [r13 + 0xbc]
mov r8d, r14d
lea edx, [rsi + 2]
imul r8d, ecx
imul ecx, ebx
add ebx, r14d
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [r13 + 0xb0]
call sub.msvcrt.dll_memset
mov r9d, dword [r13 + 0xbc]
mov eax, r14d
lea edx, [rsi + 3]
add esi, 4
imul eax, r9d
imul r9d, ebx
add ebx, r14d
movsxd r8, eax
movsxd rcx, r9d
add rcx, qword [r13 + 0xb0]
call sub.msvcrt.dll_memset
cmp ebp, esi
jne 0x140077cd2
mov ecx, dword [r13 + 0xbc]
lea edx, [rbp - 1]
imul r12d, ecx
imul ecx, edx
movsxd r8, r12d
imul r14d, ecx
movsxd rcx, r14d
add rcx, qword [r13 + 0xb0]
call sub.msvcrt.dll_memset
mov rbx, qword [0x1402840b0]
mov rax, rdi
mov rdi, qword [rsp + 0x4e8]
xor rdi, qword [rbx]
jne 0x140077e2c
movaps xmm6, xmmword [rsp + 0x4f0]
movaps xmm7, xmmword [rsp + 0x500]
movaps xmm8, xmmword [rsp + 0x510]
movaps xmm9, xmmword [rsp + 0x520]
movaps xmm10, xmmword [rsp + 0x530]
movaps xmm11, xmmword [rsp + 0x540]
movaps xmm12, xmmword [rsp + 0x550]
movaps xmm13, xmmword [rsp + 0x560]
movaps xmm14, xmmword [rsp + 0x570]
movaps xmm15, xmmword [rsp + 0x580]
add rsp, 0x598
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400c4db0
nop
nop dword [rax]
nop word cs:[rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov rax, qword [0x1402840b0]
mov r15, qword [0x140171690]
xor esi, esi
mov r13d, edx
mov rdx, qword [rcx]
lea rbp, [rsp + 0x40]
mov rbx, rcx
mov r14d, r8d
mov dword [rsp + 0x198], r9d
mov rdi, qword [rax]
mov qword [rsp + 0x128], rdi
xor edi, edi
mov qword [rsp + 0x30], rdx
mov rcx, rbp
lea rdx, [rsp + 0x30]
lea r12, [rsp + 0x38]
call r15
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, str._2.2d:_2.2d
mov rcx, r12
call fcn.1400772b0
mov ecx, dword [rbx + 8]
test eax, eax
cmovns rdi, qword [rsp + 0x38]
add rcx, qword [rbx]
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], rcx
mov rcx, rbp
call r15
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, str._2.2d:_2.2d
mov rcx, r12
call fcn.1400772b0
test eax, eax
cmovns rsi, qword [rsp + 0x38]
lea rdx, [0x14018828c]
mov r8, rdi
mov rcx, rbp
mov r9, rsi
call fcn.1400772b0
test eax, eax
js 0x140078072
mov rcx, qword [rsp + 0x40]
call sym.libvlccore.dll_text_segment_New
test rax, rax
mov rbp, rax
je 0x140078072
xor ecx, ecx
call sym.libvlccore.dll_text_style_Create
test rax, rax
mov qword [rbp + 8], rax
je 0x14007806a
mov r8d, dword [rsp + 0x198]
mov r15d, 1
mov byte [rax + 0x20], 0xff
mov byte [rax + 0x2c], 0
mov byte [rax + 0x38], 0
mov rcx, qword [rbx + 0x10]
mov dword [rax + 0x1c], 0xf48b00
test r8d, r8d
cmovg r15d, dword [rsp + 0x198]
or word [rax + 0x10], 0x53
mov dword [rax + 0x18], r15d
call sym.libvlccore.dll_text_segment_New
test rax, rax
mov rbx, rax
je 0x140077fb4
xor ecx, ecx
call sym.libvlccore.dll_text_style_Create
test rax, rax
mov qword [rbx + 8], rax
je 0x1400780ad
or word [rax + 0x10], 0x53
mov dword [rax + 0x18], r15d
mov dword [rax + 0x1c], 0xffffff
mov byte [rax + 0x20], 0xff
mov byte [rax + 0x2c], 0
mov byte [rax + 0x38], 0
mov qword [rbp + 0x10], rbx
mov r11, rbp
jmp 0x140077fc7
mov r11, rbx
mov rbx, qword [rbx + 0x10]
mov r9, qword [r11 + 8]
or word [r9 + 0x10], 0x800
test rbx, rbx
mov dword [r9 + 0x50], 2
jne 0x140077fc0
mov rcx, rdi
call fcn.14016b5d8
mov rcx, rsi
call fcn.14016b5d8
lea r10, [rsp + 0x70]
mov rax, rbx
mov ecx, 0x16
mov rdi, r10
rep stosq qword [rdi], rax
mov rcx, r10
mov dword [rsp + 0x70], 0x54584554
mov dword [rsp + 0xfc], 0x42a00000
mov dword [rsp + 0x90], 1
mov dword [rsp + 0x94], 1
call sym.libvlccore.dll_subpicture_region_New
test rax, rax
je 0x140078084
mov qword [rax + 0xc8], rbp
mov dword [rax + 0xc0], 5
mov dword [rax + 0xd0], 5
mov dword [rax + 0xb8], r13d
mov dword [rax + 0xbc], r14d
mov byte [rax + 0xd6], 0
jmp 0x140078084
mov rcx, rbp
call sym.libvlccore.dll_text_segment_Delete
mov rcx, rdi
call fcn.14016b5d8
mov rcx, rsi
call fcn.14016b5d8
xor eax, eax
mov r13, qword [0x1402840b0]
mov rdi, qword [rsp + 0x128]
xor rdi, qword [r13]
jne 0x1400780bc
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
xor ebx, ebx
call sym.libvlccore.dll_text_segment_Delete
jmp 0x140077fb4
call fcn.1400c4db0
nop
nop dword [rax]
nop word cs:[rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1b8
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x180], xmm9
movaps xmmword [rsp + 0x190], xmm10
movaps xmmword [rsp + 0x1a0], xmm11
xor edx, edx
pxor xmm1, xmm1
mov r14, rcx
pxor xmm2, xmm2
mov rax, qword [0x1402840b0]
mov r13, qword [rcx + 0x58]
lea r12, [rsp + 0x48]
mov ecx, dword [r8 + 0x20]
mov ebx, dword [r8 + 0x24]
mov r10d, dword [r8 + 0x18]
mov r11d, dword [r8 + 0x10]
mov rsi, qword [rax]
mov qword [rsp + 0x148], rsi
xor esi, esi
mov eax, dword [r8 + 0xc]
pxor xmm6, xmm6
cvtsi2sd xmm1, r10d
pxor xmm8, xmm8
imul eax, ecx
cvtsi2sd xmm6, r11d
movsd xmm0, qword [0x140188320]
movsd xmm10, qword [0x140188328]
div ebx
xor edx, edx
movsd xmm7, qword [0x140188340]
movsd xmm11, qword [0x140188330]
pxor xmm9, xmm9
mov r9d, eax
mov eax, dword [r8 + 0x14]
mulsd xmm0, xmm1
cvtsi2sd xmm8, r9d
mulsd xmm10, xmm1
mulsd xmm1, qword [0x140188338]
mov dword [r14 + 0x38], r10d
imul eax, ecx
cvttsd2si r15d, xmm0
cvttsd2si r9d, xmm10
div ebx
addsd xmm6, xmm1
cvtsi2sd xmm2, eax
mov dword [r14 + 0x34], eax
cvttsd2si edx, xmm6
lea edi, [r15 + r15]
cvtsi2sd xmm9, r15d
mulsd xmm7, xmm2
mulsd xmm11, xmm2
addsd xmm6, xmm9
addsd xmm8, xmm7
cvttsd2si r8d, xmm11
cvttsd2si ecx, xmm8
addsd xmm8, xmm9
cvttsd2si ebx, xmm8
call 0x140077460
pxor xmm3, xmm3
lea rsi, [rax + 0xe0]
test rax, rax
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x48], rax
cmovne r12, rsi
cmp qword [r13 + 0x10], 0
cvtsi2sd xmm3, edi
cvttsd2si esi, xmm6
subsd xmm11, xmm3
subsd xmm10, xmm3
cvttsd2si ebp, xmm11
cvttsd2si edi, xmm10
je 0x1400782b7
mov ecx, ebx
mov r9d, edi
mov r8d, edi
mov edx, esi
mov dword [rsp + 0x20], 0xfff48b00
call 0x140077910
mov r11d, dword [rsp + 0x38]
lea r8, [rax + 0xe0]
mov r10, qword [r13 + 0x10]
test rax, rax
mov rcx, qword [r13 + 0x18]
mov r9d, edi
mov qword [r12], rax
lea edx, [r15 + rbx]
cmovne r12, r8
sub r9d, r11d
lea r8d, [r15 + rsi]
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], r9d
call 0x140077300
lea rcx, [rax + 0xe0]
test rax, rax
mov qword [r12], rax
cmovne r12, rcx
add r15d, edi
add ebx, r15d
sub ebp, r15d
pxor xmm6, xmm6
mov r9, qword [r13]
movsd xmm10, qword [0x140188348]
cvtsi2sd xmm6, edi
mov rcx, qword [r9]
call sym.libvlccore.dll_text_segment_New
test rax, rax
mov qword [rsp + 0x38], rax
mulsd xmm10, xmm6
cvttsd2si r15d, xmm10
je 0x140078838
xor ecx, ecx
call sym.libvlccore.dll_text_style_Create
mov rdx, qword [rsp + 0x38]
test rax, rax
mov qword [rdx + 8], rax
je 0x140078830
test r15d, r15d
lea r8, [rsp + 0x90]
mov edi, 1
cmovg edi, r15d
mov dword [rax + 0x1c], 0xffffff
or word [rax + 0x10], 0x53
mov dword [rax + 0x18], edi
mov byte [rax + 0x20], 0xff
mov rdi, r8
mov byte [rax + 0x2c], 0
mov byte [rax + 0x38], 0
mov ecx, 0x16
xor eax, eax
mov qword [rsp + 0x38], rdx
rep stosq qword [rdi], rax
mov rcx, r8
mov dword [rsp + 0x90], 0x54584554
mov dword [rsp + 0x11c], 0x42a00000
mov dword [rsp + 0xb0], 1
mov dword [rsp + 0xb4], 1
call sym.libvlccore.dll_subpicture_region_New
test rax, rax
je 0x140078838
mov r11, qword [rsp + 0x38]
mov dword [rax + 0xc0], 5
mov dword [rax + 0xd0], 5
mov dword [rax + 0xb8], ebx
mov dword [rax + 0xbc], esi
mov byte [rax + 0xd6], 0
mov qword [rax + 0xc8], r11
mov qword [r12], rax
lea r12, [rax + 0xe0]
mov r9, qword [r13]
mov rcx, qword [r9 + 0x28]
mov r10, qword [r9 + 0x10]
test rcx, rcx
je 0x140078880
test r10, r10
je 0x140078845
mov r8, qword [r9 + 0x18]
mov rdi, qword [r8]
movzx edx, word [rcx + 0xc]
cmp dx, word [rdi + 0xc]
jne 0x140078513
lea r11, [r10 - 1]
xor eax, eax
and r11d, 7
je 0x1400784ac
mov eax, 1
cmp rax, r10
jae 0x140078845
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
cmp r11, 1
je 0x1400784ac
cmp r11, 2
je 0x14007849e
cmp r11, 3
je 0x140078490
cmp r11, 4
je 0x14007847e
cmp r11, 5
je 0x14007846c
cmp r11, 6
je 0x14007845a
add rax, 1
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
add rax, 1
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
add rax, 1
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
add rax, 1
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
add rax, 1
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
add rax, 1
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
lea rdi, [rax + 1]
cmp rdi, r10
jae 0x140078845
mov rdi, qword [r8 + rdi*8]
cmp word [rdi + 0xc], dx
jne 0x140078513
mov rdi, qword [r8 + rax*8 + 0x10]
cmp word [rdi + 0xc], dx
jne 0x140078513
mov rdi, qword [r8 + rax*8 + 0x18]
cmp word [rdi + 0xc], dx
jne 0x140078513
mov rdi, qword [r8 + rax*8 + 0x20]
cmp word [rdi + 0xc], dx
jne 0x140078513
mov rdi, qword [r8 + rax*8 + 0x28]
cmp word [rdi + 0xc], dx
jne 0x140078513
mov rdi, qword [r8 + rax*8 + 0x30]
cmp word [rdi + 0xc], dx
jne 0x140078513
mov rdi, qword [r8 + rax*8 + 0x38]
cmp word [rdi + 0xc], dx
jne 0x140078513
add rax, 8
mov rdi, qword [r8 + rax*8]
cmp word [rdi + 0xc], dx
je 0x1400784ac
pxor xmm11, xmm11
mov r9d, r15d
mov edx, ebx
cvtsi2sd xmm11, esi
addsd xmm10, xmm11
cvttsd2si r8d, xmm10
call 0x140077e40
test rax, rax
mov qword [r12], rax
je 0x140078556
test rdi, rdi
mov dword [rax + 0xd8], ebp
mov dword [rax + 0xdc], 0
lea r12, [rax + 0xe0]
je 0x140078599
movsd xmm4, qword [0x140188350]
mov r9d, r15d
mov edx, ebx
mov rcx, rdi
mulsd xmm4, xmm6
addsd xmm4, xmm11
cvttsd2si r8d, xmm4
call 0x140077e40
test rax, rax
mov qword [r12], rax
je 0x140078599
lea r12, [rax + 0xe0]
mov dword [rax + 0xd8], ebp
mov dword [rax + 0xdc], 0
mov rcx, qword [r13 + 8]
pxor xmm5, xmm5
test rcx, rcx
jne 0x140078694
pxor xmm2, xmm2
movss dword [rsp + 0x20], xmm5
pxor xmm3, xmm3
movsd xmm0, qword [0x140188360]
cvtsi2sd xmm2, ebp
cvtsi2sd xmm3, ebx
movsd xmm10, qword [0x140188358]
mulsd xmm10, xmm6
cvttsd2si r9d, xmm10
movapd xmm8, xmm2
mulsd xmm2, qword [0x140188368]
mulsd xmm8, xmm0
mulsd xmm0, xmm6
addsd xmm3, xmm2
cvttsd2si r8d, xmm8
addsd xmm0, xmm11
cvttsd2si ecx, xmm3
cvttsd2si edx, xmm0
call fcn.140076f90
mov r11, qword [r13 + 8]
lea rdx, [rax + 0xe0]
test rax, rax
mov qword [r12], rax
cmovne r12, rdx
test r11, r11
jne 0x1400786d0
mov r10, qword [rsp + 0x48]
mov qword [r14 + 0x18], r10
mov r14, qword [0x1402840b0]
mov rsi, qword [rsp + 0x148]
xor rsi, qword [r14]
jne 0x1400788cf
movaps xmm6, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm9, xmmword [rsp + 0x180]
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm11, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9, qword [r13]
mov r10, qword [r9 + 0x28]
test r10, r10
je 0x1400785aa
sub rcx, qword [r10]
mov r8d, dword [r10 + 8]
pxor xmm5, xmm5
pxor xmm1, xmm1
cvtsi2ss xmm5, rcx
cvtsi2ss xmm1, r8
divss xmm5, xmm1
jmp 0x1400785aa
mov qword [rsp + 0x50], r11
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [0x140171690]
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x68]
lea rcx, [rsp + 0x58]
lea rdx, str._2.2d:_2.2d
call fcn.1400772b0
test eax, eax
js 0x14007862b
mov r13, qword [rsp + 0x58]
test r13, r13
je 0x14007862b
mulsd xmm6, qword [0x140188370]
mov rcx, r13
call sym.libvlccore.dll_text_segment_New
test rax, rax
mov rbp, rax
addsd xmm11, xmm6
cvttsd2si ebx, xmm11
je 0x1400788b0
xor ecx, ecx
call sym.libvlccore.dll_text_style_Create
test rax, rax
mov qword [rbp + 8], rax
je 0x1400788c0
test r15d, r15d
mov esi, 1
mov dword [rax + 0x1c], 0xf48b00
cmovle r15d, esi
mov byte [rax + 0x20], 0xff
or word [rax + 0x10], 0x53
mov dword [rax + 0x18], r15d
lea r15, [rsp + 0x90]
mov byte [rax + 0x2c], 0
mov byte [rax + 0x38], 0
mov ecx, 0x16
xor eax, eax
mov rdi, r15
rep stosq qword [rdi], rax
mov rcx, r15
mov dword [rsp + 0x90], 0x54584554
mov dword [rsp + 0x11c], 0x42a00000
mov dword [rsp + 0xb0], 1
mov dword [rsp + 0xb4], 1
call sym.libvlccore.dll_subpicture_region_New
test rax, rax
je 0x1400787ff
addsd xmm7, xmm9
mov qword [rax + 0xc8], rbp
mov dword [rax + 0xc0], 5
mov dword [rax + 0xd0], 5
mov dword [rax + 0xbc], ebx
mov byte [rax + 0xd6], 0
cvttsd2si r9d, xmm7
mov dword [rax + 0xb8], r9d
mov qword [r12], rax
mov rcx, r13
call fcn.14016b5d8
mov r12, qword [r12]
test r12, r12
je 0x14007862b
mov dword [r12 + 0xc0], 6
jmp 0x14007862b
mov rcx, rdx
call sym.libvlccore.dll_text_segment_Delete
mov qword [r12], 0
jmp 0x1400783c1
pxor xmm11, xmm11
mov r9d, r15d
mov edx, ebx
cvtsi2sd xmm11, esi
addsd xmm10, xmm11
cvttsd2si r8d, xmm10
call 0x140077e40
test rax, rax
mov qword [r12], rax
je 0x140078599
xor edi, edi
jmp 0x14007853a
test r10, r10
jne 0x1400788a0
pxor xmm11, xmm11
pxor xmm5, xmm5
cvtsi2sd xmm11, esi
jmp 0x1400785aa
mov r8, qword [r9 + 0x18]
mov rcx, qword [r8]
mov rdi, rcx
jmp 0x1400783e6
xor eax, eax
jmp 0x1400787ff
mov rcx, rbp
call sym.libvlccore.dll_text_segment_Delete
xor eax, eax
jmp 0x1400787ff
call fcn.1400c4db0
nop
nop
nop word cs:[rax + rax]