Function at 0x140017670
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
movzx eax, byte [rcx + 1]
lea rsi, [0x140000000]
movzx r10d, byte [rcx]
mov r9, rcx
mov rdi, r8
shl r10d, 8
xor r10d, eax
mov r14, rdx
movzx eax, byte [rcx + 2]
movzx edx, byte [rcx + 8]
shl edx, 8
shl r10d, 8
xor r10d, eax
movzx eax, byte [rcx + 3]
shl r10d, 8
xor r10d, eax
movzx eax, byte [rcx + 5]
xor r10d, dword [r8]
movzx r8d, byte [rcx + 4]
shl r8d, 8
xor r8d, eax
movzx eax, byte [rcx + 6]
shl r8d, 8
xor r8d, eax
movzx eax, byte [rcx + 7]
shl r8d, 8
xor r8d, eax
movzx eax, byte [rcx + 9]
xor r8d, dword [rdi + 4]
xor edx, eax
movzx eax, byte [rcx + 0xa]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0xb]
movzx ecx, byte [rcx + 0xc]
shl ecx, 8
shl edx, 8
xor edx, eax
movzx eax, byte [r9 + 0xd]
xor edx, dword [rdi + 8]
xor ecx, eax
movzx eax, byte [r9 + 0xe]
shl ecx, 8
xor ecx, eax
mov r11d, edx
movzx eax, byte [r9 + 0xf]
shl ecx, 8
xor ecx, eax
mov r9d, r8d
xor ecx, dword [rdi + 0xc]
mov eax, edx
shr rax, 8
movzx edx, al
mov eax, ecx
shr rax, 0x10
mov ebx, ecx
mov ebp, dword [rsi + rdx*4 + 0x61670]
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov r8d, r10d
xor ebp, dword [rsi + rcx*4 + 0x61a70]
xor ebp, dword [rsi + rax*4 + 0x61e70]
movzx eax, r9b
xor ebp, dword [rsi + rax*4 + 0x61270]
xor ebp, dword [rdi + 0x10]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, ebx
shr rax, 8
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r15d, dword [rsi + rdx*4 + 0x61a70]
xor r15d, dword [rsi + rcx*4 + 0x61670]
xor r15d, dword [rsi + rax*4 + 0x61e70]
movzx eax, r11b
xor r15d, dword [rsi + rax*4 + 0x61270]
xor r15d, dword [rdi + 0x14]
mov eax, r10d
mov r13d, dword [rdi + 0xf0]
lea r12, [rdi + 0x20]
shr rax, 8
movzx edx, al
mov eax, r9d
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr rax, 0x18
mov edx, dword [rsi + rdx*4 + 0x61670]
shr r9, 8
xor edx, dword [rsi + rcx*4 + 0x61a70]
xor edx, dword [rsi + rax*4 + 0x61e70]
movzx eax, bl
shr r11, 0x10
shr rbx, 0x18
movzx ecx, r9b
xor edx, dword [rsi + rax*4 + 0x61270]
xor edx, dword [rdi + 0x18]
movzx eax, r11b
mov r10d, dword [rsi + rcx*4 + 0x61670]
sar r13d, 1
xor r10d, dword [rsi + rax*4 + 0x61a70]
xor r10d, dword [rsi + rbx*4 + 0x61e70]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0x61270]
xor r10d, dword [rdi + 0x1c]
sub r13d, 1
je 0x140017a90
lea r14, [0x140000000]
nop word [rax + rax]
mov r11d, edx
mov esi, r10d
mov eax, edx
shr rax, 8
movzx edx, al
mov eax, esi
shr rax, 0x10
movzx ecx, al
mov eax, ebp
mov ebx, dword [r14 + rdx*4 + 0x61670]
shr rax, 0x18
xor ebx, dword [r14 + rcx*4 + 0x61a70]
mov r10d, r15d
shr r10, 8
xor ebx, dword [r14 + rax*4 + 0x61e70]
movzx eax, r15b
xor ebx, dword [r14 + rax*4 + 0x61270]
xor ebx, dword [r12]
mov eax, ebp
shr rax, 0x10
movzx edx, al
mov eax, esi
shr rax, 8
movzx ecx, al
mov eax, r15d
mov r9d, dword [r14 + rdx*4 + 0x61a70]
shr rax, 0x18
xor r9d, dword [r14 + rcx*4 + 0x61670]
xor r9d, dword [r14 + rax*4 + 0x61e70]
movzx eax, r11b
xor r9d, dword [r14 + rax*4 + 0x61270]
xor r9d, dword [r12 + 4]
mov eax, ebp
shr rax, 8
movzx edx, al
mov eax, r15d
shr rax, 0x10
movzx ecx, al
mov eax, r11d
mov r8d, dword [r14 + rdx*4 + 0x61670]
shr rax, 0x18
shr r11, 0x10
xor r8d, dword [r14 + rcx*4 + 0x61a70]
movzx ecx, r10b
xor r8d, dword [r14 + rax*4 + 0x61e70]
movzx eax, sil
shr rsi, 0x18
xor r8d, dword [r14 + rax*4 + 0x61270]
xor r8d, dword [r12 + 8]
movzx eax, r11b
mov r11d, dword [r14 + rcx*4 + 0x61670]
mov r10d, r8d
mov r8d, r9d
xor r11d, dword [r14 + rax*4 + 0x61a70]
xor r11d, dword [r14 + rsi*4 + 0x61e70]
movzx eax, bpl
xor r11d, dword [r14 + rax*4 + 0x61270]
mov eax, r10d
xor r11d, dword [r12 + 0xc]
shr rax, 8
movzx edx, al
mov eax, r11d
shr rax, 0x10
movzx ecx, al
mov eax, ebx
mov ebp, dword [r14 + rdx*4 + 0x61670]
shr rax, 0x18
xor ebp, dword [r14 + rcx*4 + 0x61a70]
xor ebp, dword [r14 + rax*4 + 0x61e70]
movzx eax, r9b
xor ebp, dword [r14 + rax*4 + 0x61270]
xor ebp, dword [r12 + 0x10]
mov eax, ebx
shr rax, 0x10
movzx edx, al
mov eax, r11d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r15d, dword [r14 + rdx*4 + 0x61a70]
xor r15d, dword [r14 + rcx*4 + 0x61670]
shr rax, 0x18
shr r8, 8
xor r15d, dword [r14 + rax*4 + 0x61e70]
movzx eax, r10b
xor r15d, dword [r14 + rax*4 + 0x61270]
xor r15d, dword [r12 + 0x14]
mov eax, ebx
shr rax, 8
movzx edx, al
mov eax, r9d
shr rax, 0x10
movzx ecx, al
mov eax, r10d
mov edx, dword [r14 + rdx*4 + 0x61670]
shr r10, 0x10
shr rax, 0x18
xor edx, dword [r14 + rcx*4 + 0x61a70]
movzx ecx, r8b
xor edx, dword [r14 + rax*4 + 0x61e70]
movzx eax, r11b
shr r11, 0x18
xor edx, dword [r14 + rax*4 + 0x61270]
xor edx, dword [r12 + 0x18]
movzx eax, r10b
mov r10d, dword [r14 + rcx*4 + 0x61670]
xor r10d, dword [r14 + rax*4 + 0x61a70]
xor r10d, dword [r14 + r11*4 + 0x61e70]
movzx eax, bl
xor r10d, dword [r14 + rax*4 + 0x61270]
xor r10d, dword [r12 + 0x1c]
add r12, 0x20
sub r13d, 1
jne 0x140017860
mov r14, qword [rsp + 0x38]
lea rsi, [0x140000000]
mov r8d, edx
mov eax, r10d
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
mov r11d, r10d
mov r9d, r15d
mov edx, dword [rsi + rcx*4 + 0x60e70]
movzx ecx, al
and edx, 0xff0000
mov eax, dword [rsi + rcx*4 + 0x60e70]
and eax, 0xff00
xor edx, eax
mov eax, ebp
shr rax, 0x18
mov ecx, dword [rsi + rax*4 + 0x60e70]
and ecx, 0xff000000
movzx eax, r15b
xor edx, ecx
movzx eax, byte [rsi + rax*4 + 0x60e70]
xor edx, eax
xor edx, dword [r12]
mov eax, edx
mov byte [r14 + 3], dl
shr eax, 0x18
mov byte [r14], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, edx
shr eax, 8
mov byte [r14 + 2], al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov eax, ebp
shr rax, 0x10
mov edx, dword [rsi + rcx*4 + 0x60e70]
movzx ecx, al
and edx, 0xff00
mov eax, dword [rsi + rcx*4 + 0x60e70]
and eax, 0xff0000
xor edx, eax
mov eax, r15d
shr rax, 0x18
mov eax, dword [rsi + rax*4 + 0x60e70]
and eax, 0xff000000
xor edx, eax
movzx eax, r8b
movzx eax, byte [rsi + rax*4 + 0x60e70]
xor edx, eax
xor edx, dword [r12 + 4]
mov eax, edx
mov byte [r14 + 7], dl
shr eax, 0x18
mov byte [r14 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 5], al
mov eax, edx
shr eax, 8
mov byte [r14 + 6], al
mov eax, r15d
shr rax, 0x10
movzx ecx, al
mov eax, ebp
shr rax, 8
mov edx, dword [rsi + rcx*4 + 0x60e70]
movzx ecx, al
and edx, 0xff0000
mov eax, dword [rsi + rcx*4 + 0x60e70]
and eax, 0xff00
xor edx, eax
mov eax, r8d
shr rax, 0x18
mov eax, dword [rsi + rax*4 + 0x60e70]
and eax, 0xff000000
xor edx, eax
movzx eax, r10b
movzx eax, byte [rsi + rax*4 + 0x60e70]
mov rbx, qword [rsp + 0x30]
xor edx, eax
xor edx, dword [r12 + 8]
mov eax, edx
mov byte [r14 + 0xb], dl
shr eax, 0x18
mov byte [r14 + 8], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 9], al
mov eax, edx
shr eax, 8
mov byte [r14 + 0xa], al
shr r8, 0x10
movzx eax, r8b
shr r9, 8
shr r11, 0x18
mov edx, dword [rsi + rax*4 + 0x60e70]
and edx, 0xff0000
movzx eax, r9b
mov ecx, dword [rsi + rax*4 + 0x60e70]
mov eax, dword [rsi + r11*4 + 0x60e70]
and ecx, 0xff00
and eax, 0xff000000
xor edx, ecx
xor edx, eax
movzx eax, bpl
mov rbp, qword [rsp + 0x40]
movzx eax, byte [rsi + rax*4 + 0x60e70]
mov rsi, qword [rsp + 0x48]
xor edx, eax
xor edx, dword [r12 + 0xc]
mov eax, edx
mov byte [r14 + 0xf], dl
shr eax, 0x18
mov byte [r14 + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 0xd], al
mov eax, edx
shr eax, 8
mov byte [r14 + 0xe], al
pop r15
pop r14
pop r13
pop r12
pop rdi
ret