Function at 0x140288450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x70
mov rax, qword [rcx]
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
call qword [rax + 0x20]
test al, al
jne 0x140288488
mov rcx, r14
call fcn.140251df0
mov qword [rsp + 0x68], rbp
mov r12d, 8
mov qword [rsp + 0x58], r15
cmp rbx, 2
jb 0x140288847
mov rcx, rbx
mov qword [rsp + 0x60], r13
shr rcx, 1
imul rax, rcx, 0xfffffffffffffffe
mov qword [rsp + 0x38], rcx
add rbx, rax
mov qword [rsp + 0xb8], rbx
mov r14, qword [r14 + 0x20]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], 8
mov r13d, dword [r14 + 0x1c]
lea r9, [r14 + 0x9c]
mov ebp, dword [r14 + 0x10]
mov eax, r13d
xor eax, dword [rsi + 0xc]
mov r11d, ebp
mov r12d, dword [r14 + 0x14]
mov edi, r12d
mov r15d, dword [r14 + 0x18]
mov ebx, r15d
xor r11d, dword [rsi]
xor ebp, dword [rsi + 0x10]
xor edi, dword [rsi + 4]
xor r12d, dword [rsi + 0x14]
xor ebx, dword [rsi + 8]
xor r15d, dword [rsi + 0x18]
xor r13d, dword [rsi + 0x1c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x20]
mov qword [rsp + 0x28], r9
mov r14, qword [rax + 8]
nop word [rax + rax]
mov r10d, dword [r9 - 4]
mov eax, edi
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
mov r9d, dword [r9]
mov r8d, dword [r14 + rcx*4 + 0xc00]
ror ebx, 0x1f
xor r8d, dword [r14 + rax*4 + 0x800]
mov eax, edi
shr rax, 0x18
mov ecx, r11d
shr rcx, 0x18
ror r15d, 0x1f
xor r8d, dword [r14 + rax*4]
movzx eax, dil
mov edx, dword [r14 + rcx*4 + 0xc00]
xor r8d, dword [r14 + rax*4 + 0x400]
mov eax, r11d
shr eax, 0x10
movzx eax, al
xor edx, dword [r14 + rax*4 + 0x800]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor edx, dword [r14 + rcx*4 + 0x400]
xor edx, dword [r14 + rax*4]
add edx, r8d
lea eax, [r10 + rdx]
xor ebx, eax
lea eax, [r9 + r8]
add eax, edx
xor eax, esi
mov esi, eax
shr eax, 1
shl esi, 0x1f
or esi, eax
mov eax, r12d
shr eax, 0x10
movzx ecx, al
mov eax, r12d
shr eax, 8
movzx eax, al
mov r8d, dword [r14 + rcx*4 + 0xc00]
mov ecx, ebp
xor r8d, dword [r14 + rax*4 + 0x800]
shr rcx, 0x18
mov eax, r12d
shr rax, 0x18
mov edx, dword [r14 + rcx*4 + 0xc00]
xor r8d, dword [r14 + rax*4]
movzx eax, r12b
xor r8d, dword [r14 + rax*4 + 0x400]
mov eax, ebp
shr eax, 0x10
movzx eax, al
xor edx, dword [r14 + rax*4 + 0x800]
mov eax, ebp
shr eax, 8
movzx ecx, al
movzx eax, bpl
xor edx, dword [r14 + rcx*4 + 0x400]
xor edx, dword [r14 + rax*4]
add edx, r8d
lea eax, [rdx + r10]
xor r15d, eax
lea eax, [r8 + rdx]
add eax, r9d
xor eax, r13d
mov r13d, eax
shr eax, 1
shl r13d, 0x1f
or r13d, eax
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
mov r8d, dword [r14 + rcx*4 + 0xc00]
mov r9, qword [rsp + 0x28]
movzx eax, al
ror r11d, 0x1f
mov ecx, ebx
mov r10d, dword [r9 - 0xc]
xor r8d, dword [r14 + rax*4 + 0x800]
mov r9d, dword [r9 - 8]
shr rcx, 0x18
mov eax, esi
shr rax, 0x18
ror ebp, 0x1f
mov edx, dword [r14 + rcx*4 + 0xc00]
xor r8d, dword [r14 + rax*4]
movzx eax, sil
xor r8d, dword [r14 + rax*4 + 0x400]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor edx, dword [r14 + rax*4 + 0x800]
mov eax, ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor edx, dword [r14 + rcx*4 + 0x400]
xor edx, dword [r14 + rax*4]
add edx, r8d
lea eax, [rdx + r10]
xor r11d, eax
lea eax, [r8 + rdx]
add eax, r9d
xor eax, edi
mov edi, eax
shr eax, 1
shl edi, 0x1f
or edi, eax
mov eax, r13d
shr eax, 0x10
movzx ecx, al
mov eax, r13d
shr eax, 8
movzx eax, al
mov r8d, dword [r14 + rcx*4 + 0xc00]
mov ecx, r15d
xor r8d, dword [r14 + rax*4 + 0x800]
shr rcx, 0x18
mov eax, r13d
shr rax, 0x18
mov edx, dword [r14 + rcx*4 + 0xc00]
xor r8d, dword [r14 + rax*4]
movzx eax, r13b
xor r8d, dword [r14 + rax*4 + 0x400]
mov eax, r15d
shr eax, 0x10
movzx eax, al
xor edx, dword [r14 + rax*4 + 0x800]
mov eax, r15d
shr eax, 8
movzx ecx, al
movzx eax, r15b
xor edx, dword [r14 + rcx*4 + 0x400]
xor edx, dword [r14 + rax*4]
add edx, r8d
lea eax, [r10 + rdx]
xor ebp, eax
lea eax, [r9 + r8]
mov r9, qword [rsp + 0x28]
add eax, edx
xor eax, r12d
sub r9, 0x10
mov r12d, eax
mov qword [rsp + 0x28], r9
shl r12d, 0x1f
shr eax, 1
or r12d, eax
sub qword [rsp + 0x30], 1
jne 0x140288530
mov r14, qword [rsp + 0x48]
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x28], ebx
mov r11d, dword [r14 + 0xc]
mov ebx, r11d
mov eax, dword [r14]
xor r11d, edi
mov edx, dword [r14 + 4]
mov ecx, eax
mov r9d, dword [r14 + 8]
mov r8d, edx
mov rdi, qword [rsp + 0xb0]
xor edx, esi
xor eax, dword [rsp + 0x28]
mov r10d, r9d
xor r9d, dword [rsp + 0x20]
xor ecx, r15d
mov rsi, qword [rsp + 0xa8]
xor r8d, r13d
mov r14, qword [rsp + 0xa0]
xor r10d, ebp
mov dword [rdi], eax
xor ebx, r12d
mov dword [rdi + 4], edx
add rsi, 0x20
mov dword [rdi + 8], r9d
mov dword [rdi + 0xc], r11d
mov dword [rdi + 0x10], ecx
mov dword [rdi + 0x14], r8d
mov dword [rdi + 0x18], r10d
mov dword [rdi + 0x1c], ebx
add rdi, 0x20
sub qword [rsp + 0x38], 1
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xa8], rsi
jne 0x1402884c1
mov r13, qword [rsp + 0x60]
mov r12d, 8
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
je 0x1402889cd
mov r15, qword [r14 + 0x20]
mov r11d, dword [rsi]
mov ebx, dword [rsi + 4]
mov r10d, dword [rsi + 8]
xor r11d, dword [r15 + 0x10]
lea rbp, [r15 + 0x9c]
xor ebx, dword [r15 + 0x14]
xor r10d, dword [r15 + 0x18]
mov esi, dword [rsi + 0xc]
xor esi, dword [r15 + 0x1c]
mov rax, qword [r14 + 8]
nop dword [rax]
mov ecx, ebx
ror r10d, 0x1f
shr ecx, 0x10
lea rbp, [rbp - 0x10]
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov r9d, dword [rax + rdx*4 + 0xc00]
mov edx, r11d
xor r9d, dword [rax + rcx*4 + 0x800]
shr rdx, 0x18
mov ecx, ebx
shr rcx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
xor r9d, dword [rax + rcx*4]
movzx ecx, bl
xor r9d, dword [rax + rcx*4 + 0x400]
mov ecx, r11d
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r11d
shr ecx, 8
movzx edx, cl
movzx ecx, r11b
ror r11d, 0x1f
xor r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4]
mov ecx, dword [rbp + 0xc]
add r8d, r9d
add ecx, r8d
xor r10d, ecx
lea ecx, [r9 + r8]
add ecx, dword [rbp + 0x10]
xor ecx, esi
mov esi, ecx
shr ecx, 1
shl esi, 0x1f
or esi, ecx
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, esi
shr ecx, 8
movzx ecx, cl
mov r9d, dword [rax + rdx*4 + 0xc00]
mov edx, r10d
xor r9d, dword [rax + rcx*4 + 0x800]
shr rdx, 0x18
mov ecx, esi
shr rcx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
xor r9d, dword [rax + rcx*4]
movzx ecx, sil
xor r9d, dword [rax + rcx*4 + 0x400]
mov ecx, r10d
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r10d
shr ecx, 8
movzx edx, cl
movzx ecx, r10b
xor r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4]
mov ecx, dword [rbp + 4]
add r8d, r9d
add ecx, r8d
xor r11d, ecx
mov ecx, dword [rbp + 8]
add ecx, r9d
add ecx, r8d
xor ecx, ebx
mov ebx, ecx
shr ecx, 1
shl ebx, 0x1f
or ebx, ecx
sub r12, 1
jne 0x140288880
xor ebx, dword [r15 + 0xc]
xor r11d, dword [r15 + 8]
xor esi, dword [r15 + 4]
xor r10d, dword [r15]
mov dword [rdi], r10d
mov dword [rdi + 4], esi
mov dword [rdi + 8], r11d
mov dword [rdi + 0xc], ebx
mov r15, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret