Function at 0x1400026e8
Capabilities:
Query or enumerate registry value

Disassembly:
test r15b, 0xe
je 0x140002780
test esi, esi
je 0x140002591
mov rcx, r14
call fcn.140002224
test eax, eax
je 0x140002780
test r15b, 2
je 0x140002612
mov r12d, r13d
mov rsi, qword [0x14001b0c8]
cmp rsi, 0xffffffffffffffff
jne 0x140003769
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.1400024c4
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 0x140003793
test dil, 1
je 0x14000260a
and edi, 0xfffffffe
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
jne 0x14000379b
test cl, cl
jne 0x1400037a8
test r15b, 4
je 0x1400026d4
mov r12d, r13d
mov rsi, qword [0x14001b0d0]
cmp rsi, 0xffffffffffffffff
jne 0x14000383b
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.1400024c4
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 0x140002672
mov cl, 1
test dil, 2
je 0x14000268e
and edi, 0xfffffffd
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x14000268e
mov dword [rax + 8], 1
test cl, cl
je 0x1400026d4
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 0x14000386c
mov eax, dword [rbp + 7]
test r12d, r12d
cmovne eax, r13d
mov dword [rbp + 7], eax
test esi, esi
jne 0x140002780
test r15b, 8
jne 0x1400038c5
mov rbx, r13
jmp 0x140002780
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 0x140002573
call fcn.1400017c0
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140002573
mov dword [rbp - 9], 1
cmp word [rax], r13w
je 0x140003750
mov dword [rbp - 9], r13d
jmp 0x140002780
cmp dword [rbp + 0x27], r13d
jne 0x1400039a2
cmp dword [rbp + 7], r13d
je 0x14000279e
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
cmp dword [rbp + 0x17], r13d
jne 0x1400039b6
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.1400010a0
mov dword [rbp - 9], r13d
mov ebx, r13d
mov qword [rbp - 0x11], rbx
jmp 0x140002573
mov r12d, 1
cmp dword [rbp + 0x17], r13d
je 0x140003783
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 0x140003793
mov dword [rbp + 0x17], r12d
jmp 0x140003793
mov cl, 1
jmp 0x1400025f1
mov dword [rax + 8], 1
jmp 0x14000260a
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 0x140003820
cmp dword [rbp - 0x25], 1
jne 0x140003820
mov ecx, dword [rbp + 0x77]
call fcn.140001cd0
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x14000381b
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 0x140002612
jmp 0x140002780
mov r12d, 1
cmp dword [rbp + 7], r13d
je 0x140003855
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 0x140002670
mov dword [rbp + 7], r12d
jmp 0x140002670
cmp dword [rbp - 0x25], 1
jne 0x1400026bf
mov ecx, dword [rbp + 0x77]
call fcn.140001cd0
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x1400038ba
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 0x1400026bf
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.1400024c4
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, [0x140014dd8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003930
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 0x140003930
cmp dword [rbp - 0x25], 1
mov cl, 1
je 0x140003933
mov cl, r13b
test dil, 4
je 0x14000394f
and edi, 0xfffffffb
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x14000394f
mov dword [rax + 8], 1
test cl, cl
je 0x1400026de
mov ecx, dword [rbp + 0x77]
call fcn.140001cd0
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x1400026de
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 0x140002779
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x27], r13d
jmp 0x14000278a
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x17], r13d
jmp 0x1400027a8