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

Disassembly:
push r14
push r15
sub rsp, 8
mov r15d, dword [r8 + 0x1e0]
mov r14, r8
lea eax, [r15 - 2]
cmp eax, 0xe
ja 0x140002cee
movzx eax, byte [rcx + 1]
movzx r11d, byte [rcx + 4]
movzx r10d, byte [rcx + 8]
movzx r9d, byte [rcx + 0xc]
mov qword [rsp + 0x20], rbx
movzx ebx, byte [rcx]
shl ebx, 8
or ebx, eax
shl r11d, 8
movzx eax, byte [rcx + 2]
shl r10d, 8
shl r9d, 8
shl ebx, 8
or ebx, eax
mov qword [rsp + 0x28], rbp
movzx eax, byte [rcx + 3]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
shl ebx, 8
or ebx, eax
mov qword [rsp], r12
movzx eax, byte [rcx + 5]
lea r12, [0x140000000]
xor ebx, dword [r8]
or r11d, eax
movzx eax, byte [rcx + 6]
shl r11d, 8
or r11d, eax
movzx eax, byte [rcx + 7]
shl r11d, 8
or r11d, eax
movzx eax, byte [rcx + 9]
xor r11d, dword [r8 + 4]
or r10d, eax
movzx eax, byte [rcx + 0xa]
shl r10d, 8
or r10d, eax
movzx eax, byte [rcx + 0xb]
shl r10d, 8
or r10d, eax
movzx eax, byte [rcx + 0xd]
xor r10d, dword [r8 + 8]
or r9d, eax
movzx eax, byte [rcx + 0xe]
shl r9d, 8
or r9d, eax
movzx eax, byte [rcx + 0xf]
shl r9d, 8
or r9d, eax
mov eax, r10d
xor r9d, dword [r8 + 0xc]
shr eax, 8
movzx r8d, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov edi, dword [r12 + r8*4 + 0x4d740]
shr rax, 0x18
xor edi, dword [r12 + rcx*4 + 0x4d340]
xor edi, dword [r12 + rax*4 + 0x4c740]
movzx eax, r9b
xor edi, dword [r12 + rax*4 + 0x4db40]
mov eax, r9d
xor edi, dword [r14 + 0x10]
shr eax, 8
movzx r8d, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov esi, dword [r12 + r8*4 + 0x4d740]
shr rax, 0x18
xor esi, dword [r12 + rcx*4 + 0x4d340]
xor esi, dword [r12 + rax*4 + 0x4c740]
movzx eax, bl
xor esi, dword [r12 + rax*4 + 0x4db40]
mov eax, r9d
xor esi, dword [r14 + 0x14]
shr eax, 0x10
movzx ecx, al
mov ebp, dword [r12 + rcx*4 + 0x4d340]
mov eax, r10d
shr rax, 0x18
sar r15d, 1
mov eax, dword [r12 + rax*4 + 0x4c740]
xor ebp, eax
mov eax, ebx
shr ebx, 0x10
shr eax, 8
movzx ecx, al
movzx eax, r11b
shr r11d, 8
xor ebp, dword [r12 + rcx*4 + 0x4d740]
xor ebp, dword [r12 + rax*4 + 0x4db40]
xor ebp, dword [r14 + 0x18]
mov ecx, r9d
shr rcx, 0x18
movzx eax, r11b
mov r9d, dword [r12 + rcx*4 + 0x4c740]
mov eax, dword [r12 + rax*4 + 0x4d740]
xor r9d, eax
movzx eax, bl
xor r9d, dword [r12 + rax*4 + 0x4d340]
movzx eax, r10b
xor r9d, dword [r12 + rax*4 + 0x4db40]
xor r9d, dword [r14 + 0x1c]
add r14, 0x20
sub r15d, 1
je 0x140002b54
mov eax, ebp
shr eax, 8
movzx r8d, al
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov ebx, dword [r12 + r8*4 + 0x4d740]
shr rax, 0x18
xor ebx, dword [r12 + rcx*4 + 0x4d340]
xor ebx, dword [r12 + rax*4 + 0x4c740]
movzx eax, r9b
xor ebx, dword [r12 + rax*4 + 0x4db40]
mov eax, r9d
shr eax, 8
movzx r8d, al
mov eax, ebp
xor ebx, dword [r14]
shr eax, 0x10
movzx ecx, al
mov r11d, dword [r12 + r8*4 + 0x4d740]
mov eax, esi
shr rax, 0x18
xor r11d, dword [r12 + rcx*4 + 0x4d340]
xor r11d, dword [r12 + rax*4 + 0x4c740]
movzx eax, dil
xor r11d, dword [r12 + rax*4 + 0x4db40]
mov eax, r9d
xor r11d, dword [r14 + 4]
shr eax, 0x10
movzx ecx, al
mov eax, ebp
shr rax, 0x18
mov r10d, dword [r12 + rcx*4 + 0x4d340]
mov eax, dword [r12 + rax*4 + 0x4c740]
xor r10d, eax
mov eax, edi
shr edi, 0x10
shr eax, 8
movzx ecx, al
movzx eax, sil
shr esi, 8
xor r10d, dword [r12 + rcx*4 + 0x4d740]
xor r10d, dword [r12 + rax*4 + 0x4db40]
xor r10d, dword [r14 + 8]
mov ecx, r9d
movzx eax, sil
shr rcx, 0x18
mov eax, dword [r12 + rax*4 + 0x4d740]
mov r9d, dword [r12 + rcx*4 + 0x4c740]
xor r9d, eax
movzx eax, dil
xor r9d, dword [r12 + rax*4 + 0x4d340]
movzx eax, bpl
xor r9d, dword [r12 + rax*4 + 0x4db40]
mov eax, r10d
xor r9d, dword [r14 + 0xc]
shr eax, 8
movzx r8d, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov edi, dword [r12 + r8*4 + 0x4d740]
shr rax, 0x18
xor edi, dword [r12 + rcx*4 + 0x4d340]
xor edi, dword [r12 + rax*4 + 0x4c740]
movzx eax, r9b
xor edi, dword [r12 + rax*4 + 0x4db40]
mov eax, r9d
xor edi, dword [r14 + 0x10]
shr eax, 8
movzx r8d, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov esi, dword [r12 + r8*4 + 0x4d740]
shr rax, 0x18
xor esi, dword [r12 + rcx*4 + 0x4d340]
xor esi, dword [r12 + rax*4 + 0x4c740]
movzx eax, bl
xor esi, dword [r12 + rax*4 + 0x4db40]
mov eax, r9d
xor esi, dword [r14 + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov ebp, dword [r12 + rcx*4 + 0x4d340]
mov eax, dword [r12 + rax*4 + 0x4c740]
xor ebp, eax
mov eax, ebx
shr ebx, 0x10
shr eax, 8
movzx ecx, al
movzx eax, r11b
shr r11d, 8
xor ebp, dword [r12 + rcx*4 + 0x4d740]
xor ebp, dword [r12 + rax*4 + 0x4db40]
xor ebp, dword [r14 + 0x18]
mov ecx, r9d
shr rcx, 0x18
movzx eax, r11b
mov r9d, dword [r12 + rcx*4 + 0x4c740]
mov eax, dword [r12 + rax*4 + 0x4d740]
xor r9d, eax
movzx eax, bl
xor r9d, dword [r12 + rax*4 + 0x4d340]
movzx eax, r10b
xor r9d, dword [r12 + rax*4 + 0x4db40]
xor r9d, dword [r14 + 0x1c]
add r14, 0x20
sub r15d, 1
jne 0x140002942
mov eax, ebp
shr eax, 8
movzx r8d, al
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, dword [r12 + rcx*4 + 0x4e740]
mov ecx, dword [r12 + r8*4 + 0x4e340]
xor ecx, eax
mov eax, edi
shr rax, 0x18
xor ecx, dword [r12 + rax*4 + 0x4eb40]
movzx eax, r9b
xor ecx, dword [r12 + rax*4 + 0x4df40]
xor ecx, dword [r14]
mov eax, ecx
mov byte [rdx + 3], cl
shr eax, 0x18
mov byte [rdx], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx + 1], al
mov eax, ecx
shr eax, 8
mov byte [rdx + 2], al
mov eax, r9d
shr eax, 8
movzx r8d, al
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, dword [r12 + rcx*4 + 0x4e740]
mov ecx, dword [r12 + r8*4 + 0x4e340]
xor ecx, eax
mov eax, esi
shr rax, 0x18
xor ecx, dword [r12 + rax*4 + 0x4eb40]
movzx eax, dil
xor ecx, dword [r12 + rax*4 + 0x4df40]
xor ecx, dword [r14 + 4]
mov eax, ecx
mov byte [rdx + 7], cl
shr eax, 0x18
mov byte [rdx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx + 5], al
mov eax, ecx
shr eax, 8
mov byte [rdx + 6], al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, ebp
shr rax, 0x18
mov r8d, dword [r12 + rcx*4 + 0x4e740]
mov eax, dword [r12 + rax*4 + 0x4eb40]
xor r8d, eax
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, sil
xor r8d, dword [r12 + rcx*4 + 0x4e340]
xor r8d, dword [r12 + rax*4 + 0x4df40]
xor r8d, dword [r14 + 8]
mov eax, r8d
mov ecx, r9d
shr eax, 0x18
mov byte [rdx + 8], al
mov eax, r8d
shr eax, 0x10
mov byte [rdx + 9], al
mov eax, r8d
shr eax, 8
shr rcx, 0x18
mov byte [rdx + 0xa], al
shr esi, 8
movzx eax, sil
mov byte [rdx + 0xb], r8b
mov r8d, dword [r12 + rcx*4 + 0x4eb40]
mov eax, dword [r12 + rax*4 + 0x4e340]
mov rsi, qword [rsp + 0x30]
xor r8d, eax
mov rbx, qword [rsp + 0x20]
shr edi, 0x10
movzx eax, dil
mov rdi, qword [rsp + 0x38]
xor r8d, dword [r12 + rax*4 + 0x4e740]
movzx eax, bpl
mov rbp, qword [rsp + 0x28]
xor r8d, dword [r12 + rax*4 + 0x4df40]
xor r8d, dword [r14 + 0xc]
mov r12, qword [rsp]
mov eax, r8d
shr eax, 0x18
mov byte [rdx + 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rdx + 0xd], al
mov eax, r8d
shr eax, 8
mov byte [rdx + 0xe], al
xor eax, eax
mov byte [rdx + 0xf], r8b
add rsp, 8
pop r15
pop r14
ret
mov eax, 4
add rsp, 8
pop r15
pop r14
ret