Function at 0x1400330a0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor esi, esi
mov qword [rsp + 0x70], rdx
mov ebx, 1
mov edi, r9d
mov dword [rsp + 0x50], ebx
mov r15d, esi
cmp rdx, 0xffffffffffffffff
je 0x1400335bf
test r9d, r9d
mov dword [rsp + 0x28], ebx
lea rcx, str.RUNPRESETUPCOMMANDS
lea rax, str.RUNPOSTSETUPCOMMANDS
cmove rax, rcx
lea r9, str.DEFAULTINSTALL
test r8, r8
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
cmovne r9, r8
lea r8, [rbp - 0x80]
xor ecx, ecx
call fcn.140030764
test eax, eax
je 0x1400335b2
neg edi
sbb ecx, ecx
add ecx, 0x26d9
call fcn.140015b74
lea rcx, [rbp - 0x80]
call fcn.140030614
mov qword [rsp + 0x78], rax
mov r12, rax
test rax, rax
je 0x1400335b2
lea rdx, [0x140043808]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcstok]
mov rdi, rax
test rax, rax
je 0x1400335aa
xor r12d, r12d
mov edx, 0x3a
mov dword [rsp + 0x64], r12d
mov rcx, rdi
mov esi, r12d
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
je 0x1400331aa
lea rcx, [rax + 2]
mov word [rax], r12w
call fcn.1400171c0
mov esi, eax
mov dword [rsp + 0x64], eax
mov r8, rdi
lea rdx, str._Parsing_RunCommands_section:__S._r_n
mov ecx, 4
call fcn.140016868
lea rcx, str.setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400331eb
mov rcx, qword [rsp + 0x70]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call fcn.14001b05c
jmp 0x1400331ee
mov eax, r12d
test eax, eax
je 0x14003358a
mov rcx, qword [rsp + 0x70]
mov rdx, rdi
mov r13d, ebx
call fcn.14001aed0
mov ecx, eax
mov dword [rsp + 0x68], eax
mov edi, eax
call fcn.1400159e8
cmp edi, ebx
jb 0x14003358a
mov ecx, r13d
call fcn.140015aec
lea rcx, [rbp - 0x80]
add r13d, ebx
call fcn.140030614
mov r14, rax
test rax, rax
je 0x14003356f
cmp dword [rbp + 0x420], r12d
jne 0x14003328d
mov ecx, esi
mov r8d, esi
and cl, bl
mov rdx, rax
neg cl
sbb r9w, r9w
shr r8d, 1
not r8d
not r9w
and r8d, ebx
xor ecx, ecx
call fcn.140019648
test eax, eax
jne 0x1400333dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x50], ecx
jmp 0x1400333dc
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], r12
mov edi, 3
mov qword [rsp + 0x20], rax
mov r9d, edi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400332e9
lea rax, [rsp + 0x58]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140033351
mov rcx, qword [rsp + 0x58]
mov r8, r14
call fcn.14001a4b4
mov rsi, rax
test rax, rax
je 0x14003333d
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r14 + rcx*2], r12w
jne 0x140033302
lea eax, [rcx*2 + 2]
mov r9d, ebx
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.msvcrt.dll_free]
jmp 0x140033342
mov edi, 0x80004005
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14003337c
movzx esi, di
lea r8, [0x140040d90]
or esi, 0x80070000
lea rdx, str.ERROR:_Could_not_store_delayed_action_for_component__S:_0x_x._r_n
test edi, edi
mov ecx, 2
cmovle esi, edi
mov r9d, esi
call fcn.140016868
jmp 0x1400333d4
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
jne 0x14003339e
lea edx, [rcx + 5]
call fcn.140016148
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
je 0x1400333c9
cmp dword [0x1400516e0], 4
jl 0x1400333c9
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r12d
mov r8d, reloc.ATL.DLL_AtlInternalQueryInterface
mov qword [rsp + 0x20], r12
lea rdx, str.__Delayed_action_until_reboot._r_n
call qword [sym.imp.KERNEL32.dll_WriteFile]
or dword [0x140050558], ebx
mov esi, 0xd2af9
mov dword [rsp + 0x50], esi
mov esi, dword [rsp + 0x64]
lea rdx, str.Roxio
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcsstr]
test rax, rax
je 0x14003352a
mov eax, 0x80070001
mov qword [rsp + 0x58], r12
cmp dword [rsp + 0x50], eax
mov edi, r12d
sete dil
je 0x140033477
lea rax, [rsp + 0x58]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140033477
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.MediaPlayerV2.dll
lea rax, [rbp - 0x60]
mov dword [rsp + 0x60], 0x410
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmove edi, ebx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140033514
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x50], 0xd2af9
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
movsxd rdi, eax
test eax, eax
jne 0x140033500
lea ecx, [rax + 4]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x50]
mov r9d, ecx
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x58]
lea rdx, str.RoxioReboot
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
movsxd rdi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x50], 0xd2af8
lea rdx, str.Roxio_will_require_a_reboot_in_order_to_be_functional:__lu._r_n
mov r8, rdi
jmp 0x14003353e
mov r8, r14
lea rdx, str._Success:_Ran_command:__S._r_n
mov ecx, 4
call fcn.140016868
jmp 0x14003355e
mov r9d, dword [rsp + 0x50]
mov r8, r14
test r9d, r9d
js 0x14003354a
lea rdx, str._Success:_Ran_command:__S._r_n
mov ecx, 4
call fcn.140016868
jmp 0x140033563
lea rdx, str.ERROR:_ProcessSetupCommand_failed_for:__S:_0x_x._r_n
mov ecx, 2
mov r15d, r9d
call fcn.140016868
mov dword [rsp + 0x50], r12d
mov rcx, r14
call fcn.14003c2b8
mov edi, dword [rsp + 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14003358a
cmp r13d, edi
jbe 0x14003321b
lea rdx, [0x140043808]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_wcstok]
mov rdi, rax
test rax, rax
jne 0x14003317c
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.14003c2b8
mov ebx, dword [rsp + 0x50]
test ebx, ebx
js 0x1400335bf
test r15d, r15d
jne 0x1400335c2
mov r15d, ebx
mov eax, r15d
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14003c6c0
mov rbx, qword [rsp + 0x500]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret