Function at 0x140012ff0
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 [0x14006c1c0]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x14006c1c4]
mov byte [rsp + 0x50], 0x2d
xor byte [rsp + 0x51], 0x3a
xor byte [rsp + 0x52], 0x3b
xor byte [rsp + 0x53], 0x3c
xor al, 0x3d
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 0x140013070
movups xmm0, xmmword [0x14006bca8]
movups xmmword [rsp + 0x58], xmm0
mov r15d, 4
lea r12d, [r15 + 0x1b]
mov esi, dword [0x140078018]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140013240
cmp esi, 2
jl 0x1400131fd
movdqa xmm5, xmmword [0x14006c700]
mov edx, r14d
movdqa xmm4, xmmword [0x14006c780]
movd xmm6, r15d
movdqa xmm7, xmmword [0x14006c720]
movd xmm8, r12d
movdqa xmm0, xmmword [0x14006c760]
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 [0x14006c740]
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 [0x14006c740]
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 0x140013100
jmp 0x140013240
lea r9, [rsp + 0x58]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140013210
lea rcx, [rsp + 0x58]
call fcn.140001840
call rax
lea rdx, [rbp + 0x290]
mov rcx, rax
call fcn.140037500
test rax, rax
jne 0x1400136a2
lea rdx, [rsp + 0x58]
call fcn.140013740
mov r9, rax
cmp byte [rax + 0x12], r14b
je 0x1400133fc
mov ecx, r14d
cmp esi, 2
jl 0x1400133c0
movdqa xmm5, xmmword [0x14006c700]
movdqa xmm4, xmmword [0x14006c780]
movd xmm6, r15d
movdqa xmm7, xmmword [0x14006c720]
movd xmm8, r12d
movdqa xmm0, xmmword [0x14006c760]
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 [0x14006c740]
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 [0x14006c740]
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 0x1400132c0
cmp ecx, 0x13
jge 0x1400133fc
movsxd r8, ecx
add r8, r9
nop word [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x1400133d0
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.14001ef50
nop
lea rcx, [rbp - 0x68]
call fcn.14001e960
inc eax
movsxd r9, eax
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.14001e900
nop
lea rcx, [rbp + 0x30]
call fcn.140012c30
nop
lea rdx, [rsp + 0x58]
call fcn.140013770
mov rdi, rax
movzx eax, byte [rax + 8]
test al, al
je 0x140013482
xor byte [rdi], 0x39
xor byte [rdi + 1], 0x3a
xor byte [rdi + 2], 0x3b
xor byte [rdi + 3], 0x3c
xor byte [rdi + 4], 0x3d
xor byte [rdi + 5], 0x3e
xor byte [rdi + 6], 0x3f
xor byte [rdi + 7], 0x40
xor al, 0x41
mov byte [rdi + 8], al
lea rcx, [rbp + 0x30]
call fcn.14001eaa0
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.14001eaa0
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.140041908
lea rdx, [rsp + 0x58]
call fcn.1400137b0
mov r8, rax
movzx eax, byte [rax + 4]
test al, al
je 0x1400134ea
xor byte [r8], 0x39
xor byte [r8 + 1], 0x3a
xor byte [r8 + 2], 0x3b
xor byte [r8 + 3], 0x3c
xor al, 0x3d
mov byte [r8 + 4], al
lea rdx, [rsp + 0x50]
call fcn.140013790
movzx ecx, byte [rax + 2]
test cl, cl
je 0x140013509
xor byte [rax], 0x39
xor byte [rax + 1], 0x3a
xor cl, 0x3b
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.1400137d0
mov r10, rax
cmp byte [rax + 0xe], 0
je 0x1400136e1
mov r8d, r14d
cmp esi, 2
jl 0x140013668
movdqa xmm4, xmmword [0x14006c780]
movd xmm5, r15d
movd xmm6, r12d
movdqa xmm2, xmmword [0x14006c700]
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 [0x14006c720]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c740]
packuswb xmm2, xmm2
mov eax, dword [0x14006c760]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r10]
xorps xmm2, xmm0
movd dword [r10], xmm2
movdqa xmm3, xmmword [0x14006c710]
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 [0x14006c720]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c740]
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
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jge 0x1400136e1
jmp 0x140013670
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400336c0
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 rcx, [rbp - 0x40]
mov qword [rsp + 0x40], rcx
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.140041908
mov ecx, 1
call fcn.14003c3a0
int3