Function at 0x18019fa90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, gethostname
call fcn.18014c9d0
sub rsp, rax
cmp dword [rsp + 0xb0], 0
mov r12, qword [rsp + 0xa8]
mov r10, r9
mov ebx, dword [r12]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
je 0x18019fc31
mov r14, qword [rsp + 0xa0]
test ebx, ebx
je 0x18019fb09
test rdi, rdi
je 0x18019fb09
movzx eax, byte [rbp]
mov edx, ebx
inc rsi
movzx ecx, byte [rdx + r14]
inc rbp
dec rdi
xor ecx, eax
inc ebx
and ebx, 0xf
mov byte [rdx + r14], cl
mov byte [rsi - 1], cl
jne 0x18019fae0
mov r9, qword [rsp + 0xb8]
movsxd r15, ebx
cmp rdi, 0x10
jb 0x18019fbe5
mov r12, rsi
mov r13, rbp
mov rcx, rdi
shr rcx, 4
sub r12, r14
sub r13, r14
mov rax, rcx
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
mov rax, rcx
shl rax, 4
add rsi, rax
add rbp, rax
mov qword [rsp + 0x80], rbp
mov rbp, qword [rsp + 0x98]
mov qword [rsp + 0x88], rsi
mov rsi, rcx
mov r8, rbp
mov rdx, r14
mov rcx, r14
call r9
cmp ebx, 0x10
jae 0x18019fbab
mov edx, send
lea rcx, [r15 + r14]
sub edx, ebx
shr edx, 3
inc edx
nop word [rax + rax]
mov rax, qword [r13 + rcx]
add rcx, 8
xor qword [rcx - 8], rax
dec rdx
mov rax, qword [rcx - 8]
mov qword [r12 + rcx - 8], rax
jne 0x18019fb90
mov r9, qword [rsp + 0xb8]
add r12, 0x10
add r13, 0x10
xor ebx, ebx
xor r15d, r15d
dec rsi
jne 0x18019fb63
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov r10, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa8]
test rdi, rdi
je 0x18019fc28
mov r8, r10
mov rdx, r14
mov rcx, r14
call r9
movsxd rdx, ebx
sub rbp, r14
add rdx, r14
sub rsi, r14
add ebx, edi
nop word [rax + rax]
movzx ecx, byte [rdx + rbp]
movzx eax, byte [rdx]
inc rdx
xor ecx, eax
dec rdi
mov byte [rdx - 1], cl
mov byte [rdx + rsi - 1], cl
jne 0x18019fc10
mov dword [r12], ebx
jmp 0x18019fd66
mov r12, qword [rsp + 0xa0]
test ebx, ebx
je 0x18019fc69
nop dword [rax]
test rdi, rdi
je 0x18019fc69
movzx edx, byte [rbp]
mov ecx, ebx
inc rsi
movzx eax, byte [rcx + r12]
inc rbp
dec rdi
xor al, dl
inc ebx
and ebx, 0xf
mov byte [rsi - 1], al
mov byte [rcx + r12], dl
jne 0x18019fc40
mov r15, qword [rsp + 0xb8]
movsxd r13, ebx
cmp rdi, 0x10
jb 0x18019fd20
mov r14, rdi
mov rax, r12
neg rax
shr r14, 4
mov qword [rsp + 0x20], rax
mov rax, r14
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
mov qword [rsp + 0x90], rdi
mov rdi, qword [rsp + 0x20]
nop word [rax + rax]
mov r8, r10
mov rdx, r12
mov rcx, r12
call r15
cmp ebx, 0x10
jae 0x18019fcfe
mov r9d, send
mov r10, rbp
lea r8, [r13 + r12]
sub r9d, ebx
sub r10, rsi
lea r11, [rdi + rsi]
shr r9d, 3
inc r9d
mov rax, qword [r8]
lea rcx, [r11 + r8]
add r8, 8
mov rdx, qword [rcx + r10]
xor rax, rdx
dec r9
mov qword [rcx], rax
mov qword [r8 - 8], rdx
jne 0x18019fce0
mov r10, qword [rsp + 0x98]
add rsi, 0x10
add rbp, 0x10
xor ebx, ebx
xor r13d, r13d
dec r14
jne 0x18019fcb0
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x18019fd5c
mov r8, r10
mov rdx, r12
mov rcx, r12
call r15
movsxd r8, ebx
sub rbp, rsi
add r8, r12
sub rsi, r12
add ebx, edi
nop
movzx eax, byte [r8]
lea rcx, [r8 + rsi]
inc r8
movzx edx, byte [rcx + rbp]
xor al, dl
dec rdi
mov byte [rcx], al
mov byte [r8 - 1], dl
jne 0x18019fd40
mov rax, qword [rsp + 0xa8]
mov dword [rax], ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret