Function at 0x140040d40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 0xc], 1
mov rdi, rdx
movzx ebp, r9b
mov rbx, rcx
movzx r14d, r8b
jl 0x140040d7c
mov ecx, dword [rdx + 0x18]
mov rax, qword [rbx]
inc ecx
mov dword [rax + 0x1b8], ecx
movsxd rax, dword [rdx]
cmp eax, 5
ja case.default.0x140040da1
lea rdx, [0x140000000]
mov qword [rsp + 0x90], r15
mov ecx, dword [rdx + rax*4 + 0x40fd4]
add rcx, rdx
jmp rcx
mov rbx, qword [rbx]
mov eax, r14d
movzx ecx, byte [rdi + 4]
mov rdx, qword [rbx + 0x30]
test r9b, r9b
je 0x140040ddf
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 0x140040f38
mov dword [rdx], eax
add qword [rbx + 0x30], 4
jmp 0x140040f42
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 6
mov dword [rsp + 0x40], ecx
cmp rdx, qword [rbx + 0x38]
je 0x140040dfd
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x140040e0b
lea r8, [rsp + 0x40]
lea rcx, [rbx + 0x28]
call fcn.140028a60
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x140040f63
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x140040f8f
movzx r9d, byte [rdi + 5]
lea edx, [rbp + 9]
mov byte [rsp + 0x20], 0
jmp 0x140040f83
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140032d90
mov r15d, eax
test eax, eax
js 0x140040faf
mov r8, qword [rdi + 0x10]
mov r9, r8
movups xmm1, xmmword [rdi + 8]
test r8, r8
je 0x140040e9f
movq r10, xmm1
nop dword [rax + rax]
movzx edx, byte [r10 + r9 - 1]
mov eax, r8d
shl eax, 5
add edx, eax
mov eax, r8d
shr eax, 2
add edx, eax
xor r8d, edx
sub r9, 1
jne 0x140040e80
lea edx, [rbp + 7]
xor r9d, r9d
jmp 0x140040f07
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140032d90
mov r15d, eax
test eax, eax
js 0x140040fc0
mov r8, qword [rdi + 0x10]
mov r9, r8
movups xmm1, xmmword [rdi + 8]
test r8, r8
je 0x140040eff
movq r10, xmm1
nop dword [rax]
movzx edx, byte [r9 + r10 - 1]
mov eax, r8d
shl eax, 5
add edx, eax
mov eax, r8d
shr eax, 2
add edx, eax
xor r8d, edx
sub r9, 1
jne 0x140040ee0
movzx r9d, byte [rdi + 4]
lea edx, [rbp + 0xf]
mov rcx, qword [rbx]
mov byte [rsp + 0x20], r8b
movzx r8d, r14b
call fcn.140033370
mov rbx, qword [rbx]
mov dword [rsp + 0x40], r15d
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x140040f38
mov dword [rdx], r15d
add qword [rbx + 0x30], 4
jmp 0x140040f42
lea r8, [rsp + 0x40]
call fcn.140028a60
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x140040f63
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x140040f8f
call fcn.140028a60
jmp 0x140040f8f
movzx eax, byte [rdi + 7]
lea edx, [rbp + 0x11]
jmp 0x140040f7a
movzx eax, byte [rdi + 6]
lea edx, [rbp + 0xd]
movzx r9d, byte [rdi + 4]
mov byte [rsp + 0x20], al
mov rcx, qword [rbx]
movzx r8d, r14b
call fcn.140033370
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ce8a0
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.140038810
int3
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.140038810
int3