Function at 0x14006e3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov r14d, dword [rsp + 0xd0]
mov r12, qword [rsp + 0xe8]
mov rsi, r8
mov rbp, rcx
mov r15, rdx
mov ecx, 1
mov edx, 0x200
mov qword [rsp + 0xc8], r9
mov byte [rsp + 0x47], r14b
call sub.msvcrt.dll_calloc
mov rdx, qword [rsi + 8]
mov rbx, rax
lea r9, [rax + 0x10]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov r10, qword [rsi + 0x28]
mov r11, qword [rsi + 0x30]
mov qword [rbx + 0x18], rdx
mov rdx, qword [rsi + 0x4c]
mov rdi, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov r13, qword [rsi + 0x38]
mov qword [rbx + 0x10], rax
mov rax, qword [rsi + 0x40]
mov qword [rbx + 0x20], rcx
lea rcx, [rbx + 0x20]
mov qword [rbx + 0x58], rdx
lea rdx, [rbx + 0x24]
mov qword [rbx + 0x38], r10
mov qword [rbx + 0x40], r11
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x30], r8
mov r8, r15
mov qword [rbx + 0x48], r13
mov qword [rsp + 0x28], r9
call sym.libvlccore.dll_vout_display_GetDefaultDisplaySize
lea rcx, [rbx + 0x188]
mov qword [rbx], rbp
mov byte [rbx + 8], r14b
mov qword [rsp + 0x58], rcx
call sym.libvlccore.dll_vlc_mutex_init
mov dword [rbx + 0x1b8], 0
mov dword [rbx + 0x1bc], 0
mov dword [rbx + 0x1c0], 0
mov byte [rbx + 0x1c4], 0
call sym.libvlccore.dll_mdate
movzx r8d, byte [rbx + 0x38]
movzx r13d, byte [rbx + 0x10]
mov r10d, dword [rbx + 0x20]
mov r11d, dword [rbx + 0x24]
mov r9, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
mov ecx, dword [rbx + 0x3c]
mov qword [rbx + 0x1d0], rax
mov byte [rbx + 0x60], r8b
mov r8d, dword [rbx + 0x40]
test r13b, r13b
movdqu xmm1, xmmword [rbx + 0x44]
mov qword [rbx + 0x1e0], r9
mov qword [rbx + 0x1e8], rdi
mov dword [rbx + 0x1f4], r10d
mov dword [rbx + 0x1f8], r11d
movups xmmword [rbx + 0xac], xmm1
mov dword [rbx + 0x64], ecx
mov dword [rbx + 0x68], r8d
mov byte [rbx + 0x75], r13b
mov dword [rbx + 0x6c], r10d
mov dword [rbx + 0x70], r11d
jne 0x14006e880
mov r8d, dword [rbx + 0x58]
mov esi, dword [rsi + 0x48]
lea rdi, [rbx + 0xd0]
mov dword [rbx + 0x7c], 0
mov byte [rbx + 0x77], 1
mov ecx, 0x16
mov byte [rbx + 0x1f1], 0
test r8d, r8d
mov dword [rbx + 0x78], esi
mov rsi, r15
rep movsq qword [rdi], qword [rsi]
mov dword [rbx + 0x90], 0
mov dword [rbx + 0x94], 0
mov dword [rbx + 0x98], 0
mov dword [rbx + 0x9c], 0
mov dword [rbx + 0xa0], 0
mov dword [rbx + 0xa4], 0
jne 0x14006e5bd
mov r8d, dword [r15 + 0x20]
mov r13d, dword [rbx + 0x5c]
mov dword [rbx + 0x84], r8d
test r13d, r13d
jne 0x14006e5d1
mov r13d, dword [r15 + 0x24]
test r12, r12
mov dword [rbx + 0x88], r13d
je 0x14006e910
mov r9, qword [r12 + 8]
mov rax, qword [r12 + 0x10]
mov r12, qword [r12 + 0x18]
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], rax
lea r8, str.vout_display
mov rcx, rbp
mov edx, 0x1f8
mov rsi, r15
call fcn.1400a2e30
mov rdx, qword [r15]
lea r8, [r15 + 0xb8]
lea rbp, [rax + 0x38]
lea r10, [rax + 0xf0]
lea rdi, [rax + 0x40]
mov r13, rax
mov qword [rax + 0x38], rdx
mov rcx, qword [r8 - 0x10]
and rdi, 0xfffffffffffffff8
mov qword [r10 - 0x10], rcx
mov rcx, rbp
sub rcx, rdi
sub rsi, rcx
add ecx, 0xb0
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
cmp qword [r15 + 0x58], 0
je 0x14006e698
mov ecx, 0x404
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r10
call sub.msvcrt.dll_malloc
test rax, rax
mov qword [r13 + 0x90], rax
mov r10, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
je 0x14006e698
mov rsi, qword [r15 + 0x58]
mov ecx, pe_nt_image_headers64
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov r11d, dword [rsi]
mov dword [rdi], r11d
lea rcx, [r13 + 0xe8]
and r10, 0xfffffffffffffff8
mov rsi, r15
mov rdi, r10
mov qword [rsp + 0x48], rcx
mov r9, qword [r15]
sub rcx, r10
sub rsi, rcx
add ecx, 0xb0
shr ecx, 3
mov qword [r13 + 0xe8], r9
mov rax, qword [r8 - 0x10]
mov qword [r13 + 0x190], rax
rep movsq qword [rdi], qword [rsi]
cmp qword [r15 + 0x58], 0
je 0x14006e705
mov ecx, 0x404
call sub.msvcrt.dll_malloc
test rax, rax
mov qword [r13 + 0x140], rax
je 0x14006e705
mov rsi, qword [r15 + 0x58]
mov ecx, pe_nt_image_headers64
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov edx, dword [rsi]
mov dword [rdi], edx
mov r10, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
test r14b, r14b
mov r11, qword [rsp + 0x38]
mov dword [r13 + 0x108], 0
mov dword [r13 + 0x10c], 0
mov byte [r13 + 0x198], 0
mov byte [r13 + 0x199], 0
mov byte [r13 + 0x19a], 0
mov byte [r13 + 0x19b], 0
mov qword [r13 + 0x1a0], 0
mov qword [r13 + 0x30], r10
mov qword [r13 + 0x1a8], 0
mov qword [r13 + 0x1b0], 0
mov qword [r13 + 0x1b8], 0
mov qword [r13 + 0x1c0], 0
mov qword [r13 + 0x1c8], 0
mov qword [r13 + 0x1d0], 0
mov qword [r13 + 0x1d8], rbx
mov qword [r13 + 0x1e0], r8
mov qword [r13 + 0x1e8], r11
mov qword [r13 + 0x1f0], r12
jne 0x14006e870
cmp qword [rsp + 0xc8], 0
je 0x14006e7dc
mov r14, qword [rsp + 0xc8]
cmp byte [r14], 0
setne byte [rsp + 0x47]
movzx r9d, byte [rsp + 0x47]
mov r8, qword [rsp + 0xc8]
lea rdx, str.vout_display
mov rcx, r13
call sym.libvlccore.dll_module_need
test rax, rax
mov qword [r13 + 0x28], rax
je 0x14006e9ef
mov rcx, r13
call fcn.14006d8d0
test eax, eax
jne 0x14006e960
mov r12d, dword [r15 + 0x20]
cmp dword [rbx + 0x84], r12d
je 0x14006e8f1
mov byte [rbx + 0x80], 1
mov rcx, qword [rbx]
mov ebx, dword [r13 + 0x164]
xor r9d, r9d
lea rdx, [0x140188647]
mov r8d, 0x20
test ebx, ebx
setne r9b
call sym.libvlccore.dll_var_SetChecked
mov rax, r13
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [r13 + 0x28], 0
jmp 0x14006e806
mov edi, dword [r15 + 0x20]
mov r13d, dword [r15 + 0x24]
mov r10d, dword [rbx + 0x28]
mov r11d, dword [rbx + 0x2c]
cmp edi, r13d
jae 0x14006e934
mov eax, dword [r15 + 0x18]
mov r9d, dword [r15 + 0x14]
imul r13, rax
mov eax, r10d
mov r10d, r11d
imul rax, r13
cqo
idiv rdi
cqo
idiv r10
mov r11, rax
imul r9d, ecx
xor edx, edx
mov eax, r9d
div r8d
xor edx, edx
mov edi, eax
mov dword [rbx + 0x6c], eax
mov eax, ecx
imul eax, r11d
div r8d
test byte [r15 + 0x60], 4
mov dword [rbx + 0x70], eax
je 0x14006e54a
mov dword [rbx + 0x6c], eax
mov dword [rbx + 0x70], edi
jmp 0x14006e54a
mov r15d, dword [r15 + 0x24]
cmp dword [rbx + 0x88], r15d
jne 0x14006e827
jmp 0x14006e82e
lea r10, [0x14006dd00]
lea r11, [0x140071080]
lea r12, [0x14006dcd0]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r11
jmp 0x14006e5fa
mov r9d, dword [r15 + 0x14]
mov eax, r11d
mov r11d, dword [r15 + 0x18]
imul rdi, r9
imul rax, rdi
cqo
idiv r13
cqo
idiv r10
mov r9, rax
jmp 0x14006e8bc
mov rdx, qword [r13 + 0x28]
test rdx, rdx
je 0x14006e971
mov rcx, r13
call sym.libvlccore.dll_module_unneed
mov rcx, qword [r13 + 0x90]
lea rdi, [rbp + 8]
xor esi, esi
and rdi, 0xfffffffffffffff8
call fcn.14016b6d8
mov qword [rbp], 0
mov qword [rbp + 0xa8], 0
sub rbp, rdi
lea ecx, [rbp + 0xb0]
mov rax, rsi
shr ecx, 3
rep stosq qword [rdi], rax
mov rcx, qword [r13 + 0x140]
call fcn.14016b6d8
mov r12, qword [rsp + 0x48]
mov rax, rsi
lea rdi, [r12 + 8]
mov rbp, r12
mov qword [r12], 0
mov qword [r12 + 0xa8], 0
and rdi, 0xfffffffffffffff8
sub rbp, rdi
lea ecx, [rbp + 0xb0]
shr ecx, 3
rep stosq qword [rdi], rax
mov rcx, r13
xor r13d, r13d
call sym.libvlccore.dll_vlc_object_release
mov rcx, qword [rsp + 0x58]
call sym.libvlccore.dll_vlc_mutex_destroy
mov rcx, rbx
call fcn.14016b6d8
jmp 0x14006e853