Function at 0x180052780
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov eax, dword [0x1800ee2a8]
movups xmm0, xmmword [str.cesgkvW__jYRXhV_6B]
mov qword [r11 + 0x10], rbx
movups xmm1, xmmword [0x1800ee298]
mov qword [r11 + 0x18], rsi
mov esi, dword [0x180111088]
mov qword [r11 + 0x20], rdi
xor edi, edi
mov dword [rbp + 0x2f], eax
mov ecx, edi
movzx eax, word [0x1800ee2ac]
movaps xmmword [r11 - 0x18], xmm6
mov word [rbp + 0x33], ax
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm1
cmp esi, 2
jl 0x180052904
movdqa xmm5, xmmword [0x1800fdb80]
lea rdx, [rbp + 0xf]
movdqa xmm4, xmmword [0x1800fdde0]
movdqa xmm6, xmmword [0x1800fdbf0]
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [str.000000001111111199999999]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x10
jl 0x180052810
movaps xmm7, xmmword [rsp + 0x90]
cmp ecx, 0x13
jge 0x180052941
movsxd rax, ecx
lea r8, [rbp + 0xf]
lea r8, [r8 + rax*2]
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0x13
jl 0x180052910
cmp byte [0x1800eeb9d], dil
mov eax, dword [0x1800eeb98]
movsd xmm0, qword [0x1800eeb90]
mov dword [rbp - 0x11], eax
movzx eax, word [0x1800eeb9c]
mov word [rbp - 0xd], ax
movsd qword [rbp - 0x19], xmm0
je 0x180052ab1
mov r8d, edi
cmp esi, 2
jl 0x180052a74
movdqa xmm2, xmmword [0x1800fdb80]
mov r8d, 8
movdqa xmm4, xmmword [0x1800fdde0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800fdba0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdbf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1800eeb90]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800fdcf0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fdd10]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x19], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdbf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x15]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fdcf0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fdd10]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x180052a80
xorps xmm0, xmm0
mov qword [rbp + 7], rdi
mov ecx, 8
lea rbx, [rbp - 0x19]
movdqu xmmword [rbp - 9], xmm0
call fcn.1800b53b0
movsd xmm0, qword [str.wTFe_PAGWPTO_]
cmp esi, 2
movaps xmm6, xmmword [rsp + 0xa0]
mov rsi, qword [rsp + 0xd0]
lea rcx, [rax + 8]
mov qword [rbp - 9], rax
mov qword [rbp + 7], rcx
mov qword [rax], rbx
mov eax, dword [0x1800ee238]
mov rbx, qword [rsp + 0xc8]
mov dword [rbp - 0x21], eax
movzx eax, byte [0x1800ee23c]
mov byte [rbp - 0x1d], al
mov qword [rbp - 1], rcx
movsd qword [rbp - 0x29], xmm0
jl 0x180052c1d
movdqa xmm2, xmmword [0x1800fdb80]
mov edi, 8
movdqa xmm4, xmmword [0x1800fdde0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800fdba0]
movdqa xmm0, xmm2
mov eax, dword [0x1800fdd10]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdbf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800fdcf0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.wTFe_PAGWPTO_]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdbf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fdcf0]
movd xmm1, dword [rbp - 0x25]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x25], xmm2
movsxd rax, edi
lea r8, [rbp - 0x29]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
inc edi
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp edi, 0xd
jl 0x180052c30
mov rdi, qword [rsp + 0xd8]
lea r8, [rbp + 0xf]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.18004ec80
add rsp, 0xb0
pop rbp
ret