Function at 0x1400229b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
lea rax, str.CPresetOrientationSettings::RestoreSettings.
mov qword [rsp + 0x30], rax
lea r8, [0x1400a4128]
lea rax, [0x1400848d0]
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rcx, str...SharedPresetOrientationSettings.cpp
lea r9d, [rdi + 3]
mov qword [rsp + 0x20], rdi
lea edx, [rdi + 0x17]
call fcn.140002ed0
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0x1e
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp + 0x38], rdi
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022a68
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Standing_X_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 8], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0x78
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022adf
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Standing_X_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0xc], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xa
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022b56
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Laying_X_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x10], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0x1e
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022bcd
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Laying_X_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x14], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xffffffa6
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022c44
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Standing_Y_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x18], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xffffffe2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022cbb
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Standing_Y_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x1c], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xffffffe2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022d32
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Laying_Y_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x20], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xfffffff6
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022da9
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Laying_Y_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x24], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xf
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140022e20
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Timeout
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
mov dword [rbx + 0x28], eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret