Function at 0x18013d4f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x180476ea8]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx r12d, r8b
mov byte [rsp + 0x30], r12b
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0xc], 1
jl 0x18013d536
mov rcx, qword [rcx]
mov eax, dword [rdx + 0xc]
inc eax
mov dword [rcx + 0x1b8], eax
xor ebx, ebx
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + 8]
mov r15d, ebx
cmp ecx, dword [0x18047b8a8]
cmove r15, rax
test r15, r15
je 0x18013d56a
mov rcx, qword [r15 + 0x20]
mov eax, dword [0x18047b918]
cmp dword [rcx + 8], eax
cmove rbx, rcx
mov rbp, rbx
mov rbx, r14
jmp 0x18013d57a
mov rbp, rbx
cmp ecx, dword [0x18047b918]
cmove rbp, rax
mov r15, r14
mov rdi, 0xffffffffffffffff
test rbp, rbp
je 0x18013d75c
cmp dword [rsi + 8], 1
jl 0x18013d75c
lea rcx, [rsi + 0x90]
mov rdx, qword [rbp + 0x20]
call fcn.18012d3f0
test eax, eax
jne 0x18013d75c
mov rax, rdx
mov qword [rsp + 0x40], rdx
mov rdx, rdi
inc rdx
cmp byte [rax + rdx], 0
jne 0x18013d5b7
mov qword [rsp + 0x48], rdx
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi]
call fcn.18012fda0
mov ebp, eax
mov rdx, qword [r15 + 0x28]
mov qword [rsp + 0x40], rdx
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x18013d5e0
mov qword [rsp + 0x48], r8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi]
call fcn.18012fda0
mov r15d, eax
test rbx, rbx
je 0x18013d630
mov rdx, qword [rbx + 0x28]
mov qword [rsp + 0x40], rdx
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x18013d610
mov qword [rsp + 0x48], r8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi]
call fcn.18012fda0
mov ecx, eax
jmp 0x18013d632
mov ecx, edi
test ebp, ebp
js 0x18013d901
test r15d, r15d
js 0x18013d901
test rbx, rbx
je 0x18013d650
test ecx, ecx
js 0x18013d901
cmp ebp, 0x400
jge 0x18013d75c
cmp r15d, 0x400
jge 0x18013d75c
cmp ecx, 0x400
jge 0x18013d75c
shl ebp, 0xa
or ebp, r15d
shl ebp, 0xa
mov eax, ebp
or eax, ecx
or eax, 0xc0000000
bts ebp, 0x1f
test rbx, rbx
cmovne ebp, eax
mov edx, ebp
mov rcx, qword [rsi]
call fcn.18012ff00
cmp eax, 0x7fff
ja 0x18013d75c
mov rbx, qword [rsi]
movzx ecx, ax
shl ecx, 8
or ecx, r12d
shl ecx, 8
or ecx, 0xa4
mov dword [rsp + 0x60], ecx
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x18013d6d2
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18013d6e0
lea r8, [rsp + 0x60]
lea rcx, [rbx + 0x28]
call fcn.180135a80
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
mov rdx, qword [rbx + 0x48]
cmp rdx, qword [rbx + 0x50]
je 0x18013d701
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013d706
call fcn.180135a80
mov rbx, qword [rsi]
mov dword [rsp + 0x60], ebp
lea rcx, [rbx + 0x28]
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x18013d724
mov dword [rdx], ebp
add qword [rbx + 0x30], 4
jmp 0x18013d72e
lea r8, [rsp + 0x60]
call fcn.180135a80
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
mov rdx, qword [rbx + 0x48]
cmp rdx, qword [rbx + 0x50]
je 0x18013d752
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013d8cb
call fcn.180135a80
jmp 0x18013d8cb
mov qword [rsp + 0x50], rsi
mov r13d, dword [rsi + 0x40c]
mov dword [rsp + 0x58], r13d
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
call fcn.18013e7d0
movzx r12d, al
cmp dword [rsi + 0xc], 1
jl 0x18013d792
mov rdx, qword [rsi]
mov ecx, dword [r14 + 0x30]
inc ecx
mov dword [rdx + 0x1b8], ecx
mov rbx, qword [r14 + 0x28]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x18013d796
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi]
call fcn.18012fda0
mov r15d, eax
test eax, eax
js 0x18013d8f0
mov rbp, qword [rsi]
mov rdx, rdi
test rdi, rdi
je 0x18013d7f1
lea r8, [rbx - 1]
add r8, rdx
mov ecx, edi
shl ecx, 5
mov eax, edi
shr eax, 2
add ecx, eax
movzx eax, byte [r8]
add ecx, eax
xor edi, ecx
lea r8, [r8 - 1]
sub rdx, 1
jne 0x18013d7d3
movzx ecx, dil
shl ecx, 8
or ecx, r12d
shl ecx, 8
movzx eax, byte [rsp + 0x30]
or ecx, eax
shl ecx, 8
or ecx, 0x4d
mov dword [rsp + 0x60], ecx
mov rdx, qword [rbp + 0x30]
cmp rdx, qword [rbp + 0x38]
je 0x18013d822
mov dword [rdx], ecx
add qword [rbp + 0x30], 4
jmp 0x18013d830
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x28]
call fcn.180135a80
lea rcx, [rbp + 0x40]
lea r8, [rbp + 0x1b8]
mov rdx, qword [rbp + 0x48]
cmp rdx, qword [rbp + 0x50]
je 0x18013d851
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbp + 0x48], 4
jmp 0x18013d856
call fcn.180135a80
mov rbx, qword [rsi]
mov dword [rsp + 0x60], r15d
lea rcx, [rbx + 0x28]
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x18013d876
mov dword [rdx], r15d
add qword [rbx + 0x30], 4
jmp 0x18013d880
lea r8, [rsp + 0x60]
call fcn.180135a80
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
mov rdx, qword [rbx + 0x48]
cmp rdx, qword [rbx + 0x50]
je 0x18013d8a1
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013d8a6
call fcn.180135a80
mov dword [rsp + 0x20], 2
mov r9d, 4
mov r8d, r12d
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
call fcn.180143830
nop
mov dword [rsi + 0x40c], r13d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1803831e0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [r14 + 0xc]
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
call fcn.180136580
nop
lea rcx, [r14 + 0xc]
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
call fcn.180136580
int3