Function at 0x180054710
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xe0
mov eax, dword [0x1800efa00]
movups xmm0, xmmword [str.gawcgz_W_n_Z._]
mov qword [r11 + 0x10], rbx
movups xmm1, xmmword [0x1800ef9f0]
mov qword [r11 + 0x18], rsi
mov esi, dword [0x180112028]
mov qword [r11 + 0x20], rdi
xor edi, edi
mov qword [r11 - 0x10], r14
mov ecx, edi
mov qword [r11 - 0x18], r15
movaps xmmword [r11 - 0x28], xmm6
mov dword [rbp - 1], eax
lea r14d, [rdi + 4]
movzx eax, word [0x1800efa04]
lea r15d, [rdi + 0x1f]
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
mov word [rbp + 3], ax
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm1
cmp esi, 2
jl 0x1800548b7
movdqa xmm5, xmmword [0x1800feda0]
lea rdx, [rbp - 0x21]
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm7, xmmword [0x1800fedf0]
movaps xmmword [r11 - 0x58], xmm9
movdqa xmm9, xmmword [str.44444444]
movd xmm6, r14d
movd xmm8, r15d
nop dword [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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x10
jl 0x1800547c0
movaps xmm9, xmmword [rsp + 0x90]
cmp ecx, 0x13
jge 0x180054901
movsxd rax, ecx
lea r8, [rbp - 0x21]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x34
xor word [r8 - 2], ax
cmp ecx, 0x13
jl 0x1800548d0
cmp byte [0x1800ef515], dil
mov eax, dword [0x1800ef510]
movsd xmm0, qword [0x1800ef508]
mov dword [rbp - 0x41], eax
movzx eax, word [0x1800ef514]
mov word [rbp - 0x3d], ax
movsd qword [rbp - 0x49], xmm0
je 0x180054a81
mov r8d, edi
cmp esi, 2
jl 0x180054a3e
movdqa xmm2, xmmword [0x1800feda0]
mov r8d, 8
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800fedc0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1800ef508]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fef30]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x49], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x45]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800fef30]
pxor xmm2, xmm0
movd dword [rbp - 0x45], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x180054a50
xorps xmm0, xmm0
mov qword [rbp - 0x29], rdi
mov ecx, 8
lea rbx, [rbp - 0x49]
movdqu xmmword [rbp - 0x39], xmm0
call fcn.1800b7bb0
movsd xmm0, qword [str.sPBaQMKSTPK_]
cmp esi, 2
movaps xmm8, xmmword [rsp + 0xa0]
mov rsi, qword [rsp + 0x100]
lea rcx, [rax + 8]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], rcx
mov qword [rax], rbx
mov eax, dword [0x1800efc40]
mov rbx, qword [rsp + 0xf8]
mov dword [rbp - 0x51], eax
movzx eax, byte [0x1800efc44]
mov byte [rbp - 0x4d], al
mov qword [rbp - 0x31], rcx
movsd qword [rbp - 0x59], xmm0
jl 0x180054bf8
movdqa xmm2, xmmword [0x1800feda0]
mov edi, 8
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800fedc0]
movdqa xmm0, xmm2
mov eax, dword [0x1800fef30]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.sPBaQMKSTPK_]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x59], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
movd xmm1, dword [rbp - 0x55]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x55], xmm2
movaps xmm7, xmmword [rsp + 0xb0]
lea r8, [rbp - 0x59]
movaps xmm6, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
movsxd rax, edi
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp edi, 0xd
jl 0x180054c30
mov rdi, qword [rsp + 0x108]
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call fcn.180050a60
add rsp, 0xe0
pop rbp
ret