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

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
mov r15d, dword [rcx]
lea r13, [0x180000000]
mov r12, rdx
lea eax, [r15*8 + 4]
mov r9d, dword [rcx + rax*4 + 0xc]
lea rax, [rcx + rax*4]
xor r9d, dword [r8 + 0xc]
mov ecx, dword [rax]
xor ecx, dword [r8]
mov r10d, dword [rax + 4]
xor r10d, dword [r8 + 4]
mov dword [rbp - 0x20], ecx
mov ecx, dword [rax + 8]
sub rax, 0x20
xor ecx, dword [r8 + 8]
movzx edx, byte [rbp - 0x20]
mov dword [rbp - 0x18], ecx
mov dword [rbp - 0x14], r9d
movzx ecx, byte [rbp - 0x13]
mov edi, dword [r13 + rdx*4 + 0x86c10]
movzx edx, byte [rbp - 0x18]
mov dword [rbp - 0x1c], r10d
xor edi, dword [r13 + rcx*4 + 0x87010]
movzx ecx, byte [rbp - 0x16]
mov esi, dword [r13 + rdx*4 + 0x86c10]
movzx edx, r9b
xor edi, dword [r13 + rcx*4 + 0x87410]
movzx ecx, byte [rbp - 0x19]
mov r14d, dword [r13 + rdx*4 + 0x86c10]
movzx edx, r10b
xor edi, dword [r13 + rcx*4 + 0x87810]
movzx ecx, byte [rbp - 0x1b]
xor edi, dword [rax + 0x10]
mov r9d, dword [r13 + rdx*4 + 0x86c10]
mov dword [rbp - 0x10], edi
xor esi, dword [r13 + rcx*4 + 0x87010]
movzx ecx, byte [rbp - 0x1e]
xor esi, dword [r13 + rcx*4 + 0x87410]
movzx ecx, byte [rbp - 0x11]
xor esi, dword [r13 + rcx*4 + 0x87810]
movzx ecx, byte [rbp - 0x17]
xor esi, dword [rax + 0x18]
mov dword [rbp - 8], esi
xor r14d, dword [r13 + rcx*4 + 0x87010]
movzx ecx, byte [rbp - 0x1a]
xor r14d, dword [r13 + rcx*4 + 0x87410]
movzx ecx, byte [rbp - 0x1d]
xor r14d, dword [r13 + rcx*4 + 0x87810]
movzx ecx, byte [rbp - 0x1f]
xor r14d, dword [rax + 0x1c]
xor r9d, dword [r13 + rcx*4 + 0x87010]
movzx ecx, byte [rbp - 0x12]
xor r9d, dword [r13 + rcx*4 + 0x87410]
movzx ecx, byte [rbp - 0x15]
xor r9d, dword [r13 + rcx*4 + 0x87810]
xor r9d, dword [rax + 0x14]
add r15d, 0xffffffff
je 0x180001eb7
mov qword [rsp + 0x50], rbx
nop word [rax + rax]
mov ecx, r9d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r14d
shr ecx, 8
movzx edx, cl
movzx ecx, byte [rbp - 0x10]
mov ebx, dword [r13 + r8*4 + 0x87810]
xor ebx, dword [r13 + rdx*4 + 0x87010]
xor ebx, dword [r13 + rcx*4 + 0x86c10]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
movzx r8d, cl
mov ecx, r14d
shr ecx, 0x18
xor ebx, dword [r13 + rdx*4 + 0x87410]
xor ebx, dword [rax]
mov r11d, dword [r13 + r8*4 + 0x87010]
movzx edx, cl
movzx ecx, byte [rbp - 8]
movzx r8d, r14b
shr r14d, 0x10
xor r11d, dword [r13 + rdx*4 + 0x87810]
xor r11d, dword [r13 + rcx*4 + 0x86c10]
mov ecx, edi
mov r10d, dword [r13 + r8*4 + 0x86c10]
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
mov dword [rbp - 0x20], ebx
xor r11d, dword [r13 + rdx*4 + 0x87410]
xor r11d, dword [rax + 8]
movzx edx, cl
mov ecx, esi
shr ecx, 8
shr esi, 0x18
mov dword [rbp - 0x18], r11d
xor r10d, dword [r13 + rdx*4 + 0x87410]
movzx edx, cl
mov ecx, edi
shr ecx, 0x18
shr edi, 8
xor r10d, dword [r13 + rdx*4 + 0x87010]
movzx edx, cl
movzx ecx, r14b
xor r10d, dword [r13 + rdx*4 + 0x87810]
xor r10d, dword [rax + 0xc]
movzx edx, r9b
mov r9d, dword [r13 + rdx*4 + 0x86c10]
xor r9d, dword [r13 + rcx*4 + 0x87410]
movzx ecx, sil
xor r9d, dword [r13 + rcx*4 + 0x87810]
movzx ecx, dil
xor r9d, dword [r13 + rcx*4 + 0x87010]
xor r9d, dword [rax + 4]
sub rax, 0x20
mov ecx, r9d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r10d
shr ecx, 8
movzx edx, cl
movzx ecx, bl
mov edi, dword [r13 + r8*4 + 0x87810]
xor edi, dword [r13 + rdx*4 + 0x87010]
xor edi, dword [r13 + rcx*4 + 0x86c10]
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
movzx r8d, cl
mov ecx, r10d
xor edi, dword [r13 + rdx*4 + 0x87410]
xor edi, dword [rax + 0x10]
mov dword [rbp - 0x10], edi
shr ecx, 0x18
mov esi, dword [r13 + r8*4 + 0x87010]
movzx edx, cl
movzx ecx, r11b
movzx r8d, r10b
shr r10d, 0x10
xor esi, dword [r13 + rdx*4 + 0x87810]
xor esi, dword [r13 + rcx*4 + 0x86c10]
mov ecx, ebx
mov r14d, dword [r13 + r8*4 + 0x86c10]
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
xor esi, dword [r13 + rdx*4 + 0x87410]
xor esi, dword [rax + 0x18]
movzx edx, cl
mov ecx, r11d
shr ecx, 8
shr r11d, 0x18
mov dword [rbp - 8], esi
xor r14d, dword [r13 + rdx*4 + 0x87410]
movzx edx, cl
mov ecx, ebx
shr ecx, 0x18
shr ebx, 8
xor r14d, dword [r13 + rdx*4 + 0x87010]
movzx edx, cl
movzx ecx, r10b
xor r14d, dword [r13 + rdx*4 + 0x87810]
xor r14d, dword [rax + 0x1c]
movzx edx, r9b
mov r9d, dword [r13 + rdx*4 + 0x86c10]
xor r9d, dword [r13 + rcx*4 + 0x87410]
movzx ecx, r11b
xor r9d, dword [r13 + rcx*4 + 0x87810]
movzx ecx, bl
xor r9d, dword [r13 + rcx*4 + 0x87010]
xor r9d, dword [rax + 0x14]
add r15d, 0xffffffff
jne 0x180001c90
mov rbx, qword [rsp + 0x50]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, esi
shr ecx, 0x10
movzx r8d, byte [rdx + r13 + 0x85b10]
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x85b10]
or r8d, ecx
mov ecx, r14d
shr ecx, 8
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x85b10]
or r8d, ecx
movzx ecx, byte [rbp - 0x10]
shl r8d, 8
movzx ecx, byte [rcx + r13 + 0x85b10]
or r8d, ecx
mov ecx, esi
xor r8d, dword [rax]
shr ecx, 0x18
movzx edx, cl
mov ecx, r14d
mov dword [r12], r8d
shr ecx, 0x10
shr esi, 8
movzx r8d, byte [rdx + r13 + 0x85b10]
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x85b10]
or r8d, ecx
mov ecx, edi
shr ecx, 8
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x85b10]
or r8d, ecx
movzx edx, r9b
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x85b10]
or r8d, ecx
mov ecx, r14d
xor r8d, dword [rax + 4]
shr ecx, 0x18
movzx edx, cl
mov ecx, edi
mov dword [r12 + 4], r8d
shr ecx, 0x10
shr edi, 0x18
movzx r8d, byte [rdx + r13 + 0x85b10]
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x85b10]
or r8d, ecx
mov ecx, r9d
shr ecx, 8
shl r8d, 8
movzx edx, cl
shr r9d, 0x10
movzx ecx, byte [rdx + r13 + 0x85b10]
or r8d, ecx
movzx edx, r14b
movzx ecx, byte [rbp - 8]
shl r8d, 8
movzx ecx, byte [rcx + r13 + 0x85b10]
or r8d, ecx
movzx ecx, dil
xor r8d, dword [rax + 8]
mov dword [r12 + 8], r8d
movzx r8d, byte [rcx + r13 + 0x85b10]
shl r8d, 8
movzx ecx, r9b
movzx ecx, byte [rcx + r13 + 0x85b10]
or r8d, ecx
movzx ecx, sil
shl r8d, 8
movzx ecx, byte [rcx + r13 + 0x85b10]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [rdx + r13 + 0x85b10]
mov rsi, qword [rsp + 0x58]
or r8d, ecx
xor r8d, dword [rax + 0xc]
mov rdi, qword [rsp + 0x60]
mov dword [r12 + 0xc], r8d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret