Function at 0x180031c60
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 [0x1802208c0]
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, [0x1801bb50a]
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 0x180031cb0
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
lea r14, [r11 + 8]
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r14
inc dword [rax + 8]
call fcn.180026540
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.1800263e0
call fcn.180026540
lea rdx, str.MPPLY
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x180031e4e
lea rdx, str.MP_PLAYING_TIM
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x180031e4e
mov edx, dword [r14]
lea rcx, [rsp + 0x68]
call fcn.180032290
nop
mov edi, 1
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
lea r8, [0x1801bb52c]
xor edx, edx
mov rcx, rax
call fcn.180019500
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, [0x1801bb528]
lea rcx, [rsp + 0x48]
call fcn.1800325c0
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 0x180031e55
lea r8, [0x1801b446c]
mov r9, rsi
lea rdx, str._s_s
lea rcx, [rsp + 0x90]
call fcn.180032100
test dil, 4
je 0x180031e80
and edi, 0xfffffffb
lea rcx, [rsp + 0x28]
call fcn.180004260
nop
test dil, 2
je 0x180031e94
and edi, 0xfffffffd
lea rcx, [rsp + 0x48]
call fcn.180004260
nop
test dil, 1
je 0x180031ea4
lea rcx, [rsp + 0x68]
call fcn.180004260
mov r9d, r15d
lea rcx, [rsp + 0x90]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r9b
jne 0x180031eb6
lea r11, [rsp + 0x90]
add r11, rax
lea r10, [rsp + 0x90]
cmp r10, r11
je 0x180031f16
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 0x180031ee0
lea ebx, [r9 + r9*8]
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
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.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebp
inc dword [rax + 8]
call fcn.180026540
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.1800263e0
call fcn.180026540
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180173e20
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret