Function at 0x140017c50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14018ef00]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 0xc], 1
mov rdi, rdx
movzx ebp, r9b
mov rsi, rcx
movzx r14d, r8b
jl 0x140017c8c
mov ecx, dword [rdx + 0x18]
mov rax, qword [rsi]
inc ecx
mov dword [rax + 0x1b8], ecx
movsxd rax, dword [rdx]
cmp eax, 5
ja case.default.0x140017cb1
lea rdx, [0x140000000]
mov qword [rsp + 0x90], r15
mov ecx, dword [rdx + rax*4 + 0x17f44]
add rcx, rdx
jmp rcx
mov rbx, qword [rsi]
mov eax, r14d
movzx ecx, byte [rdi + 4]
mov rdx, qword [rbx + 0x30]
test r9b, r9b
je 0x140017cef
shl eax, 8
or eax, ecx
lea rcx, [rbx + 0x28]
shl eax, 8
or eax, 6
mov dword [rsp + 0x40], eax
cmp rdx, qword [rbx + 0x38]
je 0x140017ea8
mov dword [rdx], eax
add qword [rbx + 0x30], 4
jmp 0x140017eb2
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 6
jmp 0x140017d15
movzx ecx, byte [rdi + 5]
lea eax, [rbp + 9]
mov rbx, qword [rsi]
shl ecx, 8
or ecx, r14d
shl ecx, 8
mov rdx, qword [rbx + 0x30]
or ecx, eax
mov dword [rsp + 0x40], ecx
cmp rdx, qword [rbx + 0x38]
je 0x140017d28
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x140017d36
lea r8, [rsp + 0x40]
lea rcx, [rbx + 0x28]
call fcn.14000e340
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x140017ed3
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x140017eff
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400090b0
mov r15d, eax
test eax, eax
js 0x140017f1f
mov rdx, qword [rdi + 0x10]
mov rbx, qword [rsi]
mov r8, rdx
movups xmm1, xmmword [rdi + 8]
test rdx, rdx
je 0x140017dbc
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 0x140017da0
movzx ecx, dl
lea eax, [rbp + 7]
mov rdx, qword [rbx + 0x30]
shl ecx, 0x10
or ecx, r14d
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x40], ecx
cmp rdx, qword [rbx + 0x38]
je 0x140017de4
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x140017df2
lea r8, [rsp + 0x40]
lea rcx, [rbx + 0x28]
call fcn.14000e340
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x140017e13
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x140017e88
call fcn.14000e340
jmp 0x140017e88
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400090b0
mov r15d, eax
test eax, eax
js 0x140017f30
mov r8, qword [rdi + 0x10]
mov rdx, r8
movups xmm1, xmmword [rdi + 8]
test r8, r8
je 0x140017e6f
movq r9, xmm1
movzx ecx, byte [rdx + r9 - 1]
mov eax, r8d
shl eax, 5
add ecx, eax
mov eax, r8d
shr eax, 2
add ecx, eax
xor r8d, ecx
sub rdx, 1
jne 0x140017e50
movzx r9d, byte [rdi + 4]
lea edx, [rbp + 0xf]
mov rcx, qword [rsi]
mov byte [rsp + 0x20], r8b
movzx r8d, r14b
call fcn.140009690
mov rbx, qword [rsi]
mov dword [rsp + 0x40], r15d
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x140017ea8
mov dword [rdx], r15d
add qword [rbx + 0x30], 4
jmp 0x140017eb2
lea r8, [rsp + 0x40]
call fcn.14000e340
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x140017ed3
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x140017eff
call fcn.14000e340
jmp 0x140017eff
movzx eax, byte [rdi + 7]
lea edx, [rbp + 0x11]
jmp 0x140017eea
movzx eax, byte [rdi + 6]
lea edx, [rbp + 0xd]
movzx r9d, byte [rdi + 4]
movzx r8d, r14b
mov rcx, qword [rsi]
mov byte [rsp + 0x20], al
call fcn.140009690
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140139630
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.14000f210
int3
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.14000f210
int3