Function at 0x14003168c
Capabilities:
Create process on windows
Get common file path
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x3560]
mov eax, 0x3660
call fcn.14005ba50
sub rsp, rax
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x3550], rax
lea rcx, [rbp - 0x20]
call fcn.140026df4
lea rcx, [rbp - 0x20]
call fcn.140022d94
lea rdx, [rbp + 0x400]
lea rcx, [rbp + 0x3140]
call fcn.14005eaa4
lea rdx, str.BtWmpPlugIn.dll
lea rcx, [rbp + 0x3140]
call fcn.14005ea78
lea rcx, [rbp + 0x3140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
jne 0x140031727
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbp + 0x3140]
lea rcx, str.RegisterWmpPlugin:_LoadLibrary_failed._error_d__ls_n
mov edx, eax
call fcn.1400300fc
jmp 0x14003176c
lea rdx, str.DllRegisterServer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140031755
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.RegisterWmpPlugin:_GetProcAddress_failed._error_d_n
mov edx, eax
call fcn.1400300fc
jmp 0x140031763
lea rcx, str.RegisterWmpPlugin:_registering_..._n
call fcn.1400300fc
call rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareWow6432NodeMicrosoftMediaPlayer
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400317a8
lea rcx, str.RegisterWmpPlugin:_it_is_not_32bit_media_player_on_64bit_system_n
call fcn.1400300fc
jmp 0x1400318e0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x3140]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str._regsvr32.exe__s__
lea rcx, [rbp + 0x3140]
call fcn.14005ea78
lea rcx, [rbp + 0x3140]
call fcn.14005d25c
lea rcx, [rbp + 0x1890]
call fcn.140026df4
lea rcx, [rbp + 0x1890]
call fcn.140022d94
lea rdx, [rbp + 0x1cb0]
lea rcx, [rbp + 0x3140]
call fcn.14005eaa4
lea rdx, str.SysWOW64BtWmpPlugIn.dll_
lea rcx, [rbp + 0x3140]
call fcn.14005ea78
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.14005bab0
and qword [rsp + 0x50], 0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
lea rdx, [rbp + 0x3140]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x70], WSAGetLastError
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400318ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbp + 0x3140]
lea rcx, str.RegisterWmpPlugin:_CreateProcess_failed._err_d__ls_n
mov edx, eax
call fcn.1400300fc
jmp 0x1400318e0
mov rcx, qword [rsp + 0x50]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.RegisterWmpPlugin:_WaitForSingleObject_returned__d_n
mov edx, eax
call fcn.1400300fc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3550]
xor rcx, rsp
call fcn.14005ba20
lea r11, [rsp + 0x3660]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret