Function at 0x180008b64
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r12d, r8d
mov rsi, rcx
xor r13d, r13d
mov edi, r13d
mov dword [rbp - 0x29], r13d
mov qword [rbp + 0xf], r13
mov dword [rbp + 0x17], r13d
mov qword [rbp - 1], r13
mov dword [rbp + 7], r13d
mov qword [rbp - 0x11], r13
mov dword [rbp - 9], r13d
mov ebx, r13d
mov qword [rbp + 0x1f], rbx
mov dword [rbp + 0x27], r13d
lea r14d, [r13 + 1]
test r14b, r8b
je 0x180008c3c
call fcn.180008824
mov rbx, rax
mov qword [rbp + 0x1f], rax
test rax, rax
je 0x180008c3c
mov dword [rbp + 0x27], r14d
cmp word [rax], r13w
je 0x180008c29
mov dword [rbp + 0x27], r13d
cmp dword [rbp - 9], r13d
je 0x180008bf9
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008c0d
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
cmp dword [rbp + 0x17], r13d
je 0x180008c21
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x17], r13d
mov rax, rbx
jmp 0x180009015
mov rcx, rax
call fcn.180004e48
mov dword [rbp + 0x27], r13d
mov rbx, r13
mov qword [rbp + 0x1f], rbx
test r12b, 0xe
jne 0x180008c6c
cmp dword [rbp - 9], r13d
je 0x180008c56
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008c6a
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
jmp 0x180008c0d
mov rcx, rsi
call fcn.180009094
test eax, eax
jne 0x180008ca5
cmp dword [rbp - 9], r13d
je 0x180008c8c
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008ca0
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
jmp 0x180008c0d
test r12b, 2
je 0x180008da3
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.180009124
nop
mov dword [rbp - 0x29], r14d
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoft.NETFramework
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete cl
mov edi, r14d
and edi, 0xfffffffe
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x180008d01
mov dword [rax + 8], r14d
test cl, cl
je 0x180008da3
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180008da3
cmp dword [rbp + 0x7f], r14d
jne 0x180008da3
mov ecx, dword [rbp + 0x77]
call fcn.180004de8
mov rbx, rax
mov qword [rbp + 0x1f], rax
test rax, rax
je 0x180008d76
mov dword [rbp + 0x27], r14d
mov word [rax], r13w
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x27], r13d
cmp dword [rbp - 9], r13d
je 0x180008d8a
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008d9e
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
jmp 0x180008c0d
mov rbx, 0xffffffff80000002
test r12b, 4
je 0x180008ea9
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.180009124
nop
or edi, 2
mov dword [rbp - 0x29], edi
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoft.NETFramework
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete cl
test dil, 2
je 0x180008e07
and edi, 0xfffffffd
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x180008e07
mov dword [rax + 8], r14d
test cl, cl
je 0x180008ea9
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180008ea9
cmp dword [rbp + 0x7f], r14d
jne 0x180008ea9
mov ecx, dword [rbp + 0x77]
call fcn.180004de8
mov rbx, rax
mov qword [rbp + 0x1f], rax
test rax, rax
je 0x180008e7c
mov dword [rbp + 0x27], r14d
mov word [rax], r13w
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x27], r13d
cmp dword [rbp - 9], r13d
je 0x180008e90
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008ea4
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
jmp 0x180008c0d
test r12b, 8
je 0x180008fd7
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x11]
call fcn.180009124
nop
or edi, 4
mov dword [rbp - 0x29], edi
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftFusion
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180008f1b
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180008f1b
cmp dword [rbp + 0x7f], r14d
mov cl, r14b
je 0x180008f1e
mov cl, r13b
test dil, 4
je 0x180008f37
and edi, 0xfffffffb
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x180008f37
mov dword [rax + 8], r14d
test cl, cl
je 0x180008fd7
mov ecx, dword [rbp + 0x77]
call fcn.180004de8
mov rbx, rax
mov qword [rbp + 0x1f], rax
test rax, rax
je 0x180008fad
mov dword [rbp + 0x27], r14d
mov word [rax], r13w
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x27], r13d
cmp dword [rbp - 9], r13d
je 0x180008f94
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008fa8
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
jmp 0x180008c0d
cmp dword [rbp - 9], r13d
je 0x180008fc1
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008fd5
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
jmp 0x180008fff
cmp dword [rbp - 9], r13d
je 0x180008feb
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 9], r13d
cmp dword [rbp + 7], r13d
je 0x180008fff
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
cmp dword [rbp + 0x17], r13d
je 0x180009013
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x17], r13d
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret