Function at 0x140002740
Capabilities:
Query or enumerate registry value

Disassembly:
test r15b, 0xe
je 0x1400027d8
test esi, esi
je 0x1400025e6
mov rcx, r14
call fcn.1400021e8
test eax, eax
je 0x1400027d8
test r15b, 2
je 0x140002667
mov r12d, r13d
mov rsi, qword [0x14001b0c8]
cmp rsi, 0xffffffffffffffff
jne 0x140003b1b
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0xf]
call fcn.140002460
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 0x140003b45
test dil, 1
je 0x14000265f
and edi, 0xfffffffe
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
jne 0x140003b4d
test cl, cl
jne 0x140003b5a
test r15b, 4
je 0x140002729
mov r12d, r13d
mov rsi, qword [0x14001b0d0]
cmp rsi, 0xffffffffffffffff
jne 0x140003bed
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.140002460
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 0x1400026c7
mov cl, 1
test dil, 2
je 0x1400026e3
and edi, 0xfffffffd
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x1400026e3
mov dword [rax + 8], 1
test cl, cl
je 0x140002729
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 0x140003c1e
mov eax, dword [rbp + 7]
test r12d, r12d
cmovne eax, r13d
mov dword [rbp + 7], eax
test esi, esi
jne 0x1400027d8
test r15b, 8
jne 0x140003c77
mov rbx, r13
jmp 0x1400027d8
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 0x1400025c8
call fcn.140001520
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x1400025c8
mov dword [rbp - 9], 1
cmp word [rax], r13w
je 0x140003b02
mov dword [rbp - 9], r13d
jmp 0x1400027d8
cmp dword [rbp + 0x27], r13d
jne 0x140003d54
cmp dword [rbp + 7], r13d
je 0x1400027f6
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 7], r13d
cmp dword [rbp + 0x17], r13d
jne 0x140003d68
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.1400011b0
mov dword [rbp - 9], r13d
mov ebx, r13d
mov qword [rbp - 0x11], rbx
jmp 0x1400025c8
mov r12d, 1
cmp dword [rbp + 0x17], r13d
je 0x140003b35
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 0x140003b45
mov dword [rbp + 0x17], r12d
jmp 0x140003b45
mov cl, 1
jmp 0x140002646
mov dword [rax + 8], 1
jmp 0x14000265f
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 0x140003bd2
cmp dword [rbp - 0x25], 1
jne 0x140003bd2
mov ecx, dword [rbp + 0x77]
call fcn.140001a70
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140003bcd
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 0x140002667
jmp 0x1400027d8
mov r12d, 1
cmp dword [rbp + 7], r13d
je 0x140003c07
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 0x1400026c5
mov dword [rbp + 7], r12d
jmp 0x1400026c5
cmp dword [rbp - 0x25], 1
jne 0x140002714
mov ecx, dword [rbp + 0x77]
call fcn.140001a70
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140003c6c
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 0x140002714
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.140002460
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, [0x140015068]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003ce2
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 0x140003ce2
cmp dword [rbp - 0x25], 1
mov cl, 1
je 0x140003ce5
mov cl, r13b
test dil, 4
je 0x140003d01
and edi, 0xfffffffb
mov dword [rbp - 0x29], edi
mov rax, qword [rbp - 0x21]
cmp qword [rax], r13
je 0x140003d01
mov dword [rax + 8], 1
test cl, cl
je 0x140002733
mov ecx, dword [rbp + 0x77]
call fcn.140001a70
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140002733
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 0x1400027d1
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x27], r13d
jmp 0x1400027e2
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x17], r13d
jmp 0x140002800