Function at 0x1337c0ece630
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a8
mov rsi, qword [rcx + 8]
mov r10, rcx
mov rax, qword [rcx + 0x70]
mov rbp, r8
mov r14d, dword [rcx + 0x34]
mov r13d, edx
mov qword [rsp + 0x68], rax
sub r13d, esi
mov rax, qword [rcx + 0x38]
mov r9d, 1
mov r15, qword [r10 + 0x60]
mov rbx, rdx
mov qword [rsp + 0x38], rax
mov edx, r9d
mov eax, dword [rcx + 0x18]
mov r11d, r9d
mov ecx, dword [rcx + 0x100]
lea edi, [r9 + 2]
shl edx, cl
mov r8d, r13d
mov ecx, dword [r10 + 0x1c]
sub r8d, edx
mov dword [rsp + 0x40], eax
add rax, rsi
mov qword [rsp + 0x90], rax
mov eax, r13d
sub eax, ecx
mov dword [rsp + 0x60], r14d
cmp eax, edx
mov qword [rsp + 0x58], rsi
mov rdx, qword [r10 + 0xf8]
cmovbe r8d, ecx
mov dword [rsp + 0x1f0], r13d
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x80], r15
cmovne r8d, ecx
mov qword [rsp + 0x50], rdx
mov ecx, 4
mov dword [rsp + 0x64], r8d
mov r8d, dword [r10 + 0x10c]
cmp r8d, ecx
cmovb ecx, r8d
imul r9d, dword [rbx], 0x9e3779b1
shl r11d, cl
mov ecx, 0x22
sub ecx, dword [rdx + 0x108]
mov dword [rsp + 0x1f8], r11d
mov eax, r9d
shr rax, cl
lea rax, [rax*4]
lea rcx, [rax*4]
mov qword [rsp + 0x88], rax
mov rax, qword [rdx + 0x70]
mov qword [rsp + 0x70], rcx
prefetcht0 byte [rcx + rax]
xor r12d, r12d
cmp r8d, 4
jbe 0x1337c0ece762
lea ecx, [r8 - 4]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x44], eax
jmp 0x1337c0ece767
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x30], setsockopt
cmp dword [r10 + 0x12c], r12d
jne 0x1337c0ecea26
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
sub eax, r11d
cmp eax, 0x180
jbe 0x1337c0ece900
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1337c0ece853
mov rdi, qword [rsp + 0x38]
lea r15, [rsi + 8]
mov rsi, qword [rsp + 0x68]
mov r13d, 0x18
sub r13d, r14d
mov ebp, eax
add r15, r11
mov r14d, r11d
nop dword [rax]
imul edx, dword [r15], 0x9e3779b1
mov rcx, r13
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rdi + rax]
mov rax, r14
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rax + rdi]
lea rdx, [rax + rdi]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, r12d
cmove eax, dword [rsp + 0x30]
inc r14
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [rsi + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x1337c0ece7c0
mov rbp, qword [rsp + 0x200]
mov edi, 3
mov r13d, dword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [r10 + 0x70]
lea r11d, [r13 - 0x20]
mov qword [rsp + 0x48], rcx
lea rax, [rbx + 1]
mov rcx, qword [r10 + 0x38]
lea r9, [r11 + rsi]
mov qword [rsp + 0x78], rcx
mov ecx, eax
sub ecx, r11d
mov r8d, r11d
sub ecx, esi
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, r12d
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1337c0ece900
mov rbp, qword [rsp + 0x48]
mov r15d, 0x18
sub r15d, dword [r10 + 0x34]
mov r13, qword [rsp + 0x78]
mov r14d, ecx
nop
imul edx, dword [r9], 0x9e3779b1
mov rcx, r15
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rbp + rax*4]
prefetcht0 byte [rax + r13]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r14, 1
jne 0x1337c0ece8b0
mov rbp, qword [rsp + 0x200]
mov r13d, dword [rsp + 0x1f0]
mov rax, qword [r10 + 0x70]
mov rcx, qword [r10 + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [r10 + 0x38]
cmp r11d, r13d
jae 0x1337c0ece9cb
mov rsi, qword [rsp + 0x78]
lea r15, [rcx + 8]
mov edi, 0x18
mov r14d, r11d
sub edi, dword [r10 + 0x34]
mov rbp, rax
add r15, r14
nop word [rax + rax]
imul edx, dword [r15], 0x9e3779b1
mov rcx, rdi
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rax + rbp]
mov rax, r14
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rax + rbp]
lea rdx, [rax + rbp]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, r12d
cmove eax, dword [rsp + 0x30]
inc r14
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, r13d
jb 0x1337c0ece940
mov rbp, qword [rsp + 0x200]
mov edi, 3
mov rsi, qword [rsp + 0x58]
mov eax, dword [rsp + 0x80]
mov ecx, 0x18
sub ecx, dword [rsp + 0x60]
mov r8d, r13d
mov dword [r10 + 0x2c], r13d
imul edx, dword [r8 + rsi + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov rcx, qword [rsp + 0x68]
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r9, qword [rsp + 0x38]
prefetcht0 byte [rax + r9]
mov r11d, dword [rsp + 0x1f8]
and r8d, 7
mov r15d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1337c0ecea48
mov r15d, r15d
mov ecx, 0x18
mov eax, r9d
sub ecx, r14d
mov r9, qword [rsp + 0x38]
xor r15, rax
shr r15, cl
mov rcx, qword [rsp + 0x68]
mov dword [r10 + 0x2c], r13d
add dword [r10 + 0x68], r15d
mov eax, r15d
shr eax, 4
mov r14, r12
and eax, 0xffffff0
mov rsi, r12
movdqu xmm0, xmmword [rax + r9]
lea rdx, [rax + r9]
mov qword [rsp + 0x80], rdx
lea rcx, [rcx + rax*4]
movsx eax, r15b
mov qword [rsp + 0x38], rcx
movzx ecx, byte [rdx]
mov dword [rsp + 0x30], ecx
movd xmm1, eax
mov eax, ecx
and eax, 0xf
punpcklbw xmm1, xmm1
mov ecx, eax
punpcklwd xmm1, xmm1
mov edx, 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
movzx r9d, ax
movzx eax, r8w
mov r8d, dword [rsp + 0x30]
shr rax, cl
or r9, rax
jbe 0x1337c0eceb25
mov rdx, qword [rsp + 0x58]
mov r13, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x64]
test r11d, r11d
je 0x1337c0eceb0d
bsf rcx, r9
add ecx, r8d
and ecx, 0xf
mov ecx, dword [r13 + rcx*4]
je 0x1337c0eceb04
cmp ecx, ebp
jb 0x1337c0eceb0d
prefetcht0 byte [rcx + rdx]
mov dword [rsp + r14*4 + 0xa0], ecx
inc r14
dec r11d
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ecead8
mov rbp, qword [rsp + 0x200]
mov r13d, dword [rsp + 0x1f0]
mov dword [rsp + 0x1f8], r11d
lea ecx, [r8 - 1]
mov eax, r12d
and ecx, 0xf
mov edx, recv
cmove eax, edx
mov rdx, qword [rsp + 0x38]
add ecx, eax
mov rax, qword [rsp + 0x80]
mov byte [rax], cl
mov byte [rcx + rax], r15b
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x1337c0ecebc0
mov r12, qword [rsp + 0x58]
nop dword [rax]
nop word [rax + rax]
mov r15d, dword [rsp + rsi*4 + 0xa0]
mov eax, dword [rdi + rbx - 3]
lea rdx, [r12 + r15]
cmp dword [rdx + rdi - 3], eax
jne 0x1337c0ecebb5
mov r8, rbp
mov rcx, rbx
call fcn.1337c0ebc5c0
cmp rax, rdi
jbe 0x1337c0ecebb5
mov rdx, qword [rsp + 0x208]
mov ecx, r13d
sub ecx, r15d
mov rdi, rax
add ecx, 3
add rax, rbx
mov qword [rdx], rcx
cmp rax, rbp
je 0x1337c0ecebbd
inc rsi
cmp rsi, r14
jb 0x1337c0eceb70
xor r12d, r12d
mov r9, qword [rsp + 0x50]
mov r10d, 3
mov r15d, dword [rsp + 0x44]
mov esi, r10d
add r15d, dword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x70]
mov r8, qword [r9]
mov r14, qword [r9 + 8]
mov r11, qword [r9 + 0x70]
mov eax, r14d
sub eax, r8d
mov qword [rsp + 0x38], r8
add eax, dword [rsp + 0x40]
cmp r15d, r10d
mov dword [rsp + 0x1f8], eax
lea rcx, [r11 + rdx]
cmovb esi, r15d
mov dword [rsp + 0x40], esi
mov eax, dword [rcx]
prefetcht0 byte [rax + r14]
lea rcx, [rcx + 4]
sub r10, 1
jne 0x1337c0ecec10
mov rax, qword [rsp + 0x88]
mov ecx, dword [r11 + rax*4 + 0xc]
mov rax, qword [r9 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov r13d, r12d
test esi, esi
je 0x1337c0ecece6
nop dword [rax + rax]
mov rax, qword [r9 + 0x70]
mov esi, dword [rdx + rax]
lea rdx, [r14 + rsi]
test esi, esi
je 0x1337c0ecedb0
mov eax, dword [rbx]
cmp dword [rdx], eax
jne 0x1337c0ececca
mov rax, qword [rsp + 0x90]
lea rcx, [rbx + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.1337c0ebc660
lea rcx, [rax + 4]
cmp rcx, rdi
jbe 0x1337c0ececc0
mov eax, dword [rsp + 0x1f0]
mov rdi, rcx
mov rdx, qword [rsp + 0x208]
sub eax, esi
sub eax, dword [rsp + 0x1f8]
add eax, 3
mov qword [rdx], rax
lea rax, [rcx + rbx]
cmp rax, rbp
je 0x1337c0ecedc7
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
inc r13d
add rdx, 4
mov qword [rsp + 0x70], rdx
cmp r13d, dword [rsp + 0x40]
jb 0x1337c0ecec50
mov rax, qword [r9 + 0x70]
sub r15d, r13d
mov rcx, qword [rsp + 0x88]
mov edx, r12d
mov ecx, dword [rax + rcx*4 + 0xc]
mov esi, ecx
shr esi, 8
movzx eax, cl
cmp r15d, eax
cmova r15d, eax
test r15d, r15d
je 0x1337c0ecedb0
mov r10, qword [r9 + 0x80]
nop dword [rax + rax]
lea eax, [rdx + rsi]
mov eax, dword [r10 + rax*4]
prefetcht0 byte [rax + r14]
inc edx
cmp edx, r15d
jb 0x1337c0eced20
mov rax, qword [r9 + 0x80]
mov r13d, dword [rax + rsi*4]
mov eax, dword [rbx]
lea rdx, [r14 + r13]
cmp dword [rdx], eax
jne 0x1337c0eceda1
mov rax, qword [rsp + 0x90]
lea rcx, [rbx + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.1337c0ebc660
add rax, 4
cmp rax, rdi
jbe 0x1337c0eced9c
mov ecx, dword [rsp + 0x1f0]
mov rdi, rax
mov rdx, qword [rsp + 0x208]
sub ecx, r13d
sub ecx, dword [rsp + 0x1f8]
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rbx]
cmp rcx, rbp
je 0x1337c0ecedb0
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
inc esi
inc r12d
cmp r12d, r15d
jb 0x1337c0eced33
mov rax, rdi
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, rcx
jmp 0x1337c0ecedb3