Function at 0x180001644
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4c0
xor r15d, r15d
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rdx, rcx
movaps xmmword [rax - 0x68], xmm8
xor r8d, r8d
lea rax, [rsp + 0x48]
mov dword [rsp + 0x50], r15d
lea r9d, [r15 + 8]
mov qword [rsp + 0x48], r15
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov r14d, r15d
mov r12d, r15d
mov edi, r15d
mov esi, r15d
mov ebx, r15d
xorps xmm7, xmm7
xorps xmm8, xmm8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180001909
mov rcx, qword [rsp + 0x48]
lea r9, [rbp + 0x418]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x180]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rbp + 0x418], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea r15d, [rbx + 1]
mov dword [rbp + 0x410], r15d
cmp eax, 0x103
je 0x1800018fe
mov r13d, ebx
mov r14d, ebx
test eax, eax
jne 0x180001841
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180001841
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, str.Install
call fcn.1800013c8
test al, al
je 0x1800017c3
lea rcx, [rsp + 0x70]
call fcn.1800071b8
mov r15, rax
cmp rax, r14
jle 0x180001795
mov r13, r14
test rdi, rdi
je 0x180001788
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov r14, r15
mov r12, qword [rsp + 0x40]
jmp 0x1800017b0
cmp r15, r13
jle 0x1800017bc
mov r13, r15
test rdi, rdi
je 0x1800017ab
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x40]
mov r15d, dword [rbp + 0x410]
jmp 0x180001841
mov r15d, dword [rbp + 0x410]
test rdi, rdi
jne 0x180001841
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, str.Priority
call fcn.1800013c8
test al, al
je 0x180001836
lea rcx, [rsp + 0x70]
call fcn.18000b21c
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x180001817
movaps xmm8, xmm7
test rbx, rbx
je 0x18000180a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
movaps xmm7, xmm6
mov rsi, qword [rsp + 0x40]
jmp 0x180001841
comiss xmm6, xmm8
jbe 0x180001836
movaps xmm8, xmm6
test rbx, rbx
je 0x18000182f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
jmp 0x180001841
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x38], 0
lea r9, [rbp + 0x418]
and qword [rsp + 0x30], 0
lea r8, [rbp + 0x180]
and qword [rsp + 0x28], 0
mov edx, r15d
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
mov dword [rbp + 0x418], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc r15d
mov dword [rbp + 0x410], r15d
cmp eax, 0x103
jne 0x180001716
mov r14d, dword [rsp + 0x50]
mov r13, qword [rbp + 0x408]
test rdi, rdi
je 0x1800018b1
mov qword [r13], rdi
mov r14d, 1
jmp 0x1800018d4
test r12, r12
je 0x1800018c3
test rsi, rsi
je 0x1800018d4
mov qword [r13], rsi
xor esi, esi
jmp 0x1800018ce
test rbx, rbx
je 0x1800018e2
mov qword [r13], rbx
xor ebx, ebx
mov r14d, 2
test r12, r12
je 0x1800018e2
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x1800018f0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1800018fe
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x4c0]
mov eax, r14d
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret