Function at 0x1400161a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x8f8
mov rax, qword [0x1402840b0]
mov dword [rsp + 0x948], edx
mov rdx, qword [0x140284420]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], r8
mov rcx, qword [rax]
mov qword [rsp + 0x8e8], rcx
xor ecx, ecx
mov rbp, qword [rdx]
mov qword [rsp + 0x70], r9
test rbp, rbp
je 0x140016a39
mov rsi, rbp
xor ebx, ebx
add ebx, dword [rsi + 0x30]
mov rcx, qword [rsi + 0x38]
mov rsi, qword [rsi]
test rsi, rsi
lea ebx, [rbx + rcx*2]
jne 0x1400161f5
lea eax, [rbx + 1]
cdqe
mov edi, 0x20
mul rdi
mov rcx, rax
jo 0x1400169c5
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x1400169c5
lea r8d, [rbx + rbx + 1]
movsxd rcx, r8d
call sub.msvcrt.dll_malloc
test rax, rax
mov qword [rsp + 0x30], rax
je 0x1400169bd
cmp qword [rsp + 0x70], 0
mov qword [rsp + 0x88], 0
je 0x1400169eb
lea rdi, [rsp + 0xe0]
xor eax, eax
mov ecx, 0x100
test rbp, rbp
mov dword [rsp + 0x98], 0
rep stosq qword [rdi], rax
je 0x140016a45
lea rdx, [rsp + 0xc0]
lea rbx, [rsp + 0x9c]
xor r14d, r14d
xor r15d, r15d
mov r13d, r14d
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov r14, r15
mov r12, qword [rbp + 0x28]
mov rbx, qword [rbp + 0x20]
mov rdi, r14
shl rdi, 5
add rdi, rsi
lea r9, [r12*8]
sub r9, r12
shl r9, 4
lea r10, [rbx + r9]
cmp rbx, r10
jae 0x1400163b8
mov r12, r14
mov qword [rsp + 0x58], rbp
mov r14, r10
jmp 0x1400162fd
add rbx, 0x70
cmp r14, rbx
jbe 0x1400163b0
movzx ebp, byte [rbx]
mov rdi, r12
shl rdi, 5
add rdi, rsi
test bpl, 0xf0
je 0x1400162f0
mov r15, qword [rbx + 0x10]
mov rcx, r15
call sub.msvcrt.dll__strdup
test rax, rax
mov qword [rdi], rax
je 0x1400162f0
mov rcx, qword [rsp + 0x38]
and ebp, 0xffffffe0
mov dword [rdi + 0x18], 0
cmp ebp, 0x60
mov qword [rdi + 0x10], rcx
je 0x1400165d0
mov byte [rdi + 8], 1
add r13d, 1
mov dword [rsp + 0x98], r13d
movzx ebp, byte [rbx + 1]
test bpl, bpl
je 0x140016396
mov eax, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
movsx rcx, bpl
mov qword [rsp + rcx*8 + 0xe0], rbx
movsxd r11, eax
lea eax, [rax + 1]
mov byte [rdi + r11], bpl
cmp byte [rbx], 0x60
je 0x1400165b0
cmp byte [rbx + 1], 0x76
je 0x1400165b0
add dword [rsp + 0x48], 2
cdqe
mov byte [rdi + rax], 0x3a
movsxd r12, r13d
add rbx, 0x70
mov rdi, r12
shl rdi, 5
add rdi, rsi
cmp r14, rbx
ja 0x1400162fd
mov rbp, qword [rsp + 0x58]
mov r14, r12
mov rbp, qword [rbp]
test rbp, rbp
jne 0x1400162b5
movsxd r11, dword [rsp + 0x48]
mov rbp, rdi
mov rbx, qword [rsp + 0x30]
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0xa8]
lea r13, [rsp + 0xb0]
lea r12, [rsp + 0xb8]
mov qword [rbp], 0
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], 0
xor edi, edi
mov byte [rbx + r11], 0
lea rbx, [rsp + 0x98]
mov qword [rbp + 0x18], 0
mov dword [rsp + 0xc8], 0
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x48], r9
nop word cs:[rax + rax]
mov r10, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov r9, rsi
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x948]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r10
call fcn.140017440
cmp eax, 0xffffffff
mov ebp, eax
je 0x140016911
test ebp, ebp
jne 0x140016520
movsxd rdx, dword [rsp + 0x98]
mov eax, dword [rsp + 0x9c]
shl rdx, 5
test eax, eax
mov r14, qword [rsi + rdx]
je 0x1400164a7
xor r8d, r8d
cmp byte [r14 + 2], 0x2d
sete r8b
lea r14, [r14 + r8 + 2]
mov rcx, r14
call sym.libvlccore.dll_config_FindConfig
test rax, rax
mov r15, rax
je 0x140016520
test byte [rax + 4], 0x10
jne 0x140016690
movzx edx, byte [rax]
and edx, 0xffffffe0
cmp edx, 0x40
je 0x140016850
jle 0x140016710
cmp edx, 0x60
je 0x1400168d0
add edx, 0xffffff80
jne 0x140016440
mov r15, qword [rsp + 0x60]
mov rdx, r14
mov r8d, 0x40
mov rcx, r15
call sym.libvlccore.dll_var_Create
mov r9, qword [rsp + 0xc0]
mov r8d, 0x40
mov rdx, r14
mov rcx, r15
call sym.libvlccore.dll_var_SetChecked
jmp 0x140016440
movsxd r14, ebp
mov r9, qword [rsp + r14*8 + 0xe0]
test r9, r9
je 0x1400167d0
movzx r11d, byte [r9]
mov r14, qword [r9 + 0x10]
and r11d, 0xffffffe0
cmp r11d, 0x60
je 0x1400166b0
cmp r11d, 0x80
je 0x1400164e8
cmp r11d, 0x40
jne 0x140016440
mov rcx, qword [rsp + 0x60]
mov r8d, 0x30
mov rdx, r14
call sym.libvlccore.dll_var_Create
cmp ebp, 0x76
je 0x1400169cd
mov rcx, qword [rsp + 0xc0]
xor r8d, r8d
xor edx, edx
call fcn.14015c010
mov rcx, qword [rsp + 0x60]
mov r9, rax
mov r8d, 0x30
mov rdx, r14
call sym.libvlccore.dll_var_SetChecked
jmp 0x140016440
movsxd r12, r13d
mov dword [rsp + 0x48], eax
mov rdi, r12
shl rdi, 5
add rdi, rsi
jmp 0x1400162f0
mov byte [rdi + 8], 0
mov rdi, qword [rsp + 0x40]
lea eax, [r13 + 1]
lea rdx, str.no_s
mov r8, r15
mov dword [rsp + 0x98], eax
mov rcx, rdi
call fcn.140016100
cmp eax, 0xffffffff
je 0x1400166f0
movsxd r11, dword [rsp + 0x98]
mov rdx, qword [rsp + 0xc0]
mov rcx, rdi
mov r12, qword [rsp + 0x38]
mov r13, r11
shl r11, 5
add r11, rsi
add r13d, 1
mov qword [r11], rdx
mov r8, qword [rbx + 0x10]
lea rdx, str.no__s
mov byte [r11 + 8], 0
mov qword [r11 + 0x10], r12
mov dword [r11 + 0x18], 1
mov dword [rsp + 0x98], r13d
call fcn.140016100
cmp eax, 0xffffffff
je 0x1400166f0
movsxd r9, dword [rsp + 0x98]
mov r10, qword [rsp + 0xc0]
mov r13, r9
shl r9, 5
add r9, rsi
mov qword [r9], r10
mov byte [r9 + 8], 0
mov qword [r9 + 0x10], r12
mov dword [r9 + 0x18], 1
jmp 0x140016344
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.Warning:_option____s_no_longer_exists._n
lea rcx, [rax + 0x60]
mov r8, r14
call fcn.140016150
jmp 0x140016440
mov r15, qword [rsp + 0x60]
mov rdx, r14
mov r8d, 0x20
mov rcx, r15
call sym.libvlccore.dll_var_Create
mov byte [rsp + 0x68], 1
mov r9, qword [rsp + 0x68]
mov r8d, 0x20
mov rdx, r14
mov rcx, r15
call sym.libvlccore.dll_var_SetChecked
jmp 0x140016440
movsxd r12, dword [rsp + 0x98]
mov rdi, r12
mov r13, r12
shl rdi, 5
add rdi, rsi
jmp 0x1400162f0
cmp edx, 0x20
jne 0x140016440
mov rbp, qword [rsp + 0x60]
mov rdx, r14
mov r8d, 0x50
mov rcx, rbp
call sym.libvlccore.dll_var_Create
movss xmm0, dword [r15 + 0x40]
mov r9, r13
movss xmm1, dword [r15 + 0x38]
mov rdx, r14
mov r8d, 0x27
mov rcx, rbp
mov qword [rsp + 0x20], r12
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xb0], 0
movss dword [rsp + 0xb8], xmm0
movss dword [rsp + 0xb0], xmm1
call sym.libvlccore.dll_var_Change
mov rcx, qword [rsp + 0xc0]
call sym.libvlccore.dll_us_atof
cvtsd2ss xmm2, xmm0
movabs r9, 0xffffffff00000000
and r9, qword [rsp + 0x80]
mov rdx, r14
movd r8d, xmm2
mov rcx, rbp
or r9, r8
mov r8d, 0x50
mov qword [rsp + 0x80], r9
call sym.libvlccore.dll_var_SetChecked
jmp 0x140016440
cmp qword [rsp + 0x70], 0
je 0x140016440
mov rbp, qword [sym.imp.msvcrt.dll___iob_func]
call rbp
lea rcx, str.vlc:_unknown_option_or_missing_mandatory_argument
lea r9, [rax + 0x60]
mov r8d, 0x32
mov edx, 1
call sub.msvcrt.dll_fwrite
mov ebx, dword [rsp + 0xcc]
test ebx, ebx
je 0x140016a5d
call rbp
lea rdx, str.___c_n
lea rcx, [rax + 0x60]
mov r8d, ebx
call fcn.140016150
call rbp
lea rcx, str.Try__vlc___help_for_more_information._n
lea r9, [rax + 0x60]
mov r8d, 0x27
mov edx, 1
mov r12d, 0xffffffff
call sub.msvcrt.dll_fwrite
jmp 0x14001692d
mov rbp, qword [rsp + 0x60]
mov rdx, r14
mov r8d, 0x30
mov rcx, rbp
call sym.libvlccore.dll_var_Create
mov rcx, qword [r15 + 0x40]
mov r11, qword [rsp + 0x48]
mov rdx, r14
mov rax, qword [r15 + 0x38]
mov r9, qword [rsp + 0x38]
mov r8d, 0x27
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x20], r11
mov rcx, rbp
mov qword [rsp + 0xa0], rax
call sym.libvlccore.dll_var_Change
mov rcx, qword [rsp + 0xc0]
xor r8d, r8d
xor edx, edx
call fcn.14015c010
mov r8d, 0x30
mov r9, rax
mov rdx, r14
mov rcx, rbp
call sym.libvlccore.dll_var_SetChecked
jmp 0x140016440
mov rbp, qword [rsp + 0x60]
mov rdx, r14
mov r8d, 0x20
mov rcx, rbp
call sym.libvlccore.dll_var_Create
mov r10d, dword [rsp + 0x9c]
mov r8d, 0x20
mov rdx, r14
mov rcx, rbp
test r10d, r10d
sete byte [rsp + 0x78]
mov r9, qword [rsp + 0x78]
call sym.libvlccore.dll_var_SetChecked
jmp 0x140016440
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x140016a31
mov r11d, dword [rsp + 0xc8]
xor r12d, r12d
mov dword [r15], r11d
mov rcx, qword [rsi]
mov dword [rsp + 0x98], 0
test rcx, rcx
je 0x140016965
call fcn.14016b5d8
mov eax, dword [rsp + 0x98]
add eax, 1
mov dword [rsp + 0x98], eax
cdqe
shl rax, 5
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x140016940
mov rcx, rsi
call fcn.14016b5d8
mov rcx, qword [rsp + 0x30]
call fcn.14016b5d8
mov rcx, qword [rsp + 0x88]
call fcn.14016b5d8
mov rsi, qword [0x1402840b0]
mov eax, r12d
mov rcx, qword [rsp + 0x8e8]
xor rcx, qword [rsi]
jne 0x140016a89
add rsp, 0x8f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
call fcn.14016b5d8
mov rcx, rsi
call fcn.14016b5d8
mov r12d, 0xffffffff
jmp 0x140016984
mov rcx, qword [rsp + 0x60]
add edi, 1
mov r8d, 0x30
movsxd r9, edi
mov rdx, r14
call sym.libvlccore.dll_var_SetChecked
jmp 0x140016440
movsxd r12, dword [rsp + 0x948]
mov eax, 8
mul r12
mov rcx, rax
jo 0x1400169b3
call sub.msvcrt.dll_malloc
test rax, rax
je 0x1400169b3
mov rdx, qword [rsp + 0x50]
lea r8, [r12*8]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x88], rax
jmp 0x140016261
xor r12d, r12d
jmp 0x14001692d
mov eax, 1
xor ebx, ebx
jmp 0x14001620c
lea r13, [rsp + 0xc0]
mov rbp, rsi
xor r11d, r11d
mov qword [rsp + 0x40], r13
jmp 0x1400163cd
movsxd r10, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rcx + r10*8 - 8]
call rbp
lea rdx, str.__s_n
lea rcx, [rax + 0x60]
mov r8, rdi
call fcn.140016150
jmp 0x140016824
call fcn.1400c4db0
nop
nop