Function at 0x14000cfc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x14009b090]
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 0x14000d2f0
cmp word [rbx + 0xe], 3
jne 0x14000d22a
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.140004cd0
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 0x14000d07a
lea rbx, [rcx + 0x10]
jmp 0x14000d08b
xorps xmm0, xmm0
lea rbx, [0x14032ce80]
movups xmmword [0x14032ce80], xmm0
mov eax, 0x1000
test word [rbx + 0xe], ax
jne 0x14000d09d
mov rbx, qword [rbx + 8]
and rbx, rdx
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400087e0
test al, al
jne 0x14000d1a6
cmp byte [rsi + 8], al
jne 0x14000d1a6
movsxd rax, dword [rsi + 0x1c]
cmp qword [rsi + 0x20], rax
jge 0x14000d1a6
mov rax, qword gs:[0x58]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x14008f0d0]
movaps xmmword [rsp + 0x90], xmm7
mov rcx, qword [rax]
movdqa xmm7, xmmword [0x14008f0e0]
mov edx, 0xc
movaps xmmword [rsp + 0x80], xmm8
movdqa xmm8, xmmword [0x14008f120]
mov word [rsp + 0x68], 0x2b53
mov eax, dword [rdx + rcx]
cmp dword [0x14032ce90], eax
jg 0x14000d316
cmp byte [0x14009c492], 0
lea r11, [0x14009c460]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
je 0x14000d19e
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 0x14000d162
mov byte [0x14009c492], 0
mov rcx, r11
call fcn.140008f00
cmp dword [rsi + 0x18], 1
je 0x14000d21d
test rbx, rbx
je 0x14000d2f0
mov r8d, select
lea rdx, str.Unauthenticated
mov rcx, rbx
call fcn.14005f3f8
test eax, eax
je 0x14000d21d
mov r8d, setsockopt
lea rdx, str.your_IP_is_banned
mov rcx, rbx
call fcn.14005f3f8
test eax, eax
je 0x14000d21d
mov r8d, 0x1b
lea rdx, str.IP_Address_currently_banned
mov rcx, rbx
call fcn.14005f3f8
test eax, eax
je 0x14000d21d
mov r8d, select
lea rdx, str.Invalid_job_id
mov rcx, rbx
call fcn.14005f3f8
test eax, eax
jne 0x14000d2f0
mov rcx, rsi
call fcn.14000b080
jmp 0x14000d2f0
cmp word [rbp + 0xe], 3
jne 0x14000d2f0
mov rcx, rsi
cmp rdi, 1
jne 0x14000d309
mov rax, qword [rsi]
lea r8, [rsp + 0x20]
mov rdx, rbp
mov dword [rsp + 0x20], 0xffffffff
call qword [rax + 0xd0]
test al, al
jne 0x14000d288
cmp byte [rsi + 8], al
jne 0x14000d27e
movsxd rax, dword [rsi + 0x1c]
cmp qword [rsi + 0x20], rax
jge 0x14000d27e
mov edx, dword [rsp + 0x20]
lea rcx, str.Failed_to_create_channel._Err__d__n
call fcn.140008f00
mov rcx, rsi
call fcn.14000b080
jmp 0x14000d2f0
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 0x14000d2b5
cmp qword [rsi + 0x98], 0
ja 0x14000d2bf
cmp qword [rsi + 0x88], 0
je 0x14000d2e8
mov rdi, qword [rsi + 0x10]
lea rdx, [0x14008d360]
mov rcx, rbp
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
call fcn.14000e090
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.140052440
add rsp, 0xb8
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor r8d, r8d
mov rdx, rdi
call fcn.1400087e0
jmp 0x14000d2f0
lea rcx, [0x14032ce90]
call fcn.140052880
cmp dword [0x14032ce90], 0xffffffff
jne 0x14000d123
movzx eax, word [rsp + 0x68]
lea rcx, [0x14007aa30]
mov word [0x14009c490], ax
mov byte [0x14009c492], 1
movaps xmmword [0x14009c460], xmm6
movaps xmmword [0x14009c470], xmm7
movaps xmmword [0x14009c480], xmm8
call fcn.140052710
lea rcx, [0x14032ce90]
call fcn.140052820
jmp 0x14000d123