Function at 0x14000d870
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400d8708]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r10, r8
mov edi, edx
mov r14, rcx
mov r15, qword [rbp + 0x68]
mov r12d, edx
and r12d, 0xf
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x14000dc09
cmp r9d, 0x28
je 0x14000dc09
mov eax, edi
sub eax, r12d
add eax, 0x10
cmp dword [rbp + 0x70], eax
jae 0x14000d8db
mov eax, 3
jmp 0x14000dc0e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov r8d, r9d
mov rdx, r10
lea rcx, [rbp - 0x40]
call fcn.14000d260
nop
mov esi, reloc.WS2_32.dll_recv
sub sil, r12b
mov dword [rbp - 0x60], esi
cmp edi, 0x10
jb 0x14000d913
movups xmm1, xmmword [r14]
movdqu xmmword [rbp - 0x58], xmm1
jmp 0x14000d93a
movzx edx, sil
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm1, xmmword [rbp - 0x58]
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x14000d950
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x58], xmm1
nop
mov r8, r15
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.14000d5a0
mov eax, edi
shr eax, 4
lea r13d, [rax - 1]
cmp eax, 1
jbe 0x14000da31
mov ebx, reloc.WS2_32.dll_recv
mov esi, r13d
nop word [rax + rax]
movsxd rax, ebx
movups xmm0, xmmword [r14 + rax]
movdqu xmmword [rbp - 0x58], xmm0
lea r8, [r15 + rax]
movd eax, xmm0
xor al, byte [r8 - 0x10]
mov byte [rbp - 0x58], al
movzx eax, byte [r8 - 0xf]
xor byte [rbp - 0x57], al
movzx eax, byte [r8 - 0xe]
xor byte [rbp - 0x56], al
movzx eax, byte [r8 - 0xd]
xor byte [rbp - 0x55], al
movzx eax, byte [r8 - 0xc]
xor byte [rbp - 0x54], al
movzx eax, byte [r8 - 0xb]
xor byte [rbp - 0x53], al
movzx eax, byte [r8 - 0xa]
xor byte [rbp - 0x52], al
movzx eax, byte [r8 - 9]
xor byte [rbp - 0x51], al
movzx eax, byte [r8 - 8]
xor byte [rbp - 0x50], al
movzx eax, byte [r8 - 7]
xor byte [rbp - 0x4f], al
movzx eax, byte [r8 - 6]
xor byte [rbp - 0x4e], al
movzx eax, byte [r8 - 5]
xor byte [rbp - 0x4d], al
movzx eax, byte [r8 - 4]
xor byte [rbp - 0x4c], al
movzx eax, byte [r8 - 3]
xor byte [rbp - 0x4b], al
movzx eax, byte [r8 - 2]
xor byte [rbp - 0x4a], al
movzx eax, byte [r8 - 1]
xor byte [rbp - 0x49], al
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.14000d5a0
add ebx, 0x10
sub rsi, 1
jne 0x14000d980
mov esi, dword [rbp - 0x60]
cmp edi, 0x10
jb 0x14000dbc4
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov qword [rbp - 0x48], rax
lea ecx, [rax + 0x10]
call fcn.1400a7918
mov qword [rbp - 0x58], rax
lea rbx, [rax + 0x10]
mov qword [rbp - 0x48], rbx
movzx edx, sil
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x50], rbx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400a7918
mov rcx, rax
mov qword [rbp - 0x28], rax
add rax, 0x10
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov r8d, r12d
mov rdx, rdi
sub rdx, r8
add rdx, r14
mov rcx, qword [rbp - 0x58]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x58]
shl r13d, 4
mov ecx, r13d
add rcx, r15
movzx eax, byte [rcx]
xor byte [rdx], al
movzx eax, byte [rcx + 1]
xor byte [rdx + 1], al
movzx eax, byte [rcx + 2]
xor byte [rdx + 2], al
movzx eax, byte [rcx + 3]
xor byte [rdx + 3], al
movzx eax, byte [rcx + 4]
xor byte [rdx + 4], al
movzx eax, byte [rcx + 5]
xor byte [rdx + 5], al
movzx eax, byte [rcx + 6]
xor byte [rdx + 6], al
movzx eax, byte [rcx + 7]
xor byte [rdx + 7], al
movzx eax, byte [rcx + 8]
xor byte [rdx + 8], al
movzx eax, byte [rcx + 9]
xor byte [rdx + 9], al
movzx eax, byte [rcx + 0xa]
xor byte [rdx + 0xa], al
movzx eax, byte [rcx + 0xb]
xor byte [rdx + 0xb], al
movzx eax, byte [rcx + 0xc]
xor byte [rdx + 0xc], al
movzx eax, byte [rcx + 0xd]
xor byte [rdx + 0xd], al
movzx eax, byte [rcx + 0xe]
xor byte [rdx + 0xe], al
movzx eax, byte [rcx + 0xf]
xor byte [rdx + 0xf], al
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.14000d5a0
sub edi, r12d
mov rcx, qword [rbp - 0x28]
movups xmm0, xmmword [rcx]
movups xmmword [rdi + r15], xmm0
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000db71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a77f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14000dbc4
mov rdx, qword [rbp - 0x48]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dbbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dbbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a77f0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000dc05
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dc00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dc00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a77f0
xor eax, eax
jmp 0x14000dc0e
mov eax, 2
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a77d0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret