Function at 0x1400245a4
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Delete registry value
Get common file path
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x418]
sub rsp, 0x510
mov rax, qword [0x1400592a0]
xor rax, rsp
mov qword [rbp + 0x400], rax
xor ebx, ebx
mov esi, edx
mov rdi, rcx
test rcx, rcx
je 0x1400249e1
lea rdx, str.wmfdist11.exe
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
jne 0x14002461a
lea rdx, str.wmfdist11_64.exe
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x1400249dc
mov edi, 0x104
lea rcx, [rbp + 0x1f0]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1400249e1
lea r9, [rbp + 0x1f0]
mov edx, edi
lea r8, str._sdrmupgds.exe
lea rcx, [rbp - 0x20]
call fcn.140010e44
test eax, eax
js 0x1400249e1
mov qword [rsp + 0x50], rbx
cmp esi, 0xd2af9
jne 0x1400246f8
lea rax, [rsp + 0x50]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400249e1
lea rax, [rbp - 0x20]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1400246ab
lea eax, [rcx*2 + 2]
mov r9d, 1
mov rcx, qword [rsp + 0x50]
lea rdx, str.WMFSDK11_DRMUpgrade
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
mov ebx, 1
jmp 0x14002492f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
lea rdx, [0x14004c0e0]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x140024772
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
test rax, rax
je 0x140024772
lea rdx, str._NoMigrate
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x140024772
lea rdx, str.Library_migration_skipped_due_to_installing_app_request._r_n
mov ecx, 4
call fcn.140019ae0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x1400249dc
or rcx, 0xffffffffffffffff
lea rax, [rbp - 0x20]
mov rdi, rcx
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14002477d
add rdi, 5
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.1400014a0
mov rsi, rax
test rax, rax
jne 0x1400247ba
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x1400249e1
mov r8, rdi
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.14001f72c
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x48], rbx
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002488a
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemTotalProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemEstimatedTime
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
lea r8, [rbp - 0x20]
mov ecx, 4
lea rdx, str.Starting_process__S._r_n
call fcn.140019b1c
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rsi
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x140024940
mov rcx, rsi
call fcn.140001454
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x1400248ff
mov eax, 0x57
jmp 0x140024901
jle 0x140024909
movzx eax, ax
or eax, 0x80070000
mov r9d, eax
lea r8, [rbp - 0x20]
lea rdx, str.ERROR:_Process__S_failed.__Error:_0x_x._r_n
mov ecx, 2
call fcn.140019b1c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400249e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x1400249e1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002495b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x60], rbx
mov rcx, rsi
call fcn.140001454
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002497e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400249dc
lea rdx, str.CurrentItemTotalProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemEstimatedTime
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.1400017f0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret