Function at 0x18002a340
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 [0x18015d870]
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, [0x18010e6a2]
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 0x18002a390
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
lea r14, [r11 + 8]
call fcn.180023660
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180023660
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180023660
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r14
inc dword [rax + 8]
call fcn.180023660
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.180023500
call fcn.180023660
lea rdx, str.MPPLY
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18002a52e
lea rdx, str.MP_PLAYING_TIM
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18002a52e
mov edx, dword [r14]
lea rcx, [rsp + 0x68]
call fcn.18002a830
nop
mov edi, 1
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
lea r8, [0x18010e6c4]
xor edx, edx
mov rcx, rax
call fcn.180015e50
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, [0x18010e6c0]
lea rcx, [rsp + 0x48]
call fcn.180022a00
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], 0x10
cmovae r8, qword [rsp + 0x28]
jmp 0x18002a535
lea r8, [0x18010dc9c]
mov r9, rsi
lea rdx, str._s_s
lea rcx, [rsp + 0x90]
call fcn.18002a6a0
test dil, 4
je 0x18002a560
and edi, 0xfffffffb
lea rcx, [rsp + 0x28]
call fcn.1800014f0
nop
test dil, 2
je 0x18002a574
and edi, 0xfffffffd
lea rcx, [rsp + 0x48]
call fcn.1800014f0
nop
test dil, 1
je 0x18002a584
lea rcx, [rsp + 0x68]
call fcn.1800014f0
mov r9d, r15d
lea rcx, [rsp + 0x90]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r9b
jne 0x18002a596
lea r11, [rsp + 0x90]
add r11, rax
lea r10, [rsp + 0x90]
cmp r10, r11
je 0x18002a5f6
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 0x18002a5c0
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
call fcn.180023660
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180023660
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180023660
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebp
inc dword [rax + 8]
call fcn.180023660
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.180023500
call fcn.180023660
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1800df090
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret