Function at 0x1400aa4f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa18]
sub rsp, 0xaf0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
cmp dword [0x1403ff624], 0
jne 0x1400aa864
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x1e0]
call fcn.14029ff20
mov dword [rsp + 0x68], 0x200
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x78], r14d
mov qword [rbp - 0x70], r14
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x80]
call fcn.140015610
lea r13d, [r14 + 1]
mov rbx, qword [rbp - 0x80]
test eax, eax
jne 0x1400aa828
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400aa817
mov esi, r14d
lea r15, str.Asus_SonicStudio3Setup
lea r12, str.Asus_SonicRadar3Setup
nop word [rax + rax]
mov dword [rsp + 0x6c], 0x200
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x6c]
lea r8, [rbp + 0x5e0]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400aa80b
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400aa894
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea r9, [rbp + 0x5e0]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea rdx, [0x14034c258]
lea rcx, [rsp + 0x78]
call fcn.14000dfa0
mov qword [rbp - 0x48], r14
mov dword [rbp - 0x40], r14d
mov qword [rbp - 0x38], r14
mov r9d, 0x20019
mov rbx, qword [rsp + 0x78]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x48]
call fcn.140015610
test eax, eax
jne 0x1400aa7dd
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x20]
call fcn.14029ff20
mov dword [rsp + 0x64], 0x200
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.DisplayName
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400aa7ca
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 1
ja 0x1400aa7ca
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1400aa74f
test al, 1
jne 0x1400aa7ca
shr rax, 1
cmp word [rbp + rax*2 - 0x22], 0
je 0x1400aa754
jmp 0x1400aa7ca
mov word [rbp - 0x20], r14w
lea rdx, [rbp - 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x1400aa782
add rax, 2
cmp rax, 0x17
je 0x1400aa7d4
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
je 0x1400aa760
lea r8, [rbp - 0x20]
mov rcx, r14
nop dword [rax]
movzx edx, word [r8 + rcx*2]
movzx eax, word [r12 + rcx*2]
sub edx, eax
jne 0x1400aa7b8
movzx edx, word [r8 + rcx*2 + 2]
movzx eax, word [r12 + rcx*2 + 2]
sub edx, eax
jne 0x1400aa7b8
add rcx, 2
cmp rcx, 0x16
jne 0x1400aa790
mov eax, dword [0x1403ff61c]
test edx, edx
cmove eax, r13d
mov dword [0x1403ff61c], eax
test rdi, rdi
je 0x1400aa7ed
mov rcx, rdi
jmp 0x1400aa7e6
mov dword [0x1403ff620], r13d
jmp 0x1400aa7ca
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400aa7ed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400aa807
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x80]
inc esi
cmp esi, dword [rsp + 0x60]
jb 0x1400aa620
test rbx, rbx
je 0x1400aa828
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
mov rax, qword [0x1403ff438]
inc dword [rax + 0x1d60]
test dword [rax + 0x94], 0x800
mov eax, dword [0x1403ff620]
cmovne eax, r14d
mov dword [0x1403ff620], eax
mov dword [0x1403ff624], r13d
test rbx, rbx
je 0x1400aa864
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.14029d880
lea r11, [rsp + 0xaf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
int3