Function at 0x180055430
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
movups xmm0, xmmword [str.rZD_YKhTZV.]
mov qword [rax + 0x10], rbx
xor ebx, ebx
mov qword [rax + 0x18], rsi
mov r8d, ebx
mov esi, dword [0x180112028]
mov qword [rax + 0x20], rdi
mov qword [rax - 0x10], r14
lea r14d, [rbx + 4]
mov qword [rax - 0x18], r15
lea r15d, [rbx + 0x1f]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov eax, dword [0x1800ef490]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1800ef494]
mov word [rbp - 0x2c], ax
movzx eax, byte [0x1800ef496]
mov byte [rbp - 0x2a], al
movups xmmword [rbp - 0x40], xmm0
cmp esi, 2
jl 0x1800555e9
movdqa xmm0, xmmword [0x1800fef30]
lea rcx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm7, xmmword [0x1800fedf0]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
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
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800554e0
cmp r8d, 0x17
jge 0x180055631
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
nop word [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, 0x17
jl 0x180055600
mov eax, dword [0x1800efad0]
mov r8d, ebx
mov dword [rsp + 0x50], eax
movzx eax, word [0x1800efad4]
mov word [rsp + 0x54], ax
movzx eax, byte [0x1800efad6]
mov byte [rsp + 0x56], al
movups xmm0, xmmword [0x1800efac0]
movups xmmword [rsp + 0x40], xmm0
cmp esi, 2
jl 0x1800557b9
movdqa xmm0, xmmword [0x1800fef30]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm7, xmmword [0x1800fedf0]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
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
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800556b0
cmp r8d, 0x17
jge 0x180055801
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [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, 0x17
jl 0x1800557d0
lea rax, [rsp + 0x40]
mov r8d, ebx
mov qword [rbp - 0x28], rax
movzx eax, byte [0x1800ef9b8]
mov byte [rbp - 0x60], al
movups xmm0, xmmword [0x1800ef9a0]
movups xmmword [rbp - 0x78], xmm0
movsd xmm0, qword [0x1800ef9b0]
movsd qword [rbp - 0x68], xmm0
cmp esi, 2
jl 0x180055979
movdqa xmm0, xmmword [0x1800fef30]
lea rcx, [rbp - 0x74]
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm7, xmmword [0x1800fedf0]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm6, r14d
movd xmm8, r15d
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
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
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x180055870
cmp r8d, 0x19
jge 0x1800559c1
movsxd rax, r8d
lea r9, [rbp - 0x78]
add r9, rax
nop dword [rax]
nop word [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, 0x19
jl 0x180055990
lea rax, [rbp - 0x78]
mov r8d, ebx
mov qword [rbp - 0x20], rax
mov eax, dword [0x1800ef928]
mov dword [rbp - 0x80], eax
movzx eax, byte [0x1800ef92c]
mov byte [rbp - 0x7c], al
movups xmm0, xmmword [0x1800ef918]
movups xmmword [rsp + 0x70], xmm0
cmp esi, 2
jl 0x180055b39
movdqa xmm0, xmmword [0x1800fef30]
lea rcx, [rsp + 0x74]
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm7, xmmword [0x1800fedf0]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
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
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180055a30
cmp r8d, 0x15
jge 0x180055b81
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [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, 0x15
jl 0x180055b50
lea rax, [rsp + 0x70]
mov r8d, ebx
mov qword [rbp - 0x18], rax
mov eax, dword [0x1800efae8]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1800efaec]
mov word [rsp + 0x6c], ax
movzx eax, byte [0x1800efaee]
mov byte [rsp + 0x6e], al
movups xmm0, xmmword [0x1800efad8]
movups xmmword [rsp + 0x58], xmm0
cmp esi, 2
jl 0x180055d09
movdqa xmm0, xmmword [0x1800fef30]
lea rcx, [rsp + 0x5c]
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm7, xmmword [0x1800fedf0]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
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
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180055c00
cmp r8d, 0x17
jge 0x180055d51
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [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, 0x17
jl 0x180055d20
lea rax, [rsp + 0x58]
mov qword [rbp - 0x48], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
movdqu xmmword [rbp - 0x58], xmm0
call fcn.1800b7bb0
mov r8d, 0x20
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x50], rax
mov rcx, rax
lea rdi, [rax + 0x20]
mov qword [rbp - 0x48], rdi
call fcn.1800b9ed0
mov eax, dword [0x1800efa68]
cmp esi, 2
movsd xmm0, qword [str.uEFRV_iONTPX_]
movaps xmm8, xmmword [rsp + 0x100]
mov rsi, qword [rsp + 0x160]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1800efa6c]
mov qword [rbp - 0x50], rdi
mov rdi, qword [rsp + 0x168]
mov byte [rsp + 0x3c], al
movsd qword [rsp + 0x30], xmm0
jl 0x180055ee6
movdqa xmm2, xmmword [0x1800feda0]
mov ebx, 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.uEFRV_iONTPX_]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x30], 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 [rsp + 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movaps xmm7, xmmword [rsp + 0x110]
lea r8, [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x120]
mov r15, qword [rsp + 0x130]
mov r14, qword [rsp + 0x138]
movsxd rax, ebx
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x180055f20
mov rbx, qword [rsp + 0x158]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x30]
call fcn.180051780
add rsp, 0x140
pop rbp
ret