Function at 0x1800ca790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1802e43c8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov rdx, rcx
mov qword [rbp - 0x41], rbx
xor r9d, r9d
mov dword [rbp - 0x45], r9d
imul rcx, r8, 0x68
add rcx, rdx
movzx eax, word [rcx + 0x10]
mov word [rbp - 0x39], ax
movzx eax, word [rcx + 0x8a0]
mov word [rbp - 0x21], ax
movzx eax, word [rcx + 0x18]
mov word [rbp - 0x37], ax
movzx eax, word [rcx + 0x8a8]
mov word [rbp - 0x1f], ax
movzx eax, word [rcx + 0x20]
mov word [rbp - 0x35], ax
movzx eax, word [rcx + 0x8b0]
mov word [rbp - 0x1d], ax
movzx eax, word [rcx + 0x28]
mov word [rbp - 0x33], ax
movzx eax, word [rcx + 0x8b8]
mov word [rbp - 0x1b], ax
movzx eax, word [rcx + 0x30]
mov word [rbp - 0x31], ax
movzx eax, word [rcx + 0x8c0]
mov word [rbp - 0x19], ax
movzx eax, word [rcx + 0x38]
mov word [rbp - 0x2f], ax
movzx eax, word [rcx + 0x8c8]
mov word [rbp - 0x17], ax
movzx eax, word [rcx + 0x40]
mov word [rbp - 0x2d], ax
movzx eax, word [rcx + 0x8d0]
mov word [rbp - 0x15], ax
movzx eax, word [rcx + 0x48]
mov word [rbp - 0x2b], ax
movzx eax, word [rcx + 0x8d8]
mov word [rbp - 0x13], ax
movzx eax, word [rcx + 0x50]
mov word [rbp - 0x29], ax
movzx eax, word [rcx + 0x8e0]
mov word [rbp - 0x11], ax
movzx eax, word [rcx + 0x58]
mov word [rbp - 0x27], ax
movzx eax, word [rcx + 0x8e8]
mov word [rbp - 0xf], ax
movzx eax, word [rcx + 0x60]
mov word [rbp - 0x25], ax
movzx eax, word [rcx + 0x8f0]
mov word [rbp - 0xd], ax
movzx eax, word [rcx + 0x68]
mov word [rbp - 0x23], ax
movzx eax, word [rcx + 0x8f8]
mov word [rbp - 0xb], ax
lea rcx, [r8 + r8*4]
shl rcx, 4
add rcx, rdx
movzx eax, word [rcx + 0x1130]
mov word [rbp - 9], ax
movzx eax, word [rcx + 0x17c8]
mov word [rbp + 9], ax
movzx eax, word [rcx + 0x1138]
mov word [rbp - 7], ax
movzx eax, word [rcx + 0x17d0]
mov word [rbp + 0xb], ax
movzx eax, word [rcx + 0x1140]
mov word [rbp - 5], ax
movzx eax, word [rcx + 0x17d8]
mov word [rbp + 0xd], ax
movzx eax, word [rcx + 0x1148]
mov word [rbp - 3], ax
movzx eax, word [rcx + 0x17e0]
mov word [rbp + 0xf], ax
movzx eax, word [rcx + 0x1150]
mov word [rbp - 1], ax
movzx eax, word [rcx + 0x17e8]
mov word [rbp + 0x11], ax
movzx eax, word [rcx + 0x1158]
mov word [rbp + 1], ax
movzx eax, word [rcx + 0x17f0]
mov word [rbp + 0x13], ax
movzx eax, word [rcx + 0x1160]
mov word [rbp + 3], ax
movzx eax, word [rcx + 0x17f8]
mov word [rbp + 0x15], ax
movzx eax, word [rcx + 0x1168]
mov word [rbp + 5], ax
movzx eax, word [rcx + 0x1800]
mov word [rbp + 0x17], ax
movzx eax, word [rcx + 0x1170]
mov word [rbp + 7], ax
movzx eax, word [rcx + 0x1808]
mov word [rbp + 0x19], ax
cmp dword [rdx + r8*8 + 0x1e58], r9d
setne byte [rbp + 0x1b]
cmp dword [rdx + r8*8 + 0x1f08], r9d
setne byte [rbp + 0x1c]
cmp dword [rdx + r8*8 + 0x1fb8], r9d
setne byte [rbp + 0x1d]
cmp dword [rdx + r8*8 + 0x2068], r9d
setne byte [rbp + 0x1e]
cmp dword [rdx + r8*8 + 0x2118], r9d
setne byte [rbp + 0x1f]
cmp dword [rdx + r8*8 + 0x21c8], r9d
setne byte [rbp + 0x20]
cmp dword [rdx + r8*8 + 0x2278], r9d
setne byte [rbp + 0x21]
mov eax, dword [rdx + r8*8 + 0x2870]
mov dword [rbp + 0x43], eax
shl r8, 6
movups xmm0, xmmword [r8 + rdx + 0x2328]
movups xmmword [rbp + 0x22], xmm0
movups xmm1, xmmword [r8 + rdx + 0x2338]
movups xmmword [rbp + 0x32], xmm1
mov al, 0xa
mov r8d, r9d
nop
movzx edx, byte [rbp + r8 - 0x39]
movzx ecx, dl
xor cl, al
mov byte [rbp + r8 - 0x39], cl
add dl, al
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x38]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x38], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x37]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x37], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x36]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x36], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x35]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x35], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x34]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x34], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x33]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x33], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x32]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x32], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x31]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x31], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x30]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x30], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x2f]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x2f], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x2e]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x2e], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x2d]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x2d], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x2c]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x2c], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x2b]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x2b], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x2a]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x2a], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x29]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x29], al
add dl, cl
xor dl, 0xa
movzx ecx, byte [rbp + r8 - 0x28]
movzx eax, cl
xor al, dl
mov byte [rbp + r8 - 0x28], al
add cl, dl
xor cl, 0xa
movzx edx, byte [rbp + r8 - 0x27]
movzx eax, dl
xor al, cl
mov byte [rbp + r8 - 0x27], al
add dl, cl
xor dl, 0xa
movzx eax, byte [rbp + r8 - 0x26]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x26], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x25]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x25], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x24]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x24], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x23]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x23], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x22]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x22], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x21]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x21], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x20]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x20], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x1f]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x1f], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x1e]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x1e], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x1d]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x1d], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x1c]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x1c], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x1b]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x1b], cl
add al, dl
xor al, 0xa
movzx edx, byte [rbp + r8 - 0x1a]
movzx ecx, al
xor cl, dl
mov byte [rbp + r8 - 0x1a], cl
add al, dl
xor al, 0xa
add r8, 0x20
cmp r8, 0x80
jb 0x1800caa00
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r9b
mov dword [rbp - 0x45], 1
mov byte [rsp + 0x20], 0
mov r9d, 0xad
movzx r8d, byte [rbp - 0x49]
mov edx, r9d
mov rcx, rbx
call fcn.1800ca480
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800cace8
mov rcx, qword [rbx]
mov r8d, 0x80
lea rdx, [rbp - 0x39]
call fcn.1801599c0
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180159fa0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xd0
pop rbp
ret