Function at 0x14001a090
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rdi, qword [0x1402840b0]
lea rbp, str.module_LoadPlugins
mov rsi, rcx
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
xor eax, eax
cmp dword [0x1402a1180], 1
je 0x14001a1a6
lea rcx, [0x1402a1140]
call sym.libvlccore.dll_vlc_mutex_unlock
mov r13, qword [0x1402a10e0]
test r13, r13
je 0x14001a336
xor r12d, r12d
xor ebx, ebx
mov edx, dword [r13 + 0x10]
mov rcx, r12
add rdx, rbx
shl rdx, 3
call sub.msvcrt.dll_realloc
test rax, rax
je 0x14001a190
mov rdx, qword [r13 + 8]
test rdx, rdx
je 0x14001a122
nop word [rax + rax]
add rbx, 1
mov qword [rax + rbx*8 - 8], rdx
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x14001a110
mov r13, qword [r13]
mov r12, rax
test r13, r13
jne 0x14001a0e5
mov rcx, rax
call fcn.14016b5d8
lea rcx, str.plug_ins_loaded:__zu_modules
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_modules_bank.c
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x28], rbp
mov edx, 3
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0x2a7
mov rcx, rsi
call sym.libvlccore.dll_vlc_Log
mov rsi, qword [rsp + 0x68]
xor rsi, qword [rdi]
mov rax, rbx
jne 0x14001a33f
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, r12
mov qword [rsp + 0x48], rax
xor ebx, ebx
call fcn.14016b5d8
mov rax, qword [rsp + 0x48]
jmp 0x14001a12e
lea rax, str.searching_plug_in_modules
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_modules_bank.c
mov edx, 3
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x29a
mov qword [rsp + 0x30], rax
lea r12, [rsp + 0x60]
xor ebx, ebx
call sym.libvlccore.dll_vlc_Log
lea rdx, str.plugins_cache
mov r9, r12
mov r8d, 0x20
mov rcx, rsi
call sym.libvlccore.dll_var_Inherit
test eax, eax
je 0x14001a32c
lea rdx, str.plugins_scan
mov r9, r12
mov r8d, 0x20
mov rcx, rsi
call sym.libvlccore.dll_var_Inherit
test eax, eax
jne 0x14001a224
cmp byte [rsp + 0x60], 0
je 0x14001a224
or ebx, 2
lea rdx, str.reset_plugins_cache
mov r9, r12
mov r8d, 0x20
mov rcx, rsi
call sym.libvlccore.dll_var_Inherit
test eax, eax
jne 0x14001a24d
cmp byte [rsp + 0x60], 0
je 0x14001a24d
and ebx, 0xfffffffa
or ebx, 4
call sym.libvlccore.dll_config_GetLibDir
test rax, rax
mov r13, rax
je 0x14001a28d
lea rcx, [rsp + 0x58]
lea rdx, str._splugins
mov r8, rax
call fcn.1400193a0
cmp eax, 0xffffffff
je 0x14001a28d
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
mov r8d, ebx
call fcn.1400199b0
mov rcx, qword [rsp + 0x58]
call fcn.14016b5d8
mov rcx, r13
call fcn.14016b5d8
lea rcx, str.VLC_PLUGIN_PATH
call sub.msvcrt.dll_getenv
test rax, rax
mov qword [rsp + 0x58], rax
je 0x14001a30a
mov rcx, rax
call sub.msvcrt.dll__strdup
test rax, rax
mov qword [rsp + 0x58], rax
je 0x14001a30a
lea rdx, [0x14017ec8d]
mov r8, r12
mov rcx, rax
lea r13, [0x14017ec8d]
call fcn.14015cf60
test rax, rax
je 0x14001a300
nop dword [rax + rax]
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call fcn.1400199b0
xor ecx, ecx
mov r8, r12
mov rdx, r13
call fcn.14015cf60
test rax, rax
jne 0x14001a2e0
mov rcx, qword [rsp + 0x58]
call fcn.14016b5d8
call fcn.140011830
call fcn.140011750
mov rcx, qword [0x1402a1178]
lea rdx, [0x140019370]
call fcn.14015c6c0
jmp 0x14001a0c4
movzx ebx, byte [rsp + 0x60]
jmp 0x14001a1fe
xor ebx, ebx
xor eax, eax
jmp 0x14001a12e
call fcn.1400c4db0
nop
nop
nop word cs:[rax + rax]