Function at 0x1400c1ac0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rax + 8], rbx
lea rdx, [rbp - 0x59]
xor edi, edi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov rbx, rcx
movaps xmmword [rax - 0x18], xmm6
lea rcx, [0x140247d00]
movaps xmmword [rax - 0x28], xmm7
xorps xmm0, xmm0
movaps xmmword [rax - 0x38], xmm8
lea r8d, [rdi + 1]
movaps xmmword [rax - 0x48], xmm9
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x39], select
mov dword [rbp - 0x29], 6
mov dword [rbp - 0x25], 3
mov qword [rbp - 0x21], 2
mov qword [rbp - 0x19], rdi
mov dword [rbp - 0x11], edi
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rdi
mov dword [rbp - 0x31], select
mov dword [rbp - 0x2d], 0x2bc
call fcn.1400a9f40
movups xmm0, xmmword [str.x_RSPEkoPT_SJb_o4v0__G]
mov qword [rbx + 0x1c0], rax
mov r8d, edi
cmp dword [0x140248200], 2
lea esi, [rdi + 4]
mov eax, dword [0x140112d60]
lea r14d, [rdi + 0x1f]
movups xmm1, xmmword [0x140112d48]
mov dword [rbp - 0x61], eax
movzx eax, word [0x140112d64]
movups xmmword [rsp + 0x20], xmm0
mov word [rbp - 0x5d], ax
movsd xmm0, qword [0x140112d58]
movsd qword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x79], xmm1
jl 0x1400c1cd3
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x140110de0]
movdqa xmm7, xmmword [str.4444]
movdqa xmm9, xmmword [0x140110dc0]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x1400c1be0
cmp r8d, 0x17
jge 0x1400c1d15
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x17
jl 0x1400c1ce0
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x140247d00]
call fcn.1400aa800
movups xmm0, xmmword [str.x_RSPEktV_TcnS__l5q1_Hx_RSPEk]
mov qword [rbx + 0x1e8], rax
mov r8d, edi
cmp dword [0x140248200], 2
movups xmm1, xmmword [0x140112d78]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140112d88]
movups xmmword [rbp - 0x79], xmm1
movups xmmword [rbp - 0x69], xmm0
jl 0x1400c1e8b
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x140110de0]
mov edx, edi
movdqa xmm7, xmmword [str.4444]
movdqa xmm9, xmmword [0x140110dc0]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x18
jl 0x1400c1da0
jmp 0x1400c1ebe
lea r9, [rsp + 0x20]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
mul r8d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x18
jl 0x1400c1e90
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x140247d00]
call fcn.1400aa800
movups xmm0, xmmword [0x140112d98]
mov qword [rbx + 0x1f0], rax
mov ecx, edi
cmp dword [0x140248200], 2
movups xmm1, xmmword [0x140112da8]
mov eax, dword [0x140112db8]
movups xmmword [rsp + 0x20], xmm0
mov dword [rbp - 0x69], eax
movups xmmword [rbp - 0x79], xmm1
jl 0x1400c202e
movdqa xmm5, xmmword [0x14010c2c0]
lea rdx, [rsp + 0x20]
movdqa xmm4, xmmword [0x140110de0]
movdqa xmm7, xmmword [str.4444]
movdqa xmm9, xmmword [0x140110dc0]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x10
jl 0x1400c1f40
cmp ecx, 0x12
jge 0x1400c2071
movsxd rax, ecx
lea r8, [rsp + 0x20]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x34
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x12
jl 0x1400c2040
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x140247d00]
call fcn.1400aa800
mov rcx, qword [rbp - 9]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
mov r14, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x118]
mov qword [rbx + 0x208], rax
mov rbx, qword [rsp + 0x110]
test rcx, rcx
je 0x1400c210c
mov rdx, qword [rbp + 7]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400c20fb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2154
call fcn.1400dcd18
xorps xmm0, xmm0
mov qword [rbp + 7], rdi
movdqu xmmword [rbp - 9], xmm0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x1400c2143
mov rcx, qword [rbp - 0x51]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c213e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2154
call fcn.1400dcd18
mov rdi, qword [rsp + 0x128]
add rsp, 0x100
pop rbp
ret
call fcn.1400e39cc
int3