Function at 0x14005c680
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, 0x100
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x1f], rdx
xor r15d, r15d
test r9d, r9d
je 0x14005c8c5
cmp r9d, 1
jne 0x14005cac8
mov edx, r8d
lea rcx, [rbp - 1]
call fcn.140005010
mov rsi, rax
movdqa xmm0, xmmword [0x140135cd0]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rbp - 0x71], 0x94898986
mov dword [rbp - 0x6d], 0x808a879a
mov dword [rbp - 0x69], 0x1009281
mov ecx, r15d
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x1a
jb 0x14005c700
mov byte [rbp - 0x66], 0
lea rcx, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14005c723
mov rdx, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14005caf9
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005c753
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea rcx, [rbp - 0x21]
call fcn.14002d380
nop
mov dword [rsp + 0x40], 0xbeb2baa9
mov dword [rsp + 0x44], 0x100a6ad
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 6
jb 0x14005c790
mov byte [rsp + 0x47], 0
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005c7b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.14002b230
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 r9, rsi
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.14002d190
nop
mov dword [rsp + 0x40], 0x100dca9
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x14005c810
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005c830
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x41]
call fcn.14002b230
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x48]
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, [rsp + 0x48]
call fcn.14002b140
nop
lea rcx, [rbp - 0x41]
call fcn.14002b140
nop
lea rcx, [rbp - 0x61]
call fcn.14002b140
nop
lea rcx, [rbp - 0x21]
call fcn.14002b140
nop
jmp 0x14005cabe
mov edx, r8d
lea rcx, [rbp - 1]
call fcn.140005010
mov rsi, rax
movdqa xmm0, xmmword [0x140135cd0]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rbp - 0x71], 0x94898986
mov dword [rbp - 0x6d], 0x908c838b
mov word [rbp - 0x69], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x18
jb 0x14005c900
mov byte [rbp - 0x68], 0
lea rcx, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14005c923
mov rdx, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, rax
jb 0x14005caf3
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005c953
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea rcx, [rbp - 0x41]
call fcn.14002d380
nop
mov dword [rsp + 0x40], 0xbeb2baa9
mov dword [rsp + 0x44], 0x100a6ad
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 6
jb 0x14005c990
mov byte [rsp + 0x47], 0
lea rax, [rsp + 0x40]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005c9b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x41]
call fcn.14002b230
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rsi
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x21]
call fcn.14002d190
nop
mov dword [rsp + 0x40], 0x100dca9
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x14005ca10
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005ca30
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x21]
call fcn.14002b230
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
lea rdx, [rbp - 0x61]
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 - 0x61]
call fcn.14002b140
nop
lea rcx, [rbp - 0x21]
call fcn.14002b140
nop
lea rcx, [rsp + 0x48]
call fcn.14002b140
nop
lea rcx, [rbp - 0x41]
call fcn.14002b140
nop
lea rcx, [rbp - 1]
call fcn.14002b140
nop
mov rcx, rdi
call fcn.14002b140
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14010ee40
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140004f60
nop
call fcn.140004f60
int3