Function at 0x18013dc90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x180476ea8]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [rcx + 8], 1
mov r15, rdx
movzx r12d, r8b
mov r14, rcx
mov rdi, 0xffffffffffffffff
jl 0x18013ddc5
mov rdx, qword [rdx + 0x20]
add rcx, 0x90
call fcn.18012d3f0
cmp eax, 2
je 0x18013ddc5
mov rax, rdx
mov qword [rsp + 0x20], rdx
mov rdx, rdi
inc rdx
cmp byte [rax + rdx], 0
jne 0x18013dcf4
mov rcx, qword [r14]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
call fcn.18012fda0
mov esi, eax
test eax, eax
js 0x18013defe
cmp eax, 0x400
jge 0x18013ddc5
mov rcx, qword [r14]
bts esi, 0xa
shl esi, 0x14
mov edx, esi
call fcn.18012ff00
cmp eax, 0x7fff
ja 0x18013ddc5
mov rbx, qword [r14]
movzx ecx, ax
shl ecx, 8
or ecx, r12d
mov rdx, qword [rbx + 0x30]
shl ecx, 8
or ecx, 0xa4
mov dword [rsp + 0x30], ecx
cmp rdx, qword [rbx + 0x38]
je 0x18013dd6c
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18013dd7a
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0x28]
call fcn.180135a80
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x18013dd9b
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013dda0
call fcn.180135a80
mov rbx, qword [r14]
mov dword [rsp + 0x30], esi
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x18013dea8
mov dword [rdx], esi
add qword [rbx + 0x30], 4
jmp 0x18013deb2
mov rbx, qword [r15 + 0x20]
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x18013ddd0
mov rcx, qword [r14]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
call fcn.18012fda0
mov ebp, eax
test eax, eax
js 0x18013defe
mov rsi, qword [r14]
mov rdx, rdi
test rdi, rdi
je 0x18013de2f
lea r8, [rbx - 1]
add r8, rdx
nop dword [rax]
mov ecx, edi
lea r8, [r8 - 1]
shl ecx, 5
mov eax, edi
shr eax, 2
add ecx, eax
movzx eax, byte [r8 + 1]
add ecx, eax
xor edi, ecx
sub rdx, 1
jne 0x18013de10
mov rdx, qword [rsi + 0x30]
movzx ecx, dil
shl ecx, 0x10
or ecx, r12d
shl ecx, 8
or ecx, 0x35
mov dword [rsp + 0x30], ecx
cmp rdx, qword [rsi + 0x38]
je 0x18013de56
mov dword [rdx], ecx
add qword [rsi + 0x30], 4
jmp 0x18013de64
lea r8, [rsp + 0x30]
lea rcx, [rsi + 0x28]
call fcn.180135a80
mov rdx, qword [rsi + 0x48]
lea rcx, [rsi + 0x40]
lea r8, [rsi + 0x1b8]
cmp rdx, qword [rsi + 0x50]
je 0x18013de85
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rsi + 0x48], 4
jmp 0x18013de8a
call fcn.180135a80
mov rbx, qword [r14]
mov dword [rsp + 0x30], ebp
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x18013dea8
mov dword [rdx], ebp
add qword [rbx + 0x30], 4
jmp 0x18013deb2
lea r8, [rsp + 0x30]
call fcn.180135a80
mov rdx, qword [rbx + 0x48]
lea r8, [rbx + 0x1b8]
lea rcx, [rbx + 0x40]
cmp rdx, qword [rbx + 0x50]
je 0x18013ded3
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013ded8
call fcn.180135a80
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1803831e0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [r15 + 0xc]
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
call fcn.180136580
int3