Function at 0x18003ff30
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 r10d, dword [rcx + 4]
mov r14, rcx
mov r9d, dword [rcx]
mov eax, r10d
shr eax, 4
xor eax, r9d
and eax, 0xf0f0f0f
xor r9d, eax
shl eax, 4
xor r10d, eax
mov eax, r9d
shr eax, 0x10
xor eax, r10d
movzx ecx, ax
xor r10d, ecx
shl ecx, 0x10
mov eax, r10d
xor r9d, ecx
shr eax, 2
xor eax, r9d
and eax, 0x33333333
xor r9d, eax
lea eax, [rax*4]
xor r10d, eax
mov eax, r9d
shr eax, 8
xor eax, r10d
and eax, 0xff00ff
xor r10d, eax
shl eax, 8
xor r9d, eax
mov eax, r10d
shr eax, 1
xor eax, r9d
and eax, 0x55555555
xor r9d, eax
add eax, eax
xor r10d, eax
mov eax, r9d
shr eax, 0x1d
lea ebx, [rax + r9*8]
mov eax, r10d
shr eax, 0x1d
lea edi, [rax + r10*8]
lea rax, [0x1800c5210]
test r8d, r8d
je 0x180040142
lea r11, [rdx + 0xc]
mov esi, 8
nop
mov r10d, dword [r11 - 0xc]
lea r11, [r11 + 0x10]
mov edx, ebx
mov ecx, ebx
xor edx, dword [r11 - 0x18]
xor r10, rcx
mov r9d, edx
shr edx, 4
shl r9d, 0x1c
add r9d, edx
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 edx, edi
mov r8d, edi
xor edx, dword [r11 - 0x10]
xor r9, r8
mov r10d, edx
mov rcx, r9
shr rcx, 0xa
and ecx, 0x3f
shl r10d, 0x1c
shr edx, 4
add r10d, edx
mov rdx, r9
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]
xor ebx, r8d
sub rsi, 1
jne 0x18003fff0
jmp 0x18004065c
lea r11, [rdx + 0x74]
mov esi, 2
nop dword [rax + rax]
mov r9d, dword [r11 + 4]
mov edx, ebx
xor edx, dword [r11 + 8]
mov r10d, edx
mov ecx, ebx
xor r9, rcx
shr edx, 4
shl r10d, 0x1c
mov rcx, r9
shr rcx, 0xa
add r10d, edx
and ecx, 0x3f
mov rdx, r9
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 r9d, dword [r11 - 4]
xor edi, r8d
mov r8d, edi
mov edx, edi
xor edx, dword [r11]
xor r9, r8
mov r10d, edx
mov rcx, r9
shr rcx, 0xa
and ecx, 0x3f
shl r10d, 0x1c
shr edx, 4
add r10d, edx
mov rdx, r9
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
shr r10, 0x1a
and ecx, 0x3f
xor r8d, dword [rax + rcx*4 + 0x100]
xor r8d, dword [rax + r9*4 + 0x600]
xor r8d, dword [rax + r10*4 + 0x700]
xor ebx, r8d
mov edx, ebx
mov r8d, ebx
xor edx, dword [r11 - 8]
mov r10d, edx
shl r10d, 0x1c
mov r9d, dword [r11 - 0xc]
xor r9, r8
shr edx, 4
add r10d, edx
mov rcx, r9
shr rcx, 0xa
mov rdx, r9
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 r9d, dword [r11 - 0x14]
xor edi, r8d
mov r8d, edi
mov edx, edi
xor edx, dword [r11 - 0x10]
xor r9, r8
mov r10d, edx
mov rcx, r9
shr rcx, 0xa
and ecx, 0x3f
shl r10d, 0x1c
shr edx, 4
add r10d, edx
mov rdx, r9
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 - 0x1c]
xor ebx, r8d
mov edx, ebx
mov r8d, ebx
xor edx, dword [r11 - 0x18]
mov r10d, edx
shr edx, 4
shl r10d, 0x1c
add r10d, edx
xor r9, r8
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]
mov r9d, dword [r11 - 0x24]
xor edi, r8d
mov r8d, edi
mov edx, edi
xor edx, dword [r11 - 0x20]
xor r9, r8
mov r10d, edx
mov rcx, r9
shr rcx, 0xa
and ecx, 0x3f
shr edx, 4
shl r10d, 0x1c
add r10d, edx
mov rdx, r9
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
shr r10, 0x1a
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 - 0x2c]
xor ebx, r8d
mov edx, ebx
mov r8d, ebx
xor edx, dword [r11 - 0x28]
xor r9, r8
mov r10d, edx
mov rcx, r9
shr edx, 4
shl r10d, 0x1c
add r10d, edx
shr rcx, 0xa
mov rdx, r9
shr rdx, 0x12
and edx, 0x3f
and ecx, 0x3f
mov r8d, dword [rax + rdx*4 + 0x400]
lea r11, [r11 - 0x40]
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 r9d, dword [r11 + 0xc]
xor edi, r8d
mov edx, edi
mov r8d, edi
xor edx, dword [r11 + 0x10]
xor r9, r8
mov r10d, edx
mov rcx, r9
shr rcx, 0xa
and ecx, 0x3f
shl r10d, 0x1c
shr edx, 4
add r10d, edx
mov rdx, r9
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]
xor ebx, r8d
sub rsi, 1
jne 0x180040150
mov rsi, qword [rsp + 0x10]
mov edx, ebx
shl edx, 0x1d
mov r8d, edi
shl r8d, 0x1d
shr ebx, 3
add edx, ebx
shr edi, 3
mov rbx, qword [rsp + 8]
add r8d, edi
mov rdi, qword [rsp + 0x18]
mov eax, edx
shr eax, 1
xor eax, r8d
and eax, 0x55555555
xor r8d, eax
add eax, eax
xor edx, eax
mov eax, r8d
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor r8d, eax
mov eax, edx
shr eax, 2
xor eax, r8d
and eax, 0x33333333
xor r8d, eax
lea eax, [rax*4]
xor edx, eax
mov eax, r8d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r8d, ecx
mov ecx, edx
shr ecx, 4
xor ecx, r8d
and ecx, 0xf0f0f0f
mov eax, ecx
shl ecx, 4
xor ecx, edx
xor eax, r8d
mov dword [r14 + 4], ecx
mov dword [r14], eax
mov r14, qword [rsp + 0x20]
ret