Function at 0x14000e0d0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x7b8]
sub rsp, 0x8b0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rdi, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
xor esi, esi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000e12b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000e15d
mov bl, 1
jmp 0x14000e2b5
mov ebx, esi
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, esi
test eax, eax
cmove ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x14000e2b3
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
mov dword [rsp + 0x60], 0x7ff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x60]
mov edx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14000e252
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000e210
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140003d30
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov rcx, rdi
call fcn.14000d970
test al, al
jne 0x14000e30a
lea rcx, [rbp - 0x80]
call fcn.140003cc0
nop
jmp 0x14000e25c
lea rcx, [rbp - 0x80]
call fcn.140003cc0
nop
inc ebx
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, esi
test eax, eax
cmove ecx, dword [rsp + 0x60]
cmp ebx, ecx
jb 0x14000e1b4
xor bl, bl
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000e2ca
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rsi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000e2df
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rsi
movzx eax, bl
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete bl
lea rcx, [rbp - 0x80]
call fcn.140003cc0
nop
jmp 0x14000e2b5