Function at 0x140018530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movups xmm0, xmmword [0x140032820]
movzx eax, word [0x140032838]
xor ecx, ecx
mov ebx, dword [reloc.d2d1.dll_Ordinal_1]
mov word [rbp + 0x2f], ax
movzx eax, byte [0x14003283a]
mov byte [rbp + 0x31], al
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x140032830]
movsd qword [rbp + 0x27], xmm0
cmp ebx, 2
jl 0x1400186d4
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400185d0
cmp ecx, 0x1b
jge 0x14001870d
movsxd rax, ecx
lea r8, [rbp + 0x17]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x1b
jl 0x1400186e0
movups xmm0, xmmword [str.tED_TXWE]
movups xmmword [rbp - 0x19], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400188b1
cmp ebx, 2
jl 0x140018871
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140032a30]
xor edx, edx
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x140018770
jmp 0x1400188b1
lea r9, [rbp - 0x19]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140018880
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140005070
mov qword [0x140037a48], rax
mov rcx, rax
test rax, rax
je 0x140018b11
movzx edx, word [0x14003171c]
mov eax, dword [str.j_XV_]
mov dword [rbp + 0x37], eax
movzx eax, byte [0x14003171e]
xor byte [rbp + 0x38], 0x36
xor al, 0x3b
xor byte [rbp + 0x39], 0x37
xor byte [rbp + 0x3a], 0x38
mov word [rbp + 0x3b], dx
xor dl, 0x39
xor byte [rbp + 0x3c], 0x3a
mov byte [rbp + 0x3b], dl
lea rdx, [rbp + 0x37]
mov byte [rbp + 0x37], 0x5f
mov byte [rbp + 0x3d], al
call fcn.140004b20
mov dword [rbp + 0x37], 0
add rax, 0x18
je 0x140018933
mov r8d, 4
lea rdx, [rbp + 0x37]
mov rcx, rax
call fcn.140003e70
mov eax, dword [0x140031790]
xor r8d, r8d
mov dword [rbp - 9], eax
movzx eax, word [0x140031794]
mov word [rbp - 5], ax
movzx eax, byte [0x140031796]
mov byte [rbp - 3], al
movups xmm0, xmmword [0x140031780]
movups xmmword [rbp - 0x19], xmm0
cmp ebx, 2
jl 0x140018aa7
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
nop dword [rax]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400189a0
cmp r8d, 0x17
jge 0x140018ae2
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140018ab1
mov rcx, qword [0x140037a48]
lea rdx, [rbp - 0x19]
call fcn.140004b20
mov dword [rbp + 0x37], 0
add rax, 0x18
je 0x140018b11
mov r8d, 4
lea rdx, [rbp + 0x37]
mov rcx, rax
call fcn.140003e70
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002fa10
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbp
ret