Function at 0x18013f080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180476ea8]
xor rax, rsp
mov qword [rbp - 8], rax
cmp dword [rcx + 0xc], 1
movzx r15d, r9b
movzx r12d, r8b
mov rdi, rdx
mov rsi, rcx
jl 0x18013f0c6
mov r9d, dword [rdx + 0x18]
mov rax, qword [rcx]
inc r9d
mov dword [rax + 0x1b8], r9d
movsxd rax, dword [rdx]
cmp eax, 5
ja case.default.0x18013f0eb
lea rdx, [0x180000000]
mov qword [rsp + 0x80], r14
mov ecx, dword [rdx + rax*4 + 0x13f390]
add rcx, rdx
jmp rcx
mov rbx, qword [rsi]
mov eax, r12d
movzx ecx, byte [rdi + 4]
mov rdx, qword [rbx + 0x30]
test r15b, r15b
je 0x18013f128
shl eax, 8
or eax, ecx
lea rcx, [rbx + 0x28]
shl eax, 8
or eax, 0x52
mov dword [rbp - 0x10], eax
cmp rdx, qword [rbx + 0x38]
je 0x18013f314
mov dword [rdx], eax
add qword [rbx + 0x30], 4
jmp 0x18013f31d
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x52
jmp 0x18013f2fe
movzx ecx, byte [rdi + 5]
mov eax, 0xfb
lea edx, [rax - 0x1d]
jmp 0x18013f2e6
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
call fcn.18012fda0
mov r14d, eax
test eax, eax
js 0x18013f36b
mov rdx, qword [rdi + 0x10]
mov rbx, qword [rsi]
mov r8, rdx
movups xmm0, xmmword [rdi + 8]
movaps xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x18013f1ac
mov r9, qword [rbp - 0x20]
nop dword [rax]
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 0x18013f190
movzx ecx, dl
mov eax, getservbyname
shl ecx, 0x10
mov edx, 0x18
or ecx, r12d
shl ecx, 8
test r15b, r15b
cmovne eax, edx
mov rdx, qword [rbx + 0x30]
or ecx, eax
mov dword [rbp - 0x10], ecx
cmp rdx, qword [rbx + 0x38]
je 0x18013f1e0
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18013f1ed
lea r8, [rbp - 0x10]
lea rcx, [rbx + 0x28]
call fcn.180135a80
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x18013f20e
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013f213
call fcn.180135a80
mov rbx, qword [rsi]
mov dword [rbp - 0x10], r14d
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x18013f314
mov dword [rdx], r14d
add qword [rbx + 0x30], 4
jmp 0x18013f31d
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
call fcn.18012fda0
mov r14d, eax
test eax, eax
js 0x18013f37c
mov rdx, qword [rdi + 0x10]
mov rbx, qword [rsi]
mov r8, rdx
movups xmm0, xmmword [rdi + 8]
movaps xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x18013f29c
mov r9, qword [rbp - 0x20]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + r9 - 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 0x18013f280
movzx ecx, byte [rdi + 4]
movzx eax, dl
shl eax, 8
or ecx, eax
mov eax, 0x4d
shl ecx, 8
lea edx, [rax - 0x1d]
jmp 0x18013f1bc
movzx eax, byte [rdi + 4]
mov edx, 0xf6
movzx ecx, byte [rdi + 7]
shl ecx, 8
or ecx, eax
mov eax, reloc.WS2_32.dll_send
jmp 0x18013f2e6
movzx eax, byte [rdi + 4]
movzx ecx, byte [rdi + 6]
shl ecx, 8
or ecx, eax
mov eax, 0x87
lea edx, [rax - 0x1d]
mov rbx, qword [rsi]
shl ecx, 8
or ecx, r12d
shl ecx, 8
test r15b, r15b
cmovne eax, edx
mov rdx, qword [rbx + 0x30]
or ecx, eax
mov dword [rbp - 0x10], ecx
cmp rdx, qword [rbx + 0x38]
je 0x18013f310
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18013f31d
lea rcx, [rbx + 0x28]
lea r8, [rbp - 0x10]
call fcn.180135a80
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x18013f33e
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013f343
call fcn.180135a80
mov r14, qword [rsp + 0x80]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1803831e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.180136580
int3
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.180136580
int3