Function at 0x1800edfd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
sub rsp, 0x58
mov rax, qword [rcx]
mov rsi, r9
mov rdi, r8
mov r12, rdx
mov r14, rcx
call qword [rax + 0x20]
test al, al
jne 0x1800ee007
mov rcx, r14
call fcn.1800a53c0
test rsi, rsi
je 0x1800ee4db
mov qword [rsp + 0x50], rbx
sub r12, rdi
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x88], r12
nop
mov rax, qword [r14 + 8]
mov r10, qword [r14 + 0x20]
mov ebx, dword [r12 + rdi]
mov r15d, dword [r10]
mov ebp, dword [r10 + 8]
mov r13d, dword [r10 + 0xc]
lea r8d, [r15 + rbx]
mov ecx, r8d
mov edx, r8d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r11d, dword [rax + rdx*4 + 0xc00]
or r11d, dword [rax + rcx*4 + 0x800]
mov ecx, r8d
shr ecx, 8
movzx edx, cl
movzx ecx, r8b
or r11d, dword [rax + rdx*4 + 0x400]
or r11d, dword [rax + rcx*4]
xor r11d, dword [r12 + rdi + 4]
mov r12d, dword [r10 + 4]
lea r9d, [r12 + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rbx + rbp]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r11 + r13]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r10 + 0x10]
xor ebx, r8d
mov dword [rsp + 0x20], ecx
lea r9d, [rcx + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
shr rdx, 0x18
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
or r8d, dword [rax + rdx*4 + 0x400]
mov r14d, dword [rsp + 0x20]
movzx ecx, r9b
or r8d, dword [rax + rcx*4]
mov ecx, dword [r10 + 0x14]
xor r11d, r8d
mov dword [rsp + 0x24], ecx
mov esi, dword [rsp + 0x24]
lea r9d, [rcx + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r10 + 0x18]
xor ebx, r8d
mov dword [rsp + 0x28], ecx
mov edi, dword [rsp + 0x28]
lea r9d, [rcx + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r10 + 0x1c]
xor r11d, r8d
mov dword [rsp + 0x2c], ecx
mov r10d, 3
lea r9d, [rcx + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
mov r9d, dword [rsp + 0x2c]
add r9d, ebx
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [rdi + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rsi + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r14 + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rbx + r13]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r11 + rbp]
mov edx, r9d
mov ecx, r9d
shr rdx, 0x18
shr ecx, 0x10
mov r8d, dword [rax + rdx*4 + 0xc00]
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [r12 + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r15 + r11]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
sub r10, 1
jne 0x1800ee280
mov rdi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov dword [rdi], r11d
mov dword [rdi + 4], ebx
add rdi, 8
sub qword [rsp + 0x98], 1
mov qword [rsp + 0x90], rdi
jne 0x1800ee030
mov r15, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
pop r14
pop r12
pop rdi
pop rsi
ret