Function at 0x140013000
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rax, qword [0x1402840b0]
lea rdx, str.config
mov r8d, 0x8040
lea r13, [rsp + 0x78]
mov r12, rcx
mov rdi, qword [rax]
mov qword [rsp + 0x88], rdi
xor edi, edi
call sym.libvlccore.dll_var_Create
lea rdx, str.config
mov r9, r13
mov r8d, 0x40
mov rcx, r12
call sym.libvlccore.dll_var_GetChecked
test eax, eax
jne 0x1400133f9
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140013400
cmp byte [rcx], 0
je 0x140013400
lea rdx, str.config
mov qword [rsp + 0x78], rcx
mov rcx, r12
call sym.libvlccore.dll_var_Destroy
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400133b1
lea rdx, str.opening_config_file___s_
mov r8, qword [str.main]
lea rdi, str.config_OpenConfigFile
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_config_file.c
mov rcx, r12
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
mov edx, 3
mov dword [rsp + 0x20], 0x50
call sym.libvlccore.dll_vlc_Log
lea rdx, [0x14017d15e]
mov rcx, rbx
call sym.libvlccore.dll_vlc_fopen
test rax, rax
mov rsi, rax
je 0x14001346d
lea rbp, [rsp + 0x85]
mov rcx, rbx
call fcn.14016b5d8
mov r9, rsi
mov r8d, 3
mov edx, 1
mov rcx, rbp
call sub.msvcrt.dll_fread
cmp rax, 3
je 0x1400132a0
mov rcx, rsi
call sub.msvcrt.dll_rewind
mov rcx, qword [0x140284380]
lea rbp, [rsp + 0x70]
lea rdi, [rsp + 0x68]
mov qword [rsp + 0x68], 0
call sym.libvlccore.dll_vlc_rwlock_wrlock
nop dword [rax]
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.1400c4f40
cmp rax, 0xffffffffffffffff
je 0x140013210
mov r9, qword [rsp + 0x68]
lea rcx, [0x14017d18d]
mov r8d, 3
mov byte [r9 + rax - 1], 0
mov rbx, qword [rsp + 0x68]
movsx edx, byte [rbx]
call sub.msvcrt.dll_memchr
test rax, rax
jne 0x140013150
mov edx, 0x3d
mov rcx, rbx
call sub.msvcrt.dll_strchr
test rax, rax
mov r14, rax
je 0x140013150
mov byte [rax], 0
mov rcx, rbx
call sym.libvlccore.dll_config_FindConfig
test rax, rax
mov r15, rax
je 0x140013150
movzx r11d, byte [rax]
lea r10, [r14 + 1]
mov qword [rsp + 0x58], r10
and r11d, 0xffffffe0
cmp r11d, 0x40
je 0x1400132c2
cmp r11d, 0x60
je 0x1400132c2
cmp r11d, 0x20
je 0x140013270
mov rcx, qword [rax + 0x28]
call fcn.14016b5d8
mov rdx, qword [rsp + 0x58]
xor eax, eax
test rdx, rdx
je 0x140013206
mov rcx, rdx
call sub.msvcrt.dll__strdup
mov qword [r15 + 0x28], rax
jmp 0x140013150
mov rcx, qword [0x140284380]
call sym.libvlccore.dll_vlc_rwlock_unlock
mov rcx, qword [rsp + 0x68]
call fcn.14016b5d8
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x140013340
mov rcx, rsi
call sub.msvcrt.dll_fclose
xor eax, eax
mov r12, qword [0x1402840b0]
mov rsi, qword [rsp + 0x88]
xor rsi, qword [r12]
jne 0x1400134eb
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 1], 0
je 0x140013150
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_atof
pxor xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [r15 + 0x28], xmm1
jmp 0x140013150
lea rdx, [0x14017d189]
mov r8d, 3
mov rcx, rbp
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14001312d
jmp 0x140013125
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0
call qword [sym.imp.msvcrt.dll__errno]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov rdx, r13
mov dword [rax], 0
call fcn.14015c010
mov r14, rax
call qword [sym.imp.msvcrt.dll__errno]
mov eax, dword [rax]
test eax, eax
jne 0x14001330f
mov rcx, qword [rsp + 0x78]
cmp byte [rcx], 0
je 0x14001330f
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
cmp qword [r15 + 0x40], r14
jl 0x1400133a0
cmp qword [r15 + 0x38], r14
jg 0x1400133a0
call qword [sym.imp.msvcrt.dll__errno]
mov r8d, dword [rax]
test r8d, r8d
jne 0x14001340c
mov qword [r15 + 0x28], r14
jmp 0x140013150
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sym.libvlccore.dll_vlc_strerror_c
lea r8, str.config_LoadConfigFile
lea rcx, str.error_reading_configuration:__s
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_config_file.c
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0xfa
mov edx, 1
mov qword [rsp + 0x28], r8
mov r8, qword [str.main]
mov qword [rsp + 0x30], rcx
mov rcx, r12
call sym.libvlccore.dll_vlc_Log
mov rcx, rsi
call sub.msvcrt.dll_clearerr
jmp 0x140013236
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x22
jmp 0x140013323
mov ecx, 1
call sym.libvlccore.dll_config_GetUserDir
lea rdx, str._s_vlcrc
mov r8, rax
mov rcx, r13
mov rsi, rax
call fcn.140012d30
cmp eax, 0xffffffff
je 0x1400134d6
mov rbx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.14016b5d8
mov eax, 0xffffffff
test rbx, rbx
jne 0x14001309a
jmp 0x140013240
xor ecx, ecx
jmp 0x140013078
call fcn.14016b5d8
xor ecx, ecx
jmp 0x140013078
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
lea r15, str.config_LoadConfigFile
call sym.libvlccore.dll_vlc_strerror_c
mov r9, qword [rsp + 0x58]
mov qword [rsp + 0x40], rbx
lea rbx, str.Integer_value___s__for__s:__s
mov r8, qword [str.main]
mov qword [rsp + 0x48], rax
mov edx, 2
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r15
mov rcx, r12
mov qword [rsp + 0x38], r9
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_config_file.c
mov dword [rsp + 0x20], 0xe2
call sym.libvlccore.dll_vlc_Log
jmp 0x140013150
mov r13, qword [sym.imp.msvcrt.dll__errno]
call r13
cmp dword [rax], 2
je 0x1400134c4
call r13
mov ecx, dword [rax]
lea rsi, str.cannot_open_config_file___s_:__s
call sym.libvlccore.dll_vlc_strerror_c
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_config_file.c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rsi
mov edx, 1
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x56
mov rcx, r12
call sym.libvlccore.dll_vlc_Log
mov rcx, rbx
call fcn.14016b5d8
mov eax, 0xffffffff
jmp 0x140013240
mov rcx, rsi
mov dword [rsp + 0x58], eax
call fcn.14016b5d8
mov eax, dword [rsp + 0x58]
jmp 0x140013240
call fcn.1400c4db0
nop
nop dword [rax + rax]
nop word cs:[rax + rax]