Function at 0x1800c56a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x68]
sub rsp, 0x160
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180127040]
xor rax, rsp
mov qword [rbp + 0x40], rax
movups xmm0, xmmword [0x18010fa90]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [str._1__f]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x18010fab0]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x18010fac0]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x18010fad0]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [0x18010fae0]
movups xmmword [rbp], xmm1
movsd xmm0, qword [0x18010faf0]
movsd qword [rbp + 0x10], xmm0
mov eax, dword [0x18010faf8]
mov dword [rbp + 0x18], eax
movzx eax, byte [0x18010fafc]
mov byte [rbp + 0x1c], al
xor ecx, ecx
cmp dword [0x180127018], 2
jl 0x1800c587a
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111060]
movdqa xmm6, xmmword [0x180110ea0]
movdqa xmm0, xmmword [0x180110f70]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x4c]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], 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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x68
jl 0x1800c5770
cmp ecx, 0x6d
jge 0x1800c58be
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x6d
jl 0x1800c5890
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800c58e0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.180020590
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
cmp byte [0x180128dc8], 0
jne 0x1800c598c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180021d20
mov rbx, rax
mov qword [rsp + 0x40], rax
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1800c5947
mov rdx, qword [rax]
add r8, rdx
jmp 0x1800c594d
add r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.180010da0
mov rdi, rax
cmp qword [rax + 0x18], 7
jbe 0x1800c5963
mov rdi, qword [rax]
lea rcx, [rbp + 0x20]
call fcn.180022a80
mov rax, qword [0x180128db8]
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call rax
mov rdi, rax
mov rcx, rbx
call fcn.180022b90
jmp 0x1800c5999
lea rcx, [rsp + 0x70]
call fcn.180010f50
mov rdi, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1800c59d8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c59d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c59d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
mov rax, rdi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800d3880
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret