Function at 0x1801cd774
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rdi
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x220
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rdi, rcx
and dword [rbp + 0x140], 0
mov rdx, qword [rcx]
mov edx, dword [rdx]
lea rcx, [rbp - 0x20]
call 0x1801d358c
cmp byte [rbp - 0x20], 0
je 0x1801cdb6b
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
add rcx, 0x270
call fcn.180003974
lea rcx, [rax - 0x1000000]
movabs rbx, 0x7ffffef00000
cmp rcx, rbx
ja 0x1801cdb6b
test al, 7
jne 0x1801cdb6b
mov rcx, rax
call fcn.180003974
lea rcx, [rax - 0x1000000]
cmp rcx, rbx
ja 0x1801cdb6b
test al, 7
jne 0x1801cdb6b
lea rdx, [rax + 0x320]
lea rcx, [rsp + 0x30]
call fcn.180007cf4
mov rax, qword [0x180299308]
movss xmm7, dword [rsp + 0x38]
movaps xmm2, xmm7
subss xmm2, dword [rax + 0x48]
movss xmm6, dword [rsp + 0x34]
movaps xmm0, xmm6
subss xmm0, dword [rax + 0x44]
movss xmm1, dword [rsp + 0x30]
subss xmm1, 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 + 0x150], 0
and dword [rbp + 0x154], 0
movss xmm2, dword [rsp + 0x30]
unpcklps xmm2, xmm6
movsd qword [rsp + 0x30], xmm2
movss dword [rsp + 0x38], xmm7
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x30]
call fcn.1801cb2b8
test al, al
je 0x1801cdb6b
cmp byte [rbp + 0xe1], 0
je 0x1801cd907
comiss xmm8, dword [0x1802581c8]
ja 0x1801cdb6b
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1801cd8e0
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.180002a78
lea rax, [rbp - 0x60]
mov ebx, 1
jmp 0x1801cd9eb
cvttss2si r8, xmm8
mov dword [rbp + 0x140], 2
nop
mov dword [rbp + 0x148], 0xcd1f2eca
nop
mov word [rbp + 0x14c], 0xc8f1
mov byte [rbp + 0x14e], LoadRegTypeLib
mov ecx, 0x60d5bacf
xor edx, edx
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
shr eax, 0x10
xor byte [rbp + rdx + 0x148], al
inc rdx
cmp rdx, 7
jb 0x1801cd939
lea rax, [rbp + 0x148]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x148]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1801cd971
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
movabs rax, 0xb000000000000000
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x28], r8d
movabs rax, 0x2000000000000008
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x30], 2
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.180008d68
lea rax, [rbp - 0x80]
mov ebx, 0xe
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r15d, 0x1000
test bl, 4
je 0x1801cda62
and ebx, 0xfffffffb
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1801cda51
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x1801cda4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cdb94
call fcn.180014dbc
movdqa xmm0, xmmword [0x1802581e0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
test bl, 2
je 0x1801cda6a
and ebx, 0xfffffffd
test bl, 1
je 0x1801cdaa6
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1801cdaa6
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x1801cdaa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cdb9a
call fcn.180014dbc
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
mov rax, qword [0x180299300]
movups xmm0, xmmword [rax + 0x1a0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm1
movss xmm1, dword [rbp + 0x154]
addss xmm1, dword [0x180258110]
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
movd edx, xmm1
movss xmm0, dword [rbp + 0x150]
movd ecx, xmm0
call fcn.1801c5994
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 8]
lea rdx, [rbp + 0x150]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
call fcn.1801cd6a0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1801cdb6b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x1801cdb66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cdb8e
call fcn.180014dbc
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call fcn.18019c4a8
nop
call fcn.18019c4a8
nop
call fcn.18019c4a8
int3