Function at 0x14008f8f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x190], rax
movups xmm0, xmmword [str.BKPRLZ2o__E]
movzx eax, word [0x1401701a8]
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
mov r9, rcx
movups xmmword [rsp + 0x38], xmm0
mov ecx, ebx
mov word [rsp + 0x50], ax
movsd xmm0, qword [0x1401701a0]
movsd qword [rsp + 0x48], xmm0
jl 0x14008fa40
movdqa xmm2, xmmword [0x140175f00]
mov ecx, 8
movdqa xmm3, xmmword [0x140175f20]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140176230]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x140176030]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x38], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x40]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140176030]
xorps xmm2, xmm0
movq qword [rsp + 0x40], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x38]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x39
add dx, cx
inc ecx
xor word [r8 - 2], dx
cmp ecx, 0xd
jl 0x14008fa50
lea rdx, [rsp + 0x30]
mov rcx, r9
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14008fb72
mov r9d, 0x104
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14008fb69
mov qword [rsp + 0x68], rbx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
mov rbx, 0xffffffffffffffff
mov r8, rbx
movups xmmword [rsp + 0x58], xmm0
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14008faf0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140089cb0
lea rax, [rsp + 0x38]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14008fb10
cmp qword [rsp + 0x70], 7
lea rcx, [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
lea r9, [rsp + 0x38]
cmova rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rbx
call fcn.14008af30
cmp rax, 0xffffffffffffffff
je 0x14008fb5f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call fcn.140089520
mov eax, 1
jmp 0x14008fb74
lea rcx, [rsp + 0x58]
call fcn.140089520
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401468a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret