Function at 0x1400a8fc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf0
mov rax, qword [0x14010cfb0]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
mov r15, r8
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r9
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea rax, [0x1400f5cf0]
mov qword [rcx], rax
lea rax, [0x1400f5b90]
mov qword [rcx + 0xb8], rax
lea rax, vtable.entities::component.0
mov qword [rcx + 0x90], rax
mov dword [rcx + 0x98], edx
mov qword [rcx + 0xa0], r12
lea rax, vtable.entities::components::mesh.1.0
mov qword [rcx + 0xb0], rax
mov rax, qword [rcx + 0xb8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.entities::components::mesh.0
mov qword [rcx + rdi + 0xb8], rax
mov rax, qword [rdi + 0xb8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x28]
mov dword [rcx + rdi + 0xb4], edx
mov byte [rdi + 0xc0], 1
mov qword [rdi + 0xc4], r12
mov dword [rdi + 0xcc], 0x3f800000
mov dword [rdi + 0xd0], 0x3f800000
mov dword [rsp + 0x20], 3
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea rax, vtable.entities::components::tilemap.1.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea rax, vtable.entities::components::tilemap.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea edx, [rcx - 0xb0]
mov dword [rcx + rdi - 4], edx
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], r12
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x1400a9513
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a9513
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a9125
test eax, eax
je 0x1400a9513
jmp 0x1400a9111
mov rax, qword [r8]
mov qword [rdi + 0x20], rax
mov rax, qword [r8 + 8]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], r12
mov qword [rdi + 0x38], r12
mov rdx, qword [r9 + 8]
test rdx, rdx
je 0x1400a9519
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a9519
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a9168
test eax, eax
je 0x1400a9519
jmp 0x1400a9154
mov rax, qword [r9]
mov qword [rdi + 0x30], rax
mov rax, qword [r9 + 8]
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x40], r12
mov qword [rdi + 0x48], r12
mov qword [rdi + 0x50], r12
mov qword [rdi + 0x58], r12
mov qword [rdi + 0x60], r12
mov qword [rdi + 0x68], r12
mov qword [rdi + 0x70], r12
mov dword [rdi + 0x78], r12d
mov eax, dword [rbp + 0x77]
mov dword [rdi + 0x80], eax
mov dword [rdi + 0x84], 2
lea rdx, str.mod_rendering_config
mov ecx, r12d
mov al, 0x6d
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 0x1400a91c0
lea eax, [rcx + rcx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
lea rdx, [rsp + 0x58]
mov rcx, qword [0x140112628]
call fcn.14006e900
mov rdx, rax
lea rcx, [rbp - 0x71]
call fcn.1400a8780
mov r8, rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a9245
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a9245
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a9236
test eax, eax
jne 0x1400a9226
jmp 0x1400a9245
mov rax, qword [r8]
mov qword [rbp - 1], rax
mov rax, qword [r8 + 8]
mov qword [rbp + 7], rax
mov esi, 0xffffffff
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x1400a9265
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a9265
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 1]
add rdx, 0x28
lea rcx, [rbp - 0x21]
call fcn.140071900
mov r8, rax
lea rdx, [rbp - 0x61]
mov rcx, qword [0x140112628]
call fcn.14006eb90
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140097eb0
mov r8, rax
mov r9, r12
mov r10, r12
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a92c7
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a92c7
nop
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a92c0
test eax, eax
jne 0x1400a92b0
jmp 0x1400a92c7
mov r9, qword [r8]
mov r10, qword [r8 + 8]
mov qword [rdi + 0x50], r9
mov rbx, qword [rdi + 0x58]
mov qword [rdi + 0x58], r10
test rbx, rbx
je 0x1400a9301
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a9301
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a9301
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400a931c
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a931c
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, str.core_square_mesh
mov ecx, r12d
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 0x1400a9330
lea eax, [rcx + rcx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
lea rdx, [rbp - 0x41]
mov rcx, qword [0x140112628]
call fcn.14006e900
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140097fd0
mov r8, rax
mov r9, r12
mov r10, r12
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a93aa
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400a93aa
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400a93a3
test eax, eax
jne 0x1400a9393
jmp 0x1400a93aa
mov r9, qword [r8]
mov r10, qword [r8 + 8]
mov qword [rdi + 0x40], r9
mov rbx, qword [rdi + 0x48]
mov qword [rdi + 0x48], r10
test rbx, rbx
je 0x1400a93e4
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a93e4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a93e4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400a93ff
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a93ff
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x1400a9415
lock inc dword [rax + 8]
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x38], rax
lea rcx, [rdi + 0x60]
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 rcx, qword [0x140112608]
mov rax, qword [rcx]
cmp dword [rax + 0xa0], 0xffffffff
jne 0x1400a9470
mov dword [rax + 0xa0], r12d
mov rax, qword [rcx]
inc dword [rax + 0xa0]
mov rax, qword [rcx]
mov ecx, dword [rax + 0xa0]
mov dword [rdi + 0x78], ecx
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400a94bd
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a94bd
mov rbx, qword [rbp + 7]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a94bd
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400a94d9
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1400a94d9
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400a94f2
lock xadd dword [rcx + 0xc], esi
cmp esi, 1
jne 0x1400a94f2
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c61b0
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400a8f60
nop
call fcn.1400a8f60
int3