Function at 0x1400a8020
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x100
mov rax, qword [0x14010cfb0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov ebx, r9d
mov r15, r8
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r8
xor r14d, r14d
mov dword [rsp + 0x20], r14d
cmp dword [rbp + 0x7f], r14d
je 0x1400a8193
lea rax, [0x1400f5c88]
mov qword [rcx], rax
lea rax, [0x1400f5b90]
mov qword [rcx + 0x88], rax
lea rax, [0x1400f5ba8]
mov qword [rcx + 0xa8], rax
lea rax, vtable.entities::component.0
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], edx
mov qword [rcx + 0x70], r14
lea rax, vtable.entities::components::mesh.1.0
mov qword [rcx + 0x80], rax
mov rax, qword [rcx + 0x88]
movsxd rcx, dword [rax + 4]
lea rax, vtable.entities::components::mesh.0
mov qword [rcx + rdi + 0x88], rax
mov rax, qword [rdi + 0x88]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x28]
mov dword [rcx + rdi + 0x84], edx
mov byte [rdi + 0x90], 1
mov qword [rdi + 0x94], r14
mov dword [rdi + 0x9c], 0x3f800000
mov dword [rdi + 0xa0], 0x3f800000
mov dword [rsp + 0x20], 3
mov rdx, r8
lea rcx, [rsp + 0x50]
call fcn.1400a7f10
movss xmm2, dword [rax + 4]
mulss xmm2, dword [0x1400f6754]
movss xmm0, dword [rax]
mulss xmm0, dword [0x1400f6754]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm2
mov rax, qword [rdi + 0xa8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.entities::components::collider.0
mov qword [rcx + rdi + 0xa8], rax
mov rax, qword [rdi + 0xa8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x28]
mov dword [rcx + rdi + 0xa4], edx
mov dword [rdi + 0xb0], ebx
mov qword [rdi + 0xb4], r14
mov dword [rdi + 0xbc], r14d
mov rax, qword [rsp + 0x20]
mov qword [rdi + 0xc0], rax
mov dword [rsp + 0x20], 7
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea rax, vtable.entities::components::sprite.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea rax, vtable.entities::components::sprite.1.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x60]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea edx, [rcx - 0x80]
mov dword [rcx + rdi - 4], edx
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
mov qword [rdi + 0x28], r14
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], r14
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x50], r14d
lea rdx, str.mod_rendering_config
mov ecx, r14d
mov al, 0x6d
nop dword [rax]
nop word [rax + rax]
movsx eax, al
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x1400a8210
lea eax, [rcx + rcx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
lea rdx, [rbp - 0x71]
mov rcx, qword [0x140112628]
call fcn.14006e900
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.1400a8780
mov r8, rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a8294
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a8294
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a8285
test eax, eax
jne 0x1400a8275
jmp 0x1400a8294
mov rax, qword [r8]
mov qword [rbp + 0xf], rax
mov rax, qword [r8 + 8]
mov qword [rbp + 0x17], rax
mov esi, 0xffffffff
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400a82b4
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a82b4
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0xf]
add rdx, 0x28
lea rcx, [rbp - 0x11]
call fcn.140071900
mov r8, rax
lea rdx, [rbp - 0x51]
mov rcx, qword [0x140112628]
call fcn.14006eb90
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140097eb0
mov r8, rax
mov r9, r14
mov r10, r14
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a8317
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a8317
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a8310
test eax, eax
jne 0x1400a8300
jmp 0x1400a8317
mov r9, qword [r8]
mov r10, qword [r8 + 8]
mov qword [rdi + 0x18], r9
mov rbx, qword [rdi + 0x20]
mov qword [rdi + 0x20], r10
test rbx, rbx
je 0x1400a8351
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a8351
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a8351
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a836c
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a836c
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, str.core_square_mesh
mov ecx, r14d
mov al, 0x63
nop dword [rax + rax]
movsx eax, al
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
test al, al
jne 0x1400a8380
lea eax, [rcx + rcx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
lea rdx, [rbp - 0x31]
mov rcx, qword [0x140112628]
call fcn.14006e900
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140097fd0
mov r8, rax
mov r9, r14
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a83f7
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a83f7
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a83f0
test eax, eax
jne 0x1400a83e0
jmp 0x1400a83f7
mov r14, qword [r8]
mov r9, qword [r8 + 8]
mov qword [rdi + 8], r14
mov rbx, qword [rdi + 0x10]
mov qword [rdi + 0x10], r9
test rbx, rbx
je 0x1400a8431
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a8431
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a8431
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400a844c
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a844c
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x1400a8486
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a8486
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a8475
test eax, eax
jne 0x1400a8465
jmp 0x1400a8486
mov rax, qword [r15]
mov qword [rsp + 0x30], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x38], rax
lea rcx, [rdi + 0x28]
mov r8d, 1
lea rdx, [rsp + 0x30]
call fcn.1400a88a0
nop
lea r9, [fcn.140070570]
mov edx, 0x10
lea r8d, [rdx - 0xf]
lea rcx, [rsp + 0x30]
call fcn.1400c63bc
mov rdx, r15
lea rcx, [rbp - 0x79]
call fcn.1400a7f10
mov rcx, qword [rax]
mov qword [rdi + 0x48], rcx
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400a8500
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a8500
mov rbx, qword [rbp + 0x17]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a8500
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400a8519
lock xadd dword [rcx + 0xc], esi
cmp esi, 1
jne 0x1400a8519
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400c61b0
mov rbx, qword [rsp + 0x138]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret