Function at 0x140002d00
Capabilities:
Delete registry key
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rdi, [0x140015f98]
mov eax, dword [rcx + rax]
cmp dword [0x140015fb8], eax
jle 0x140002f50
lea rcx, [0x140015fb8]
call fcn.1400098b8
cmp dword [0x140015fb8], 0xffffffff
jne 0x140002f50
movups xmm0, xmmword [str.jCHHXSc]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x14000ba38]
movups xmmword [rsp + 0x30], xmm1
movzx eax, word [0x14000ba48]
mov word [rsp + 0x40], ax
movzx eax, byte [0x14000ba4a]
mov byte [rsp + 0x42], al
xor ecx, ecx
cmp dword [0x140010090], 2
jl 0x140002ec4
movdqa xmm4, xmmword [0x14000bd70]
movdqa xmm3, xmmword [0x14000bdc0]
movdqa xmm5, xmmword [0x14000bd90]
movdqa xmm0, xmmword [0x14000bdb0]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x24]
movdqa xmm6, xmmword [0x14000bda0]
mov r8d, dword [rsp + 0x50]
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 0x140002de0
cmp ecx, 0x23
jge 0x140002efc
movsxd rax, ecx
lea r8, [rsp + 0x20]
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 0x140002ed0
xorps xmm0, xmm0
movups xmmword [0x140015f98], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x140015fa8], xmm1
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002f20
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140008090
lea rcx, [0x14000ade0]
call fcn.140009b94
nop
lea rcx, [0x140015fb8]
call fcn.14000984c
cmp qword [0x140015fb0], 0xf
cmova rdi, qword [0x140015f98]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rbx + 0x18], 0xf
jbe 0x140002f7f
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140002fa4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140002fa4
mov al, 1
jmp 0x140002fa6
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400097f0
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret