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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rdi, rcx
movups xmm0, xmmword [str.jCHHXSc]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x14000ba38]
movups xmmword [rbp - 0x29], xmm1
movzx eax, word [0x14000ba48]
mov word [rbp - 0x19], ax
movzx eax, byte [0x14000ba4a]
mov byte [rbp - 0x17], al
xor ebx, ebx
mov ecx, ebx
movdqa xmm6, xmmword [0x14000bda0]
mov r14d, dword [0x140010090]
cmp r14d, 2
jl 0x140003164
movdqa xmm4, xmmword [0x14000bd70]
movdqa xmm3, xmmword [0x14000bdc0]
movdqa xmm5, xmmword [0x14000bd90]
movdqa xmm0, xmmword [0x14000bdb0]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x35]
mov r8d, dword [rbp - 9]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140003080
cmp ecx, 0x23
jge 0x14000319c
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x23
jl 0x140003170
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x1400031b6
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.140008090
nop
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1400031db
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.1400075f0
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
lea r8, [rbp - 9]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1400034a8
mov byte [rbp + 7], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034a8
mov byte [rbp + 8], 3
movsd xmm0, qword [str.HISOP.50__E]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [0x14000b940]
mov dword [rbp - 0x41], eax
movzx eax, byte [0x14000b944]
mov byte [rbp - 0x3d], al
cmp r14d, 2
jl 0x140003353
movdqa xmm4, xmmword [0x14000bdc0]
movdqa xmm3, xmmword [0x14000bd70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000bd90]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x14000bdb0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.HISOP.50__E]
xorps xmm3, xmm0
movd dword [rbp - 0x49], xmm3
movdqa xmm2, xmmword [0x14000bd80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000bd90]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x45]
xorps xmm2, xmm1
movd dword [rbp - 0x45], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x140003360
mov dword [rsp + 0x28], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034a8
mov byte [rbp + 9], 3
mov eax, dword [str.jNZNI_]
mov dword [rbp - 0x49], eax
movzx eax, word [0x14000bc3c]
mov word [rbp - 0x45], ax
mov byte [rbp - 0x49], 0x53
xor byte [rbp - 0x48], 0x3a
xor byte [rbp - 0x47], 0x3b
xor byte [rbp - 0x46], 0x3c
xor al, 0x3d
mov byte [rbp - 0x45], al
xor byte [rbp - 0x44], 0x3e
mov dword [rsp + 0x28], 4
lea rax, [rbp + 9]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034a8
mov ecx, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000342a
mov rdi, qword [rdi]
movsd xmm0, qword [str.pWZ_Xn4_B]
movsd qword [rbp - 0x49], xmm0
movzx eax, word [0x14000bd30]
mov word [rbp - 0x41], ax
cmp byte [0x14000bd31], 0
je 0x140003473
mov byte [rbp - 0x49], 0x49
xor byte [rbp - 0x48], 0x3a
xor byte [rbp - 0x47], 0x3b
xor byte [rbp - 0x46], 0x3c
xor byte [rbp - 0x45], 0x3d
xor byte [rbp - 0x44], 0x3e
xor byte [rbp - 0x43], 0x3f
xor byte [rbp - 0x42], 0x40
xor byte [rbp - 0x41], 0x41
xor byte [rbp - 0x40], 0x42
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034a8
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
jmp 0x1400034aa
xor bl, bl
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400034e8
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009bac
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400097f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret