Function at 0x1800e5df0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
xor ebx, ebx
mov dword [rbp + 0x67], ebx
call fcn.18004f9d0
test rax, rax
je 0x1800e5e36
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x6f], rax
mov r8b, 1
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0x6f]
call fcn.1800b2270
nop
mov edi, 1
jmp 0x1800e5e64
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov r8d, 4
lea rdx, [0x18011fa58]
lea rcx, [rbp + 0x17]
call fcn.180016750
lea rax, [rbp + 0x17]
mov edi, 2
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 4
test dil, 2
je 0x1800e5ea7
and edi, 0xfffffffd
lea rcx, [rbp + 0x17]
call fcn.18002d710
nop
test dil, 1
je 0x1800e5eb6
lea rcx, [rbp + 0x37]
call fcn.18002d710
movzx eax, byte [0x18012d804]
mov ecx, dword [0x18012d800]
movsd xmm0, qword [str.T_ZZZi__O_W_]
mov byte [rbp - 0xd], al
mov dword [rbp - 0x11], ecx
movsd qword [rbp - 0x19], xmm0
cmp dword [0x180148090], 2
jl 0x1800e6035
movdqa xmm5, xmmword [0x18012e640]
movdqa xmm2, xmmword [0x18012e100]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012e180]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x18012e1e0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18012e230]
movd xmm0, dword [str.T_ZZZi__O_W_]
xorps xmm2, xmm0
movd dword [rbp - 0x19], xmm2
movdqa xmm2, xmmword [0x18012e110]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012e180]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18012e230]
movd xmm0, dword [rbp - 0x15]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
movdqa xmm3, xmmword [0x18012e120]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012e180]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x18012e230]
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rbp - 0x11], xmm3
mov ebx, 0xc
mov eax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x1800e6040
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
lea rdx, [rbp - 0x19]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1800e6087
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
xor r8d, r8d
mov rdx, qword [rbp + 7]
call fcn.180012490
mov rbx, rax
lea rcx, [rbp - 9]
call fcn.18002d710
cmp rbx, 0xffffffffffffffff
setne al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret