Function at 0x14003aef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [rcx]
mov rbp, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [rax + 0x20]
test al, al
jne 0x14003af25
mov rcx, rbx
call fcn.14000dd30
test rbp, rbp
je 0x14003b3f2
mov qword [rsp + 0x50], r12
sub rsi, rdi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x90], rsi
nop dword [rax]
mov rcx, qword [rbx + 0x20]
mov esi, 3
mov r11d, dword [rdi]
mov r10d, dword [rdi + 4]
mov rax, qword [rbx + 8]
mov edx, dword [rcx + 0x14]
mov ebx, edx
mov r14d, dword [rcx]
mov r15d, dword [rcx + 4]
mov r12d, dword [rcx + 8]
mov ebp, dword [rcx + 0xc]
mov r13d, dword [rcx + 0x10]
mov edi, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x28], edx
nop dword [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 + 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]
xor r10d, r8d
lea r9d, [rbx + r10]
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, [r11 + 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
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 rsi, 1
jne 0x14003af90
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 + 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 + 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 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, [r11 + 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 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 rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
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
mov r8, qword [rsp + 0x90]
or r9d, dword [rax + rdx*4 + 0x400]
or r9d, dword [rax + rcx*4]
xor r9d, r11d
mov dword [rdi + r8], r10d
mov dword [rdi + r8 + 4], r9d
add rdi, 8
sub qword [rsp + 0x98], 1
mov qword [rsp + 0x88], rdi
jne 0x14003af50
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