Function at 0x1800018d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rax, qword [rcx + 8]
lea r12, [0x180000000]
mov r14d, dword [rcx]
mov r15, r8
movzx r9d, byte [rdx + 2]
movzx ecx, byte [rdx]
movzx edi, byte [rdx + 3]
movzx esi, byte [rdx + 7]
movzx r8d, byte [rdx + 0xb]
shl edi, 8
or edi, r9d
shl esi, 8
movzx r9d, byte [rdx + 1]
shl r8d, 8
shl edi, 8
or edi, r9d
sar r14d, 1
movzx r9d, byte [rdx + 0xf]
dec r14d
shl r9d, 8
shl edi, 8
or edi, ecx
movzx ecx, byte [rdx + 6]
xor edi, dword [rax]
or esi, ecx
movzx ecx, byte [rdx + 5]
shl esi, 8
or esi, ecx
movzx ecx, byte [rdx + 4]
shl esi, 8
or esi, ecx
movzx ecx, byte [rdx + 0xa]
xor esi, dword [rax + 4]
or r8d, ecx
movzx ecx, byte [rdx + 9]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdx + 8]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdx + 0xe]
xor r8d, dword [rax + 8]
or r9d, ecx
movzx ecx, byte [rdx + 0xd]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [rdx + 0xc]
shl r9d, 8
or r9d, ecx
xor r9d, dword [rax + 0xc]
add rax, 0x10
test r14d, r14d
jle 0x180001bda
nop dword [rax + rax]
mov ebp, r8d
mov r11d, edi
mov ebx, esi
mov esi, r9d
mov ecx, ebx
shr rcx, 8
movzx r8d, cl
mov ecx, ebp
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
mov edi, dword [r12 + r8*4 + 0x18a10]
shr rcx, 0x18
xor edi, dword [r12 + rdx*4 + 0x18e10]
xor edi, dword [r12 + rcx*4 + 0x19210]
movzx ecx, r11b
xor edi, dword [r12 + rcx*4 + 0x18610]
mov ecx, ebp
xor edi, dword [rax]
shr rcx, 8
movzx r8d, cl
mov ecx, r9d
shr rcx, 0x10
movzx edx, cl
mov ecx, r11d
mov r10d, dword [r12 + r8*4 + 0x18a10]
shr rcx, 0x18
xor r10d, dword [r12 + rdx*4 + 0x18e10]
xor r10d, dword [r12 + rcx*4 + 0x19210]
movzx ecx, bl
xor r10d, dword [r12 + rcx*4 + 0x18610]
mov ecx, r11d
xor r10d, dword [rax + 4]
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
shr rcx, 8
movzx edx, cl
mov ecx, ebx
mov r9d, dword [r12 + r8*4 + 0x18e10]
shr rcx, 0x18
shr r11, 8
xor r9d, dword [r12 + rdx*4 + 0x18a10]
movzx edx, r11b
xor r9d, dword [r12 + rcx*4 + 0x19210]
movzx ecx, bpl
shr rbx, 0x10
mov r8d, dword [r12 + rdx*4 + 0x18a10]
shr rbp, 0x18
xor r9d, dword [r12 + rcx*4 + 0x18610]
xor r9d, dword [rax + 8]
movzx ecx, bl
mov ebx, r9d
mov r9d, edi
mov r11d, r10d
xor r8d, dword [r12 + rcx*4 + 0x18e10]
xor r8d, dword [r12 + rbp*4 + 0x19210]
movzx ecx, sil
xor r8d, dword [r12 + rcx*4 + 0x18610]
mov ecx, r11d
xor r8d, dword [rax + 0xc]
shr rcx, 8
mov r10d, r8d
movzx r8d, cl
mov ecx, ebx
shr rcx, 0x10
movzx edx, cl
mov ecx, r10d
shr rcx, 0x18
mov edi, dword [r12 + r8*4 + 0x18a10]
xor edi, dword [r12 + rdx*4 + 0x18e10]
xor edi, dword [r12 + rcx*4 + 0x19210]
movzx ecx, r9b
xor edi, dword [r12 + rcx*4 + 0x18610]
mov ecx, ebx
xor edi, dword [rax + 0x10]
shr rcx, 8
movzx r8d, cl
mov ecx, r10d
shr rcx, 0x10
movzx edx, cl
mov esi, dword [r12 + r8*4 + 0x18a10]
mov ecx, r9d
xor esi, dword [r12 + rdx*4 + 0x18e10]
dec r14d
shr rcx, 0x18
xor esi, dword [r12 + rcx*4 + 0x19210]
movzx ecx, r11b
xor esi, dword [r12 + rcx*4 + 0x18610]
mov ecx, r9d
xor esi, dword [rax + 0x14]
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
shr rcx, 8
movzx edx, cl
mov ecx, r11d
shr r9, 8
mov r8d, dword [r12 + r8*4 + 0x18e10]
shr rcx, 0x18
xor r8d, dword [r12 + rdx*4 + 0x18a10]
movzx edx, r9b
shr r11, 0x10
xor r8d, dword [r12 + rcx*4 + 0x19210]
movzx ecx, bl
mov r9d, dword [r12 + rdx*4 + 0x18a10]
shr rbx, 0x18
xor r8d, dword [r12 + rcx*4 + 0x18610]
xor r8d, dword [rax + 0x18]
movzx ecx, r11b
xor r9d, dword [r12 + rcx*4 + 0x18e10]
xor r9d, dword [r12 + rbx*4 + 0x19210]
movzx ecx, r10b
xor r9d, dword [r12 + rcx*4 + 0x18610]
xor r9d, dword [rax + 0x1c]
add rax, 0x20
test r14d, r14d
jg 0x1800019b0
mov r11d, edi
mov ebp, r8d
mov ebx, esi
mov esi, r9d
mov ecx, ebx
shr rcx, 8
movzx r8d, cl
mov ecx, ebp
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
mov edi, dword [r12 + r8*4 + 0x18a10]
shr rcx, 0x18
xor edi, dword [r12 + rdx*4 + 0x18e10]
xor edi, dword [r12 + rcx*4 + 0x19210]
movzx ecx, r11b
xor edi, dword [r12 + rcx*4 + 0x18610]
mov ecx, ebp
xor edi, dword [rax]
shr rcx, 8
movzx r8d, cl
mov ecx, r9d
shr rcx, 0x10
movzx edx, cl
mov ecx, r11d
mov r10d, dword [r12 + r8*4 + 0x18a10]
shr rcx, 0x18
xor r10d, dword [r12 + rdx*4 + 0x18e10]
xor r10d, dword [r12 + rcx*4 + 0x19210]
movzx ecx, bl
xor r10d, dword [r12 + rcx*4 + 0x18610]
mov ecx, r11d
xor r10d, dword [rax + 4]
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
shr rcx, 8
movzx edx, cl
mov ecx, ebx
mov r9d, dword [r12 + r8*4 + 0x18e10]
shr rcx, 0x18
shr r11, 8
xor r9d, dword [r12 + rdx*4 + 0x18a10]
movzx edx, r11b
xor r9d, dword [r12 + rcx*4 + 0x19210]
movzx ecx, bpl
shr rbx, 0x10
mov r8d, dword [r12 + rdx*4 + 0x18a10]
shr rbp, 0x18
xor r9d, dword [r12 + rcx*4 + 0x18610]
xor r9d, dword [rax + 8]
movzx ecx, bl
mov ebx, edi
mov r11d, r9d
mov r9d, r10d
xor r8d, dword [r12 + rcx*4 + 0x18e10]
xor r8d, dword [r12 + rbp*4 + 0x19210]
movzx ecx, sil
xor r8d, dword [r12 + rcx*4 + 0x18610]
xor r8d, dword [rax + 0xc]
mov ecx, r8d
shr rcx, 0x18
mov esi, r8d
movzx edi, byte [rcx + r12 + 0x19640]
mov ecx, r11d
shr rcx, 0x10
movzx edx, cl
shl edi, 8
movzx ecx, byte [rdx + r12 + 0x19640]
xor edi, ecx
mov ecx, r10d
shr rcx, 8
shl edi, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0x19640]
xor edi, ecx
movzx ecx, bl
shl edi, 8
movzx ecx, byte [rcx + r12 + 0x19640]
xor edi, ecx
xor edi, dword [rax + 0x10]
mov ecx, r8d
shr rcx, 0x10
movzx edx, cl
mov ecx, ebx
shr rcx, 0x18
mov byte [r15], dil
movzx r10d, byte [rdx + r12 + 0x19640]
movzx ecx, byte [rcx + r12 + 0x19640]
shl ecx, 8
xor r10d, ecx
mov ecx, r11d
shr rcx, 8
movzx edx, cl
shl r10d, 8
movzx ecx, byte [rdx + r12 + 0x19640]
xor r10d, ecx
movzx ecx, r9b
shl r10d, 8
movzx ecx, byte [rcx + r12 + 0x19640]
xor r10d, ecx
mov ecx, ebx
xor r10d, dword [rax + 0x14]
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
shr r9, 0x10
shr rbx, 8
movzx r8d, byte [rdx + r12 + 0x19640]
movzx ecx, byte [rcx + r12 + 0x19640]
shl ecx, 8
xor r8d, ecx
mov byte [r15 + 4], r10b
shl r8d, 8
mov ecx, esi
shr rcx, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0x19640]
xor r8d, ecx
movzx ecx, r11b
shl r8d, 8
shr r11, 0x18
movzx ecx, byte [rcx + r12 + 0x19640]
xor r8d, ecx
movzx ecx, r9b
xor r8d, dword [rax + 0x18]
movzx edx, byte [r11 + r12 + 0x19640]
shl edx, 8
movzx ecx, byte [rcx + r12 + 0x19640]
xor edx, ecx
mov byte [r15 + 8], r8b
shl edx, 8
movzx ecx, bl
movzx ecx, byte [rcx + r12 + 0x19640]
xor edx, ecx
movzx ecx, sil
shl edx, 8
movzx ecx, byte [rcx + r12 + 0x19640]
xor edx, ecx
xor edx, dword [rax + 0x1c]
mov eax, edi
shr eax, 8
mov byte [r15 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r15 + 2], al
mov eax, r10d
shr eax, 8
mov byte [r15 + 5], al
mov eax, r10d
shr eax, 0x10
mov byte [r15 + 6], al
mov eax, r8d
shr eax, 8
mov byte [r15 + 9], al
mov eax, r8d
shr edi, 0x18
shr r10d, 0x18
shr eax, 0x10
mov byte [r15 + 3], dil
mov byte [r15 + 7], r10b
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [r15 + 0xa], al
mov eax, edx
shr eax, 8
mov byte [r15 + 0xd], al
mov eax, edx
shr eax, 0x10
shr r8d, 0x18
mov byte [r15 + 0xc], dl
shr edx, 0x18
mov byte [r15 + 0xe], al
xor eax, eax
mov byte [r15 + 0xb], r8b
mov byte [r15 + 0xf], dl
pop r15
pop r14
pop r12
ret