Function at 0x18002e360
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 [0x1801d08c0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebp, r8d
mov rsi, rdx
mov r11, rcx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x20], r15d
mov r9d, r15d
lea rbx, [0x18017c86a]
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, rbx
jne 0x18002e3b0
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
lea r14, [r11 + 8]
call fcn.1800262a0
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.1800262a0
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.1800262a0
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r14
inc dword [rax + 8]
call fcn.1800262a0
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.180026140
call fcn.1800262a0
lea rdx, str.MPPLY
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18002e54e
lea rdx, str.MP_PLAYING_TIM
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18002e54e
mov edx, dword [r14]
lea rcx, [rsp + 0x68]
call fcn.18002e990
nop
mov edi, 1
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
lea r8, [0x18017c88c]
xor edx, edx
mov rcx, rax
call fcn.180019270
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], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 8
or edi, 2
mov dword [rsp + 0x20], edi
mov r8d, 1
lea rdx, [0x18017c888]
lea rcx, [rsp + 0x48]
call fcn.18002ecc0
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], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 0x14
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova r8, qword [rsp + 0x28]
jmp 0x18002e555
lea r8, [0x18017635c]
mov r9, rsi
lea rdx, str._s_s
lea rcx, [rsp + 0x90]
call fcn.18002e800
test dil, 4
je 0x18002e580
and edi, 0xfffffffb
lea rcx, [rsp + 0x28]
call fcn.180004060
nop
test dil, 2
je 0x18002e594
and edi, 0xfffffffd
lea rcx, [rsp + 0x48]
call fcn.180004060
nop
test dil, 1
je 0x18002e5a4
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 0x18002e5b6
lea r11, [rsp + 0x90]
add r11, rax
lea r10, [rsp + 0x90]
cmp r10, r11
je 0x18002e616
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 0x18002e5e0
lea ebx, [r9 + r9*8]
call fcn.1800262a0
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.1800262a0
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.1800262a0
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebp
inc dword [rax + 8]
call fcn.1800262a0
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.180026140
call fcn.1800262a0
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180137e70
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret