Function at 0x14005d0c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x1f], rdx
mov qword [rbp + 0x27], r8
xor r15d, r15d
movzx ecx, r9b
test r9b, r9b
je 0x14005d307
cmp ecx, 1
jne 0x14005d4fc
mov dword [rbp - 0x71], 0x87b3b2b4
mov dword [rbp - 0x6d], 0xbfbeb2ba
mov dword [rbp - 0x69], 0x98b0bcb6
mov word [rbp - 0x65], 0x9d
mov byte [rbp - 0x63], cl
mov ecx, r15d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x71], al
inc rcx
cmp rcx, 0xd
jb 0x14005d140
mov byte [rbp - 0x63], 0
lea rcx, [rbp - 0x71]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14005d162
mov rdx, qword [rdx + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14005d536
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005d192
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x71]
lea rcx, [rbp - 1]
call fcn.14002d380
nop
mov word [rbp - 0x79], 0x7c
mov byte [rbp - 0x77], 0
lea rax, [rbp - 0x79]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14005d1c0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 1]
call fcn.14002b230
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005d211
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x41]
call fcn.14002b230
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp - 0x79], 0xd2abe7a9
mov word [rbp - 0x75], 0x100
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 4
jb 0x14005d260
mov byte [rbp - 0x74], 0
lea rax, [rbp - 0x79]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005d280
mov r8, rbx
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x61]
call fcn.14002b230
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x21]
movq r8, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, r8
movq r8, xmm1
mov rcx, r14
call fcn.14002b230
nop
lea rcx, [rbp - 0x21]
call fcn.14002b140
nop
lea rcx, [rbp - 0x61]
call fcn.14002b140
nop
lea rcx, [rbp - 0x41]
call fcn.14002b140
nop
jmp 0x14005d4f2
mov dword [rbp - 0x71], 0x87b3b2b4
mov dword [rbp - 0x6d], 0xbfbeb2ba
mov dword [rbp - 0x69], 0x98b0bcb6
mov word [rbp - 0x65], 0x9d
mov byte [rbp - 0x63], 1
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x71], al
inc rcx
cmp rcx, 0xd
jb 0x14005d330
mov byte [rbp - 0x63], 0
lea rcx, [rbp - 0x71]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14005d352
mov rdx, qword [rdx + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14005d530
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005d382
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x71]
lea rcx, [rbp - 1]
call fcn.14002d380
nop
mov word [rbp - 0x79], 0x7c
mov byte [rbp - 0x77], 0
lea rax, [rbp - 0x79]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14005d3b0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 1]
call fcn.14002b230
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005d401
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x61]
call fcn.14002b230
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp - 0x79], 0xd2abe6a9
mov word [rbp - 0x75], 0x100
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 4
jb 0x14005d450
mov byte [rbp - 0x74], 0
lea rax, [rbp - 0x79]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005d470
mov r8, rbx
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x41]
call fcn.14002b230
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x21]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
mov rcx, r14
call fcn.14002b230
nop
lea rcx, [rbp - 0x21]
call fcn.14002b140
nop
lea rcx, [rbp - 0x41]
call fcn.14002b140
nop
lea rcx, [rbp - 0x61]
call fcn.14002b140
nop
lea rcx, [rbp - 1]
call fcn.14002b140
nop
mov rcx, rdi
call fcn.14002b140
nop
mov rcx, rsi
call fcn.14002b140
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14010ee40
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140004f60
nop
call fcn.140004f60
int3