Function at 0x18006ebf4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov rax, qword [0x1800c33b0]
xor rax, rsp
mov qword [rbp], rax
mov r12d, r8d
lea r13, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r15d, 0x40
lea rcx, [rbp - 0x40]
mov r8d, r15d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x110
mov rcx, r13
call sub.VCRUNTIME140.dll_memset
mov eax, r12d
lea r14d, [r15 - 0x3f]
xor ebx, ebx
sub eax, 0x80
je 0x18006ec83
sub eax, r15d
je 0x18006ec78
cmp eax, r15d
je 0x18006ec78
lea eax, [rbx - 0x24]
jmp 0x18006f20f
mov dword [rdi], 4
mov rdi, r14
jmp 0x18006ec8c
mov dword [rdi], 3
mov rdi, rbx
mov r8, r12
shr r8, 3
test r8, r8
je 0x18006eca4
mov rdx, rsi
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memcpy
cmp r12d, 0xc0
jne 0x18006ecc3
mov rcx, rbx
mov al, byte [rbp + rcx - 0x30]
not al
mov byte [rbp + rcx - 0x28], al
add rcx, r14
cmp rcx, 8
jb 0x18006ecb0
mov rdx, rbx
lea r8, [0x180000000]
movzx eax, byte [rdx + r8 + 0x96d81]
movzx ecx, byte [rdx + r8 + 0x96d80]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 0x96d82]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 0x96d83]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 0x96d85]
mov dword [rsp + rdx + 0x30], ecx
movzx ecx, byte [rdx + r8 + 0x96d84]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 0x96d86]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + r8 + 0x96d87]
shl ecx, 8
or ecx, eax
mov dword [rsp + rdx + 0x34], ecx
add rdx, 8
cmp rdx, 0x30
jb 0x18006eccd
mov r8, r15
lea rcx, [rbp - 0x80]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
movzx eax, byte [rbp + rdx - 0x3f]
movzx ecx, byte [rbp + rdx - 0x40]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp + rdx - 0x3e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp + rdx - 0x3d]
shl ecx, 8
or ecx, eax
mov dword [rbp + rdx - 0x80], ecx
add rdx, 4
cmp rdx, 0x20
jb 0x18006ed56
mov rcx, rbx
mov eax, dword [rbp + rcx*4 - 0x70]
xor eax, dword [rbp + rcx*4 - 0x80]
mov dword [rbp + rcx*4 - 0x60], eax
add rcx, r14
cmp rcx, 4
jb 0x18006ed8a
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.18006e470
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x58]
call fcn.18006e470
movdqu xmm0, xmmword [rbp - 0x80]
lea r8, [rbp - 0x58]
pxor xmm0, xmmword [rbp - 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
movdqu xmmword [rbp - 0x60], xmm0
call fcn.18006e470
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.18006e470
cmp r12d, 0x80
jbe 0x18006ee3b
mov rcx, rbx
mov eax, dword [rbp + rcx*4 - 0x60]
xor eax, dword [rbp + rcx*4 - 0x70]
mov dword [rbp + rcx*4 - 0x50], eax
add rcx, r14
cmp rcx, 4
jb 0x18006ee02
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.18006e470
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.18006e470
movups xmm0, xmmword [rbp - 0x80]
lea rax, [0x180000000]
mov rsi, r14
lea r11, [rsp + 0x44]
mov r15, rdi
lea r14, [rax + 0x971af]
shl r15, 4
mov r10d, recv
add r14, r15
movups xmmword [rsp + 0x30], xmm0
cmp byte [r14 + rsi], bl
je 0x18006eed9
mov edx, dword [rsp + 0x34]
mov r9, r10
mov eax, dword [rsp + 0x30]
and r9d, 0x1f
mov r8d, 0x20
sub r8, r9
mov rcx, r8
shr edx, cl
mov ecx, r9d
shl eax, cl
mov rcx, r8
xor edx, eax
mov dword [r11 - 4], edx
mov edx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x34]
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov dword [r11], edx
mov edx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
shl edx, cl
mov rcx, r8
shr eax, cl
xor edx, eax
mov dword [r11 + 4], edx
mov edx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov dword [r11 + 8], edx
inc rsi
add r10, 0xf
add r11, 0x10
cmp r10, 0x3c
jbe 0x18006ee6a
lea r14, [rdi + rdi*4]
mov rdx, rbx
lea r9, [0x180000000]
shl r14, 4
lea r8, [r9 + 0x971d0]
add r8, r14
cmp byte [r8 + rdx], 0xff
je 0x18006ef1b
movsx rcx, byte [r8 + rdx]
mov eax, dword [rsp + rdx*4 + 0x30]
mov dword [r13 + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x18006ef06
cmp r12d, 0x80
jbe 0x18006f00f
movups xmm0, xmmword [rbp - 0x70]
lea rax, [r9 + 0x971b3]
mov r11d, 1
lea rsi, [rsp + 0x44]
add rax, r15
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
lea r10d, [r11 + 0xe]
cmp byte [rax + r11], bl
je 0x18006efc8
mov eax, dword [rsp + 0x30]
mov r9, r10
mov edx, dword [rsp + 0x34]
and r9d, 0x1f
mov r8d, 0x20
sub r8, r9
mov rcx, r8
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov dword [rsi - 4], edx
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
shl edx, cl
mov rcx, r8
shr eax, cl
xor edx, eax
mov dword [rsi], edx
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
shr edx, cl
mov ecx, r9d
shl eax, cl
mov rcx, r8
xor edx, eax
mov dword [rsi + 4], edx
mov eax, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x30]
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov rax, qword [rsp + 0x20]
mov dword [rsi + 8], edx
inc r11
add r10, 0xf
add rsi, 0x10
cmp r10, 0x3c
jbe 0x18006ef58
lea r9, [0x180000000]
mov rdx, rbx
lea r8, [r9 + 0x971e4]
add r8, r14
cmp byte [r8 + rdx], 0xff
je 0x18006f006
movsx rcx, byte [r8 + rdx]
mov eax, dword [rsp + rdx*4 + 0x30]
mov dword [r13 + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x18006eff1
movups xmm0, xmmword [rbp - 0x60]
lea rax, [r9 + 0x971b7]
mov r11d, 1
lea rsi, [rsp + 0x44]
add rax, r15
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
lea r10d, [r11 + 0xe]
cmp byte [rax + r11], bl
je 0x18006f0a6
mov eax, dword [rsp + 0x34]
mov r8, r10
mov edx, dword [rsp + 0x30]
and r8d, 0x1f
mov ecx, r8d
mov r9d, 0x20
shl edx, cl
sub r9, r8
mov rcx, r9
shr eax, cl
xor edx, eax
mov dword [rsi - 4], edx
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
shr edx, cl
mov ecx, r8d
shl eax, cl
xor edx, eax
mov dword [rsi], edx
mov eax, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
shl edx, cl
mov rcx, r9
shr eax, cl
mov ecx, r8d
xor edx, eax
mov dword [rsi + 4], edx
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
shl edx, cl
mov rcx, r9
shr eax, cl
xor edx, eax
mov rax, qword [rsp + 0x20]
mov dword [rsi + 8], edx
inc r11
add r10, 0xf
add rsi, 0x10
cmp r10, 0x3c
jbe 0x18006f036
lea r9, [0x180000000]
mov rdx, rbx
lea r8, [r9 + 0x971f8]
add r8, r14
cmp byte [r8 + rdx], 0xff
je 0x18006f0e4
movsx rcx, byte [r8 + rdx]
mov eax, dword [rsp + rdx*4 + 0x30]
mov dword [r13 + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x18006f0cf
cmp r12d, 0x80
jbe 0x18006f1d4
movups xmm0, xmmword [rbp - 0x50]
lea r15, [r15 + 0x971bb]
mov esi, 1
lea r11, [rsp + 0x44]
movups xmmword [rsp + 0x30], xmm0
add r15, r9
lea r10d, [rsi + 0xe]
cmp byte [r15 + rsi], bl
je 0x18006f18d
mov edx, dword [rsp + 0x30]
mov r9, r10
mov eax, dword [rsp + 0x34]
and r9d, 0x1f
mov ecx, r9d
mov r8d, 0x20
shl edx, cl
sub r8, r9
mov rcx, r8
shr eax, cl
xor edx, eax
mov dword [r11 - 4], edx
mov edx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x34]
shr edx, cl
mov ecx, r9d
shl eax, cl
mov rcx, r8
xor edx, eax
mov dword [r11], edx
mov edx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
shr edx, cl
mov ecx, r9d
shl eax, cl
mov rcx, r8
xor edx, eax
mov dword [r11 + 4], edx
mov edx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
shr edx, cl
mov ecx, r9d
shl eax, cl
xor edx, eax
mov dword [r11 + 8], edx
inc rsi
add r10, 0xf
add r11, 0x10
cmp r10, 0x3c
jbe 0x18006f11b
lea r9, [0x180000000]
mov rdx, rbx
lea r8, [r9 + 0x9720c]
add r8, r14
cmp byte [r8 + rdx], 0xff
je 0x18006f1cb
movsx rcx, byte [r8 + rdx]
mov eax, dword [rsp + rdx*4 + 0x30]
mov dword [r13 + rcx*4], eax
inc rdx
cmp rdx, 0x14
jb 0x18006f1b6
lea rax, [rdi + rdi*4]
lea r8, [rax*4 + 0x97270]
add r8, r9
cmp byte [r8 + rbx], 0xff
je 0x18006f204
movsx rdx, byte [r8 + rbx]
lea rax, [rdi + rdi*2]
lea rcx, [rbx + rax*4]
mov eax, dword [r13 + rdx*4]
mov dword [r13 + rcx*4 + 0x80], eax
inc rbx
cmp rbx, 0x14
jb 0x18006f1e3
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180084a40
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret