Function at 0x1401efe30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x178
mov rax, qword [0x14034bd48]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r13, qword [rcx + 8]
mov rbx, rcx
mov rax, qword [rcx + 0x70]
mov edi, edx
sub edi, r13d
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x38]
mov r15d, edx
sub r15d, r13d
mov qword [rsp + 0x30], r8
mov rsi, r8
mov qword [rsp + 0x40], rax
mov r10, rdx
mov qword [rsp + 0x58], r9
mov r9d, dword [rcx + 0x34]
mov r14d, 1
mov ecx, dword [rcx + 0x100]
mov edx, r14d
shl edx, cl
mov eax, edi
mov ecx, dword [rbx + 0x1c]
mov r8d, edi
sub eax, ecx
mov dword [rsp + 4], r9d
sub r8d, edx
mov qword [rsp + 0x20], r13
cmp eax, edx
mov dword [rsp], r15d
mov eax, dword [rbx + 0x10c]
mov ebp, 3
mov rdx, qword [rbx + 0x60]
cmovbe r8d, ecx
cmp dword [rbx + 0x28], 0
mov dword [rsp + 0x10], edi
cmovne r8d, ecx
mov qword [rsp + 0x50], rdx
mov ecx, 4
mov dword [rsp + 0x28], r8d
cmp eax, ecx
mov dword [rsp + 8], recv
cmovb ecx, eax
xor r11d, r11d
shl r14d, cl
mov dword [rsp + 0xc], r14d
cmp dword [rbx + 0x12c], r11d
jne 0x1401f01b7
mov edi, dword [rbx + 0x2c]
mov eax, r15d
sub eax, edi
cmp eax, 0x180
jbe 0x1401f008c
lea eax, [rdi + 0x60]
cmp edi, eax
jae 0x1401effe4
mov rbp, qword [rsp + 0x40]
lea r12, [r13 + 8]
mov r13, qword [rsp + 0x38]
mov r14d, 0x18
sub r14d, r9d
mov r15d, edi
add r12, rdi
mov esi, eax
nop dword [rax]
mov eax, dword [rbx + 0x60]
mov rcx, r14
imul edx, dword [r12], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [rax + rbp]
mov rax, r15
lea r12, [r12 + 1]
and eax, 7
mov r9d, dword [rbx + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbx + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + rbp]
lea rdx, [r8 + rbp]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 8]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [r13 + rax*4], edi
inc edi
cmp edi, esi
jb 0x1401eff50
mov rsi, qword [rsp + 0x30]
mov ebp, 3
mov r14d, dword [rsp + 0xc]
mov r13, qword [rsp + 0x20]
mov r15d, dword [rsp]
mov rcx, qword [rbx + 0x70]
lea edi, [r15 - 0x20]
mov qword [rsp + 0x18], rcx
lea rax, [r10 + 1]
mov rcx, qword [rbx + 0x38]
lea r9, [rdi + r13]
mov qword [rsp + 0x48], rcx
mov ecx, eax
sub ecx, r13d
mov r8d, edi
sub ecx, edi
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, r11d
cmp ecx, eax
cmova ecx, eax
lea eax, [rdi + rcx]
cmp edi, eax
jae 0x1401f008c
mov rsi, qword [rsp + 0x18]
mov r12d, 0x18
sub r12d, dword [rbx + 0x34]
mov r13, qword [rsp + 0x48]
mov r15d, ecx
nop dword [rax]
mov eax, dword [rbx + 0x60]
mov rcx, r12
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rax + r13]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [rbx + rax*4 + 0x40], edx
sub r15, 1
jne 0x1401f0040
mov rsi, qword [rsp + 0x30]
mov r13, qword [rsp + 0x20]
mov r15d, dword [rsp]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rbx + 8]
cmp edi, r15d
jae 0x1401f0164
mov rsi, qword [rsp + 0x18]
lea r12, [rcx + 8]
mov ebp, dword [rsp]
mov r14d, 0x18
sub r14d, dword [rbx + 0x34]
mov r13, rax
mov r15d, edi
add r12, r15
nop word [rax + rax]
mov eax, dword [rbx + 0x60]
mov rcx, r14
imul edx, dword [r12], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [rsi + rax]
mov rax, r15
lea r12, [r12 + 1]
and eax, 7
mov r9d, dword [rbx + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbx + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [rsi + r8]
lea rdx, [rsi + r8]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 8]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r13 + rax*4], edi
inc edi
cmp edi, ebp
jb 0x1401f00d0
mov rsi, qword [rsp + 0x30]
mov ebp, 3
mov r14d, dword [rsp + 0xc]
mov r13, qword [rsp + 0x20]
mov r15d, dword [rsp]
mov eax, dword [rsp + 0x50]
mov ecx, 0x18
sub ecx, dword [rsp + 4]
mov r8d, dword [rsp + 0x10]
mov dword [rbx + 0x2c], r15d
imul edx, dword [r8 + r13 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov rcx, qword [rsp + 0x38]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r9, qword [rsp + 0x40]
prefetcht0 byte [rax + r9]
and r8d, 7
mov r15d, dword [rbx + r8*4 + 0x40]
mov dword [rbx + r8*4 + 0x40], edx
jmp 0x1401f01db
imul r15d, dword [r10], 0x9e3779b1
mov ecx, 0x18
sub ecx, r9d
mov eax, edx
mov r9, qword [rsp + 0x40]
mov dword [rbx + 0x2c], edi
xor r15, rax
shr r15, cl
mov rcx, qword [rsp + 0x38]
add dword [rbx + 0x68], r15d
mov eax, r15d
shr rax, 4
mov rdi, r11
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + r9]
lea r13, [rcx + rax*4]
lea rcx, [rax + r9]
movzx eax, byte [rax + r9]
mov r12d, eax
mov dword [rsp + 4], eax
mov qword [rsp + 0x50], rcx
and r12d, 0xf
movsx eax, r15b
mov ecx, r12d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb edx, xmm1
movzx eax, dx
shl ax, cl
movzx ecx, r12b
movzx r9d, ax
movzx eax, dx
shr rax, cl
or r9, rax
jbe 0x1401f0292
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x28]
nop dword [rax]
test r14d, r14d
je 0x1401f0292
bsf rcx, r9
add ecx, r12d
and ecx, 0xf
je 0x1401f0289
mov ecx, dword [r13 + rcx*4]
cmp ecx, r8d
jb 0x1401f0292
prefetcht0 byte [rcx + rdx]
mov dword [rsp + rdi*4 + 0x60], ecx
inc rdi
dec r14d
lea rax, [r9 - 1]
and r9, rax
ja 0x1401f0260
mov ecx, dword [rsp + 4]
mov eax, r11d
dec ecx
mov edx, recv
and ecx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x50]
mov byte [rax], cl
mov byte [rcx + rax], r15b
mov eax, dword [rbx + 0x2c]
mov dword [r13 + rcx*4], eax
inc dword [rbx + 0x2c]
test rdi, rdi
je 0x1401f03a8
mov rbx, qword [rsp + 0x58]
nop dword [rax]
mov r9d, dword [rsp + r11*4 + 0x60]
mov eax, dword [r10 + rbp - 3]
mov edx, r9d
add rdx, qword [rsp + 0x20]
cmp dword [rdx + rbp - 3], eax
jne 0x1401f039c
lea r8, [rsi - 7]
mov rax, r10
cmp r10, r8
jae 0x1401f0339
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x1401f030a
bsf rcx, rcx
shr rcx, 3
jmp 0x1401f037e
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x1401f0339
nop word [rax + rax]
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x1401f03cf
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x1401f0320
lea rcx, [rsi - 3]
cmp rax, rcx
jae 0x1401f0350
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x1401f0350
add rax, 4
add rdx, 4
lea rcx, [rsi - 1]
cmp rax, rcx
jae 0x1401f0369
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x1401f0369
add rax, 2
add rdx, 2
cmp rax, rsi
jae 0x1401f0378
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x1401f0378
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rbp
jbe 0x1401f039c
mov eax, dword [rsp + 0x10]
mov rbp, rcx
sub eax, r9d
add eax, 3
mov qword [rbx], rax
lea rax, [rcx + r10]
cmp rax, rsi
je 0x1401f03a8
inc r11
cmp r11, rdi
jb 0x1401f02d0
mov rax, rbp
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140234a20
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
bsf rcx, rcx
shr rcx, 3
sub rcx, r10
add rcx, rax
jmp 0x1401f037e