Function at 0x1400689e0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rbx, rcx
mov rax, rdx
xor edx, edx
lea rcx, [r11 + 0x20]
mov qword [r11 - 0x28], rcx
xor r9d, r9d
lea rcx, [r11 - 0x18]
mov qword [r11 - 0x18], rdx
mov qword [r11 - 0x30], rcx
xor r8d, r8d
mov qword [r11 - 0x38], rdx
mov rcx, rax
mov dword [r11 + 0x20], edx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edx
lea rdx, str.SourceInfo
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r9d, 0x3f
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 4]
mov dword [rsp + 0x28], 4
lea rdx, str.width
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x42
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
lea rax, [rbx + 4]
mov dword [rsp + 0x28], 4
lea rdx, str.height
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x45
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
lea rax, [rbx + 8]
mov dword [rsp + 0x28], 4
lea rdx, str.colorDepth
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x48
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
lea rax, [rbx + 0xc]
mov dword [rsp + 0x28], 4
lea rdx, str.colorFormat
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x4b
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
lea rax, [rbx + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.posx
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x4e
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
lea rax, [rbx + 0x14]
mov dword [rsp + 0x28], 4
lea rdx, str.posy
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x51
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
lea rax, [rbx + 0x18]
mov dword [rsp + 0x28], 4
lea rdx, str.spanning
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x54
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov eax, dword [rbx + 0x1c]
lea rdx, str.GDIPrimary
mov rcx, qword [rsp + 0x50]
and eax, 1
mov dword [rsp + 0x80], eax
mov r9d, 4
lea rax, [rsp + 0x80]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x58
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov eax, dword [rbx + 0x1c]
lea rdx, str.SLIFocus
mov rcx, qword [rsp + 0x50]
mov r9d, 4
shr eax, 1
xor r8d, r8d
and eax, 1
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x80], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, 0x5c
lea r8, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewDisplayControlSourceModeInfo.cpp
mov ecx, eax
lea rdx, str.SourceModeInfo::store
call fcn.140058d30
test eax, eax
jne 0x140068d41
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x60
pop rbx
ret
xor al, al
add rsp, 0x60
pop rbx
ret