Function at 0x180002060
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc88]
sub rsp, 0xd48
xor edx, edx
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
lea r14, [rbp + 0x5e0]
movaps xmmword [rax - 0x78], xmm8
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rdx
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x30], rdx
lea r8, [rbp - 0x50]
mov qword [rsp + 0x70], rax
lea r13, [rbp + 0xa00]
lea rax, [rbp + 0x7f0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x68], rax
mov r12d, edx
mov ebx, edx
mov qword [rsp + 0x78], rdx
mov esi, edx
mov qword [rsp + 0x50], r14
mov edi, edx
mov word [rbp + 0x3d0], dx
xorps xmm8, xmm8
mov word [rbp + 0x5e0], dx
xorps xmm7, xmm7
mov word [rbp + 0x7f0], dx
mov word [rbp + 0xa00], dx
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rdx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x44], 1
cmp eax, 0x103
je 0x180002471
mov r15d, ebx
test eax, eax
jne 0x180002309
mov rcx, qword [rbp + 0xc90]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180002309
mov rcx, qword [rsp + 0x48]
lea r8, [rbp + 0x1c0]
lea rdx, str.Install
call fcn.1800012cc
test al, al
je 0x180002241
lea rcx, [rbp + 0x1c0]
call fcn.180007608
mov r14, rax
mov rax, qword [rsp + 0x78]
cmp r14, rax
jle 0x1800021fb
mov r15, rax
test rbx, rbx
je 0x1800021b7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x50]
mov rax, qword [rsp + 0x70]
mov rbx, r12
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor eax, eax
mov word [rcx], ax
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x78], eax
call fcn.1800011b8
mov r14, qword [rsp + 0x50]
jmp 0x180002309
cmp r14, r15
jle 0x18000223c
xor eax, eax
mov r15, r14
test rbx, rbx
je 0x180002215
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov r14, qword [rsp + 0x50]
lea rcx, [rbp - 0x70]
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], eax
mov word [r14], ax
lea rdx, [rbp - 0x50]
call fcn.1800011b8
jmp 0x180002309
mov r14, qword [rsp + 0x50]
xor eax, eax
test rbx, rbx
jne 0x18000230b
mov rcx, qword [rsp + 0x48]
lea r8, [rbp + 0x1c0]
lea rdx, str.Priority
call fcn.1800012cc
test al, al
je 0x1800022fe
lea rcx, [rbp + 0x1c0]
call fcn.18000b66c
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
comiss xmm6, xmm8
jbe 0x1800022c7
xor ecx, ecx
movaps xmm7, xmm8
test rdi, rdi
je 0x18000229b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rax, r13
mov dword [rbp - 0x58], ecx
mov r13, qword [rsp + 0x68]
mov rdi, rsi
mov rsi, qword [rsp + 0x48]
movaps xmm8, xmm6
mov qword [rsp + 0x68], rax
mov word [rax], cx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x60], rax
jmp 0x18000222e
comiss xmm6, xmm7
jbe 0x1800022fe
xor eax, eax
movaps xmm7, xmm6
test rdi, rdi
je 0x1800022e1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rdi, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
mov word [r13], ax
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], eax
jmp 0x18000222e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov edx, dword [rsp + 0x44]
lea r9, [rsp + 0x40]
mov rcx, qword [rbp + 0xc90]
lea r8, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [rsp + 0x44]
cmp eax, 0x103
jne 0x180002139
mov r15, qword [rbp + 0xc98]
test rbx, rbx
je 0x1800023ad
mov r8, qword [rbp + 0xca0]
lea rdx, str.Text
mov rcx, rbx
call fcn.1800012cc
mov r8, qword [rbp + 0xca8]
lea rdx, str.Path
mov rcx, rbx
call fcn.1800012cc
mov r8, qword [rbp + 0xcb0]
lea rdx, str.Param
mov rcx, rbx
call fcn.1800012cc
xor eax, eax
mov rdx, r14
mov dword [rsp + 0x60], eax
mov word [r15], ax
jmp 0x18000242a
xor r14d, r14d
test r12, r12
je 0x1800023ed
test rsi, rsi
je 0x180002439
mov r8, qword [rbp + 0xca0]
lea rdx, str.Text
mov rcx, rsi
call fcn.1800012cc
mov r8, qword [rbp + 0xcb0]
lea rdx, str.ExtApp
mov rcx, rsi
call fcn.1800012cc
mov rdx, qword [rsp + 0x68]
jmp 0x180002421
test rdi, rdi
je 0x180002455
mov r8, qword [rbp + 0xca0]
lea rdx, str.Text
mov rcx, rdi
call fcn.1800012cc
mov r8, qword [rbp + 0xcb0]
lea rdx, str.ExtApp
mov rcx, rdi
call fcn.1800012cc
mov rdx, r13
mov word [r15], r14w
mov dword [rsp + 0x60], r14d
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], r15
call fcn.1800011b8
test r12, r12
je 0x180002447
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x180002455
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x180002463
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x180002471
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0xd48]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret