Function at 0x14026c590
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 r14
sub rsp, 0x68
mov rax, qword [rcx]
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
call qword [rax + 0x20]
test al, al
jne 0x14026c5c6
mov rcx, r14
call fcn.140251df0
mov qword [rsp + 0x60], rbp
cmp rbx, 4
jb 0x14026c91d
mov rcx, rbx
mov qword [rsp + 0x58], r12
shr rcx, 2
imul rax, rcx, 0xfffffffffffffffc
mov qword [rsp + 0x50], r13
add rbx, rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x30], rcx
nop
mov eax, dword [rsi + 0x1c]
xor edi, edi
mov ebp, dword [rsi]
mov r13d, dword [rsi + 4]
mov r15d, dword [rsi + 8]
mov r11d, dword [rsi + 0xc]
mov r12d, dword [rsi + 0x10]
mov ebx, dword [rsi + 0x14]
mov r10d, dword [rsi + 0x18]
mov rsi, qword [r14 + 0x20]
mov r9, qword [r14 + 8]
bswap eax
mov dword [rsp + 0x20], eax
mov r14d, eax
bswap ebp
bswap r13d
bswap r15d
bswap r11d
bswap r12d
bswap ebx
bswap r10d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsi + rdi*4]
xor ebp, eax
xor r15d, eax
mov r8d, dword [rsi + rdi*4 + 4]
xor r12d, eax
xor r10d, eax
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, ebp
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, ebp
shr eax, 8
movzx ecx, al
movzx eax, bpl
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
mov eax, r15d
shr eax, 0x10
xor edx, r8d
movzx ecx, al
xor r13d, edx
mov eax, r15d
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, r15d
shr eax, 8
movzx ecx, al
movzx eax, r15b
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
mov eax, r12d
shr eax, 0x10
xor edx, r8d
movzx ecx, al
xor r11d, edx
mov eax, r12d
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, r12d
shr eax, 8
movzx ecx, al
movzx eax, r12b
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
mov eax, r10d
shr eax, 0x10
xor edx, r8d
movzx ecx, al
xor ebx, edx
mov eax, r10d
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
mov eax, r13d
shr eax, 0x10
xor edx, r8d
movzx ecx, al
xor r14d, edx
mov eax, r13d
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, r13d
shr eax, 8
movzx ecx, al
movzx eax, r13b
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
mov eax, r11d
xor ebp, edx
shr eax, 0x10
add rdi, 2
movzx ecx, al
mov eax, r11d
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
mov eax, ebx
shr eax, 0x10
xor r15d, edx
movzx ecx, al
mov eax, ebx
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
mov eax, r14d
shr eax, 0x10
xor r12d, edx
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov edx, dword [r9 + rcx*4 + 0x400]
add edx, dword [r9 + rax*4]
mov eax, r14d
shr eax, 8
movzx ecx, al
movzx eax, r14b
xor edx, dword [r9 + rcx*4 + 0x800]
add edx, dword [r9 + rax*4 + 0xc00]
xor r10d, edx
cmp rdi, 0x10
jne 0x14026c650
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov dword [rsp + 0x24], ebx
add rsi, 0x20
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], r14d
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x98], rsi
mov rax, qword [r14 + 0x20]
mov r9d, dword [rax + 0x40]
mov ebx, r9d
mov edx, dword [rax + 0x44]
xor ebx, r10d
mov r11d, edx
mov r8d, edx
xor r8d, dword [rsp + 0x24]
mov eax, edx
xor eax, dword [rsp + 0x28]
mov r10d, r9d
xor r11d, dword [rsp + 0x20]
mov ecx, r9d
xor edx, r13d
xor r9d, ebp
xor ecx, r15d
xor r10d, r12d
bswap edx
mov dword [rdi], edx
bswap r9d
mov dword [rdi + 4], r9d
bswap eax
mov dword [rdi + 8], eax
bswap ecx
mov dword [rdi + 0xc], ecx
bswap r8d
mov dword [rdi + 0x10], r8d
bswap r10d
mov dword [rdi + 0x14], r10d
bswap r11d
mov dword [rdi + 0x18], r11d
bswap ebx
mov dword [rdi + 0x1c], ebx
add rdi, 0x20
sub qword [rsp + 0x30], 1
mov qword [rsp + 0xa0], rdi
jne 0x14026c600
mov r15, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14026cb71
sub rsi, rdi
nop dword [rax]
mov eax, dword [rdi + rsi]
mov ebp, 2
mov r9d, dword [rdi + rsi + 4]
mov r11, qword [r14 + 0x20]
mov r10, qword [r14 + 8]
add r11, 8
bswap eax
bswap r9d
nop
xor eax, dword [r11 - 8]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [r11 - 4]
xor r9d, r8d
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor eax, r8d
xor eax, dword [r11]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [r11 + 4]
xor r9d, r8d
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [r11 + 8]
xor eax, r8d
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [r11 + 0xc]
xor r9d, r8d
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
lea r11, [r11 + 0x20]
add r8d, dword [r10 + rcx*4]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [r11 - 0x10]
xor eax, r8d
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [r11 - 0xc]
xor r9d, r8d
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor eax, r8d
sub rbp, 1
jne 0x14026c950
mov rcx, qword [r14 + 0x20]
xor r9d, dword [rcx + 0x44]
xor eax, dword [rcx + 0x40]
bswap r9d
mov dword [rdi], r9d
bswap eax
mov dword [rdi + 4], eax
add rdi, 8
sub rbx, 1
jne 0x14026c930
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret