Function at 0x14005d2c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400c24b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r12d, r12d
mov r15, r8
mov dword [rbp - 0x1d], r12d
mov esi, edx
mov r14, rcx
mov edi, r12d
test edx, edx
jle 0x14005d6e5
lea rbx, [rcx + 8]
nop word [rax + rax]
xorps xmm0, xmm0
lea rdx, str.targetInfo_d
mov r8d, edi
lea rcx, [rbp - 0x19]
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
call fcn.14005ad40
lea rax, [rbp - 0x1d]
mov qword [rbp - 0x29], r12
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x19]
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r12
mov rcx, r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r9d, 0x6e
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov eax, edi
lea rdx, str.displayID
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
lea rcx, [rax + rax*2]
lea rax, [r14 + rcx*8]
mov rcx, qword [rbp - 0x29]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x71
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.version
mov rcx, qword [rbp - 0x29]
mov r9d, 4
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x74
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.rotation
mov rcx, qword [rbp - 0x29]
add rax, 4
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x77
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.scaling
mov rcx, qword [rbp - 0x29]
add rax, 8
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x7a
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.refresh
mov rcx, qword [rbp - 0x29]
add rax, 0xc
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x7d
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.interlaced
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov ecx, dword [rax + 0x10]
lea rax, [rbp - 0x21]
and ecx, 1
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x21], ecx
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x81
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, [0x14009d4e8]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov ecx, dword [rax + 0x10]
lea rax, [rbp - 0x21]
shr ecx, 1
and ecx, 1
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x21], ecx
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x85
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.connector
mov rcx, qword [rbp - 0x29]
add rax, 0x14
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x88
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.tvFormat
mov rcx, qword [rbp - 0x29]
add rax, 0x18
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x8b
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rax, qword [rbx]
lea rdx, str.timingOverride
mov rcx, qword [rbp - 0x29]
add rax, 0x1c
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x8e
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlPathTargetInfo.cpp
mov ecx, eax
lea rdx, str.PathTargetInfo::store
call fcn.14004ed00
test eax, eax
jne 0x14005d70f
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
add rbx, 0x18
cmp edi, esi
jl 0x14005d310
mov al, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140064920
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor al, al
jmp 0x14005d6e7