Function at 0x180039fd4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x100
mov rax, qword [0x1802ac070]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
mov qword [rcx], rdi
lea rax, str.BasePlayer
mov qword [rcx + 8], rax
lea rsi, [rcx + 0x10]
lea r14d, [rdi + 0x33]
mov rcx, rsi
call fcn.180043240
add rsi, 0xc
sub r14, 1
jne 0x18003a01b
mov qword [rbx + 0x274], rdi
mov qword [rbx + 0x27c], rdi
mov dword [rbx + 0x284], edi
mov qword [rbx + 0x288], rdi
mov qword [rbx + 0x290], rdi
mov qword [rbx + 0x298], rdi
mov qword [rbx + 0x2a0], rdi
mov qword [rbx + 0x2a8], rdi
mov qword [rbx + 0x2b0], rdi
mov qword [rbx + 0x2b8], rdi
mov qword [rbx + 0x2c0], rdi
mov qword [rbx + 0x2c8], rdi
mov qword [rbx + 0x2d0], rdi
mov qword [rbx + 0x2d8], rdi
lea rax, [0x1801dc24a]
mov qword [rbx + 0x2e0], rax
mov dword [rbx + 0x2e8], edi
mov rax, qword [rsp + 0x128]
mov qword [rbx], rax
mov qword [rsp + 0x30], rdi
mov rcx, rbx
call fcn.180038dc0
cmp qword [rax], rdi
je 0x18003a0d1
mov rcx, rbx
call fcn.180038dc0
mov rcx, qword [rax]
mov qword [rbx + 0x288], rcx
inc dword [rbx + 0x2e8]
jmp 0x18003a0e4
mov rcx, rbx
call fcn.180038f5c
cmp qword [rax], rdi
je 0x18003a103
mov rcx, rbx
call fcn.180038f5c
mov rcx, qword [rax]
mov qword [rbx + 0x2c0], rcx
inc dword [rbx + 0x2e8]
jmp 0x18003a11a
mov rcx, rbx
call fcn.1800392a0
cmp qword [rax], rdi
je 0x18003a172
mov rcx, rbx
call fcn.1800392a0
mov rcx, qword [rax]
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], rcx
lea rcx, [rsp + 0x88]
call fcn.180039104
mov rcx, qword [rax]
mov qword [rsp + 0x90], rcx
movups xmm0, xmmword [rsp + 0x88]
movdqu xmmword [rbx + 0x2c8], xmm0
inc dword [rbx + 0x2e8]
jmp 0x18003a189
cmp byte [0x1802debb0], dil
je 0x18003a2af
cmp dword [0x1802dece0], 0x9fb
jl 0x18003a240
mov rcx, rbx
call fcn.18003943c
mov rax, qword [rax]
lea rdx, [rsp + 0xe8]
mov qword [rsp + 0x98], rdx
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xe8], rax
mov esi, 2
mov r8d, esi
mov dword [rsp + 0x38], esi
mov eax, dword [rdx]
add rdx, 4
mov qword [rsp + 0x98], rdx
mov ecx, eax
xor ecx, 0x2002b1
shl ecx, 9
xor eax, 0x59000000
shr eax, 0x17
or ecx, eax
sub ecx, 0x2c9f7970
mov dword [rdx - 4], ecx
sub r8d, 1
mov dword [rsp + 0x38], r8d
jne 0x18003a1d9
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x18003a299
mov ecx, eax
call fcn.180039770
test rax, rax
je 0x18003a299
mov qword [rbx + 0x290], rax
inc dword [rbx + 0x2e8]
jmp 0x18003a299
mov rcx, qword [0x1802e1d08]
mov qword [rsp + 0xa0], rcx
cmp rcx, qword [0x1802e1d10]
je 0x18003a294
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0xc8], xmm0
movq rax, xmm0
cmp rax, qword [rsp + 0x128]
je 0x18003a278
add rcx, 0x10
jmp 0x18003a247
mov rax, qword [rsp + 0xd0]
cmp rax, qword [rsp + 0x30]
je 0x18003a28e
mov qword [rbx + 0x290], rax
inc dword [rbx + 0x2e8]
mov esi, 2
jmp 0x18003a2ed
mov rcx, rbx
call fcn.18003943c
cmp qword [rax], rdi
je 0x18003a2ce
mov rcx, rbx
call fcn.18003943c
mov rcx, qword [rax]
mov qword [rbx + 0x290], rcx
inc dword [rbx + 0x2e8]
mov esi, 2
jmp 0x18003a2ed
mov rcx, rbx
call fcn.1800395d8
mov rcx, qword [rsp + 0x30]
cmp qword [rax], rcx
je 0x18003a311
mov rcx, rbx
call fcn.1800395d8
mov rcx, qword [rax]
mov qword [rbx + 0x2b8], rcx
inc dword [rbx + 0x2e8]
jmp 0x18003a32b
cmp byte [0x1802debb0], dil
je 0x18003a4dd
cmp dword [0x1802dece0], 0x9fb
jl 0x18003a420
mov rcx, rbx
call fcn.180039adc
mov rax, qword [rax]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0xa8], rdx
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x3c], esi
mov eax, dword [rdx]
add rdx, 4
mov qword [rsp + 0xa8], rdx
mov ecx, eax
xor ecx, 0x2002b1
shl ecx, 9
xor eax, 0x59000000
shr eax, 0x17
or ecx, eax
sub ecx, 0x2c9f7970
mov dword [rdx - 4], ecx
sub esi, 1
mov dword [rsp + 0x3c], esi
jne 0x18003a373
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x18003a4c3
mov ecx, eax
call fcn.180039770
test rax, rax
je 0x18003a4c3
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.18003978c
mov rcx, qword [rax]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
call fcn.180039934
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x298], xmm0
movsd xmm0, qword [rsp + 0x50]
jmp 0x18003a4b5
mov rcx, qword [0x1802e1ca0]
mov qword [rsp + 0xb0], rcx
cmp rcx, qword [0x1802e1ca8]
je 0x18003a4c3
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0xd8], xmm0
movq rax, xmm0
cmp rax, qword [rsp + 0x128]
je 0x18003a45c
add rcx, 0x10
jmp 0x18003a427
mov rax, qword [rsp + 0xe0]
cmp rax, qword [rsp + 0x30]
je 0x18003a4bd
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
call fcn.18003978c
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x58]
call fcn.180039934
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x298], xmm0
movsd xmm0, qword [rsp + 0x68]
movsd qword [rbx + 0x2a8], xmm0
inc dword [rbx + 0x2e8]
jmp 0x18003a56d
mov rcx, rbx
call fcn.180039adc
mov rcx, qword [rsp + 0x30]
cmp qword [rax], rcx
je 0x18003a555
mov rcx, rbx
call fcn.180039adc
mov rcx, qword [rax]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
call fcn.18003978c
mov rcx, qword [rax]
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x70]
call fcn.180039934
mov rcx, qword [rax]
mov qword [rsp + 0x80], rcx
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x298], xmm0
movsd xmm0, qword [rsp + 0x80]
movsd qword [rbx + 0x2a8], xmm0
inc dword [rbx + 0x2e8]
jmp 0x18003a56d
mov rcx, rbx
call fcn.180039c84
mov rcx, qword [rsp + 0x30]
cmp qword [rax], rcx
je 0x18003a591
mov rcx, rbx
call fcn.180039c84
mov rcx, qword [rax]
mov qword [rbx + 0x2b0], rcx
inc dword [rbx + 0x2e8]
jmp 0x18003a5a9
mov rcx, rbx
call fcn.180039e2c
mov rcx, qword [rsp + 0x30]
cmp qword [rax], rcx
je 0x18003a5cd
mov rcx, rbx
call fcn.180039e2c
mov rcx, qword [rax]
mov qword [rbx + 0x2d8], rcx
inc dword [rbx + 0x2e8]
jmp 0x18003a5e5
jmp 0x18003a620
mov rax, rbx
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.180196190
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop r14
pop rdi
pop rsi
ret