Function at 0x18006b400
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 [0x180248b00]
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 0x18006b532
mov rdx, qword [rdx + 0x20]
add rcx, 0x90
call fcn.18005c260
cmp eax, 2
je 0x18006b532
mov rax, rdx
mov qword [rsp + 0x20], rdx
mov rdx, rdi
inc rdx
cmp byte [rax + rdx], 0
jne 0x18006b464
mov rcx, qword [r14]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
call fcn.18005ea60
mov esi, eax
test eax, eax
js 0x18006b660
cmp eax, 0x400
jge 0x18006b532
mov rcx, qword [r14]
bts esi, 0xa
shl esi, 0x14
mov edx, esi
call fcn.18005ebc0
cmp eax, 0x7fff
ja 0x18006b532
mov rbx, qword [r14]
movzx ecx, ax
shl ecx, 8
or ecx, r12d
mov rdx, qword [rbx + 0x30]
shl ecx, 8
or ecx, 0xc
mov dword [rsp + 0x30], ecx
cmp rdx, qword [rbx + 0x38]
je 0x18006b4d9
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18006b4e7
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0x28]
call fcn.18004a840
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x18006b508
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18006b50d
call fcn.18004a840
mov rbx, qword [r14]
mov dword [rsp + 0x30], esi
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x18006b60a
mov dword [rdx], esi
add qword [rbx + 0x30], 4
jmp 0x18006b614
mov rbx, qword [r15 + 0x20]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x18006b536
mov rcx, qword [r14]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
call fcn.18005ea60
mov ebp, eax
test eax, eax
js 0x18006b660
mov rsi, qword [r14]
mov rdx, rdi
test rdi, rdi
je 0x18006b591
lea r8, [rbx - 1]
add r8, rdx
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 0x18006b572
mov rdx, qword [rsi + 0x30]
movzx ecx, dil
shl ecx, 0x10
or ecx, r12d
shl ecx, 8
or ecx, 7
mov dword [rsp + 0x30], ecx
cmp rdx, qword [rsi + 0x38]
je 0x18006b5b8
mov dword [rdx], ecx
add qword [rsi + 0x30], 4
jmp 0x18006b5c6
lea r8, [rsp + 0x30]
lea rcx, [rsi + 0x28]
call fcn.18004a840
mov rdx, qword [rsi + 0x48]
lea rcx, [rsi + 0x40]
lea r8, [rsi + 0x1b8]
cmp rdx, qword [rsi + 0x50]
je 0x18006b5e7
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rsi + 0x48], 4
jmp 0x18006b5ec
call fcn.18004a840
mov rbx, qword [r14]
mov dword [rsp + 0x30], ebp
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x18006b60a
mov dword [rdx], ebp
add qword [rbx + 0x30], 4
jmp 0x18006b614
lea r8, [rsp + 0x30]
call fcn.18004a840
mov rdx, qword [rbx + 0x48]
lea r8, [rbx + 0x1b8]
lea rcx, [rbx + 0x40]
cmp rdx, qword [rbx + 0x50]
je 0x18006b635
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18006b63a
call fcn.18004a840
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18017a790
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.1800642d0
int3