Function at 0x140008020
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 [0x140098280]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
movups xmm0, xmmword [0x14008a5a8]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x14008a5b8]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x14008a5c8]
movups xmmword [rbp - 0x68], xmm0
movsd xmm0, qword [0x14008a5d8]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x14008a5e0]
mov dword [rbp - 0x50], eax
movzx eax, word [0x14008a5e4]
mov word [rbp - 0x4c], ax
movsd xmm0, qword [str.wAFZD7]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [0x14008a500]
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 0x14000827a
movzx eax, word [rsp + 0x32]
test ax, ax
je 0x140008103
xor word [rsp + 0x28], 0x32
xor word [rsp + 0x2a], 0x33
xor word [rsp + 0x2c], 0x34
xor word [rsp + 0x2e], 0x35
xor word [rsp + 0x30], 0x36
xor ax, 0x37
mov word [rsp + 0x32], ax
cmp word [rbp - 0x4c], bx
je 0x1400083f6
cmp dword [0x1400982d8], 2
jl 0x140008236
movdqa xmm5, xmmword [0x14008c310]
movdqa xmm4, xmmword [0x14008c3f0]
movdqa xmm6, xmmword [str.9999]
movdqa xmm7, xmmword [0x14008c3c0]
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 0x140008140
cmp ebx, 0x1f
jge 0x1400083f6
movsxd rax, ebx
lea r8, [rsp + 0x78]
lea r8, [r8 + rax*2]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, bx
sub ax, cx
add ax, 0x32
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x1f
jge 0x1400083f6
jmp 0x140008242
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 0x1400082a0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.14004a2d0
nop
lea rcx, [rsp + 0x58]
call fcn.140042e10
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.14004a2d0
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.1400488c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000836e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008419
call fcn.1400529f0
movdqa xmm0, xmmword [0x14008c2f0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400083bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400083ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400083f0
call fcn.1400529f0
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400529d0
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.14005ffec
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.1400587f8
nop
call fcn.14005ffec
nop
int3