Function at 0x1337c0eca7a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
mov r10, qword [rcx + 8]
mov r11, rcx
mov rax, qword [rcx + 0x70]
mov r15, r8
mov r12d, dword [rcx + 0x34]
mov esi, edx
mov qword [rsp + 0x58], rax
sub esi, r10d
mov rax, qword [rcx + 0x38]
mov r14, rdx
mov qword [rsp + 0x60], rax
mov edi, 1
mov eax, dword [rcx + 0x18]
mov edx, edi
mov ecx, dword [rcx + 0x100]
mov r8d, esi
mov r13, qword [r14]
mov r9d, 0x38
shl edx, cl
mov ebx, 3
mov ecx, dword [r11 + 0x1c]
sub r8d, edx
mov dword [rsp + 0x24], eax
add rax, r10
mov qword [rsp + 0x88], rax
mov eax, esi
sub eax, ecx
mov dword [rsp + 0x50], r12d
cmp eax, edx
mov qword [rsp + 0x28], r10
mov eax, dword [r11 + 0x10c]
cmovbe r8d, ecx
mov dword [rsp + 0x20], esi
cmp dword [r11 + 0x28], 0
cmovne r8d, ecx
mov ecx, 4
cmp eax, ecx
mov dword [rsp + 0x54], r8d
cmovb ecx, eax
mov rax, qword [r11 + 0x60]
shl edi, cl
movabs rcx, 0xcf1bbcdcbb000000
mov qword [rsp + 0x40], rax
mov rax, qword [r11 + 0xf8]
imul r13, rcx
mov qword [rsp + 0x68], rax
mov ecx, r9d
mov rdx, qword [rax + 0x38]
sub ecx, dword [rax + 0x34]
mov r8, qword [rax + 0x70]
mov rax, r13
shr rax, cl
mov qword [rsp + 0x78], rax
shr eax, 4
and eax, 0xffffff0
mov dword [rsp + 0x1e0], edi
lea rcx, [rdx + rax]
lea rax, [r8 + rax*4]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x80], rax
prefetcht0 byte [rax]
prefetcht0 byte [rcx]
xor ebp, ebp
mov dword [rsp + 0x30], setsockopt
cmp dword [r11 + 0x12c], ebp
jne 0x1337c0ecabbf
mov r10d, dword [r11 + 0x2c]
mov eax, esi
sub eax, r10d
cmp eax, 0x180
jbe 0x1337c0ecaa89
lea eax, [r10 + 0x60]
cmp r10d, eax
jae 0x1337c0eca9c6
mov rsi, qword [rsp + 0x28]
mov r15d, r9d
mov rbx, qword [rsp + 0x60]
sub r15d, r12d
mov r12, qword [rsp + 0x58]
add rsi, 8
add rsi, r10
mov r13d, r10d
mov edi, eax
movabs r14, 0xcf1bbcdcbb000000
nop word [rax + rax]
mov rdx, qword [rsi]
mov ecx, r15d
imul rdx, r14
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rbx + rax]
mov rax, r13
lea rsi, [rsi + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rax + rbx]
lea rdx, [rax + rbx]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, ebp
cmove eax, dword [rsp + 0x30]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [r12 + rax*4], r10d
inc r10d
cmp r10d, edi
jb 0x1337c0eca930
mov r14, qword [rsp + 0x1e8]
mov ebx, 3
mov edi, dword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1f0]
mov esi, dword [rsp + 0x20]
mov rcx, qword [r11 + 0x70]
lea r10d, [rsi - 0x20]
mov r12, qword [rsp + 0x28]
lea rax, [r14 + 1]
mov qword [rsp + 0x38], rcx
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x48], rcx
mov ecx, eax
sub ecx, r10d
mov r8d, r10d
sub ecx, r12d
lea r9, [r10 + r12]
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [r10 + rcx]
cmp r10d, eax
jae 0x1337c0ecaa83
mov rdi, qword [rsp + 0x38]
mov r13d, 0x38
sub r13d, dword [r11 + 0x34]
movabs r14, 0xcf1bbcdcbb000000
mov r15, qword [rsp + 0x48]
mov r12d, ecx
mov rdx, qword [r9]
mov ecx, r13d
imul rdx, r14
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [r15 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r12, 1
jne 0x1337c0ecaa30
mov r14, qword [rsp + 0x1e8]
mov edi, dword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1f0]
mov r9d, 0x38
mov rax, qword [r11 + 0x70]
mov qword [rsp + 0x48], rax
mov rax, qword [r11 + 0x38]
mov qword [rsp + 0x38], rax
mov rax, qword [r11 + 8]
cmp r10d, esi
jae 0x1337c0ecab62
mov r15, qword [rsp + 0x48]
lea r13, [rax + 8]
mov rbx, qword [rsp + 0x38]
mov edi, r9d
sub edi, dword [r11 + 0x34]
movabs r14, 0xcf1bbcdcbb000000
mov r12d, r10d
add r13, r12
nop dword [rax]
mov rdx, qword [r13]
mov ecx, edi
imul rdx, r14
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [rbx + rax]
mov rax, r12
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rbx + rax]
lea rdx, [rbx + rax]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, ebp
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 [r15 + rax*4], r10d
inc r10d
cmp r10d, esi
jb 0x1337c0ecaad0
mov r14, qword [rsp + 0x1e8]
mov ebx, 3
mov edi, dword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1f0]
mov r10, qword [rsp + 0x28]
movabs rax, 0xcf1bbcdcbb000000
mov ecx, 0x38
mov r8d, esi
sub ecx, dword [rsp + 0x50]
mov dword [r11 + 0x2c], esi
mov rdx, qword [r8 + r10 + 8]
imul rdx, rax
xor rdx, qword [rsp + 0x40]
shr rdx, cl
mov rcx, qword [rsp + 0x58]
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r9, qword [rsp + 0x60]
prefetcht0 byte [rax + r9]
and r8d, 7
mov r13d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1337c0ecabdc
xor r13, qword [rsp + 0x40]
sub r9d, r12d
movzx ecx, r9b
mov dword [r11 + 0x2c], esi
mov r9, qword [rsp + 0x60]
shr r13, cl
mov rcx, qword [rsp + 0x58]
add dword [r11 + 0x68], r13d
mov eax, r13d
shr eax, 4
mov r12, rbp
and eax, 0xffffff0
mov rsi, rbp
movdqu xmm0, xmmword [rax + r9]
lea rdx, [rax + r9]
mov qword [rsp + 0x48], rdx
lea rcx, [rcx + rax*4]
movsx eax, r13b
mov qword [rsp + 0x40], rcx
movzx ecx, byte [rdx]
mov dword [rsp + 0x1e8], ecx
movd xmm1, eax
mov eax, ecx
and eax, 0xf
punpcklbw xmm1, xmm1
mov edx, eax
punpcklwd xmm1, xmm1
mov ecx, eax
pshufd xmm1, xmm1, 0
neg ecx
pcmpeqb xmm0, xmm1
pmovmskb r8d, xmm0
and ecx, 0xf
movzx eax, r8w
shl ax, cl
movzx ecx, dl
mov edx, dword [rsp + 0x1e8]
movzx r9d, ax
movzx eax, r8w
mov r8, qword [rsp + 0x40]
shr rax, cl
or r9, rax
jbe 0x1337c0ecacb2
mov r15d, dword [rsp + 0x54]
nop word [rax + rax]
test edi, edi
je 0x1337c0ecaca3
bsf rcx, r9
add ecx, edx
and ecx, 0xf
mov ecx, dword [r8 + rcx*4]
je 0x1337c0ecac9a
cmp ecx, r15d
jb 0x1337c0ecaca3
prefetcht0 byte [rcx + r10]
mov dword [rsp + r12*4 + 0x90], ecx
inc r12
dec edi
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ecac70
mov r15, qword [rsp + 0x1f0]
mov dword [rsp + 0x1e0], edi
lea ecx, [rdx - 1]
mov eax, ebp
and ecx, 0xf
mov edx, recv
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x48]
mov byte [rax], cl
mov byte [rcx + rax], r13b
mov eax, dword [r11 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r11 + 0x2c]
test r12, r12
je 0x1337c0ecad47
mov ebp, dword [rsp + 0x20]
mov rdi, qword [rsp + 0x1f8]
nop dword [rax]
mov r13d, dword [rsp + rsi*4 + 0x90]
lea rdx, [r10 + r13]
mov eax, dword [rdx + rbx - 3]
cmp eax, dword [rbx + r14 - 3]
jne 0x1337c0ecad36
mov r8, r15
mov rcx, r14
call fcn.1337c0ebb450
mov rcx, rax
cmp rax, rbx
jbe 0x1337c0ecad31
mov rbx, rax
mov eax, ebp
sub eax, r13d
add eax, 3
mov qword [rdi], rax
lea rax, [rbx + r14]
cmp rax, r15
je 0x1337c0ecad3e
mov r10, qword [rsp + 0x28]
inc rsi
cmp rsi, r12
jb 0x1337c0ecacf0
mov edi, dword [rsp + 0x1e0]
xor ebp, ebp
mov r11, qword [rsp + 0x68]
mov r12, rbp
mov rcx, qword [rsp + 0x70]
mov r10, qword [r11 + 8]
movzx esi, byte [rcx]
movdqu xmm0, xmmword [rcx]
mov r13d, dword [r11 + 0x18]
mov r11, qword [r11]
mov eax, r11d
mov qword [rsp + 0x1e0], r10
sub eax, r10d
mov qword [rsp + 0x1e8], r11
sub dword [rsp + 0x24], eax
movsx eax, byte [rsp + 0x78]
movd xmm1, eax
mov eax, esi
and eax, 0xf
punpcklbw xmm1, xmm1
mov ecx, eax
punpcklwd xmm1, xmm1
mov edx, eax
pshufd xmm1, xmm1, 0
neg ecx
pcmpeqb xmm1, xmm0
and ecx, 0xf
pmovmskb r8d, xmm1
movzx eax, r8w
shl ax, cl
movzx ecx, dl
movzx r9d, ax
movzx eax, r8w
shr rax, cl
or r9, rax
jbe 0x1337c0ecaec5
mov rdx, qword [rsp + 0x80]
test edi, edi
je 0x1337c0ecae04
bsf rcx, r9
add ecx, esi
and ecx, 0xf
mov ecx, dword [rdx + rcx*4]
je 0x1337c0ecadfb
cmp ecx, r13d
jb 0x1337c0ecae04
prefetcht0 byte [rcx + r10]
mov dword [rsp + rbp*4 + 0x90], ecx
inc rbp
dec edi
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ecadd3
test rbp, rbp
je 0x1337c0ecaec5
nop dword [rax]
mov edi, dword [rsp + r12*4 + 0x90]
mov eax, dword [r14]
add rdi, r10
cmp dword [rdi], eax
jne 0x1337c0ecaeb9
add rdi, 4
lea r13, [r14 + 4]
mov rcx, r13
mov r8, r15
sub rcx, rdi
mov rdx, rdi
add rcx, r11
cmp rcx, r15
cmovb r8, rcx
mov rcx, r13
call fcn.1337c0ebb450
mov r11, qword [rsp + 0x1e8]
mov rsi, rax
add rax, rdi
cmp rax, r11
jne 0x1337c0ecae7e
mov rdx, qword [rsp + 0x88]
lea rcx, [rsi + r13]
mov r8, r15
call fcn.1337c0ebb450
mov r11, qword [rsp + 0x1e8]
add rsi, rax
add rsi, 4
cmp rsi, rbx
jbe 0x1337c0ecaeb1
mov eax, dword [rsp + 0x20]
mov rbx, rsi
sub eax, dword [rsp + r12*4 + 0x90]
sub eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x1f8]
add eax, 3
mov qword [rcx], rax
lea rax, [rsi + r14]
cmp rax, r15
je 0x1337c0ecaec5
mov r10, qword [rsp + 0x1e0]
inc r12
cmp r12, rbp
jb 0x1337c0ecae10
mov rax, rbx
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret