Function at 0x140033194
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 0x1400336b3
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.140030854
test eax, eax
je 0x1400336a6
neg edi
sbb ecx, ecx
add ecx, 0x26d9
call fcn.140015bb4
lea rcx, [rbp - 0x80]
call fcn.140030704
mov qword [rsp + 0x78], rax
mov r12, rax
test rax, rax
je 0x1400336a6
lea rdx, [0x140043808]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcstok]
mov rdi, rax
test rax, rax
je 0x14003369e
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 0x14003329e
lea rcx, [rax + 2]
mov word [rax], r12w
call fcn.140017200
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.1400168a8
lea rcx, str.setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400332df
mov rcx, qword [rsp + 0x70]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call fcn.14001b0b0
jmp 0x1400332e2
mov eax, r12d
test eax, eax
je 0x14003367e
mov rcx, qword [rsp + 0x70]
mov rdx, rdi
mov r13d, ebx
call fcn.14001af24
mov ecx, eax
mov dword [rsp + 0x68], eax
mov edi, eax
call fcn.140015a28
cmp edi, ebx
jb 0x14003367e
mov ecx, r13d
call fcn.140015b2c
lea rcx, [rbp - 0x80]
add r13d, ebx
call fcn.140030704
mov r14, rax
test rax, rax
je 0x140033663
cmp dword [rbp + 0x420], r12d
jne 0x140033381
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.140019694
test eax, eax
jne 0x1400334d0
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 0x1400334d0
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 0x1400333dd
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 0x140033445
mov rcx, qword [rsp + 0x58]
mov r8, r14
call fcn.14001a508
mov rsi, rax
test rax, rax
je 0x140033431
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r14 + rcx*2], r12w
jne 0x1400333f6
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 0x140033436
mov edi, 0x80004005
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140033470
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.1400168a8
jmp 0x1400334c8
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
jne 0x140033492
lea edx, [rcx + 5]
call fcn.140016188
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
je 0x1400334bd
cmp dword [0x1400516e0], 4
jl 0x1400334bd
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 0x14003361e
mov eax, 0x80070001
mov qword [rsp + 0x58], r12
cmp dword [rsp + 0x50], eax
mov edi, r12d
sete dil
je 0x14003356b
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 0x14003356b
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 0x140033608
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 0x1400335f4
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 0x140033632
mov r8, r14
lea rdx, str._Success:_Ran_command:__S._r_n
mov ecx, 4
call fcn.1400168a8
jmp 0x140033652
mov r9d, dword [rsp + 0x50]
mov r8, r14
test r9d, r9d
js 0x14003363e
lea rdx, str._Success:_Ran_command:__S._r_n
mov ecx, 4
call fcn.1400168a8
jmp 0x140033657
lea rdx, str.ERROR:_ProcessSetupCommand_failed_for:__S:_0x_x._r_n
mov ecx, 2
mov r15d, r9d
call fcn.1400168a8
mov dword [rsp + 0x50], r12d
mov rcx, r14
call fcn.14003c408
mov edi, dword [rsp + 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14003367e
cmp r13d, edi
jbe 0x14003330f
lea rdx, [0x140043808]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_wcstok]
mov rdi, rax
test rax, rax
jne 0x140033270
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.14003c408
mov ebx, dword [rsp + 0x50]
test ebx, ebx
js 0x1400336b3
test r15d, r15d
jne 0x1400336b6
mov r15d, ebx
mov eax, r15d
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14003c810
mov rbx, qword [rsp + 0x500]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret