Function at 0x1803d23a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
movzx eax, byte [r8 + 1]
lea r10, [0x180000000]
movzx r15d, byte [r8]
mov rbp, rdx
movzx r12d, byte [r8 + 4]
mov edx, ecx
movzx ecx, byte [r8 + 0xd]
mov r14, r8
movzx r13d, byte [r8 + 8]
shl r15d, 8
or r15d, eax
shl r12d, 8
movzx eax, byte [r8 + 2]
shl r13d, 8
shl r15d, 8
or r15d, eax
mov dword [rsp + 0x78], 1
movzx eax, byte [r8 + 3]
shl r15d, 8
or r15d, eax
movzx eax, byte [r8 + 5]
xor r15d, dword [rbp]
or r12d, eax
movzx eax, byte [r8 + 6]
shl r12d, 8
or r12d, eax
movzx eax, byte [r8 + 7]
shl r12d, 8
or r12d, eax
movzx eax, byte [r8 + 9]
xor r12d, dword [rbp + 4]
or r13d, eax
movzx eax, byte [r8 + 0xa]
shl r13d, 8
or r13d, eax
movzx eax, byte [r8 + 0xb]
shl r13d, 8
or r13d, eax
movzx eax, byte [r8 + 0xc]
xor r13d, dword [rbp + 8]
shl eax, 8
or eax, ecx
movzx ecx, byte [r8 + 0xe]
shl eax, 8
or eax, ecx
movzx ecx, byte [r8 + 0xf]
shl eax, 8
or eax, ecx
xor eax, dword [rbp + 0xc]
cmp edx, 1
jbe 0x1803d263e
lea rcx, [rbp + 0x18]
mov qword [rsp], rcx
nop dword [rax]
nop word [rax + rax]
mov ebp, eax
mov r9d, r12d
movzx ecx, r15b
mov eax, r13d
shr rax, 8
mov r8d, r15d
mov r10d, dword [r10 + rcx*4 + 0x53db80]
mov ecx, r15d
shr rcx, 8
movzx edx, cl
lea rcx, [0x180000000]
mov r11d, r13d
shr r8, 0x18
rol r10d, 8
mov esi, dword [rcx + rdx*4 + 0x53db80]
movzx ecx, r12b
lea r12, [0x180000000]
shr r11, 0x18
ror esi, 0x10
mov ebx, dword [r12 + rcx*4 + 0x53db80]
mov ecx, r15d
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 8
rol ebx, 8
mov r14d, dword [r12 + rdx*4 + 0x53db80]
movzx edx, cl
movzx ecx, r13b
mov edi, dword [r12 + rdx*4 + 0x53db80]
mov edx, dword [r12 + rcx*4 + 0x53db80]
movzx ecx, al
mov eax, r9d
shr rax, 0x10
shr r9, 0x18
ror edi, 0x10
mov r15d, dword [r12 + rcx*4 + 0x53db80]
movzx ecx, al
ror r15d, 0x10
mov eax, dword [r12 + rcx*4 + 0x53db80]
ror eax, 8
xor r15d, eax
movzx eax, bpl
mov ecx, dword [r12 + rax*4 + 0x53db80]
mov eax, dword [rsp + 0x78]
rol ecx, 8
xor r15d, ecx
xor r15d, dword [r12 + r8*4 + 0x53db80]
mov r8, qword [rsp]
lea ecx, [rax*4]
mov rax, qword [rsp + 0x68]
xor r15d, dword [rax + rcx*4]
mov eax, ebp
shr rax, 8
movzx ecx, al
mov eax, r13d
shr rax, 0x10
mov r12d, dword [r12 + rcx*4 + 0x53db80]
movzx ecx, al
lea rax, [0x180000000]
ror r12d, 0x10
mov eax, dword [rax + rcx*4 + 0x53db80]
ror eax, 8
xor r12d, eax
mov eax, ebp
shr rax, 0x10
xor r12d, r10d
movzx ecx, al
lea r10, [0x180000000]
xor r12d, dword [r10 + r9*4 + 0x53db80]
mov eax, edx
xor r12d, dword [r8 - 4]
rol eax, 8
mov r13d, dword [r10 + rcx*4 + 0x53db80]
xor eax, edi
ror r13d, 8
xor r13d, ebx
xor r13d, esi
xor r13d, dword [r10 + r11*4 + 0x53db80]
xor r13d, dword [r8]
ror r14d, 8
mov ecx, dword [rsp + 0x78]
xor eax, r14d
shr rbp, 0x18
inc ecx
mov dword [rsp + 0x78], ecx
xor eax, dword [r10 + rbp*4 + 0x53db80]
xor eax, dword [r8 + 4]
add r8, 0x10
mov qword [rsp], r8
cmp ecx, dword [rsp + 0x60]
jb 0x1803d24a0
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov edi, eax
mov eax, r13d
shr rax, 0x10
movzx ecx, al
mov eax, r12d
shr rax, 0x18
mov edx, r12d
movzx esi, byte [rcx + r10 + 0x53da50]
shr rdx, 0x10
movzx eax, byte [rax + r10 + 0x53da50]
shl eax, 8
or esi, eax
mov r8d, r15d
shl esi, 8
mov eax, edi
shr rax, 8
movzx ecx, al
shr r8, 0x18
mov r9d, r13d
shr r9, 8
movzx eax, byte [rcx + r10 + 0x53da50]
or esi, eax
movzx eax, r15b
shl esi, 8
movzx eax, byte [rax + r10 + 0x53da50]
or esi, eax
mov eax, edi
shr rax, 0x10
movzx ecx, al
mov eax, r13d
shr rax, 0x18
movzx ebx, byte [rcx + r10 + 0x53da50]
movzx eax, byte [rax + r10 + 0x53da50]
shl eax, 8
or ebx, eax
mov eax, r15d
shr rax, 8
movzx ecx, al
shl ebx, 8
movzx eax, byte [rcx + r10 + 0x53da50]
or ebx, eax
movzx eax, r12b
shl ebx, 8
movzx eax, byte [rax + r10 + 0x53da50]
or ebx, eax
mov eax, edi
shr rax, 0x18
movzx r11d, byte [rax + r10 + 0x53da50]
shl r11d, 8
mov eax, r15d
shr rax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r10 + 0x53da50]
or r11d, eax
mov eax, r12d
shr rax, 8
movzx ecx, al
shl r11d, 8
movzx eax, byte [rcx + r10 + 0x53da50]
lea rcx, [0x180000000]
or r11d, eax
movzx eax, r13b
shl r11d, 8
movzx eax, byte [rax + r10 + 0x53da50]
or r11d, eax
movzx eax, dl
mov edx, dword [rsp + 0x60]
movzx r10d, byte [rax + r10 + 0x53da50]
movzx eax, byte [r8 + rcx + 0x53da50]
shl eax, 8
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx eax, byte [rax + rcx + 0x53da50]
or r10d, eax
movzx eax, dil
shl r10d, 8
movzx eax, byte [rax + rcx + 0x53da50]
or r10d, eax
lea eax, [rdx*4]
xor r10d, dword [rbp + rax*4]
lea edx, [rdx*4]
lea eax, [rdx + 1]
mov r8d, dword [rbp + rax*4]
lea eax, [rdx + 2]
mov r9d, dword [rbp + rax*4]
xor r8d, esi
xor r9d, ebx
lea eax, [rdx + 3]
mov edx, dword [rbp + rax*4]
mov eax, r10d
shr eax, 0x18
xor edx, r11d
mov byte [r14], al
mov eax, r10d
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, r10d
shr eax, 8
mov byte [r14 + 2], al
mov eax, r8d
shr eax, 0x18
mov byte [r14 + 3], r10b
mov byte [r14 + 4], al
mov eax, r8d
shr eax, 0x10
mov byte [r14 + 5], al
mov eax, r8d
shr eax, 8
mov byte [r14 + 6], al
mov eax, r9d
shr eax, 0x18
mov byte [r14 + 7], r8b
mov byte [r14 + 8], al
mov eax, r9d
shr eax, 0x10
mov byte [r14 + 9], al
mov eax, r9d
shr eax, 8
mov byte [r14 + 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [r14 + 0xb], r9b
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
mov byte [r14 + 0xf], dl
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret