Function at 0x1400022f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x30
lea rax, [rbp + 0x28]
lea rdx, str.SoftwareAutoIt_v3AU3Info
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400025a1
mov rcx, qword [rbp + 0x28]
lea edi, [rax + 4]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [0x14001eab8]
lea rdx, str.WinX
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
lea rdx, str.WinY
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [0x14001eabc]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, str.user32.dll
mov dword [rbp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1400023f3
lea rdx, str.MonitorFromPoint
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400023ea
mov ecx, dword [0x14001eab8]
xor edx, edx
mov dword [rbp + 0x30], ecx
mov ecx, dword [0x14001eabc]
mov dword [rbp + 0x34], ecx
mov rcx, qword [rbp + 0x30]
call rax
test rax, rax
jne 0x1400023ea
and dword [0x14001eab8], eax
and dword [0x14001eabc], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
lea rdx, str.WinW
mov qword [rsp + 0x28], rax
lea rax, [0x14001eac0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [0x14001eac4]
lea rdx, str.WinH
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
lea rdx, str.CoordMode
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [0x14001eaa8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
lea rdx, str.ControlFindMode
mov qword [rsp + 0x28], rax
lea rax, [0x14001eac8]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [0x14001eaac]
lea rdx, str.HighlightControls
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
lea rdx, str.Magnify
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [0x14001eab4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
lea rdx, str.AlwaysOnTop
mov qword [rsp + 0x28], rax
lea rax, [0x14001eab0]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [0x14001eacc]
lea rdx, str.HighlightColor
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x20], edi
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [0x14001ead0]
lea rdx, str.LastTab
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rdi
pop rbx
pop rbp
ret