Function at 0x180004ffc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r15
movzx r9d, byte [rdx]
movzx eax, byte [rdx + 1]
mov rbx, r8
movzx r8d, byte [rdx + 4]
shl r9d, 8
lea rsi, [rcx + 4]
or r9d, eax
movzx eax, byte [rdx + 2]
shl r8d, 8
shl r9d, 8
mov ebp, 0xf0f0f0f
mov r12d, 0x33333333
or r9d, eax
movzx eax, byte [rdx + 3]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + 5]
or r8d, eax
movzx eax, byte [rdx + 6]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 7]
shl r8d, 8
or r8d, eax
mov eax, r9d
shr eax, 4
xor eax, r8d
and eax, ebp
xor r8d, eax
shl eax, 4
xor r9d, eax
mov eax, r9d
shr eax, 0x10
xor eax, r8d
movzx ecx, ax
xor r8d, ecx
shl ecx, 0x10
xor r9d, ecx
mov eax, r8d
shr eax, 2
xor eax, r9d
and eax, r12d
lea r12, [0x180000000]
xor r9d, eax
shl eax, 2
xor r8d, eax
mov r10d, r8d
shr r10d, 8
xor r10d, r9d
and r10d, 0xff00ff
xor r9d, r10d
shl r10d, 8
xor r10d, r8d
rol r10d, 1
mov r11d, r10d
xor r11d, r9d
and r11d, 0xaaaaaaaa
xor r10d, r11d
xor r11d, r9d
mov r9d, 8
lea r15d, [r9 + 0x37]
rol r11d, 1
mov edi, r9d
mov eax, dword [rsi]
add rsi, 0x10
xor eax, r10d
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [r12 + rcx*4 + 0x38c60]
xor edx, dword [r12 + rax*4 + 0x38e60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [r12 + rax*4 + 0x39060]
mov eax, r10d
xor edx, dword [r12 + r8*4 + 0x39260]
xor r11d, edx
ror eax, 4
xor eax, dword [rsi - 0xc]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [r12 + rcx*4 + 0x38b60]
xor edx, dword [r12 + rax*4 + 0x38d60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [r12 + rax*4 + 0x38f60]
mov eax, dword [rsi - 8]
xor edx, dword [r12 + r8*4 + 0x39160]
xor r11d, edx
xor eax, r11d
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [r12 + rcx*4 + 0x38c60]
xor edx, dword [r12 + rax*4 + 0x38e60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [r12 + rax*4 + 0x39060]
mov eax, r11d
xor edx, dword [r12 + r8*4 + 0x39260]
xor r10d, edx
ror eax, 4
xor eax, dword [rsi - 4]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [r12 + rcx*4 + 0x38b60]
xor edx, dword [r12 + rax*4 + 0x38d60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [r12 + rax*4 + 0x38f60]
xor edx, dword [r12 + r8*4 + 0x39160]
xor r10d, edx
dec rdi
jne 0x1800050f6
mov rdi, r9
mov r12d, 0x33333333
lea rbp, [0x180000000]
mov eax, dword [rsi]
add rsi, 0x10
xor eax, r11d
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rbp + rcx*4 + 0x38c60]
xor edx, dword [rbp + rax*4 + 0x38e60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rbp + rax*4 + 0x39060]
mov eax, r11d
xor edx, dword [rbp + r8*4 + 0x39260]
xor r10d, edx
ror eax, 4
xor eax, dword [rsi - 0xc]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rbp + rcx*4 + 0x38b60]
xor edx, dword [rbp + rax*4 + 0x38d60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rbp + rax*4 + 0x38f60]
mov eax, dword [rsi - 8]
xor edx, dword [rbp + r8*4 + 0x39160]
xor r10d, edx
xor eax, r10d
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rbp + rcx*4 + 0x38c60]
xor edx, dword [rbp + rax*4 + 0x38e60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rbp + rax*4 + 0x39060]
mov eax, r10d
xor edx, dword [rbp + r8*4 + 0x39260]
xor r11d, edx
ror eax, 4
xor eax, dword [rsi - 4]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rbp + rcx*4 + 0x38b60]
xor edx, dword [rbp + rax*4 + 0x38d60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rbp + rax*4 + 0x38f60]
xor edx, dword [rbp + r8*4 + 0x39160]
xor r11d, edx
dec rdi
jne 0x18000523c
mov ebp, 0xf0f0f0f
lea rdi, [0x180000000]
mov eax, dword [rsi]
add rsi, 0x10
xor eax, r10d
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rdi + rcx*4 + 0x38c60]
xor edx, dword [rdi + rax*4 + 0x38e60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rdi + rax*4 + 0x39060]
mov eax, r10d
xor edx, dword [rdi + r8*4 + 0x39260]
xor r11d, edx
ror eax, 4
xor eax, dword [rsi - 0xc]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rdi + rcx*4 + 0x38b60]
xor edx, dword [rdi + rax*4 + 0x38d60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rdi + rax*4 + 0x38f60]
mov eax, dword [rsi - 8]
xor edx, dword [rdi + r8*4 + 0x39160]
xor r11d, edx
xor eax, r11d
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rdi + rcx*4 + 0x38c60]
xor edx, dword [rdi + rax*4 + 0x38e60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rdi + rax*4 + 0x39060]
mov eax, r11d
xor edx, dword [rdi + r8*4 + 0x39260]
xor r10d, edx
ror eax, 4
xor eax, dword [rsi - 4]
mov ecx, eax
mov r8d, eax
shr rax, 0x10
and rax, r15
shr rcx, 0x18
and rcx, r15
mov edx, dword [rdi + rcx*4 + 0x38b60]
xor edx, dword [rdi + rax*4 + 0x38d60]
mov eax, r8d
and r8, r15
shr rax, 8
and rax, r15
xor edx, dword [rdi + rax*4 + 0x38f60]
xor edx, dword [rdi + r8*4 + 0x39160]
xor r10d, edx
dec r9
jne 0x180005372
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
ror r10d, 1
mov edx, r10d
xor edx, r11d
and edx, 0xaaaaaaaa
xor r10d, edx
xor edx, r11d
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, r10d
and eax, 0xff00ff
xor r10d, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, r10d
and eax, r12d
xor r10d, eax
shl eax, 2
xor edx, eax
mov eax, r10d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r10d, ecx
mov eax, r10d
shr eax, 4
xor eax, edx
and eax, ebp
mov rbp, qword [rsp + 0x20]
xor edx, eax
shl eax, 4
xor r10d, eax
mov byte [rbx + 7], dl
mov eax, r10d
mov byte [rbx + 3], r10b
shr eax, 0x18
mov byte [rbx], al
mov eax, r10d
shr eax, 0x10
mov byte [rbx + 1], al
mov eax, r10d
shr eax, 8
mov byte [rbx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [rbx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rbx + 5], al
mov eax, edx
shr eax, 8
mov byte [rbx + 6], al
mov rbx, qword [rsp + 0x18]
xor eax, eax
pop r15
pop r12
ret