Function at 0x14000c480
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14008f200]
xor rax, rsp
mov qword [rsp + 0x80], rax
movsd xmm0, qword [0x140058c48]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x140058c50]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x140058c54]
mov byte [rsp + 0x64], al
xor r8d, r8d
movdqa xmm6, xmmword [0x140059580]
movdqa xmm3, xmmword [0x140059590]
movdqa xmm7, xmmword [0x140059570]
movdqa xmm4, xmmword [0x140059680]
movdqa xmm5, xmmword [0x140059550]
mov r10d, dword [0x14008f258]
cmp r10d, 2
jl 0x14000c5ce
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
movdqa xmm1, xmm5
psubd xmm1, xmm0
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm3
movd xmm0, dword [0x140058c48]
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
movdqa xmm2, xmmword [0x140059560]
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, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm3
movd xmm0, dword [rsp + 0x5c]
xorps xmm2, xmm0
movd dword [rsp + 0x5c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x14000c5e0
movups xmm0, xmmword [0x140058c30]
movups xmmword [rsp + 0x68], xmm0
movzx eax, word [0x140058c40]
mov word [rsp + 0x78], ax
cmp byte [0x140058c41], 0
je 0x14000c77e
xor ecx, ecx
cmp r10d, 2
jl 0x14000c737
movdqa xmmword [rsp + 0x30], xmm3
lea rdx, [rsp + 0x6c]
mov r8d, dword [rsp + 0x30]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm7
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, xmm5
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, xmm7
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, 0x10
jl 0x14000c653
cmp ecx, 0x12
jge 0x14000c77e
movsxd rax, ecx
lea r8, [rsp + 0x68]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x31
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x14000c750
lea rsi, [rsp + 0xb8]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, rcx
mov qword [rsp + 0x40], rax
mov qword [rsi], 0
mov rax, qword [0x14008f460]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call rax
mov rdi, rax
mov qword [rsi], rbx
mov qword [rsp + 0x30], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14005f690]
xor edx, edx
mov r8d, 1
lea rcx, [0x14005f6a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
lea rdx, [0x14008f3c0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8b, 1
mov rdx, rdi
mov ecx, dword [0x14008f3c0]
call fcn.14000c880
test ebx, ebx
jne 0x14000c83f
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140054ee0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret