Function at 0x7ff7ec5beb30
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, 0x91b1951b3248291
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
movabs rax, 0x9af6a8e0dd479954
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
movabs rdi, 0x68755c25c045edc5
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0xa0], rax
movabs rsi, 0x9af6a8e0b922f536
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 0x7ff7ec5bebf0
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.7ff7ec5666c0
nop
lea rax, [rbp + 0x28]
mov qword [rbp + 8], rax
movabs rax, 0x2d271d729403a296
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xf585c792da4bb86a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xa47311d2ac98ee31
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x6f47467bb7f09eaf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xa024abd373e43e47
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x580fd2ff7c1b8784
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x5206996479d9430f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x788191aa7bbfb0c3
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, 0xcb177fbbfbc49a57
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0xa35340ef4acedd8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xcf4dd8a116b24a29
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0x3741ba8c094bdbea
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x3b72f80710bf2a7b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x788191aa7bccdeac
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 0x7ff7ec5bee79
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 0x7ff7ec5bee29
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 8]
call fcn.7ff7ec5be820
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [rbp + 0x18]
cmp eax, 1
jbe 0x7ff7ec5beea7
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 0x7ff7ec5beea7
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 8]
call fcn.7ff7ec5be820
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x7ff7ec5beea7
mov dword [rsp + 0x28], 0x7d0
mov word [rsp + 0x20], bx
mov r9d, 0x1040
lea r8, [0x7ff7ec6ae234]
lea rdx, [0x7ff7ec6ae240]
xor ecx, ecx
call fcn.7ff7ec565a30
call fcn.7ff7ec566240
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x7ff7ec5beee5
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5beee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5beee0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
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