Function at 0x14007b710
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r14
sub rsp, 0x6a8
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x690], rax
cmp dword [rcx + 0x4478], 0
mov rdi, rcx
jne 0x14007ba07
mov rax, qword [rcx + 0x940]
mov qword [r11 - 0x28], r13
xor ebx, ebx
mov r13d, dword [rax + 0x204]
mov esi, ebx
lea r14, str.OPTIONS
shr r13d, 1
je 0x14007b8c3
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], r12
lea rbp, [rcx + 0x2038]
nop
nop
nop
mov r8d, dword [rdi + 0x528]
lea rdx, str.Sync__d__d
lea rcx, [rsp + 0x60]
mov r9d, esi
call fcn.14001e4d0
mov r11, qword [rbp]
mov r12, qword [rdi + 0x940]
cmp dword [r11 + 0x260], ebx
mov ecx, ebx
setne cl
add r12, 0x27568
je 0x14007b8a3
lea rdx, [rsp + 0x480]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x270]
mov r9, r12
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x270]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14007b86a
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x270]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14007b8a3
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x480]
lea rdx, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 1
add rbp, 8
cmp esi, r13d
jb 0x14007b780
mov r12, qword [rsp + 0x6e0]
mov rbp, qword [rsp + 0x6d8]
cmp dword [rdi + 0x948], 0xffffffff
mov r13, qword [rsp + 0x6a0]
je 0x14007ba57
mov r8d, dword [rdi + 0x528]
lea rdx, str.Sync__d__d
lea rcx, [rsp + 0x60]
mov r9d, 4
call fcn.14001e4d0
mov r11, qword [rdi + 0x2058]
mov rsi, qword [rdi + 0x940]
cmp dword [r11 + 0x260], ebx
mov ecx, ebx
setne cl
add rsi, 0x27568
je 0x14007ba57
lea rdx, [rsp + 0x480]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x270]
mov r9, rsi
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x270]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14007b9cc
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x270]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14007ba57
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x480]
lea rdx, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14007ba57
mov r8d, dword [rcx + 0x528]
lea rdx, str.Sync__d__d
lea rcx, [rsp + 0x60]
xor r9d, r9d
call fcn.14001e4d0
mov r11, qword [rdi + 0x2038]
mov rcx, qword [rdi + 0x940]
xor ebx, ebx
lea r8, [rsp + 0x60]
lea rdx, str.OPTIONS
cmp dword [r11 + 0x260], ebx
setne bl
add rcx, 0x27568
mov r9d, ebx
call fcn.140085200
mov rcx, rdi
call fcn.14007ba80
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x6a8
pop r14
pop rdi
pop rsi
pop rbx
ret