Function at 0x1400026c0
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, [0x140010b98]
mov eax, dword [rcx + rax]
cmp dword [0x140010b90], eax
jle 0x140002910
lea rcx, [0x140010b90]
call fcn.140009338
cmp dword [0x140010b90], 0xffffffff
jne 0x140002910
movups xmm0, xmmword [str.aJGASZdzOINXPK]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x14000b9a0]
movups xmmword [rsp + 0x30], xmm1
movzx eax, word [0x14000b9b0]
mov word [rsp + 0x40], ax
movzx eax, byte [0x14000b9b2]
mov byte [rsp + 0x42], al
xor ecx, ecx
cmp dword [0x140010090], 2
jl 0x140002884
movdqa xmm4, xmmword [0x14000bd30]
movdqa xmm3, xmmword [0x14000bdc0]
movdqa xmm5, xmmword [str.5555]
movdqa xmm0, xmmword [0x14000bdb0]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x24]
movdqa xmm6, xmmword [0x14000bd90]
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 0x1400027a0
cmp ecx, 0x23
jge 0x1400028bc
movsxd rax, ecx
lea r8, [rsp + 0x20]
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 0x140002890
xorps xmm0, xmm0
movups xmmword [0x140010b98], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x140010ba8], xmm1
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400028e0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400060f0
lea rcx, [0x14000a9f0]
call fcn.140009614
nop
lea rcx, [0x140010b90]
call fcn.1400092cc
cmp qword [0x140010bb0], 0xf
cmova rdi, qword [0x140010b98]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000293f
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140002964
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140002964
mov al, 1
jmp 0x140002966
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140009270
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret