Function at 0x1400195a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1f0
mov rax, qword [0x1400344c8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov sil, cl
xor r15d, r15d
test cl, cl
je 0x140019610
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_appmodel_unlock_l1_1_0.dll_IsDeveloperModeEnabled]
nop dword [rax + rax]
test eax, eax
js 0x140019606
cmp dword [rsp + 0x40], r15d
jne 0x140019610
mov eax, 0x80070005
jmp 0x140019d40
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x14002b878]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x14002b918]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x140019665
mov rcx, qword [rbp + 0x108]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov edx, 0xaf
call fcn.140003ee0
jmp 0x140019d17
mov qword [rsp + 0x78], r15
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400193bc
mov edi, eax
mov rbx, qword [rsp + 0x78]
test eax, eax
jns 0x1400196a4
mov rcx, qword [rbp + 0x108]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov edx, 0xb3
call fcn.140003ee0
jmp 0x140019cf7
test sil, sil
je 0x140019cd5
test rbx, rbx
jne 0x140019cf4
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x14002cb88]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14002ce60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x1400196ff
mov edx, 0xbd
jmp 0x140019809
mov edi, 0x3c
xor edx, edx
mov r8d, 0xdc
lea rcx, [rbp]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r8, [rbp]
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_EnumDisplaySettingsW]
nop dword [rax + rax]
test eax, eax
cmovne edi, dword [rbp + 0xb8]
mov dword [rbp - 0x78], edi
mov dword [rbp - 0x74], 1
mov dword [rsp + 0x40], 0x30
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov edi, 0x10008
mov r9d, edi
lea r8, str.LeftTransform
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
mov rsi, 0xffffffff80000002
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400197da
cmp dword [rsp + 0x40], 0x30
jne 0x1400197da
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, edi
lea r8, str.RightTransform
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400197da
cmp dword [rsp + 0x40], 0x30
mov sil, 1
je 0x1400197dd
mov sil, r15b
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
movabs r10, 0xd6bc96af78540170
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x18]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019824
mov edx, 0xdd
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x108]
call fcn.140003ee0
jmp 0x140019b96
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x68], r15
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.14001a214
mov edi, eax
test eax, eax
jns 0x14001984b
mov edx, 0xe3
jmp 0x140019b31
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
movabs r10, 0x8f30bfd432ddd870
lea rdx, [rbp - 0x70]
mov rax, qword [rax + 0x70]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x14001987b
mov edx, 0xe4
jmp 0x140019b31
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov r14, qword [rax + 0x98]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400198b1
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
movabs r10, 0xf5600f1072d3e970
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
mov rax, r14
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x1400198de
mov edx, 0xe5
jmp 0x140019b31
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xd15d9e7270d67270
lea rdx, [rbp - 0x80]
mov rax, qword [rax + 0x40]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x14001990e
mov edx, 0xe6
jmp 0x140019b31
test sil, sil
je 0x140019943
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xb3c50e445ed55270
lea rdx, [rbp - 0x68]
mov rax, qword [rax + 0x20]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019943
mov edx, 0xe9
jmp 0x140019b31
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov r14, qword [rax + 0x98]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140019979
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
movabs r10, 0xf5600f1072d3e970
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, rdi
mov rax, r14
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x1400199a9
mov edx, 0xeb
jmp 0x140019b31
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xd15d9e7270d67270
lea rdx, [rbp - 0x80]
mov rax, qword [rax + 0x40]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x1400199d9
mov edx, 0xec
jmp 0x140019b31
test sil, sil
je 0x140019a0e
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xb3c50e445ed55270
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x20]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019a0e
mov edx, 0xef
jmp 0x140019b31
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
movabs r10, 0xebf117967a5fe170
lea rdx, str.Perception_Simulation_Headset
mov rax, qword [rax + 0x20]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019a41
mov edx, 0xf2
jmp 0x140019b31
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
movabs r10, 0xdcb9beb458dc8a70
lea rdx, [rbp - 0x78]
mov rax, qword [rax + 0x80]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019a74
mov edx, 0xf3
jmp 0x140019b31
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov rsi, qword [rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019aa6
mov qword [rsp + 0x58], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
movabs r10, 0xdee01e7974d59970
lea r8, [rsp + 0x58]
lea rdx, [0x14002ce70]
mov rcx, rdi
mov rax, rsi
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019ad5
mov edx, 0xf5
jmp 0x140019b31
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
movabs r10, 0xb3e5369c1c5f1870
mov rax, qword [rax + 0xb0]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019b01
mov edx, 0xf6
jmp 0x140019b31
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
movabs r10, 0xfa8c86b61a5b4870
lea rdx, [rsp + 0x68]
mov rax, qword [rax + 0x20]
call qword [0x140029ce8]
mov edi, eax
test eax, eax
jns 0x140019c10
mov edx, 0xf8
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov rcx, qword [rbp + 0x108]
call fcn.140003ee0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140019b6f
mov qword [rsp + 0x68], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140019b96
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019bbd
mov qword [rsp + 0x58], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140019be4
mov qword [rsp + 0x50], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140019c0b
mov qword [rsp + 0x60], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
jmp 0x140019cf7
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140019c37
mov qword [rsp + 0x68], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140019c5e
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019c85
mov qword [rsp + 0x58], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140019cac
mov qword [rsp + 0x50], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140019cd3
mov qword [rsp + 0x60], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
jmp 0x140019cf4
test rbx, rbx
je 0x140019cf4
mov rax, qword [rbx]
movabs r10, 0xe09daec81c5aab70
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [0x140029ce8]
mov edi, r15d
test rbx, rbx
je 0x140019d17
mov rax, qword [rbx]
movabs r10, 0xbaac1f10365eb170
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140029ce8]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140019d3e
mov qword [rsp + 0x70], r15
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [0x140029ce8]
nop
mov eax, edi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14001ae50
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret