Function at 0x1800a5b20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rdx
mov rdi, r8
mov rdx, r8
xor esi, esi
call fcn.1800a5940
test al, al
je 0x1800a5bb2
mov dword [rbp - 0x18], 0x1e1e1938
mov ecx, esi
mov dword [rbp - 0x14], 0x17151e0a
mov word [rbp - 0x10], 0x17
mov byte [rbp - 0xe], 1
nop word [rax + rax]
lea eax, [rcx + 0x6b]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 9
jb 0x1800a5b70
xorps xmm0, xmm0
mov byte [rbp - 0xe], sil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
lea rax, [rbp - 0x18]
mov qword [rbx + 0x18], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1800a5ba0
lea rdx, [rbp - 0x18]
jmp 0x1800a5ddd
mov rcx, rdi
call fcn.1800a50b0
cmp eax, 2
jne 0x1800a5c22
mov dword [rbp - 0x18], 0xc9dbcdeb
mov rcx, rsi
mov dword [rbp - 0x14], 0xd8d0d4c8
mov word [rbp - 0x10], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x48]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 8
jb 0x1800a5be0
xorps xmm0, xmm0
mov byte [rbp - 0xf], sil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
lea rax, [rbp - 0x18]
mov qword [rbx + 0x18], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1800a5c10
lea rdx, [rbp - 0x18]
jmp 0x1800a5ddd
mov rcx, rdi
call fcn.1800a50b0
cmp eax, 3
jne 0x1800a5c92
mov dword [rbp - 0x18], 0x1c0c1838
mov rcx, rsi
mov dword [rbp - 0x14], 0x15151b
mov byte [rbp - 0x10], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x6b]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 7
jb 0x1800a5c50
xorps xmm0, xmm0
mov byte [rbp - 0x10], sil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
lea rax, [rbp - 0x18]
mov qword [rbx + 0x18], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1800a5c80
lea rdx, [rbp - 0x18]
jmp 0x1800a5ddd
mov rcx, rdi
call fcn.1800a50b0
cmp eax, 1
jne 0x1800a5d02
mov dword [rbp - 0x18], 0x1e021838
mov rcx, rsi
mov dword [rbp - 0x14], 0x15151f
mov byte [rbp - 0x10], al
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x6b]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 7
jb 0x1800a5cc0
xorps xmm0, xmm0
mov byte [rbp - 0x10], sil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
lea rax, [rbp - 0x18]
mov qword [rbx + 0x18], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1800a5cf0
lea rdx, [rbp - 0x18]
jmp 0x1800a5ddd
mov rcx, rdi
call fcn.1800a50b0
cmp eax, 4
jne 0x1800a5d6f
mov dword [rbp - 0x18], 0xcbd5cdeb
mov rcx, rsi
mov dword [rbp - 0x14], 0xd8d0d4cc
mov word [rbp - 0x10], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x48]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 8
jb 0x1800a5d30
xorps xmm0, xmm0
mov byte [rbp - 0xf], sil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
lea rax, [rbp - 0x18]
mov qword [rbx + 0x18], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1800a5d60
lea rdx, [rbp - 0x18]
jmp 0x1800a5ddd
mov rcx, rdi
call fcn.1800a50b0
test eax, eax
jne 0x1800a5de8
mov dword [rbp - 0x18], 0x4023e
mov rcx, rsi
mov dword [rbp - 0x14], 0x13180406
mov dword [rbp - 0x10], 0x130f1d1f
mov word [rbp - 0xc], 0x13
mov byte [rbp - 0xa], 1
nop dword [rax]
lea eax, [rcx + 0x6b]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 0xd
jb 0x1800a5da0
xorps xmm0, xmm0
mov byte [rbp - 0xa], sil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
lea rax, [rbp - 0x18]
mov qword [rbx + 0x18], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1800a5dd0
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.18000eea0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret