Function at 0x140012fe0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x508]
sub rsp, 0x5f0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x140078010]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov eax, dword [0x14006b8e0]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x14006b8e4]
mov byte [rsp + 0x50], 0x2d
xor byte [rsp + 0x51], 0x31
xor byte [rsp + 0x52], 0x32
xor byte [rsp + 0x53], 0x33
xor al, 0x34
mov byte [rsp + 0x54], al
xor r14d, r14d
mov ecx, r14d
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x50]
mov byte [rbp + rcx + 0x290], al
lea rcx, [rcx + 1]
test al, al
jne 0x140013060
movups xmm0, xmmword [0x14006c600]
movups xmmword [rsp + 0x58], xmm0
mov r15d, 1
lea r12d, [r15 + 0x1e]
mov esi, dword [0x140078018]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14001322f
cmp esi, 2
jl 0x1400131ed
movdqa xmm5, xmmword [0x14006c6d0]
mov edx, r14d
movdqa xmm4, xmmword [0x14006c720]
movd xmm6, r15d
movdqa xmm7, xmmword [0x14006c700]
movd xmm8, r12d
movdqa xmm0, xmmword [0x14006c730]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x5c]
mov r8d, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, edx
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x1400130f0
jmp 0x14001322f
lea r9, [rsp + 0x58]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140013200
lea rcx, [rsp + 0x58]
call fcn.140001840
call rax
lea rdx, [rbp + 0x290]
mov rcx, rax
call fcn.140037460
test rax, rax
jne 0x140013691
lea rdx, [rsp + 0x58]
call fcn.140013730
mov r9, rax
cmp byte [rax + 0x12], r14b
je 0x1400133eb
mov ecx, r14d
cmp esi, 2
jl 0x1400133b0
movdqa xmm5, xmmword [0x14006c6d0]
movdqa xmm4, xmmword [0x14006c720]
movd xmm6, r15d
movdqa xmm7, xmmword [0x14006c700]
movd xmm8, r12d
movdqa xmm0, xmmword [0x14006c730]
movdqa xmmword [rsp + 0x70], xmm0
mov rdx, rax
mov r8d, dword [rsp + 0x70]
nop
movd xmm2, ecx
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400132b0
cmp ecx, 0x13
jge 0x1400133eb
movsxd r8, ecx
add r8, r9
nop word [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x1400133c0
mov rcx, r9
call fcn.140001840
mov r8d, 0x104
lea rdx, [rbp + 0x70]
xor ecx, ecx
call rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.14001eeb0
nop
lea rcx, [rbp - 0x68]
call fcn.14001e8c0
inc eax
movsxd r9, eax
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.14001e860
nop
lea rcx, [rbp + 0x30]
call fcn.140012c20
nop
lea rdx, [rsp + 0x58]
call fcn.140013760
mov rdi, rax
movzx eax, byte [rax + 8]
test al, al
je 0x140013471
xor byte [rdi], 0x30
xor byte [rdi + 1], 0x31
xor byte [rdi + 2], 0x32
xor byte [rdi + 3], 0x33
xor byte [rdi + 4], 0x34
xor byte [rdi + 5], 0x35
xor byte [rdi + 6], 0x36
xor byte [rdi + 7], 0x37
xor al, 0x38
mov byte [rdi + 8], al
lea rcx, [rbp + 0x30]
call fcn.14001ea00
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.14001ea00
mov r8, rax
mov r9, rbx
mov rdx, rdi
lea rcx, [rbp + 0x180]
call fcn.140001dc0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x70]
call fcn.140041868
lea rdx, [rsp + 0x58]
call fcn.1400137a0
mov r8, rax
movzx eax, byte [rax + 4]
test al, al
je 0x1400134d9
xor byte [r8], 0x30
xor byte [r8 + 1], 0x31
xor byte [r8 + 2], 0x32
xor byte [r8 + 3], 0x33
xor al, 0x34
mov byte [r8 + 4], al
lea rdx, [rsp + 0x50]
call fcn.140013780
movzx ecx, byte [rax + 2]
test cl, cl
je 0x1400134f8
xor byte [rax], 0x30
xor byte [rax + 1], 0x31
xor cl, 0x32
mov byte [rax + 2], cl
mov rdx, rax
lea rcx, [rbp + 0x3a0]
call fcn.140001dc0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x58]
call fcn.1400137c0
mov r10, rax
cmp byte [rax + 0xe], 0
je 0x1400136d0
mov r8d, r14d
cmp esi, 2
jl 0x140013657
movdqa xmm4, xmmword [0x14006c720]
movd xmm5, r15d
movd xmm6, r12d
movdqa xmm2, xmmword [0x14006c6d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c700]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
mov eax, dword [0x14006c730]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r10]
xorps xmm2, xmm0
movd dword [r10], xmm2
movdqa xmm3, xmmword [0x14006c6e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c700]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r10 + 4]
xorps xmm2, xmm0
movd dword [r10 + 4], xmm2
mov r8d, 8
movsxd r9, r8d
add r9, r10
nop dword [rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jge 0x1400136d0
jmp 0x140013660
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140033620
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, r10
call fcn.140001840
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x48], rcx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0x180]
call rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.140041868
mov ecx, r15d
call fcn.14003c300
int3