Function at 0x140018ea0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
call fcn.140030640
mov r14, rax
xor ebx, ebx
cmp rax, 0xffffffffffffffff
jne 0x140018f4c
movdqa xmm0, xmmword [0x1400666f0]
movdqu xmmword [rbp - 0x21], xmm0
mov dword [rbp - 0x11], 0x3b100e5a
mov word [rbp - 0xd], 0x100
nop dword [rax]
lea eax, [rbx + 0x1e]
xor byte [rbp + rbx - 0x21], al
inc rbx
cmp rbx, 0x14
jb 0x140018f00
mov byte [rbp - 0xc], 0
lea rcx, [rbp - 0x21]
call fcn.140001970
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x25], ebx
xorps xmm0, xmm0
mov word [rbp - 0x29], 0x2846
mov byte [rbp - 0x27], 0x64
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rbx
mov ecx, 3
call fcn.14004de90
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
lea rsi, [rax + 3]
mov qword [rbp + 0x27], rsi
mov r8d, 3
lea rdx, [rbp - 0x29]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x1f], rsi
mov rax, qword [rbp + 0x17]
mov qword [rbp - 9], rax
sub rsi, rax
mov edi, 0xf7
mov r13d, recv
lea r15d, [r13 + 5]
mov r9d, ebx
je 0x140018fdc
mov r8, rax
nop word [rax + rax]
movzx ecx, byte [r8]
inc ecx
mov eax, edi
cdq
idiv ecx
add edi, edx
inc r9d
lea r8, [r8 + 1]
movsxd rax, r9d
cmp rax, rsi
jb 0x140018fc0
mov ecx, 0x3c00
call fcn.14004e1ec
mov r12, rax
mov r10d, ebx
mov rax, rbx
mov r8, r12
lea r9, [0x140078200]
sub r9, r12
mov r11, qword [rbp - 9]
xor edx, edx
div rsi
movzx ecx, byte [rdx + r11]
add edi, ecx
lea ecx, [rdi + 3]
movzx eax, r13b
imul ecx, eax
sar r13d, 0xa
add r13d, ecx
movzx ecx, r15b
lea eax, [rdi + 8]
imul ecx, eax
sar r15d, 0xa
add r15d, ecx
movzx edi, r15b
movzx eax, dil
xor al, byte [r9 + r8]
mov byte [r8], al
inc r10d
lea r8, [r8 + 1]
movsxd rax, r10d
cmp rax, 0x3c00
jb 0x140019000
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov qword [rbp + 0xf], rbx
mov ecx, 0x3c27
call fcn.14004de90
test rax, rax
je 0x140019156
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp - 1], rcx
mov qword [rbp + 7], rcx
lea rdi, [rcx + 0x3c00]
mov qword [rbp + 0xf], rdi
mov r8d, 0x3c00
mov rdx, r12
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 7], rdi
lea rax, [rbp - 0x25]
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 1]
mov rcx, r14
call fcn.140033990
mov rcx, r14
test rax, rax
jne 0x1400190c6
call fcn.140031000
xor dil, dil
jmp 0x1400190ce
call fcn.140031000
mov dil, 1
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140019110
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400190ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019156
call fcn.14004dbe0
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rbx
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14001914d
mov rdx, qword [rbp + 0x27]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019148
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019148
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
movzx eax, dil
jmp 0x140018f1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3