Function at 0x1400547e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rbp + 0xe0], rax
movabs rax, 0xbbf63475a784d402
mov rbx, rdx
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov rax, qword [rbp + 0x60]
mov qword [rbp], rax
movabs rax, 0x962d66e46dcfd271
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 8], rax
movabs rax, 0xe789b284d7685be7
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x10], rax
movabs rax, 0xae911edb1149fb3a
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x18], rax
movabs rax, 0xc9c5e8131e693193
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x20], rax
movabs rax, 0x5607d866f40fbb53
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x28], rax
movabs rax, 0xdbfaeb15137078b8
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x30], rax
movabs rax, 0x8e82afb642ad4a29
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x38], rax
movabs rax, 0xc2bb1d0d7438ce97
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x40], rax
movabs rax, 0x74ea9517b43a477c
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x48], rax
movabs rax, 0x29817a27f1abc24d
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x50], rax
movabs rax, 0x5cf9d59067c5c0be
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x58], rax
movabs rax, 0xbb823413a7ebd451
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x80], rax
movabs rax, 0x964866966daed206
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x88], rax
movabs rax, 0xe7eab2edd7255bbb
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x90], rax
movabs rax, 0xaefe1ea81126fb48
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x98], rax
movabs rax, 0xc992e84f1e1d31f5
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xa0], rax
movabs rax, 0x5668d802f461bb3a
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xa8], rax
movabs rax, 0xdbb9eb49130378cf
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xb0], rax
movabs rax, 0x8ee7afc442df4a5c
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
vmovdqu ymm0, ymmword [rbp + 0x80]
mov qword [rbp + 0xb8], rax
lea rdx, [rbp]
movabs rax, 0xc2de1d5b744ccef9
mov r9d, 2
mov qword [rbp + 0x60], rax
xor r8d, r8d
mov rax, qword [rbp + 0x60]
mov rcx, 0xffffffff80000001
mov qword [rbp + 0xc0], rax
movabs rax, 0x7485957eb449470e
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xc8], rax
movabs rax, 0x29f47a75f1f7c223
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xd0], rax
movabs rax, 0x5cf9d59067c5c0d0
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp]
vmovdqu ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp], ymm1
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqu ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x20], ymm1
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x40], ymm1
mov qword [rsp + 0x20], rax
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140054af6
cmp qword [rbx + 0x18], 7
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
jbe 0x140054aba
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 7
jbe 0x140054ac4
mov rdi, qword [rdi]
mov rcx, qword [rbp + 0x60]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x60]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
jmp 0x140054af8
xor al, al
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14006b4c0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret