Function at 0x1400091bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov esi, r9d
mov r15d, r8d
mov r14, 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 + 0x1f], r13
mov dword [rbp + 0x27], r13d
mov ebx, r13d
mov qword [rbp - 0x11], rbx
mov dword [rbp - 9], r13d
test r8b, 1
je 0x140009258
call fcn.140009068
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140009258
mov dword [rbp - 9], 1
cmp word [rax], r13w
jne 0x1400095bc
mov rcx, rax
call fcn.140008a60
mov dword [rbp - 9], r13d
mov ebx, r13d
mov qword [rbp - 0x11], rbx
test r15b, 0xe
je 0x1400095c5
test esi, esi
je 0x140009276
mov rcx, r14
call fcn.140009628
test eax, eax
je 0x1400095c5
test r15b, 2
je 0x1400093ae
mov r12d, r13d
mov rsi, qword [0x1400342c0]
cmp rsi, 0xffffffffffffffff
je 0x1400092b9
mov r12d, 1
cmp dword [rbp + 0x17], r13d
je 0x1400092aa
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x17], r13d
mov qword [rbp + 0xf], rsi
test rsi, rsi
je 0x1400092fb
mov dword [rbp + 0x17], r12d
jmp 0x1400092fb
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.140006610
nop
mov edi, 1
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, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov cl, r13b
jne 0x1400092fd
mov cl, 1
test dil, 1
je 0x140009319
and edi, 0xfffffffe
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x140009319
mov dword [rax + 8], 1
test cl, cl
je 0x1400093ae
mov esi, r13d
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x25]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009399
cmp dword [rbp - 0x25], 1
jne 0x140009399
mov ecx, dword [rbp + 0x77]
call fcn.140008a28
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140009394
mov dword [rbp - 9], 1
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, r14
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 9], r13d
mov esi, 1
mov eax, dword [rbp + 0x17]
test r12d, r12d
cmovne eax, r13d
mov dword [rbp + 0x17], eax
test esi, esi
jne 0x1400095c5
test r15b, 4
je 0x1400094e4
mov r12d, r13d
mov rsi, qword [0x1400342c8]
cmp rsi, 0xffffffffffffffff
je 0x1400093f1
mov r12d, 1
cmp dword [rbp + 7], r13d
je 0x1400093e2
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
mov qword [rbp - 1], rsi
test rsi, rsi
je 0x140009431
mov dword [rbp + 7], r12d
jmp 0x140009431
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.140006610
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, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov cl, r13b
jne 0x140009433
mov cl, 1
test dil, 2
je 0x14000944f
and edi, 0xfffffffd
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x14000944f
mov dword [rax + 8], 1
test cl, cl
je 0x1400094e4
mov esi, r13d
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x25]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400094cf
cmp dword [rbp - 0x25], 1
jne 0x1400094cf
mov ecx, dword [rbp + 0x77]
call fcn.140008a28
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x1400094ca
mov dword [rbp - 9], 1
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, r14
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 9], r13d
mov esi, 1
mov eax, dword [rbp + 7]
test r12d, r12d
cmovne eax, r13d
mov dword [rbp + 7], eax
test esi, esi
jne 0x1400095c5
test r15b, 8
je 0x1400095c2
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.140006610
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, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009559
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x25]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009559
cmp dword [rbp - 0x25], 1
mov cl, 1
je 0x14000955c
mov cl, r13b
test dil, 4
je 0x140009578
and edi, 0xfffffffb
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x140009578
mov dword [rax + 8], 1
test cl, cl
je 0x1400095c2
mov ecx, dword [rbp + 0x77]
call fcn.140008a28
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x1400095c2
mov dword [rbp - 9], 1
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, r14
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 9], r13d
jmp 0x1400095c5
mov rbx, r13
cmp dword [rbp + 0x27], r13d
je 0x1400095d9
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x27], r13d
cmp dword [rbp + 7], r13d
je 0x1400095ed
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
cmp dword [rbp + 0x17], r13d
je 0x140009601
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x17], r13d
mov rax, rbx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret