Function at 0x7ff7e151af40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
sub rsp, 0x150
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov dword [rbp + 0x1c], 4
mov dword [rbp + 0x20], 4
movabs rax, 0x8201059f936fc185
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
movabs rax, 0xf4f20c7e32eded14
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
movabs rdi, 0xe36f40ebe00eaed1
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0xa0], rax
movabs rsi, 0xf4f20c7e56888176
mov qword [rbp + 8], rsi
mov rax, qword [rbp + 8]
mov qword [rbp + 0xa8], rax
movdqa xmm0, xmmword [rbp + 0x50]
pxor xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x50], xmm0
xor ebx, ebx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], bl
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x7ff7e151b000
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.7ff7e14c5e30
nop
lea rax, [rbp + 0x28]
mov qword [rbp + 8], rax
movabs rax, 0xa63d01bcb448e182
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x9b81630c35e1cc2a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x924bd4343af1c3c5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xee32be65a150e9ef
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x9c2eac1d3b90c44b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xa0a48051c9c1f0b4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x11409992390807c3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x446906c4750d70b3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xfd2fba5d6dadb7a3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x8b40cc10e20c9a98
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xf347df6f5ec6b025
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0xcfeae822bc91acda
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x7834f8f1506e6eb7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x446906c4757e1edc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, 0xffffffff80000001
vzeroupper
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
js 0x7ff7e151b289
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov eax, dword [rbp + 0x18]
test eax, eax
jne 0x7ff7e151b239
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 8]
call fcn.7ff7e151ac30
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [rbp + 0x18]
cmp eax, 1
jbe 0x7ff7e151b2b7
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
js 0x7ff7e151b2b7
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 8]
call fcn.7ff7e151ac30
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x7ff7e151b2b7
mov dword [rsp + 0x28], 0x7d0
mov word [rsp + 0x20], bx
mov r9d, 0x1040
lea r8, [0x7ff7e15f60c4]
lea rdx, [0x7ff7e15f60d0]
xor ecx, ecx
call fcn.7ff7e14c5310
call fcn.7ff7e14c5b20
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x7ff7e151b2f5
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e151b2f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e151b2f0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret