Function at 0x1400011d0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x700]
sub rsp, 0x800
xor esi, esi
mov dword [rbp + 0x720], 1
mov edx, esi
lea r8, [0x140000000]
mov ecx, esi
mov al, 0x79
xor al, 0x2a
inc edx
mov byte [rbp + rcx - 0x80], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx + r8 + 0x11390]
test al, al
jne 0x140001200
movsxd rax, edx
mov rcx, rsi
mov edx, esi
mov byte [rbp + rax - 0x80], sil
mov al, 0x79
nop dword [rax + rax]
xor al, 0x2a
inc edx
mov byte [rbp + rcx - 0x10], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx + r8 + 0x113d0]
test al, al
jne 0x140001230
movsxd rax, edx
mov rcx, rsi
mov edx, esi
mov byte [rbp + rax - 0x10], sil
mov al, 0x79
nop dword [rax + rax]
xor al, 0x2a
inc edx
mov byte [rbp + rcx + 0x60], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx + r8 + 0x11418]
test al, al
jne 0x140001260
movsxd rax, edx
mov rcx, rsi
mov edx, esi
mov byte [rbp + rax + 0x60], sil
mov al, 0x79
nop dword [rax + rax]
xor al, 0x2a
inc edx
mov byte [rbp + rcx + 0xd0], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx + r8 + 0x11458]
test al, al
jne 0x140001290
movsxd rax, edx
mov rcx, rsi
mov edx, esi
mov byte [rbp + rax + 0xd0], sil
mov al, 0x79
nop
xor al, 0x2a
inc edx
mov byte [rbp + rcx + 0x140], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx + r8 + 0x114a0]
test al, al
jne 0x1400012c0
movsxd rax, edx
mov rcx, rsi
mov edx, esi
mov byte [rbp + rax + 0x140], sil
mov al, 0x79
nop
xor al, 0x2a
inc edx
mov byte [rbp + rcx + 0x1b0], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx + r8 + 0x114e0]
test al, al
jne 0x1400012f0
movsxd rax, edx
lea r8, [rbp - 0x80]
mov dword [rsp + 0x28], 0x64
mov r9d, 0xffffffff
xor edx, edx
mov ecx, 0xfde9
mov byte [rbp + rax + 0x1b0], sil
lea rax, [rbp + 0x220]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x2f0]
mov dword [rsp + 0x28], 0x64
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x3c0]
mov dword [rsp + 0x28], 0x64
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x490]
mov dword [rsp + 0x28], 0x64
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xd0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x560]
mov dword [rsp + 0x28], 0x64
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x140]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x630]
mov dword [rsp + 0x28], 0x64
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1b0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x220]
mov ebx, esi
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x50]
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x490]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x560]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x630]
mov qword [rsp + 0x78], rax
mov rdx, qword [rdi]
lea rax, [rbp + 0x728]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rbp + 0x728]
lea rax, [rbp + 0x720]
mov dword [rsp + 0x28], 4
lea rdx, str.value
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x728]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
lea rdi, [rdi + 8]
cmp ebx, 6
jb 0x140001471
lea rdx, [rbp + 0x730]
xor ecx, ecx
call sub.POWRPROF.dll_PowerGetActiveScheme
mov rdx, qword [rbp + 0x730]
lea r9, [0x140011568]
lea r8, [0x140011558]
mov dword [rsp + 0x20], 3
xor ecx, ecx
call sub.POWRPROF.dll_PowerWriteACValueIndex
mov rdx, qword [rbp + 0x730]
xor ecx, ecx
call sub.POWRPROF.dll_PowerSetActiveScheme
mov rbx, qword [rsp + 0x838]
add rsp, 0x800
pop rdi
pop rsi
pop rbp
ret