Function at 0x4015d0
Capabilities:
Accept command line arguments
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28c
mov dword [esp], str.GETTEXT_MUI1
mov eax, dword [0x4d001c]
mov dword [ebp - 0x1c], eax
xor eax, eax
call sub.msvcrt.dll__putenv
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
sub esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp], str.kernel32.dll
call ebx
sub esp, 4
test eax, eax
je 0x401688
mov esi, eax
mov dword [esp + 4], str.SetProcessDEPPolicy
mov dword [esp], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
sub esp, 8
test eax, eax
je 0x401668
mov dword [esp], 1
call eax
sub esp, 4
mov dword [esp + 4], str.SetDllDirectoryA
mov dword [esp], esi
call edi
sub esp, 8
test eax, eax
je 0x401688
mov dword [esp], 0x4c3097
call eax
sub esp, 4
mov dword [esp], str.kernel32.dll
call ebx
sub esp, 4
test eax, eax
je 0x4016bc
mov dword [esp + 4], str.SetDefaultDllDirectories
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x4016bc
mov dword [esp], 0x800
call eax
sub esp, 4
mov dword [esp], str.kernel32.dll
call ebx
sub esp, 4
test eax, eax
je 0x401713
mov dword [esp + 4], str.SetProcessMitigationPolicy
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x401713
lea edx, [ebp - 0x234]
mov dword [ebp - 0x234], 0
mov dword [esp + 8], 4
mov byte [ebp - 0x234], 4
mov dword [esp], 0xa
mov dword [esp + 4], edx
call eax
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x23c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
sub esp, 8
mov dword [ebp - 0x24c], eax
test ebx, ebx
mov eax, 1
je 0x401b1a
mov eax, dword [ebp - 0x23c]
lea eax, [eax*4 + 0x1e]
shr eax, 4
shl eax, 4
call fcn.00414170
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, eax
lea ebx, [esp + 0x23]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x254], edi
mov dword [esp + 0x14], 0
shr ebx, 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
lea esi, [ebx*4]
mov dword [esp + 8], str.__media_library
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [ebp - 0x258], esi
call edi
sub esp, 0x20
mov edi, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je 0x401812
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.__media_library
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [ebp - 0x254]
sub esp, 0x20
mov dword [ebx*4], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.__no_ignore_config
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [ebp - 0x254]
sub esp, 0x20
mov edi, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je 0x4018b1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.__no_ignore_config
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [ebp - 0x254]
sub esp, 0x20
cmp dword [ebp - 0x23c], 1
mov dword [ebx*4 + 4], esi
jle 0x401c0e
mov ebx, 1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x260], 2
mov dword [ebp - 0x250], 1
jmp 0x40190b
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x250], 0
add ebx, 1
cmp ebx, eax
jge 0x4019a0
mov ecx, dword [ebp - 0x24c]
lea edi, [ebx*4]
mov dword [esp + 4], str.__no_crashdump
lea esi, [ecx + edi]
mov eax, dword [esi]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x4018f0
mov dword [esp + 8], 0xa
mov dword [esp + 4], str.__language
mov edx, dword [esi]
mov dword [esp], edx
call sub.msvcrt.dll_wcsncmp
test eax, eax
jne 0x401b33
mov eax, dword [ebp - 0x23c]
lea esi, [eax - 1]
cmp esi, ebx
jle 0x401900
mov ecx, dword [ebp - 0x24c]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x4c3146
lea edi, [ecx + edi + 4]
mov edx, dword [edi]
mov dword [esp], edx
call sub.msvcrt.dll_wcsncmp
test eax, eax
jne 0x401d10
mov eax, dword [ebp - 0x23c]
add ebx, 1
cmp ebx, eax
jl 0x40190b
lea esi, [esi]
mov ebx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x24c]
mov dword [eax + ebx*4], 0
mov dword [ebp - 0x23c], ebx
xor ebx, ebx
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x250]
sub esp, 4
test edx, edx
jne 0x401c3f
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__fileno]
mov dword [esp + 4], 0x8000
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__setmode]
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x401ddf
mov esi, dword [ebp - 0x25c]
mov ecx, 4
mov edi, 0x4c31a4
repe cmpsb byte [esi], byte es:[edi]
jne 0x401c95
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 0x258]
mov esi, dword [ebp - 0x23c]
mov dword [esp + 4], ecx
mov dword [esp], esi
call sub.libvlc.dll_libvlc_new
test eax, eax
mov edi, eax
je 0x401db2
mov dword [esp], eax
mov dword [esp + 0xc], 0x4c31a9
mov dword [esp + 8], 0x4c31ad
mov dword [esp + 4], str.org.VideoLAN.VLC
call sub.libvlc.dll_libvlc_set_app_id
mov dword [esp + 8], str.VLC_3.0.21
mov dword [esp + 4], 0x4c31d0
mov dword [esp], edi
call sub.libvlc.dll_libvlc_set_user_agent
mov dword [esp + 4], str.hotkeys_none
mov dword [esp], edi
call sub.libvlc.dll_libvlc_add_intf
mov dword [esp + 4], str.globalhotkeys_none
mov dword [esp], edi
call sub.libvlc.dll_libvlc_add_intf
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.libvlc.dll_libvlc_add_intf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call sub.libvlc.dll_libvlc_playlist_play
mov dword [esp], edi
call 0x401f20
mov dword [esp], edi
call sub.libvlc.dll_libvlc_release
mov dword [esp], ebx
xor ebx, ebx
call fcn.00402160
mov edx, dword [ebp - 0x23c]
mov esi, dword [ebp - 0x258]
test edx, edx
jle 0x401b18
mov eax, dword [esi + ebx*4]
add ebx, 1
mov dword [esp], eax
call sub.msvcrt.dll_free
cmp dword [ebp - 0x23c], ebx
jg 0x401b02
xor eax, eax
mov edx, dword [ebp - 0x1c]
xor edx, dword [0x4d001c]
jne 0x401f12
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edi, dword [ebp - 0x260]
mov ecx, dword [esi]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
add edi, 1
mov dword [esp + 8], ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x264], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov esi, dword [ebp - 0x254]
call esi
sub esp, 0x20
mov dword [ebp - 0x268], eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov edi, eax
je 0x401be8
mov ecx, dword [ebp - 0x268]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x26c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0xfde9
call esi
sub esp, 0x20
mov edx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x23c]
mov dword [ecx + edx*4], edi
mov edi, dword [ebp - 0x264]
mov dword [ebp - 0x260], edi
jmp 0x401900
mov edx, dword [ebp - 0x24c]
mov dword [ebx*4 + 8], 0
mov dword [ebp - 0x23c], 2
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x25c], 0
sub esp, 4
lea edi, [ebp - 0x230]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x801a
mov dword [esp], 0
mov dword [esp + 0x10], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
sub esp, 0x14
test eax, eax
je 0x401cd0
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.Cant_open_the_vlc_conf_PATH_n
xor ebx, ebx
add esi, 0x40
mov dword [esp], esi
call fcn.004015a0
jmp 0x4019db
mov edx, dword [ebp - 0x25c]
lea edi, [ebp - 0x27]
mov dword [esp + 8], str.LANG_s
mov dword [esp + 4], 0xb
mov dword [esp], edi
mov dword [esp + 0xc], edx
call fcn.00401570
mov dword [esp], edi
call sub.msvcrt.dll__putenv
jmp 0x401a20
mov dword [esp + 8], 0x4c314c
mov dword [esp + 4], 0x104
xor ebx, ebx
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_wcscat_s]
test eax, eax
jne 0x4019db
mov dword [esp], edi
call fcn.00402fc0
mov dword [esp], edi
call fcn.00401f80
mov ebx, eax
jmp 0x4019db
mov edi, dword [edi]
mov dword [esp + 0x1c], 0
add ebx, 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [ebp - 0x254]
sub esp, 0x20
mov esi, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0x25c], eax
je 0x40198c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [ebp - 0x254]
sub esp, 0x20
jmp 0x40198c
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.VLC_media_player
mov dword [esp + 4], str.VLC_media_player_could_not_start._nEither_the_command_line_options_were_invalid_or_no_plugins_were_found._n
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x401ae8
lea edx, [ebp - 0x238]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareVideoLANVLC_
mov dword [esp], 0x80000001
mov dword [esp + 0x10], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x401a20
lea edi, [ebp - 0x234]
mov esi, dword [ebp - 0x238]
mov dword [ebp - 0x234], 0x100
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], edi
lea edi, [ebp - 0x230]
mov dword [esp + 4], str.Lang
mov dword [esp], esi
mov dword [esp + 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x401a20
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [ebp - 0x254]
sub esp, 0x20
mov dword [ebp - 0x24c], eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je 0x401a20
mov ecx, dword [ebp - 0x24c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [ebp - 0x254]
mov dword [ebp - 0x25c], esi
sub esp, 0x20
jmp 0x401a08
call fcn.00404810
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.libvlc.dll_libvlc_wait]