Function at 0x18013f020
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 [0x18048aea8]
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 0x18013f066
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.0x18013f08b
lea rdx, [0x180000000]
mov qword [rsp + 0x80], r14
mov ecx, dword [rdx + rax*4 + 0x13f330]
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 0x18013f0c8
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 0x18013f2b4
mov dword [rdx], eax
add qword [rbx + 0x30], 4
jmp 0x18013f2bd
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x52
jmp 0x18013f29e
movzx ecx, byte [rdi + 5]
mov eax, 0xfb
lea edx, [rax - 0x1d]
jmp 0x18013f286
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
call fcn.18012fd30
mov r14d, eax
test eax, eax
js 0x18013f30b
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 0x18013f14c
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 0x18013f130
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 0x18013f180
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18013f18d
lea r8, [rbp - 0x10]
lea rcx, [rbx + 0x28]
call fcn.180135a20
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x18013f1ae
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013f1b3
call fcn.180135a20
mov rbx, qword [rsi]
mov dword [rbp - 0x10], r14d
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x28]
cmp rdx, qword [rbx + 0x38]
je 0x18013f2b4
mov dword [rdx], r14d
add qword [rbx + 0x30], 4
jmp 0x18013f2bd
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
call fcn.18012fd30
mov r14d, eax
test eax, eax
js 0x18013f31c
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 0x18013f23c
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 0x18013f220
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 0x18013f15c
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 0x18013f286
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 0x18013f2b0
mov dword [rdx], ecx
add qword [rbx + 0x30], 4
jmp 0x18013f2bd
lea rcx, [rbx + 0x28]
lea r8, [rbp - 0x10]
call fcn.180135a20
mov rdx, qword [rbx + 0x48]
lea rcx, [rbx + 0x40]
lea r8, [rbx + 0x1b8]
cmp rdx, qword [rbx + 0x50]
je 0x18013f2de
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 0x48], 4
jmp 0x18013f2e3
call fcn.180135a20
mov r14, qword [rsp + 0x80]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180394080
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.180136520
int3
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
lea rcx, [rdi + 0x18]
call fcn.180136520
int3