Function at 0x14000c980
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x14009d090]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rcx]
mov rbx, r9
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
call qword [rax + 0xc8]
test al, al
jne 0x14000ccb0
cmp word [rbx + 0xe], 3
jne 0x14000cbea
xorps xmm0, xmm0
lea r8, [rsp + 0x28]
movups xmmword [rsp + 0x28], xmm0
mov eax, 0x405
mov dword [rsp + 0x28], 7
mov word [rsp + 0x36], ax
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, str.message
or rax, rcx
mov rcx, rbx
mov qword [rsp + 0x30], rax
call fcn.140004ce0
mov eax, dword [rbx]
movabs rdx, 0xffffffffffff
mov rcx, qword [rbx + 8]
and rcx, rdx
shl rax, 5
add rax, rcx
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
je 0x14000ca3a
lea rbx, [rcx + 0x10]
jmp 0x14000ca4b
xorps xmm0, xmm0
lea rbx, [0x14032fc10]
movups xmmword [0x14032fc10], xmm0
mov eax, 0x1000
test word [rbx + 0xe], ax
jne 0x14000ca5d
mov rbx, qword [rbx + 8]
and rbx, rdx
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400080c0
test al, al
jne 0x14000cb66
cmp byte [rsi + 8], al
jne 0x14000cb66
movsxd rax, dword [rsi + 0x1c]
cmp qword [rsi + 0x20], rax
jge 0x14000cb66
mov rax, qword gs:[0x58]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x14008f350]
movaps xmmword [rsp + 0x90], xmm7
mov rcx, qword [rax]
movdqa xmm7, xmmword [0x14008f360]
mov edx, 0xc
movaps xmmword [rsp + 0x80], xmm8
movdqa xmm8, xmmword [0x14008f3a0]
mov word [rsp + 0x68], 0x2b53
mov eax, dword [rdx + rcx]
cmp dword [0x14032fc20], eax
jg 0x14000ccd6
cmp byte [0x14009e482], 0
lea r11, [0x14009e450]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
je 0x14000cb5e
xor r9d, r9d
mov r10d, 1
sub r10, r11
movabs rdi, 0x5aa5d2b4d49b2b59
lea r8, [r9 + r11]
movzx ecx, r9b
and cl, 7
mov rax, rdi
shl cl, 3
mov rdx, rdi
shr rax, cl
add r9, 2
xor byte [r8], al
lea ecx, [r8 + r10]
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + 1], dl
cmp r9, 0x32
jb 0x14000cb22
mov byte [0x14009e482], 0
mov rcx, r11
call fcn.140008860
cmp dword [rsi + 0x18], 1
je 0x14000cbdd
test rbx, rbx
je 0x14000ccb0
mov r8d, select
lea rdx, str.Unauthenticated
mov rcx, rbx
call fcn.14005f07c
test eax, eax
je 0x14000cbdd
mov r8d, setsockopt
lea rdx, str.your_IP_is_banned
mov rcx, rbx
call fcn.14005f07c
test eax, eax
je 0x14000cbdd
mov r8d, 0x1b
lea rdx, str.IP_Address_currently_banned
mov rcx, rbx
call fcn.14005f07c
test eax, eax
je 0x14000cbdd
mov r8d, select
lea rdx, str.Invalid_job_id
mov rcx, rbx
call fcn.14005f07c
test eax, eax
jne 0x14000ccb0
mov rcx, rsi
call fcn.14000aa40
jmp 0x14000ccb0
cmp word [rbp + 0xe], 3
jne 0x14000ccb0
mov rcx, rsi
cmp rdi, 1
jne 0x14000ccc9
mov rax, qword [rsi]
lea r8, [rsp + 0x20]
mov rdx, rbp
mov dword [rsp + 0x20], 0xffffffff
call qword [rax + 0xd0]
test al, al
jne 0x14000cc48
cmp byte [rsi + 8], al
jne 0x14000cc3e
movsxd rax, dword [rsi + 0x1c]
cmp qword [rsi + 0x20], rax
jge 0x14000cc3e
mov edx, dword [rsp + 0x20]
lea rcx, str.Failed_to_create_channel._Err__d__n
call fcn.140008860
mov rcx, rsi
call fcn.14000aa40
jmp 0x14000ccb0
mov rcx, qword [rsi + 0x10]
xor r9d, r9d
mov qword [rsi + 0x20], r9
mov rdx, rsi
mov qword [rsp + 0xb0], r14
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp qword [rsi + 0x48], 0
jbe 0x14000cc75
cmp qword [rsi + 0x98], 0
ja 0x14000cc7f
cmp qword [rsi + 0x88], 0
je 0x14000cca8
mov rdi, qword [rsi + 0x10]
lea rdx, [0x14008d320]
mov rcx, rbp
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
call fcn.14000da50
mov r9, rax
lea r8, [rsi + 0x28]
mov rdx, rsi
mov rcx, rdi
call rbx
mov r14, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140052720
add rsp, 0xb8
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor r8d, r8d
mov rdx, rdi
call fcn.1400080c0
jmp 0x14000ccb0
lea rcx, [0x14032fc20]
call fcn.140052b60
cmp dword [0x14032fc20], 0xffffffff
jne 0x14000cae3
movzx eax, word [rsp + 0x68]
lea rcx, [0x14007aaf0]
mov word [0x14009e480], ax
mov byte [0x14009e482], 1
movaps xmmword [0x14009e450], xmm6
movaps xmmword [0x14009e460], xmm7
movaps xmmword [0x14009e470], xmm8
call fcn.1400529f0
lea rcx, [0x14032fc20]
call fcn.140052b00
jmp 0x14000cae3