Function at 0x1400026a8
Capabilities:
Query or enumerate registry value

Disassembly:
test r15b, 0xe
je 0x14000273f
test esi, esi
je 0x140002550
mov rcx, r14
call fcn.1400021f8
test eax, eax
je 0x14000273f
test r15b, 2
je 0x1400025d1
mov r12d, r13d
mov rsi, qword [0x14001a0c8]
cmp rsi, 0xffffffffffffffff
jne 0x1400035cd
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.14000248c
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
je 0x1400035f6
test dil, 1
je 0x1400025c9
and edi, 0xfffffffe
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
jne 0x1400035fd
test cl, cl
jne 0x140003609
test r15b, 4
je 0x140002693
mov r12d, r13d
mov rsi, qword [0x14001a0d0]
cmp rsi, 0xffffffffffffffff
jne 0x14000369b
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.14000248c
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 0x140002631
mov cl, 1
test dil, 2
je 0x14000264d
and edi, 0xfffffffd
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x14000264d
mov dword [rax + 8], 1
test cl, cl
je 0x140002693
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
je 0x1400036cb
mov eax, dword [rbp + 7]
test r12d, r12d
cmovne eax, r13d
mov dword [rbp + 7], eax
test esi, esi
jne 0x14000273f
test r15b, 8
jne 0x140003723
mov rbx, r13
jmp 0x14000273f
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 0x140002532
call fcn.140001920
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140002532
mov dword [rbp - 9], 1
cmp word [rax], r13w
je 0x1400035b5
mov dword [rbp - 9], r13d
jmp 0x14000273f
cmp dword [rbp + 0x27], r13d
jne 0x1400037ff
cmp dword [rbp + 7], r13d
je 0x14000275d
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
cmp dword [rbp + 0x17], r13d
jne 0x140003812
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
mov rcx, rax
call fcn.140001094
mov dword [rbp - 9], r13d
mov ebx, r13d
mov qword [rbp - 0x11], rbx
jmp 0x140002532
mov r12d, 1
cmp dword [rbp + 0x17], r13d
je 0x1400035e7
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 0x1400035f6
mov dword [rbp + 0x17], r12d
jmp 0x1400035f6
mov cl, 1
jmp 0x1400025b0
mov dword [rax + 8], 1
jmp 0x1400025c9
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 0x140003681
cmp dword [rbp - 0x25], 1
jne 0x140003681
mov ecx, dword [rbp + 0x77]
call fcn.140001e30
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x14000367c
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
je 0x1400025d1
jmp 0x14000273f
mov r12d, 1
cmp dword [rbp + 7], r13d
je 0x1400036b5
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 0x14000262f
mov dword [rbp + 7], r12d
jmp 0x14000262f
cmp dword [rbp - 0x25], 1
jne 0x14000267e
mov ecx, dword [rbp + 0x77]
call fcn.140001e30
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140003719
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
jmp 0x14000267e
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.14000248c
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, [0x140013d68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000378e
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 0x14000378e
cmp dword [rbp - 0x25], 1
mov cl, 1
je 0x140003791
mov cl, r13b
test dil, 4
je 0x1400037ad
and edi, 0xfffffffb
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x1400037ad
mov dword [rax + 8], 1
test cl, cl
je 0x14000269d
mov ecx, dword [rbp + 0x77]
call fcn.140001e30
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x14000269d
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]
nop
jmp 0x140002739
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x27], r13d
jmp 0x140002749
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x17], r13d
jmp 0x140002767