Function at 0x1800edab0
Capabilities:
Encode data using xor

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