Function at 0x1400e42f0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.140359d40
sub rsp, rax
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
movups xmm0, xmmword [str.Exclude]
lea rax, [rsp + 0x78]
mov rdi, 0xffffffffffffffff
movups xmmword [rsp + 0x78], xmm0
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400e4333
xor edx, edx
mov cl, 1
call fcn.1401d3b80
mov r14, rax
test rax, rax
je 0x1400e470a
lea rax, [rbp - 0x74]
mov qword [rsp + 0x1500], r12
xor r12d, r12d
xor r9d, r9d
mov qword [rsp + 0x58], r12
xor r8d, r8d
mov qword [rsp + 0x50], r12
xor edx, edx
mov qword [rsp + 0x48], r12
mov rcx, r14
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x74], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400e46e9
mov qword [rsp + 0x1508], r15
mov r15d, dword [rbp - 0x74]
sub r15d, 1
js 0x1400e46e1
mov qword [rsp + 0x14f0], rbx
mov qword [rsp + 0x14f8], rsi
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x104
lea r8, [rbp - 0x60]
mov edx, r15d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1400e46c7
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400e4410
test rax, rax
je 0x1400e46c7
cmp word [rbp - 0x60], 0x5f
jne 0x1400e4436
cmp word [rbp + rax*2 - 0x62], 0x5f
je 0x1400e46c7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], r12
mov r9d, 0xf013f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x78], r12d
lea rdx, [rbp - 0x60]
mov rcx, r14
mov esi, r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e46c7
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], r12
xor r9d, r9d
mov qword [rsp + 0x50], r12
xor r8d, r8d
mov qword [rsp + 0x48], r12
xor edx, edx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x68], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400e46bc
mov ebx, dword [rbp - 0x78]
sub ebx, 1
js 0x1400e469a
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x3c0]
mov r8d, 0x1000
call fcn.14035c350
xor edx, edx
mov dword [rbp - 0x6c], 0x800
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call fcn.14035c350
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x6c]
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x60], 0x208
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x3c0]
lea rax, [rbp - 0x70]
mov dword [rbp - 0x70], r12d
mov qword [rsp + 0x28], rax
mov edx, ebx
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400e4691
cmp dword [rbp - 0x70], 1
jne 0x1400e4691
mov ecx, dword [rsp + 0x60]
cmp ecx, 1
jbe 0x1400e458c
mov eax, ecx
shr rax, 1
cmp word [rbp + rax*2 + 0x1ae], r12w
jne 0x1400e458c
lea rcx, [rbp + 0x1b0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400e4580
jmp 0x1400e4592
mov rax, rcx
shr rax, 1
cmp rdi, rax
jne 0x1400e4691
mov r8, rdi
lea rdx, str.Exclude
lea rcx, [rbp + 0x1b0]
call fcn.14036ef28
test eax, eax
jne 0x1400e4691
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x1400e4608
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rdx, str._policy_
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x104
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400e4691
cmp qword [rsp + 0x68], r12
jne 0x1400e4647
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x102
xor r8d, r8d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp qword [rsp + 0x68], r12
je 0x1400e4691
mov eax, dword [rsp + 0x60]
lea r8, [rbp + 0x3c0]
mov rcx, qword [rsp + 0x68]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x1400e4691
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp + 0x3c0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400e4691
inc esi
sub ebx, 1
jns 0x1400e44d0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400e46bc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x78], esi
jne 0x1400e46bc
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub r15d, 1
jns 0x1400e43e0
mov rsi, qword [rsp + 0x14f8]
mov rbx, qword [rsp + 0x14f0]
mov r15, qword [rsp + 0x1508]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
mov r12, qword [rsp + 0x1500]
test rcx, rcx
je 0x1400e470a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140359070
add rsp, 0x14d0
pop r14
pop rdi
pop rbp
ret