Function at 0x14005f200
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
mov rbp, rsp
sub rsp, 0x60
mov r10, r8
mov esi, edx
mov r14, rcx
mov r15, qword [rbp + 0x58]
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x14005f53f
cmp r9d, 0x28
je 0x14005f53f
mov eax, esi
and eax, 0xfffffff0
add eax, 0x10
cmp dword [rbp + 0x60], eax
jae 0x14005f25b
mov eax, 3
jmp 0x14005f544
mov r8d, r9d
mov rdx, r10
lea rcx, [rbp - 0x20]
call fcn.14005e920
nop
mov r13d, esi
and r13d, 0xf
mov eax, reloc.WS2_32.dll_recv
sub al, r13b
mov dword [rbp + 0x68], eax
cmp esi, 0x10
jb 0x14005f28d
movups xmm1, xmmword [r14]
movdqu xmmword [rbp - 0x38], xmm1
jmp 0x14005f2b3
movzx edx, al
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll_memset
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm1, xmmword [rbp - 0x38]
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x14005f2d0
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x38], xmm1
nop dword [rax + rax]
mov r8, r15
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14005ec90
mov eax, esi
shr eax, 4
lea r12d, [rax - 1]
cmp eax, 1
jbe 0x14005f3ae
mov ebx, reloc.WS2_32.dll_recv
mov edi, r12d
nop word [rax + rax]
movsxd rax, ebx
movups xmm0, xmmword [rax + r14]
movdqu xmmword [rbp - 0x38], xmm0
lea r8, [rax + r15]
movd eax, xmm0
xor al, byte [r8 - 0x10]
mov byte [rbp - 0x38], al
movzx eax, byte [r8 - 0xf]
xor byte [rbp - 0x37], al
movzx eax, byte [r8 - 0xe]
xor byte [rbp - 0x36], al
movzx eax, byte [r8 - 0xd]
xor byte [rbp - 0x35], al
movzx eax, byte [r8 - 0xc]
xor byte [rbp - 0x34], al
movzx eax, byte [r8 - 0xb]
xor byte [rbp - 0x33], al
movzx eax, byte [r8 - 0xa]
xor byte [rbp - 0x32], al
movzx eax, byte [r8 - 9]
xor byte [rbp - 0x31], al
movzx eax, byte [r8 - 8]
xor byte [rbp - 0x30], al
movzx eax, byte [r8 - 7]
xor byte [rbp - 0x2f], al
movzx eax, byte [r8 - 6]
xor byte [rbp - 0x2e], al
movzx eax, byte [r8 - 5]
xor byte [rbp - 0x2d], al
movzx eax, byte [r8 - 4]
xor byte [rbp - 0x2c], al
movzx eax, byte [r8 - 3]
xor byte [rbp - 0x2b], al
movzx eax, byte [r8 - 2]
xor byte [rbp - 0x2a], al
movzx eax, byte [r8 - 1]
xor byte [rbp - 0x29], al
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14005ec90
add ebx, 0x10
sub rdi, 1
jne 0x14005f300
cmp esi, 0x10
jb 0x14005f4f3
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400b089c
mov rbx, rax
mov qword [rbp - 0x38], rax
lea rdi, [rax + 0x10]
mov qword [rbp - 0x28], rdi
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbp - 0x30], rdi
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400b089c
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov r8, rdi
sub r8, rbx
movzx edx, byte [rbp + 0x68]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov r8d, r13d
mov rdx, rsi
sub rdx, r8
add rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
shl r12d, 4
mov ecx, r12d
add rcx, r15
movzx eax, byte [rcx]
xor byte [rbx], al
movzx eax, byte [rcx + 1]
xor byte [rbx + 1], al
movzx eax, byte [rcx + 2]
xor byte [rbx + 2], al
movzx eax, byte [rcx + 3]
xor byte [rbx + 3], al
movzx eax, byte [rcx + 4]
xor byte [rbx + 4], al
movzx eax, byte [rcx + 5]
xor byte [rbx + 5], al
movzx eax, byte [rcx + 6]
xor byte [rbx + 6], al
movzx eax, byte [rcx + 7]
xor byte [rbx + 7], al
movzx eax, byte [rcx + 8]
xor byte [rbx + 8], al
movzx eax, byte [rcx + 9]
xor byte [rbx + 9], al
movzx eax, byte [rcx + 0xa]
xor byte [rbx + 0xa], al
movzx eax, byte [rcx + 0xb]
xor byte [rbx + 0xb], al
movzx eax, byte [rcx + 0xc]
xor byte [rbx + 0xc], al
movzx eax, byte [rcx + 0xd]
xor byte [rbx + 0xd], al
movzx eax, byte [rcx + 0xe]
xor byte [rbx + 0xe], al
movzx eax, byte [rcx + 0xf]
xor byte [rbx + 0xf], al
mov r14, qword [rbp - 0x40]
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14005ec90
sub esi, r13d
movups xmm0, xmmword [r14]
movups xmmword [rsi + r15], xmm0
test r14, r14
je 0x14005f4be
mov edx, reloc.WS2_32.dll_recv
mov rcx, r14
call fcn.1400b0be8
nop
test rbx, rbx
je 0x14005f4f3
sub rdi, rbx
cmp rdi, 0x1000
jb 0x14005f4e7
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14005f52f
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400b0be8
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14005f53b
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f536
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400b0be8
xor eax, eax
jmp 0x14005f544
mov eax, 2
lea r11, [rsp + 0x60]
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