Function at 0x18006c790
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x180248b00]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [rcx + 0xc], 1
mov rdi, rdx
movzx r14d, r9b
mov rsi, rcx
movzx r15d, r8b
jl 0x18006c7d0
mov r10d, dword [rdx + 0x18]
mov rax, qword [rcx]
inc r10d
mov dword [rax + 0x1b8], r10d
movsxd rax, dword [rdx]
cmp eax, 5
ja case.default.0x18006c7f5
lea rdx, [0x180000000]
mov qword [rsp + 0x80], rbp
mov ecx, dword [rdx + rax*4 + 0x6ca64]
add rcx, rdx
jmp rcx
mov rbx, qword [rsi]
mov eax, r15d
movzx ecx, byte [rdi + 4]
mov rdx, qword [rbx + 0x30]
test r9b, r9b
je 0x18006c833
shl eax, 8
or eax, ecx
lea rcx, [rbx + 0x28]
shl eax, 8
or eax, 6
mov dword [rsp + 0x30], eax
cmp rdx, qword [rbx + 0x38]
je 0x18006c9f1
mov dword [rdx], eax
add qword [rbx + 0x30], 4
jmp 0x18006c9fb
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 6
jmp 0x18006c9da
movzx ecx, byte [rdi + 5]
lea eax, [r14 + 9]
jmp 0x18006c9c8
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.18005ea60
mov ebp, eax
test eax, eax
js 0x18006ca42
mov rdx, qword [rdi + 0x10]
mov rbx, qword [rsi]
mov r8, rdx
movups xmm1, xmmword [rdi + 8]
test rdx, rdx
je 0x18006c8ac
movq r9, xmm1
nop dword [rax + rax]
movzx ecx, byte [r9 + r8 - 1]
mov eax, edx
shl eax, 5
add ecx, eax
mov eax, edx
shr eax, 2
add ecx, eax
xor edx, ecx
sub r8, 1
jne 0x18006c890
movzx ecx, dl
lea eax, [r14 + 7]
shl ecx, 0x10
mov rdx, qword [rbx + 0x30]
or ecx, r15d
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x30], ecx
cmp rdx, qword [rbx + 0x38]
je 0x18006c8d5
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18006c8e3
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 0x18006c904
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18006c909
call fcn.18004a840
mov rbx, qword [rsi]
mov dword [rsp + 0x30], ebp
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x18006c9f1
mov dword [rdx], ebp
add qword [rbx + 0x30], 4
jmp 0x18006c9fb
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.18005ea60
mov ebp, eax
test eax, eax
js 0x18006ca53
mov rdx, qword [rdi + 0x10]
mov rbx, qword [rsi]
mov r8, rdx
movups xmm1, xmmword [rdi + 8]
test rdx, rdx
je 0x18006c98c
movq r9, xmm1
nop word [rax + rax]
movzx ecx, byte [r9 + r8 - 1]
mov eax, edx
shl eax, 5
add ecx, eax
mov eax, edx
shr eax, 2
add ecx, eax
xor edx, ecx
sub r8, 1
jne 0x18006c970
movzx ecx, byte [rdi + 4]
movzx eax, dl
shl eax, 8
or ecx, eax
lea eax, [r14 + 0xf]
shl ecx, 8
jmp 0x18006c8b6
movzx eax, byte [rdi + 4]
movzx ecx, byte [rdi + 7]
shl ecx, 8
or ecx, eax
lea eax, [r14 + 0x11]
jmp 0x18006c9c8
movzx eax, byte [rdi + 4]
movzx ecx, byte [rdi + 6]
shl ecx, 8
or ecx, eax
lea eax, [r14 + 0xd]
mov rbx, qword [rsi]
shl ecx, 8
or ecx, r15d
shl ecx, 8
mov rdx, qword [rbx + 0x30]
or ecx, eax
mov dword [rsp + 0x30], ecx
cmp rdx, qword [rbx + 0x38]
je 0x18006c9ed
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18006c9fb
lea rcx, [rbx + 0x28]
lea r8, [rsp + 0x30]
call fcn.18004a840
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x18006ca1c
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18006ca21
call fcn.18004a840
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18017a790
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.1800642d0
int3
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.1800642d0
int3