Function at 0x1400e9f70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x1401f0010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r12, qword [rcx + 8]
mov r10, rcx
mov rdi, qword [rcx + 0x38]
mov r14, rdx
mov ebx, dword [rcx + 0x34]
mov ebp, 1
mov qword [rsp + 0x80], r9
mov r11d, r14d
mov eax, dword [r10 + 0x18]
sub r11d, r12d
mov dword [rsp + 0x24], eax
mov r9, r8
mov dword [rsp + 0x28], r11d
mov r13d, r14d
sub r13d, r12d
mov qword [rsp + 0x40], r8
mov r8, qword [rcx + 0x70]
lea rdx, [rax + r12]
mov rcx, qword [rcx + 0x10]
add rax, rcx
mov qword [rsp + 0x68], rcx
mov ecx, dword [r10 + 0x100]
mov qword [rsp + 0x78], rdx
mov edx, ebp
shl edx, cl
mov ecx, dword [r10 + 0x1c]
mov qword [rsp + 0x70], rax
mov eax, r11d
sub eax, ecx
mov qword [rsp + 0x88], r8
sub r11d, edx
mov qword [rsp + 0x58], rdi
cmp eax, edx
mov dword [rsp + 0x38], ebx
mov eax, dword [r10 + 0x10c]
mov rdx, qword [r10 + 0x60]
cmovbe r11d, ecx
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x48], r12
cmovne r11d, ecx
mov dword [rsp + 0x20], r13d
mov ecx, 4
mov dword [rsp + 0x50], r11d
cmp eax, ecx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x30], setsockopt
cmovb ecx, eax
xor esi, esi
shl ebp, cl
mov dword [rsp + 0x34], ebp
lea r15d, [rsi + 3]
cmp dword [r10 + 0x12c], esi
jne 0x1400ea30e
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
mov ecx, dword [rsp + 0x38]
sub eax, r11d
mov rbx, r8
mov edx, ecx
cmp eax, 0x180
jbe 0x1400ea1f5
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1400ea15d
lea rdi, [r12 + 8]
mov r15d, 0x18
mov r12, qword [rsp + 0x58]
sub r15d, ecx
add rdi, r11
mov ebx, r11d
mov ebp, eax
mov r13, r8
nop dword [rax]
mov eax, dword [r10 + 0x60]
mov rcx, r15
imul edx, dword [rdi], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r12 + rax]
mov rax, rbx
lea rdi, [rdi + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, esi
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r12]
lea rdx, [r8 + r12]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x30]
inc rbx
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r13 + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x1400ea0c0
mov rbx, qword [r10 + 0x70]
mov r15d, 3
mov rdi, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov ebp, dword [rsp + 0x34]
mov r12, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x20]
lea r11d, [r13 - 0x20]
lea rax, [r14 + 1]
mov r8d, r11d
mov ecx, eax
lea r9, [r11 + r12]
sub ecx, r11d
sub ecx, r12d
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, esi
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1400ea1f5
mov r13d, 0x18
mov r12d, ecx
sub r13d, edx
nop dword [rax + rax]
mov eax, dword [r10 + 0x60]
mov rcx, r13
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rbx + rax*4]
prefetcht0 byte [rdi + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r12, 1
jne 0x1400ea1a0
mov rbx, qword [r10 + 0x70]
mov rdi, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov r12, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x20]
mov rcx, qword [r10 + 8]
cmp r11d, r13d
jae 0x1400ea2af
mov ebp, dword [rsp + 0x20]
lea r13, [rcx + 8]
mov r15d, 0x18
mov r12d, r11d
sub r15d, edx
add r13, r12
nop dword [rax]
mov eax, dword [r10 + 0x60]
mov rcx, r15
imul edx, dword [r13], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rbx + rax*4]
prefetcht0 byte [rdi + rax]
mov rax, r12
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, esi
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + rdi]
lea rdx, [r8 + rdi]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x30]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rbx + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x1400ea220
mov ebp, dword [rsp + 0x34]
mov r15d, 3
mov r12, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
mov ecx, 0x18
sub ecx, dword [rsp + 0x38]
mov r8d, eax
mov dword [r10 + 0x2c], r13d
imul edx, dword [rax + r12 + 8], 0x9e3779b1
mov eax, dword [rsp + 0x60]
xor rdx, rax
shr rdx, cl
mov rcx, qword [rsp + 0x88]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov rdi, qword [rsp + 0x58]
prefetcht0 byte [rax + rdi]
mov r9, qword [rsp + 0x40]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
mov r8, rcx
jmp 0x1400ea32c
imul r11d, dword [r14], 0x9e3779b1
mov ecx, 0x18
mov eax, edx
sub ecx, ebx
xor r11, rax
mov eax, dword [rsp + 0x28]
shr r11, cl
mov dword [r10 + 0x2c], eax
add dword [r10 + 0x68], r11d
mov eax, r11d
shr rax, 4
mov r13, rsi
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + rdi]
lea rcx, [rax + rdi]
mov qword [rsp + 0x60], rcx
lea rbx, [r8 + rax*4]
movzx eax, byte [rcx]
mov dword [rsp + 0x2c], eax
and eax, 0xf
mov edi, eax
movsx eax, r11b
mov ecx, edi
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 + 0x88], eax
movzx eax, dx
shl ax, cl
movzx ecx, dil
movzx r8d, ax
mov eax, edx
shr rax, cl
or r8, rax
jbe 0x1400ea3f9
mov edx, dword [rsp + 0x24]
mov r9, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x50]
test ebp, ebp
je 0x1400ea3ee
bsf rcx, r8
add ecx, edi
and ecx, 0xf
mov ecx, dword [rbx + rcx*4]
je 0x1400ea3e5
cmp ecx, r15d
jb 0x1400ea3ee
cmp ecx, edx
jb 0x1400ea3d3
prefetcht0 byte [rcx + r12]
jmp 0x1400ea3d8
prefetcht0 byte [rcx + r9]
mov dword [rsp + r13*4 + 0xa0], ecx
inc r13
dec ebp
lea rax, [r8 - 1]
and r8, rax
ja 0x1400ea3b1
mov r9, qword [rsp + 0x40]
mov r15d, 3
mov ecx, dword [rsp + 0x2c]
mov eax, esi
dec ecx
mov edx, recv
and ecx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x60]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [rbx + rcx*4], eax
inc dword [r10 + 0x2c]
test r13, r13
je 0x1400ea504
mov ecx, dword [rsp + 0x24]
mov ebp, dword [rsp + rsi*4 + 0xa0]
cmp ebp, ecx
jb 0x1400ea460
mov eax, dword [r15 + r14 - 3]
lea rdx, [r12 + rbp]
cmp dword [rdx + r15 - 3], eax
jne 0x1400ea4f8
mov r8, r9
mov rcx, r14
call fcn.1400e5d10
mov rbx, rax
jmp 0x1400ea4ca
mov rdi, qword [rsp + 0x68]
mov eax, dword [r14]
add rdi, rbp
cmp dword [rdi], eax
jne 0x1400ea4f8
mov rcx, qword [rsp + 0x70]
lea r12, [r14 + 4]
add rdi, 4
mov r8, r9
mov rax, r12
mov rdx, rdi
sub rax, rdi
add rcx, rax
cmp rcx, r9
cmovb r8, rcx
mov rcx, r12
call fcn.1400e5d10
mov rbx, rax
add rax, rdi
cmp rax, qword [rsp + 0x70]
jne 0x1400ea4c1
mov r8, qword [rsp + 0x40]
lea rcx, [r12 + rbx]
mov rdx, qword [rsp + 0x78]
call fcn.1400e5d10
add rbx, rax
mov r12, qword [rsp + 0x48]
add rbx, 4
mov r9, qword [rsp + 0x40]
cmp rbx, r15
jbe 0x1400ea4f4
mov eax, dword [rsp + 0x28]
mov r15, rbx
mov rcx, qword [rsp + 0x80]
sub eax, ebp
add eax, 3
mov qword [rcx], rax
lea rax, [rbx + r14]
cmp rax, r9
je 0x1400ea504
mov ecx, dword [rsp + 0x24]
inc rsi
cmp rsi, r13
jb 0x1400ea431
mov rax, r15
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140131ef0
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret