Function at 0x14008a910
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
mov rax, qword [0x140137c00]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, r9
mov r15, r8
mov r14, rdx
mov word [r9], 0x50
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.14000bd10
nop
movups xmm3, xmmword [0x140126480]
movups xmmword [rbp - 0x41], xmm3
xor r13d, r13d
pextrw eax, xmm3, 7
test ax, ax
je 0x14008aa91
cmp dword [0x140137c60], 2
jl 0x14008aa57
movdqa xmm4, xmmword [0x140126720]
movdqa xmm2, xmmword [0x140126610]
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, xmmword [0x140126660]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1401266d0]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp - 0x41], xmm2
movdqa xmm3, xmmword [0x140126620]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140126660]
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1401266d0]
movq xmm0, qword [rbp - 0x39]
xorps xmm2, xmm0
movq qword [rbp - 0x39], xmm2
jmp 0x14008aa91
lea r8, [rbp - 0x41]
mov ecx, r13d
nop
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x34
add dx, cx
xor word [r8], dx
inc ecx
lea r8, [r8 + 2]
cmp ecx, 8
jl 0x14008aa60
xor r8d, r8d
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x19]
call fcn.14008dc30
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008aac0
lea rcx, [rbp - 0x19]
call fcn.140002d80
mov r9, 0xfffffffffffffff9
lea r8, [rbx + 7]
jmp 0x14008ab3a
movups xmm0, xmmword [str.ABGK]
movups xmmword [rbp - 0x41], xmm0
movzx eax, word [0x1401264a8]
mov ecx, 0x68
mov word [rbp - 0x41], cx
xor word [rbp - 0x3f], 0x35
xor word [rbp - 0x3d], 0x36
xor word [rbp - 0x3b], 0x37
xor word [rbp - 0x39], 0x38
xor word [rbp - 0x37], 0x39
xor word [rbp - 0x35], 0x3a
xor word [rbp - 0x33], 0x3b
xor ax, 0x3c
mov word [rbp - 0x31], ax
xor r8d, r8d
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x19]
call fcn.14008dc30
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008ab62
mov word [r12], 0x1bb
lea rcx, [rbp - 0x19]
call fcn.140002d80
mov r9, 0xfffffffffffffff8
lea r8, [rbx + 8]
sub r9, rbx
add r9, rax
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x19]
call fcn.140020fc0
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140025880
lea rcx, [rbp - 0x41]
call fcn.14000bce0
mov rdi, qword [rbp - 9]
lea rcx, [rbp - 0x19]
call fcn.1400075b0
test rdi, rdi
je 0x14008abd0
mov rcx, rax
mov rbx, r13
cmp word [rax], 0x2f
je 0x14008ab93
cmp rdi, 1
je 0x14008ab96
dec rdi
add rcx, 2
cmp word [rcx], 0x2f
jne 0x14008ab80
mov rbx, rcx
test rbx, rbx
je 0x14008abd0
sub rbx, rax
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x14008abd7
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x19]
call fcn.140020fc0
mov rdx, rax
mov rcx, r14
call fcn.140025880
lea rcx, [rbp - 0x41]
call fcn.14000bce0
jmp 0x14008abe3
mov rbx, 0xffffffffffffffff
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000bc40
mov rdi, qword [r14 + 0x10]
mov rcx, r14
call fcn.1400075b0
test rdi, rdi
je 0x14008ac23
mov rcx, rax
mov rsi, r13
cmp word [rax], 0x3a
je 0x14008ac13
cmp rdi, 1
je 0x14008ac16
dec rdi
add rcx, 2
cmp word [rcx], 0x3a
jne 0x14008ac00
mov rsi, rcx
test rsi, rsi
je 0x14008ac23
sub rsi, rax
sar rsi, 1
jmp 0x14008ac2a
mov rsi, 0xffffffffffffffff
cmp rsi, 0xffffffffffffffff
je 0x14008ac96
mov rcx, r14
call fcn.140002d80
sub rax, rsi
lea r9, [rax - 1]
lea r8, [rsi + 1]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x19]
call fcn.140020fc0
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x61]
mov rcx, r14
call fcn.140020fc0
mov rdx, rax
mov rcx, r14
call fcn.140025880
lea rcx, [rbp - 0x61]
call fcn.14000bce0
lea rcx, [rbp - 0x41]
call fcn.14000bb10
mov rcx, rax
call fcn.1400ddfb4
mov word [r12], ax
lea rcx, [rbp - 0x41]
call fcn.14000bce0
cmp rbx, 0xffffffffffffffff
jne 0x14008acd8
mov eax, 0x2f
mov word [rbp - 0x21], ax
mov qword [r15 + 0x10], 1
mov rcx, r15
call fcn.1400075b0
mov rbx, rax
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.14000c560
mov word [rbp - 0x69], r13w
lea rcx, [rbx + 2]
lea rdx, [rbp - 0x69]
call fcn.14000c560
jmp 0x14008ad0c
lea rcx, [rbp - 0x19]
call fcn.140002d80
sub rax, rbx
mov r9, rax
mov r8, rbx
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x19]
call fcn.140020fc0
mov rdx, rax
mov rcx, r15
call fcn.140025880
lea rcx, [rbp - 0x61]
call fcn.14000bce0
nop
lea rcx, [rbp - 0x19]
call fcn.14000bce0
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400d0100
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret