Function at 0x18002ba90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x180162880]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebp, r8d
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x20], r15d
mov r9d, r15d
lea r11, [0x18011509a]
lea r10, str.MPPLY_LAST_MP_CHAR
nop word [rax + rax]
movzx r8d, byte [r10]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
inc r10
cmp r10, r11
jne 0x18002bae0
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
call fcn.180025b40
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180025b40
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180025b40
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r14
inc dword [rax + 8]
call fcn.180025b40
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 1
inc dword [rax + 8]
movabs rcx, 0x767fbc2ac802ef3d
call fcn.1800259e0
call fcn.180025b40
lea rdx, str.MPPLY
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18002bc7a
lea rdx, str.MP_PLAYING_TIM
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18002bc7a
mov edx, dword [r14]
lea rcx, [rsp + 0x68]
call fcn.18002bf80
nop
mov edi, 1
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
lea r8, [0x1801150bc]
xor edx, edx
mov rcx, rax
call fcn.180018b70
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 8
or edi, 2
mov dword [rsp + 0x20], edi
mov r8d, 1
lea rdx, [0x1801150b8]
lea rcx, [rsp + 0x48]
call fcn.18002c1d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 0x14
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova r8, qword [rsp + 0x28]
jmp 0x18002bc81
lea r8, [0x18010f13c]
mov r9, rsi
lea rdx, str._s_s
lea rcx, [rsp + 0x90]
call fcn.18002bdf0
test dil, 4
je 0x18002bcac
and edi, 0xfffffffb
lea rcx, [rsp + 0x28]
call fcn.180004060
nop
test dil, 2
je 0x18002bcc0
and edi, 0xfffffffd
lea rcx, [rsp + 0x48]
call fcn.180004060
nop
test dil, 1
je 0x18002bcd0
lea rcx, [rsp + 0x68]
call fcn.180004060
mov r9d, r15d
lea rcx, [rsp + 0x90]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r9b
jne 0x18002bce2
lea r11, [rsp + 0x90]
add r11, rax
lea r10, [rsp + 0x90]
cmp r10, r11
je 0x18002bd46
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r10]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
inc r10
cmp r10, r11
jne 0x18002bd10
lea ebx, [r9 + r9*8]
call fcn.180025b40
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180025b40
mov ecx, ebx
shr ecx, 0xb
xor ecx, ebx
imul r8d, ecx, 0x8001
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], r8d
inc dword [rax + 8]
call fcn.180025b40
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebp
inc dword [rax + 8]
call fcn.180025b40
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 1
inc dword [rax + 8]
movabs rcx, 0xb3271d7ab655b441
call fcn.1800259e0
call fcn.180025b40
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1800df0f0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret