Function at 0x1400116f8
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6d0
mov rax, qword [0x1400592a0]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
movups xmm0, xmmword [str.wmplayer.ocx]
lea rcx, [rbp + 0x1ca]
movzx eax, word [0x140048718]
movsd xmm1, qword [0x140048710]
xor edx, edx
mov r8d, 0x1ee
movaps xmmword [rbp + 0x1b0], xmm0
movsd qword [rbp + 0x1c0], xmm1
mov word [rbp + 0x1c8], ax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [0x140048738]
lea rcx, [rbp + 0x3d6]
movups xmm0, xmmword [str.wmplayer.ocx.7]
xor edx, edx
mov dword [rbp + 0x3d0], eax
movsd xmm1, qword [0x140048730]
mov r8d, 0x1ea
movzx eax, word [0x14004873c]
movups xmmword [rbp + 0x3b8], xmm0
mov word [rbp + 0x3d4], ax
movsd qword [rbp + 0x3c8], xmm1
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor r14d, r14d
mov esi, r14d
lea r13d, [r14 + 1]
lea r12d, [r14 + 4]
lea r15d, [r14 + 2]
movsxd rax, esi
lea rdi, [rbp + 0x1b0]
imul rcx, rax, 0x208
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], r14
add rdi, rcx
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov ebx, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140011878
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r12d
lea rdx, str.Test
mov r9d, r12d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], r14d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140011867
mov rcx, qword [rsp + 0x60]
lea rdx, str.Test
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, r14d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
je 0x140011bb2
mov r9, rdi
lea r8, str.CLASSES_ROOT_s
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.140010e44
test eax, eax
js 0x140011bb2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x60]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, r12d
mov qword [rsp + 0x20], r14
mov edx, r12d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov ebx, r14d
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x140011a17
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
xorps xmm1, xmm1
mov dword [rsp + 0x68], 0x10000000
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x6c], r13d
lea rcx, [0x140048770]
mov dword [rsp + 0x70], 3
movdqu xmmword [rsp + 0x74], xmm0
mov dword [rbp - 0x7c], r14d
movdqu xmmword [rbp - 0x78], xmm1
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
nop dword [rax + rax]
test eax, eax
je 0x1400119cf
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov ecx, r13d
mov qword [rbp - 0x70], rax
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
nop dword [rax + rax]
test eax, eax
jne 0x1400119aa
mov rax, qword [rsp + 0x50]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, r12d
mov edx, r12d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x1400119a1
mov ebx, r13d
jmp 0x1400119bc
lea rdx, str.SetNamedSecurityInfo_returned__lu._r_n
jmp 0x1400119b1
lea rdx, str.SetEntriesInAcl_returned__lu._r_n
mov r8d, eax
mov ecx, r15d
call fcn.140019b1c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x1400119ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rdx, str.SID_Conversion_failed._Error_returned__lu._r_n
mov ecx, r15d
mov r8d, eax
call fcn.140019b1c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
test ebx, ebx
je 0x140011a29
lea r8, [rbp - 0x60]
mov ecx, r12d
lea rdx, str.Set_DirSecurity_on__S._r_n
call fcn.140019b1c
jmp 0x140011a29
mov r8d, eax
lea rdx, str.GetNamedSecurityInfo_returned__lu._r_n
mov ecx, r15d
call fcn.140019b1c
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, r12d
mov qword [rsp + 0x20], r14
mov edx, r12d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov ebx, r14d
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x140011ba0
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
xorps xmm1, xmm1
mov dword [rsp + 0x68], 0x10000000
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x6c], r13d
lea rcx, [0x140048778]
mov dword [rsp + 0x70], 3
movdqu xmmword [rsp + 0x74], xmm0
mov dword [rbp - 0x7c], r14d
movdqu xmmword [rbp - 0x78], xmm1
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
nop dword [rax + rax]
test eax, eax
je 0x140011b58
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x68]
mov ecx, r13d
mov qword [rbp - 0x70], rax
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
nop dword [rax + rax]
test eax, eax
jne 0x140011b33
mov rax, qword [rsp + 0x50]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, r12d
mov edx, r12d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x140011b2a
mov ebx, r13d
jmp 0x140011b45
lea rdx, str.SetNamedSecurityInfo_returned__lu._r_n
jmp 0x140011b3a
lea rdx, str.SetEntriesInAcl_returned__lu._r_n
mov r8d, eax
mov ecx, r15d
call fcn.140019b1c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x140011b76
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rdx, str.SID_Conversion_failed._Error_returned__lu._r_n
mov ecx, r15d
mov r8d, eax
call fcn.140019b1c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
test ebx, ebx
je 0x140011bb2
lea r8, [rbp - 0x60]
mov ecx, r12d
lea rdx, str.Set_DirSecurity_on__S._r_n
call fcn.140019b1c
jmp 0x140011bb2
mov r8d, eax
lea rdx, str.GetNamedSecurityInfo_returned__lu._r_n
mov ecx, r15d
call fcn.140019b1c
add esi, r13d
cmp esi, r15d
jb 0x1400117cd
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.1400017f0
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret