Function at 0x1801a9860
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov ebx, dword [rcx]
lea rax, [0x1802d9610]
mov edi, dword [rcx + 4]
mov r14, rcx
ror ebx, 0x1d
ror edi, 0x1d
test r8d, r8d
je 0x1801a99e1
lea r11, [rdx + 0xc]
mov esi, 8
nop dword [rax + rax]
mov r9d, dword [r11 - 8]
mov r10d, dword [r11 - 0xc]
lea r11, [r11 + 0x10]
xor r9d, ebx
mov ecx, ebx
xor r10, rcx
ror r9d, 4
mov edx, r9d
mov ecx, r9d
shr rcx, 0xa
and ecx, 0x3f
shr rdx, 0x12
and edx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x500]
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r9d
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
mov rcx, r10
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x400]
mov rcx, r10
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x200]
mov rcx, r10
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4]
xor r8d, dword [rax + r9*4 + 0x700]
xor r8d, dword [rax + r10*4 + 0x600]
mov r9d, dword [r11 - 0x14]
xor edi, r8d
mov r10d, edi
mov edx, edi
xor r10d, dword [r11 - 0x10]
xor r9, rdx
ror r10d, 4
mov rdx, r9
shr rdx, 0x12
mov rcx, r9
shr rcx, 0xa
and edx, 0x3f
and ecx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov rcx, r9
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
xor ebx, r8d
sub rsi, 1
jne 0x1801a98a0
jmp 0x1801a9ea6
lea r11, [rdx + 0x74]
mov esi, 2
nop word [rax + rax]
mov r10d, dword [r11 + 8]
mov r9d, dword [r11 + 4]
xor r10d, ebx
ror r10d, 4
mov ecx, ebx
xor r9, rcx
mov rdx, r9
mov rcx, r9
shr rcx, 0xa
and ecx, 0x3f
shr rdx, 0x12
and edx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov rcx, r9
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
mov r10d, dword [r11]
xor edi, r8d
mov r9d, dword [r11 - 4]
xor r10d, edi
ror r10d, 4
mov edx, edi
xor r9, rdx
mov rdx, r9
mov rcx, r9
shr rcx, 0xa
and ecx, 0x3f
shr rdx, 0x12
and edx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov rcx, r9
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr r10, 0x1a
shr rcx, 2
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
mov r9d, dword [r11 - 0xc]
xor ebx, r8d
mov r10d, dword [r11 - 8]
mov edx, ebx
xor r10d, ebx
xor r9, rdx
ror r10d, 4
mov rdx, r9
mov rcx, r9
shr rdx, 0x12
and edx, 0x3f
shr rcx, 0xa
mov r8d, dword [rax + rdx*4 + 0x400]
and ecx, 0x3f
mov edx, dword [r11 - 0x14]
xor r8d, dword [rax + rcx*4 + 0x200]
mov rcx, r9
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
mov r10d, dword [r11 - 0x10]
xor edi, r8d
xor r10d, edi
xor edx, edi
mov r9d, edx
ror r10d, 4
mov ecx, r9d
shr rcx, 0xa
and ecx, 0x3f
shr rdx, 0x12
and edx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov ecx, r9d
mov edx, dword [r11 - 0x1c]
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
mov r10d, dword [r11 - 0x18]
xor ebx, r8d
xor edx, ebx
xor r10d, ebx
mov r9d, edx
shr rdx, 0x12
mov ecx, r9d
shr rcx, 0xa
and edx, 0x3f
and ecx, 0x3f
ror r10d, 4
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov ecx, r9d
shr rcx, 2
and ecx, 0x3f
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
mov edx, dword [r11 - 0x24]
shr r9, 0x1a
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
mov r10d, dword [r11 - 0x20]
xor edi, r8d
xor r10d, edi
xor edx, edi
mov r9d, edx
ror r10d, 4
mov ecx, r9d
shr rcx, 0xa
and ecx, 0x3f
shr rdx, 0x12
and edx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov ecx, r9d
mov edx, dword [r11 - 0x2c]
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
mov r10d, dword [r11 - 0x28]
xor ebx, r8d
xor r10d, ebx
xor edx, ebx
mov r9d, edx
ror r10d, 4
mov ecx, r9d
shr rcx, 0xa
and ecx, 0x3f
shr rdx, 0x12
and edx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov ecx, r9d
mov edx, dword [r11 - 0x34]
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
xor edi, r8d
xor edx, edi
mov r10d, dword [r11 - 0x30]
lea r11, [r11 - 0x40]
xor r10d, edi
mov r9d, edx
ror r10d, 4
mov ecx, r9d
shr rcx, 0xa
and ecx, 0x3f
shr rdx, 0x12
and edx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
xor r8d, dword [rax + rcx*4 + 0x200]
mov ecx, r9d
shr rcx, 2
and ecx, 0x3f
shr r9, 0x1a
xor r8d, dword [rax + rcx*4]
mov ecx, r10d
shr rcx, 0x12
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x500]
mov ecx, r10d
shr rcx, 0xa
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x300]
mov ecx, r10d
shr rcx, 2
and ecx, 0x3f
shr r10, 0x1a
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
xor ebx, r8d
sub rsi, 1
jne 0x1801a99f0
mov rsi, qword [rsp + 0x10]
ror edi, 3
ror ebx, 3
mov dword [r14], edi
mov rdi, qword [rsp + 0x18]
mov dword [r14 + 4], ebx
mov rbx, qword [rsp + 8]
mov r14, qword [rsp + 0x20]
ret