Function at 0x140021cd4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
lea rax, [rcx + 0x42c]
mov ebx, 4
mov rdi, rcx
lea rdx, str.Notes
xor r8d, r8d
mov r9d, ebx
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0x430]
lea rdx, str.EmailMessages
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0x428]
lea rdx, str.CalendarItems
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r11, [rdi + 0x424]
lea rdx, str.BusinessCards
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x8434]
mov rcx, rbx
call fcn.14005d25c
mov ebp, 1
lea rdx, [0x1400981a8]
lea ecx, [rax + rax + 2]
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x434]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.ContactFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0xc34]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.EmailFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x1434]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.CalendarFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x1c34]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.NotesFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x2434]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.OldContactFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x2c34]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.OldEmailFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x3434]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.OldCalendarFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x3c34]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.OldNotesFolderName
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x4434]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.ContactFolderPath
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x5434]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.EmailFolderPath
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x6434]
mov rcx, rbx
call fcn.14005d25c
lea ecx, [rax + rax + 2]
mov dword [rsp + 0x28], ecx
lea rdx, str.CalendarFolderPath
mov r9d, ebp
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rdi + 0x7434]
mov rcx, rbx
call fcn.14005d25c
lea rdx, str.NotesFolderPath
mov r9d, ebp
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret