Function at 0x18006e880
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, 0x30
mov esi, dword [rcx]
lea rbx, [rcx + 4]
movzx ecx, byte [r8]
mov rdi, r9
movzx eax, byte [r8 + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 5]
mov dword [rbp - 0x10], ecx
movzx ecx, byte [r8 + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 9]
mov dword [rbp - 0xc], ecx
movzx ecx, byte [r8 + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xd]
mov dword [rbp - 8], ecx
movzx ecx, byte [r8 + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xf]
shl ecx, 8
or ecx, eax
mov dword [rbp - 4], ecx
xor ecx, ecx
mov eax, dword [rbx]
add rbx, 4
xor dword [rbp + rcx*4 - 0x10], eax
inc rcx
cmp rcx, 4
jl 0x18006e939
test esi, esi
je 0x18006ea02
lea r8, [rbp - 8]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.18006e470
lea r8, [rbp - 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbp - 8]
call fcn.18006e470
lea r8, [rbp - 8]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x10]
call fcn.18006e470
lea r8, [rbp - 0x10]
lea rdx, [rbx + 0x18]
lea rcx, [rbp - 8]
call fcn.18006e470
lea r8, [rbp - 8]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x10]
call fcn.18006e470
lea r8, [rbp - 0x10]
lea rdx, [rbx + 0x28]
lea rcx, [rbp - 8]
call fcn.18006e470
add rbx, 0x30
sub esi, 1
je 0x18006ea02
mov edx, dword [rbp - 0x10]
mov eax, dword [rbx]
mov ecx, dword [rbp - 0xc]
and eax, edx
rol eax, 1
xor ecx, eax
mov eax, dword [rbx + 4]
or eax, ecx
mov dword [rbp - 0xc], ecx
mov ecx, dword [rbp - 8]
xor edx, eax
mov eax, dword [rbx + 0xc]
mov dword [rbp - 0x10], edx
mov edx, dword [rbp - 4]
or eax, edx
xor ecx, eax
mov eax, dword [rbx + 8]
and eax, ecx
mov dword [rbp - 8], ecx
rol eax, 1
xor edx, eax
mov dword [rbp - 4], edx
add rbx, 0x10
jmp 0x18006e954
mov ecx, dword [rbp - 8]
xor ecx, dword [rbx]
mov edx, dword [rbp - 4]
mov eax, ecx
xor edx, dword [rbx + 4]
mov r8d, dword [rbp - 0x10]
xor r8d, dword [rbx + 8]
mov r9d, dword [rbp - 0xc]
xor r9d, dword [rbx + 0xc]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
shr eax, 0x18
mov byte [rdi], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 1], al
mov dword [rbp - 8], ecx
mov al, byte [rbp - 8]
mov byte [rdi + 3], al
mov eax, edx
shr eax, 0x18
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rdi + 5], al
mov dword [rbp - 4], edx
mov al, byte [rbp - 4]
mov byte [rdi + 7], al
mov eax, r8d
shr eax, 0x18
mov byte [rdi + 8], al
mov eax, r8d
shr eax, 0x10
mov byte [rdi + 9], al
mov dword [rbp - 0x10], r8d
mov al, byte [rbp - 0x10]
mov byte [rdi + 0xb], al
mov eax, r9d
shr eax, 0x18
mov byte [rdi + 0xc], al
mov eax, r9d
shr eax, 0x10
mov byte [rdi + 0xd], al
mov dword [rbp - 0xc], r9d
mov al, byte [rbp - 0xc]
shr ecx, 8
shr edx, 8
shr r8d, 8
shr r9d, 8
mov byte [rdi + 0xf], al
xor eax, eax
mov byte [rdi + 2], cl
mov byte [rdi + 6], dl
mov byte [rdi + 0xa], r8b
mov byte [rdi + 0xe], r9b
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret