Function at 0x14008ad40
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, 0xd8
movaps xmmword [rsp + 0xc0], xmm7
mov rax, qword [0x140137c00]
xor rax, rsp
mov qword [rbp - 1], rax
mov r12, r9
mov r13, r8
mov r14, rdx
mov qword [rbp - 0x71], rcx
mov word [r9], 0x50
mov rdx, rcx
lea rcx, [rbp - 0x61]
call fcn.14000bd10
nop
movups xmm3, xmmword [0x140126480]
movups xmmword [rsp + 0x28], xmm3
xor esi, esi
mov ecx, dword [0x140137c60]
pextrw eax, xmm3, 7
test ax, ax
je 0x14008aed5
cmp ecx, 2
jl 0x14008ae98
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 [rsp + 0x28], 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 [rsp + 0x30]
xorps xmm2, xmm0
movq qword [rsp + 0x30], xmm2
jmp 0x14008aed5
lea r9, [rsp + 0x28]
mov r8d, esi
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x34
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x14008aea0
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x61]
call fcn.14008dc30
mov rbx, rax
mov r15d, 0x1bb
cmp rax, 0xffffffffffffffff
je 0x14008af0e
lea rcx, [rbp - 0x61]
call fcn.140002d80
mov r9, 0xfffffffffffffff9
lea r8, [rbx + 7]
jmp 0x14008af91
movups xmm0, xmmword [str.ABGK]
movups xmmword [rsp + 0x28], xmm0
movzx eax, word [0x1401264a8]
mov ecx, 0x68
mov word [rsp + 0x28], cx
xor word [rsp + 0x2a], 0x35
xor word [rsp + 0x2c], 0x36
xor word [rsp + 0x2e], 0x37
xor word [rsp + 0x30], 0x38
xor word [rsp + 0x32], 0x39
xor word [rsp + 0x34], 0x3a
xor word [rsp + 0x36], 0x3b
xor ax, 0x3c
mov word [rsp + 0x38], ax
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x61]
call fcn.14008dc30
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008afb9
mov word [r12], r15w
lea rcx, [rbp - 0x61]
call fcn.140002d80
mov r9, 0xfffffffffffffff8
lea r8, [rbx + 8]
sub r9, rbx
add r9, rax
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call fcn.140020fc0
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.140025880
lea rcx, [rbp - 0x41]
call fcn.14000bce0
mov rdi, qword [rbp - 0x51]
lea rcx, [rbp - 0x61]
call fcn.1400075b0
test rdi, rdi
je 0x14008b027
mov rcx, rax
mov rbx, rsi
cmp word [rax], 0x2f
je 0x14008afea
cmp rdi, 1
je 0x14008afed
dec rdi
add rcx, 2
cmp word [rcx], 0x2f
jne 0x14008afd7
mov rbx, rcx
test rbx, rbx
je 0x14008b027
sub rbx, rax
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x14008b02e
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call fcn.140020fc0
mov rdx, rax
mov rcx, r14
call fcn.140025880
lea rcx, [rbp - 0x41]
call fcn.14000bce0
jmp 0x14008b03a
mov rbx, 0xffffffffffffffff
lea rdx, [rbp - 0x61]
mov rcx, r14
call fcn.14000bc40
mov rdi, qword [r14 + 0x10]
mov rcx, r14
call fcn.1400075b0
test rdi, rdi
je 0x14008b077
mov rcx, rax
cmp word [rax], 0x3a
je 0x14008b067
cmp rdi, 1
je 0x14008b06a
dec rdi
add rcx, 2
cmp word [rcx], 0x3a
jne 0x14008b054
mov rsi, rcx
test rsi, rsi
je 0x14008b077
sub rsi, rax
sar rsi, 1
jmp 0x14008b07e
mov rsi, 0xffffffffffffffff
cmp rsi, 0xffffffffffffffff
je 0x14008b263
mov rdx, qword [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.14000bd10
nop
mov rcx, r14
call fcn.140002d80
sub rax, rsi
lea r9, [rax - 1]
lea r8, [rsi + 1]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x61]
call fcn.140020fc0
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140020fc0
mov rdx, rax
mov rcx, r14
call fcn.140025880
lea rcx, [rsp + 0x28]
call fcn.14000bce0
movups xmm7, xmmword [0x140126480]
movups xmmword [rsp + 0x28], xmm7
pextrw eax, xmm7, 7
test ax, ax
je 0x14008b1ea
cmp dword [0x140137c60], 2
jl 0x14008b225
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 xmm3, xmm1, 0xd8
movq xmm2, qword [0x1401266d0]
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x28], xmm3
movdqa xmm2, xmmword [0x140126620]
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 xmm3, xmm1, 0xd8
movq xmm2, qword [0x1401266d0]
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x30]
xorps xmm3, xmm0
movq qword [rsp + 0x30], xmm3
xor edi, edi
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x41]
call fcn.14008dc30
cmp rax, 0xffffffffffffffff
mov eax, 0x50
cmovne r15w, ax
mov word [r12], r15w
lea rcx, [rbp - 0x21]
call fcn.14000bce0
nop
lea rcx, [rbp - 0x41]
call fcn.14000bce0
jmp 0x14008b265
lea r8, [rsp + 0x28]
xor edi, edi
mov ecx, edi
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 0x14008b230
jmp 0x14008b1ec
xor edi, edi
cmp rbx, 0xffffffffffffffff
jne 0x14008b2a8
mov eax, 0x2f
mov word [rbp - 0x69], ax
mov qword [r13 + 0x10], 1
mov rcx, r13
call fcn.1400075b0
mov rbx, rax
lea rdx, [rbp - 0x69]
mov rcx, rax
call fcn.14000c560
mov word [rsp + 0x20], di
lea rcx, [rbx + 2]
lea rdx, [rsp + 0x20]
call fcn.14000c560
jmp 0x14008b2dc
lea rcx, [rbp - 0x61]
call fcn.140002d80
sub rax, rbx
mov r9, rax
mov r8, rbx
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x61]
call fcn.140020fc0
mov rdx, rax
mov rcx, r13
call fcn.140025880
lea rcx, [rbp - 0x21]
call fcn.14000bce0
nop
lea rcx, [rbp - 0x61]
call fcn.14000bce0
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400d0100
movaps xmm7, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret