Function at 0x14000c990
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x1400a1090]
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 0x14000ccc0
cmp word [rbx + 0xe], 3
jne 0x14000cbfa
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.140004cf0
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 0x14000ca4a
lea rbx, [rcx + 0x10]
jmp 0x14000ca5b
xorps xmm0, xmm0
lea rbx, [0x140333c70]
movups xmmword [0x140333c70], xmm0
mov eax, 0x1000
test word [rbx + 0xe], ax
jne 0x14000ca6d
mov rbx, qword [rbx + 8]
and rbx, rdx
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400080d0
test al, al
jne 0x14000cb76
cmp byte [rsi + 8], al
jne 0x14000cb76
movsxd rax, dword [rsi + 0x1c]
cmp qword [rsi + 0x20], rax
jge 0x14000cb76
mov rax, qword gs:[0x58]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x140093430]
movaps xmmword [rsp + 0x90], xmm7
mov rcx, qword [rax]
movdqa xmm7, xmmword [0x140093440]
mov edx, 0xc
movaps xmmword [rsp + 0x80], xmm8
movdqa xmm8, xmmword [0x140093480]
mov word [rsp + 0x68], 0x2b53
mov eax, dword [rdx + rcx]
cmp dword [0x140333c80], eax
jg 0x14000cce6
cmp byte [0x1400a2482], 0
lea r11, [0x1400a2450]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
je 0x14000cb6e
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 0x14000cb32
mov byte [0x1400a2482], 0
mov rcx, r11
call fcn.140008870
cmp dword [rsi + 0x18], 1
je 0x14000cbed
test rbx, rbx
je 0x14000ccc0
mov r8d, select
lea rdx, str.Unauthenticated
mov rcx, rbx
call fcn.14005fefc
test eax, eax
je 0x14000cbed
mov r8d, setsockopt
lea rdx, str.your_IP_is_banned
mov rcx, rbx
call fcn.14005fefc
test eax, eax
je 0x14000cbed
mov r8d, 0x1b
lea rdx, str.IP_Address_currently_banned
mov rcx, rbx
call fcn.14005fefc
test eax, eax
je 0x14000cbed
mov r8d, select
lea rdx, str.Invalid_job_id
mov rcx, rbx
call fcn.14005fefc
test eax, eax
jne 0x14000ccc0
mov rcx, rsi
call fcn.14000aa50
jmp 0x14000ccc0
cmp word [rbp + 0xe], 3
jne 0x14000ccc0
mov rcx, rsi
cmp rdi, 1
jne 0x14000ccd9
mov rax, qword [rsi]
lea r8, [rsp + 0x20]
mov rdx, rbp
mov dword [rsp + 0x20], 0xffffffff
call qword [rax + 0xd0]
test al, al
jne 0x14000cc58
cmp byte [rsi + 8], al
jne 0x14000cc4e
movsxd rax, dword [rsi + 0x1c]
cmp qword [rsi + 0x20], rax
jge 0x14000cc4e
mov edx, dword [rsp + 0x20]
lea rcx, str.Failed_to_create_channel._Err__d__n
call fcn.140008870
mov rcx, rsi
call fcn.14000aa50
jmp 0x14000ccc0
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 0x14000cc85
cmp qword [rsi + 0x98], 0
ja 0x14000cc8f
cmp qword [rsi + 0x88], 0
je 0x14000ccb8
mov rdi, qword [rsi + 0x10]
lea rdx, [0x140091500]
mov rcx, rbp
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
call fcn.14000da60
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.1400535a0
add rsp, 0xb8
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor r8d, r8d
mov rdx, rdi
call fcn.1400080d0
jmp 0x14000ccc0
lea rcx, [0x140333c80]
call fcn.1400539e0
cmp dword [0x140333c80], 0xffffffff
jne 0x14000caf3
movzx eax, word [rsp + 0x68]
lea rcx, [0x14007ea80]
mov word [0x1400a2480], ax
mov byte [0x1400a2482], 1
movaps xmmword [0x1400a2450], xmm6
movaps xmmword [0x1400a2460], xmm7
movaps xmmword [0x1400a2470], xmm8
call fcn.140053870
lea rcx, [0x140333c80]
call fcn.140053980
jmp 0x14000caf3