Function at 0x1800014c0
Capabilities:
Encode data using xor

Disassembly:
push r12
push r15
sub rsp, 0x68
mov rax, qword [0x1800ac6c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, rdx
mov r12, rcx
movsxd rax, r8d
test r8d, r8d
jne 0x1800014fd
add rdx, rax
nop dword [rax + rax]
movzx eax, byte [rdx]
inc r8d
inc rdx
test al, al
jne 0x1800014f0
movsxd rax, r8d
test r8d, r8d
jle 0x180001785
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
lea r14, [rax - 1]
lea rcx, [rsp + 0x28]
mov rbp, r12
shr r14, 4
sub rbp, rcx
mov r13, r15
inc r14
nop word [rax + rax]
lea rsi, [r13 + 4]
lea rdx, [rsp + 0x29]
mov r8d, 4
mov rcx, rsi
movzx eax, byte [rcx - 4]
add rdx, 4
inc rcx
dec r8
mov byte [rdx - 5], al
movzx eax, byte [rcx - 1]
mov byte [rdx - 4], al
movzx eax, byte [rcx + 3]
mov byte [rdx - 3], al
movzx eax, byte [rcx + 7]
mov byte [rdx - 2], al
jne 0x180001562
xor edx, edx
nop dword [rax]
lea rcx, [rsp + rdx + 0x28]
inc rdx
movzx eax, byte [rcx + rbp + 0x208]
xor byte [rcx], al
movzx eax, byte [rcx + rbp + 0x20c]
xor byte [rcx + 4], al
movzx eax, byte [rcx + rbp + 0x210]
xor byte [rcx + 8], al
movzx eax, byte [rcx + rbp + 0x214]
xor byte [rcx + 0xc], al
cmp rdx, 4
jl 0x180001590
mov edi, 1
lea rbx, [rbp + 0x21c]
nop word [rax + rax]
xor edx, edx
movzx eax, byte [rsp + rdx*4 + 0x28]
inc rdx
movzx ecx, byte [rax + r12 + 8]
movzx eax, byte [rsp + rdx*4 + 0x25]
mov byte [rsp + rdx*4 + 0x24], cl
movzx ecx, byte [rax + r12 + 8]
movzx eax, byte [rsp + rdx*4 + 0x26]
mov byte [rsp + rdx*4 + 0x25], cl
movzx ecx, byte [rax + r12 + 8]
movzx eax, byte [rsp + rdx*4 + 0x27]
mov byte [rsp + rdx*4 + 0x26], cl
movzx ecx, byte [rax + r12 + 8]
mov byte [rsp + rdx*4 + 0x27], cl
cmp rdx, 4
jl 0x1800015e2
mov edx, 4
mov r8d, 3
lea eax, [r8 - 2]
and eax, 0x80000003
jge 0x180001644
dec eax
or eax, 0xfffffffc
inc eax
cdqe
add rax, rdx
movzx r11d, byte [rsp + rax + 0x28]
lea eax, [r8 - 1]
and eax, 0x80000003
jge 0x180001661
dec eax
or eax, 0xfffffffc
inc eax
cdqe
add rax, rdx
movzx r10d, byte [rsp + rax + 0x28]
mov eax, r8d
and eax, 0x80000003
jge 0x18000167d
dec eax
or eax, 0xfffffffc
inc eax
cdqe
add rax, rdx
inc r8d
movzx r9d, byte [rsp + rax + 0x28]
mov eax, r8d
and eax, 0x80000003
jge 0x18000169c
dec eax
or eax, 0xfffffffc
inc eax
cdqe
add rax, rdx
add rdx, 4
movzx ecx, byte [rsp + rax + 0x28]
mov byte [rsp + rdx + 0x24], r11b
mov byte [rsp + rdx + 0x25], r10b
mov byte [rsp + rdx + 0x26], r9b
mov byte [rsp + rdx + 0x27], cl
cmp rdx, 0x10
jl 0x180001632
cmp rdi, 0xa
je 0x1800016d7
lea rcx, [rsp + 0x28]
call fcn.180001c00
xor edx, edx
nop dword [rax]
lea rcx, [rsp + rdx + 0x28]
inc rdx
movzx eax, byte [rcx + rbx - 4]
xor byte [rcx], al
movzx eax, byte [rcx + rbx]
xor byte [rcx + 4], al
movzx eax, byte [rcx + rbx + 4]
xor byte [rcx + 8], al
movzx eax, byte [rcx + rbx + 8]
xor byte [rcx + 0xc], al
cmp rdx, 4
jl 0x1800016e0
inc rdi
add rbx, 0x10
cmp rdi, 0xa
jle 0x1800015e0
lea rdx, [rsp + 0x29]
mov r8d, 4
nop dword [rax + rax]
movzx eax, byte [rdx - 1]
movzx ecx, byte [rdx + 1]
inc rsi
mov byte [rsi - 5], al
movzx eax, byte [rdx]
mov byte [rsi + 3], cl
movzx ecx, byte [rdx + 2]
mov byte [rsi - 1], al
add rdx, 4
dec r8
mov byte [rsi + 7], cl
jne 0x180001730
add r13, 0x10
dec r14
jne 0x180001550
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x90]
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800649e0
add rsp, 0x68
pop r15
pop r12
ret