Function at 0x140008690
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x208]
sub rsp, 0x300
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
movups xmm0, xmmword [0x14009bda8]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x14009bdb8]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x14009bdc8]
movups xmmword [rbp - 0x68], xmm0
movsd xmm0, qword [0x14009bdd8]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x14009bde0]
mov dword [rbp - 0x50], eax
movzx eax, word [0x14009bde4]
mov word [rbp - 0x4c], ax
movsd xmm0, qword [0x14009ba08]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [0x14009ba10]
mov dword [rsp + 0x30], eax
mov r8d, 0x104
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400088ea
movzx eax, word [rsp + 0x32]
test ax, ax
je 0x140008773
xor word [rsp + 0x28], 0x34
xor word [rsp + 0x2a], 0x35
xor word [rsp + 0x2c], 0x36
xor word [rsp + 0x2e], 0x37
xor word [rsp + 0x30], 0x38
xor ax, 0x39
mov word [rsp + 0x32], ax
cmp word [rbp - 0x4c], bx
je 0x140008a66
cmp dword [0x1400ac318], 2
jl 0x1400088a6
movdqa xmm5, xmmword [0x14009e350]
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm6, xmmword [str.3333]
movdqa xmm7, xmmword [0x14009e400]
lea rcx, [rsp + 0x78]
nop
movd xmm2, ebx
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
lea rcx, [rcx + 0x10]
cmp ebx, 0x18
jl 0x1400087b0
cmp ebx, 0x1f
jge 0x140008a66
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
sub ax, cx
add ax, 0x34
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x1f
jge 0x140008a66
jmp 0x1400088b2
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140008910
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140059c20
nop
lea rcx, [rsp + 0x58]
call fcn.140051ed0
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
cmp qword [rsp + 0x68], rax
cmovb r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140059c20
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x38]
cmova rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140058760
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400089de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400089d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008a89
call fcn.1400626b0
movdqa xmm0, xmmword [0x14009e330]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140008a2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008a60
call fcn.1400626b0
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140062690
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14007025c
int3
mov r9d, 0x10
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 1
call fcn.1400684b8
nop
call fcn.14007025c
nop
int3