Function at 0x1801cf40c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov r12, rcx
and dword [rbp + 0x67], 0
mov rcx, qword [rcx]
mov rcx, qword [rcx]
call fcn.1801cce20
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1801ccb34
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
mov r14d, 0xf
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x67], 2
xor r8d, r8d
lea ebx, [r14 + 4]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.180004190
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], r14
cmova rcx, qword [rsp + 0x30]
nop
mov dword [rcx], 0x5dd11455
lea r8d, [r14 + 5]
nop
mov dword [rcx + 4], 0x47cc6ecb
nop
mov dword [rcx + 8], 0x7f2d73bc
nop
mov dword [rcx + 0xc], 0x57390f24
nop
mov dword [rcx + 0x10], 0x2278da74
mov edx, 0x2827d145
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1801cf4c7
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
cmp qword [rbp - 0x39], rbx
cmovb rbx, qword [rbp - 0x39]
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], r14
cmova rdx, qword [rbp - 0x49]
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.180002a78
lea rdx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, r14
cmova rdx, rbx
lea rcx, [rsp + 0x50]
mov rdi, qword [rsp + 0x50]
mov r15, qword [rbp - 0x71]
cmp r15, r14
cmova rcx, rdi
mov r8, qword [rbp - 0x79]
cmp r8, qword [rsp + 0x40]
jne 0x1801cf55a
call fcn.1801dda00
test eax, eax
jne 0x1801cf55a
mov r14b, 1
jmp 0x1801cf55d
xor r14b, r14b
cmp r15, 0xf
jbe 0x1801cf59e
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801cf58c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cf893
mov rcx, rdi
call fcn.180014dbc
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
mov edi, 0xf
cmp rsi, rdi
jbe 0x1801cf5d9
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1801cf5d1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cf899
mov rcx, rbx
call fcn.180014dbc
and qword [rsp + 0x40], 0
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x30], 0
test r14b, r14b
je 0x1801cf832
mov rax, qword [0x180299310]
cmp byte [rax + 0x33], 0
je 0x1801cf832
mov rdx, qword [r12]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.1801cc6d4
mov rax, qword [0x180299308]
movss xmm7, dword [rsp + 0x58]
movaps xmm2, xmm7
subss xmm2, dword [rax + 0x48]
movss xmm6, dword [rsp + 0x54]
movaps xmm1, xmm6
subss xmm1, dword [rax + 0x44]
movss xmm0, dword [rsp + 0x50]
subss xmm0, dword [rax + 0x40]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
mulss xmm2, xmm2
addss xmm0, xmm2
call fcn.1801dc798
movaps xmm8, xmm0
divss xmm8, dword [0x180258160]
and dword [rbp + 0x77], 0
and dword [rbp + 0x7b], 0
movss xmm2, dword [rsp + 0x50]
unpcklps xmm2, xmm6
movsd qword [rsp + 0x50], xmm2
movss dword [rsp + 0x58], xmm7
lea rdx, [rbp + 0x77]
lea rcx, [rsp + 0x50]
call fcn.1801cb2b8
test al, al
je 0x1801cf832
cvttss2si r8, xmm8
nop
mov dword [rbp + 0x67], 0x3dc0fe8a
nop
mov byte [rbp + 0x6b], 0x86
mov ecx, 0xee50daa7
xor edx, edx
mov r9d, 0x269ec3
imul ecx, ecx, 0x343fd
add ecx, r9d
mov eax, ecx
shr eax, 0x10
xor byte [rbp + rdx + 0x67], al
inc rdx
cmp rdx, 5
jb 0x1801cf6ba
nop
mov dword [rbp + 0x6f], 0x246ed69c
nop
mov word [rbp + 0x73], 0xb316
mov byte [rbp + 0x75], 0x11
mov ecx, 0x5f479fb9
xor edx, edx
imul ecx, ecx, 0x343fd
add ecx, r9d
mov eax, ecx
shr eax, 0x10
xor byte [rbp + rdx + 0x6f], al
inc rdx
cmp rdx, 7
jb 0x1801cf6ef
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x6f]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1801cf71b
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x67]
mov qword [rbp - 0x19], rax
movabs rax, 0xb000000000000000
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x11], r8d
movabs rax, 0x2000000000000008
mov qword [rbp - 0x21], rax
mov qword [rsp + 0x50], 2
lea rax, [rbp - 0x29]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x69]
call fcn.180008d68
nop
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], rdi
cmova rcx, qword [rbp - 0x69]
mov rax, qword [0x180299300]
movups xmm0, xmmword [rax + 0x1a0]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0xf0]
movdqu xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
movss xmm1, dword [rbp + 0x7b]
movd edx, xmm1
movss xmm0, dword [rbp + 0x77]
movd ecx, xmm0
call fcn.1801c5994
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, rdi
jbe 0x1801cf821
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cf81c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cf89f
call fcn.180014dbc
movdqa xmm0, xmmword [0x1802581e0]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, rdi
jbe 0x1801cf868
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cf863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cf88d
call fcn.180014dbc
lea r11, [rsp + 0x100]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18019c4a8
nop
call fcn.18019c4a8
nop
call fcn.18019c4a8
int3
call fcn.18019c4a8
int3