Function at 0x1400e9760
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12, qword [rcx + 8]
mov r10, rcx
mov rax, qword [rcx + 0x38]
mov r13d, edx
mov r11d, dword [rcx + 0x34]
sub r13d, r12d
mov qword [rsp + 0x40], rax
mov r15, r8
mov qword [rsp + 0x58], r8
mov ebp, 1
mov r8d, edx
mov qword [rsp + 0x60], rdx
sub r8d, r12d
mov qword [rsp + 0x70], r9
mov r9, qword [rcx + 0x70]
mov r14, rdx
mov ecx, dword [rcx + 0x100]
mov edx, ebp
shl edx, cl
mov eax, r8d
mov ecx, dword [r10 + 0x1c]
mov ebx, r8d
sub eax, ecx
mov qword [rsp + 0x50], r9
sub ebx, edx
mov dword [rsp + 0x2c], r11d
cmp eax, edx
mov qword [rsp + 0x68], r12
mov eax, dword [r10 + 0x10c]
mov edi, 3
cmovbe ebx, ecx
mov dword [rsp + 0x20], r13d
cmp dword [r10 + 0x28], 0
mov dword [rsp + 0x38], r8d
cmovne ebx, ecx
mov dword [rsp + 0x34], setsockopt
mov ecx, 4
mov dword [rsp + 0x48], ebx
cmp eax, ecx
cmovb ecx, eax
mov rax, qword [r10 + 0x60]
shl ebp, cl
xor ebx, ebx
lea ecx, [rdi + 0x35]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], ebp
cmp dword [r10 + 0x12c], ebx
jne 0x1400e9ae5
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
mov r8, qword [rsp + 0x40]
sub eax, r11d
mov edx, dword [rsp + 0x2c]
mov rsi, r9
mov r15, r8
movabs r13, 0xcf1bbcdcbf9b0000
cmp eax, 0x180
jbe 0x1400e99d0
lea eax, [r11 + 0x60]
mov dword [rsp + 0x24], edx
cmp r11d, eax
jae 0x1400e993e
lea r15, [r12 + 8]
mov r14d, ecx
sub r14d, edx
mov esi, r11d
add r15, r11
mov ebp, eax
mov r12, r9
mov rdi, r8
nop dword [rax]
mov rdx, qword [r15]
mov ecx, r14d
imul rdx, r13
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rdi + rax]
mov rax, rsi
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + rdi]
lea rdx, [r8 + rdi]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x34]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r12 + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x1400e98a0
mov eax, dword [r10 + 0x34]
mov edi, 3
mov rsi, qword [r10 + 0x70]
mov r15, qword [r10 + 0x38]
mov r14, qword [rsp + 0x60]
mov ebp, dword [rsp + 0x28]
lea ecx, [rdi + 0x35]
mov r12, qword [rsp + 0x68]
mov dword [rsp + 0x24], eax
mov r11d, dword [rsp + 0x20]
lea rax, [r14 + 1]
add r11d, 0xffffffe0
mov edx, eax
sub edx, r11d
mov r8d, r11d
sub edx, r12d
inc edx
lea r9, [r11 + r12]
cmp r9, rax
mov eax, 8
cmova edx, ebx
cmp edx, eax
cmova edx, eax
lea eax, [r11 + rdx]
cmp r11d, eax
jae 0x1400e99cc
sub ecx, dword [rsp + 0x24]
mov ebp, edx
nop dword [rax + rax]
mov rdx, qword [r9]
imul rdx, r13
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [r15 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rbp, 1
jne 0x1400e9980
mov rsi, qword [r10 + 0x70]
mov r15, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov ebp, dword [rsp + 0x28]
jmp 0x1400e99d0
mov edx, dword [rsp + 0x24]
mov eax, dword [rsp + 0x20]
mov rcx, qword [r10 + 8]
cmp r11d, eax
jae 0x1400e9a90
mov r14d, gethostname
mov edi, r11d
sub r14d, edx
lea rbp, [rcx + 8]
add rbp, rdi
mov r12d, eax
nop word [rax + rax]
mov rdx, qword [rbp]
mov ecx, r14d
imul rdx, r13
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [r15 + rax]
mov rax, rdi
lea rbp, [rbp + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r15]
lea rdx, [r8 + r15]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x34]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rsi + rax*4], r11d
inc r11d
cmp r11d, r12d
jb 0x1400e9a00
mov r14, qword [rsp + 0x60]
mov edi, 3
mov ebp, dword [rsp + 0x28]
mov r12, qword [rsp + 0x68]
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x38]
mov ecx, gethostname
sub ecx, dword [rsp + 0x2c]
mov dword [r10 + 0x2c], eax
mov rdx, qword [r8 + r12 + 8]
imul rdx, r13
xor rdx, qword [rsp + 0x78]
shr rdx, cl
mov rcx, qword [rsp + 0x50]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov rsi, qword [rsp + 0x40]
prefetcht0 byte [rax + rsi]
mov r15, qword [rsp + 0x58]
and r8d, 7
mov r9d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1400e9b0d
mov r9, qword [r14]
sub ecx, r11d
mov rsi, qword [rsp + 0x40]
movabs r13, 0xcf1bbcdcbf9b0000
imul r9, r13
mov dword [r10 + 0x2c], r8d
xor r9, rax
shr r9, cl
mov rcx, qword [rsp + 0x50]
add dword [r10 + 0x68], r9d
mov eax, r9d
shr rax, 4
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + rsi]
lea r11, [rcx + rax*4]
lea rcx, [rax + rsi]
mov rsi, rbx
movzx eax, byte [rcx]
mov dword [rsp + 0x30], eax
and eax, 0xf
mov r13d, eax
mov qword [rsp + 0x58], rcx
movsx eax, r9b
mov ecx, r13d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
movzx edx, ax
mov dword [rsp + 0x78], eax
movzx eax, dx
shl ax, cl
movzx ecx, r13b
movzx r8d, ax
mov eax, edx
shr rax, cl
or r8, rax
jbe 0x1400e9bb9
mov edx, dword [rsp + 0x48]
test ebp, ebp
je 0x1400e9bb9
bsf rcx, r8
add ecx, r13d
and ecx, 0xf
je 0x1400e9bb0
mov ecx, dword [r11 + rcx*4]
cmp ecx, edx
jb 0x1400e9bb9
prefetcht0 byte [rcx + r12]
mov dword [rsp + rsi*4 + 0x90], ecx
inc rsi
dec ebp
lea rax, [r8 - 1]
and r8, rax
ja 0x1400e9b87
mov ecx, dword [rsp + 0x30]
mov eax, ebx
dec ecx
mov edx, recv
and ecx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x58]
mov byte [rax], cl
mov byte [rcx + rax], r9b
mov eax, dword [r10 + 0x2c]
mov dword [r11 + rcx*4], eax
inc dword [r10 + 0x2c]
test rsi, rsi
je 0x1400e9c3a
mov r13, qword [rsp + 0x70]
nop
mov ebp, dword [rsp + rbx*4 + 0x90]
mov eax, dword [rdi + r14 - 3]
lea rdx, [r12 + rbp]
cmp dword [rdx + rdi - 3], eax
jne 0x1400e9c32
mov r8, r15
mov rcx, r14
call fcn.1400e6500
mov rcx, rax
cmp rax, rdi
jbe 0x1400e9c32
mov rdi, rax
mov eax, dword [rsp + 0x38]
sub eax, ebp
add eax, 3
mov qword [r13], rax
lea rax, [rcx + r14]
cmp rax, r15
je 0x1400e9c3a
inc rbx
cmp rbx, rsi
jb 0x1400e9bf0
mov rax, rdi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140132620
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret