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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14006f9b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
mov rdx, rcx
xor r15d, r15d
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x61], r15
call fcn.140028e24
lea rcx, [rbp - 0x69]
call fcn.14000a8ec
cmp byte [rax + 0xb], r15b
je 0x14002702c
mov rcx, rax
lea edx, [r15 + 0xc]
xor byte [rcx], 0x4d
inc rcx
sub rdx, 1
jne 0x140027020
lea rcx, [rbp - 0x61]
mov r9d, 0x20006
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, 7
mov edi, 0x1000
lea r13d, [rsi + 8]
test eax, eax
jne 0x140027263
mov eax, dword [rbp - 0x29]
lea rcx, [rbp - 0x69]
lea r14d, [rax*2 + 2]
call fcn.14000b414
cmp byte [rax + 0x16], r15b
je 0x140027090
mov rcx, rax
lea edx, [rsi + 0x10]
xor byte [rcx], 0x4d
inc rcx
sub rdx, 1
jne 0x140027084
mov rdx, rax
mov qword [rbp + 0x17], r15
lea rcx, [rbp + 7]
mov qword [rbp + 0x1f], r13
mov byte [rbp + 7], r15b
call fcn.14000e010
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.140028e24
cmp qword [rbp - 0x21], 8
lea rax, [rbp - 0x39]
mov rcx, qword [rbp - 0x61]
lea rdx, [rbp - 0x19]
cmovae rax, qword [rbp - 0x39]
mov r9d, 1
cmp qword [rbp - 1], 8
mov dword [rsp + 0x28], r14d
cmovae rdx, qword [rbp - 0x19]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400271d9
movdqa xmm0, xmmword [0x140059280]
lea rdx, [0x140058a0f]
lea rcx, [rbp - 0x59]
mov byte [rbp - 0x59], r15b
movdqu xmmword [rbp - 0x49], xmm0
call fcn.14000e010
lea r8, [rbp - 0x59]
mov edx, 0x274c
mov ecx, 0x66
call fcn.14001f018
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140027145
mov rcx, qword [rbp - 0x19]
lea rdx, [rdx*2 + 2]
call fcn.140003894
mov rdx, qword [rbp + 0x1f]
mov qword [rbp - 9], r15
mov qword [rbp - 1], rsi
mov word [rbp - 0x19], r15w
cmp rdx, 0x10
jb 0x140027189
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x140027184
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002734a
call fcn.140030aa4
mov rdx, qword [rbp - 0x21]
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r13
mov byte [rbp + 7], r15b
cmp rdx, 8
jb 0x1400271b0
mov rcx, qword [rbp - 0x39]
lea rdx, [rdx*2 + 2]
call fcn.140003894
mov rdx, qword [rbx + 0x18]
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x39], r15w
cmp rdx, 0x10
jb 0x1400271d2
mov rcx, qword [rbx]
inc rdx
call fcn.140003894
xor eax, eax
jmp 0x140027317
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14002721f
mov rcx, qword [rbp - 0x19]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x14002721a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002734a
call fcn.140030aa4
mov rdx, qword [rbp + 0x1f]
mov qword [rbp - 9], r15
mov qword [rbp - 1], rsi
mov word [rbp - 0x19], r15w
cmp rdx, 0x10
jb 0x140027263
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x14002725e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002734a
call fcn.140030aa4
movdqa xmm0, xmmword [0x140059280]
lea rdx, [0x140058a0f]
lea rcx, [rbp - 0x59]
mov byte [rbp - 0x59], r15b
movdqu xmmword [rbp - 0x49], xmm0
call fcn.14000e010
lea r8, [rbp - 0x59]
mov edx, 0x274d
mov ecx, 0x66
call fcn.14001f018
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1400272d3
mov rcx, qword [rbp - 0x39]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400272ce
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027350
call fcn.140030aa4
mov rdx, qword [rbx + 0x18]
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x39], r15w
cmp rdx, 0x10
jb 0x140027312
mov rcx, qword [rbx]
inc rdx
cmp rdx, rdi
jb 0x14002730d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140027350
mov rcx, r8
call fcn.140030aa4
mov eax, 1
mov byte [rbx], r15b
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r15
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140031310
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140036e5c
int3
call fcn.140036e5c
int3