Function at 0x140064f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov r15, rdx
mov r12, rcx
xor edx, edx
mov ebx, edx
mov qword [rbp - 0x38], rdx
mov eax, recv
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x48], dl
mov rdi, qword [r15]
mov r13, qword [r15 + 8]
cmp rdi, r13
je 0x140065092
nop dword [rax]
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], recv
mov byte [rbp - 0x28], 0
mov r8d, 3
cmp qword [rdi + 0x10], r8
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140064fbc
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.140016660
nop
lea r9, [rbp - 0x28]
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
cmp r14, 0x10
cmovae r9, rsi
mov r12, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r12
mov r15, qword [rbp - 0x18]
cmp r15, rax
ja 0x140065020
lea rax, [r12 + r15]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x48]
lea rcx, [rbx + r12]
mov r8, r15
mov rdx, r9
call fcn.140187b30
lea rax, [r15 + rbx]
mov byte [rax + r12], 0
jmp 0x14006503c
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140012880
mov r14, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x28]
cmp r14, 0x10
jb 0x140065073
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14006506b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065289
mov rcx, rsi
call fcn.140169b20
add rdi, 0x20
xor edx, edx
cmp rdi, r13
jne 0x140064f90
mov rax, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
mov r15, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
mov qword [rbp - 0x10], rdx
lea r14, [rbp - 0x48]
cmp rax, 0x10
cmovae r14, qword [rbp - 0x48]
cmp rbx, 0x10
jae 0x1400650c7
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x28], xmm0
mov esi, recv
lea r8, [rbp - 0x28]
lea rax, [rbp - 0x28]
mov rdi, qword [rbp - 0x28]
jmp 0x140065155
mov rsi, rbx
or rsi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
cmova rsi, rax
lea rax, [rsi + 1]
cmp rax, 0x1000
jb 0x140065119
lea rcx, [rax + 0x27]
mov rdx, 0xffffffffffffffff
cmp rcx, rax
cmovbe rcx, rdx
call fcn.140169ae4
test rax, rax
je 0x14006528f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14006512e
test rax, rax
je 0x14006512b
mov rcx, rax
call fcn.140169ae4
mov rdi, rax
jmp 0x14006512e
mov rdi, rdx
mov qword [rbp - 0x28], rdi
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rdi
call fcn.140187b30
lea r8, [rbp - 0x28]
cmp rsi, 0x10
cmovae r8, rdi
lea rax, [rbp - 0x28]
cmovae rax, rdi
mov rdx, r8
mov rcx, rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rbx
add rax, rbx
mov r9, rax
sub r9, r8
cmp r8, rax
mov r14d, 0
cmova r9, r14
mov r11d, 0xffffffff
mov ebx, r11d
test r9, r9
je 0x1400651b9
mov r10, qword [0x1402c6b50]
nop
movsx rax, byte [rdx]
xor rax, rbx
movzx ecx, al
mov rax, rbx
shr rax, 8
mov rbx, qword [r10 + rcx*8]
xor rbx, rax
inc rdx
mov rax, rdx
sub rax, r8
cmp rax, r9
jne 0x140065190
mov rcx, rsi
xor rbx, r11
cmp rcx, 0x10
jb 0x1400651f3
lea rdx, [rcx + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400651eb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065295
mov rcx, rdi
call fcn.140169b20
mov rcx, qword [r15 + 8]
sub rcx, qword [r15]
sar rcx, 5
xor edx, edx
mov rax, rbx
div rcx
shl rdx, 5
add rdx, qword [r15]
mov rcx, r12
call fcn.140013a50
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14006524d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065283
call fcn.140169b20
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], recv
mov byte [rbp - 0x48], 0
mov rcx, r15
call fcn.140027410
mov rax, r12
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14018aa4c
nop
call fcn.14018aa4c
int3
call fcn.14018aa4c
int3
call fcn.14018aa4c
int3