Function at 0x1400d8970
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
sub rsp, 0x180
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1406b82c0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rcx
mov dword [rbp + 0xa8], 1
movabs rax, 0x4a2bca2857c532bf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0xf39958d5b26e1995
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
movabs rsi, 0x2e448740349645f7
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs r14, 0xf39958d5b26e19f0
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0x10]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400d8a40
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x40]
call fcn.1400055c0
nop
movabs rax, 0x6d18ea2540e53ca4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x9cda2cbbd71c6b85
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x460f2c9ea3209bff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x7d2ba40b1b57ca16
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x45a8ae64bdf18f97
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x455bd07ff4ec93a7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rdx, 0xb147dbf686ae18e5
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rcx, 0x6f5ac14361649c8e
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x326a7ff2cc52ef91
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x1144d67f7538894a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0x26c1c614dc83c8cb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0x3629b5099d9ed7d4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
mov qword [rbp], rcx
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
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x20], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x30], xmm1
lea rax, [rbp + 0x60]
vzeroupper
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400d8bf7
mov r8, rbx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400055c0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400d8c9e
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x20]
call fcn.1400155f0
nop
lea rcx, [rbp + 0x40]
call fcn.1400155f0
mov rbx, qword [rdi + 0x10]
call fcn.14006b410
sub eax, 1
je 0x1400d8cce
cmp eax, 1
jne 0x1400d8cd6
mov rcx, rbx
call fcn.14006e1f0
jmp 0x1400d8cd6
mov rcx, rbx
call fcn.14006bdb0
call fcn.14006b8c0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14028f2f0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret