Function at 0x140065db0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0xc0
mov byte [rsp + 0xa7], cl
call fcn.140064c96
mov qword [rsp + 0xa8], rax
mov rcx, qword [0x1401fdf88]
xor eax, eax
test rcx, rcx
cmovg rax, rcx
mov qword [rsp + 0xb0], rax
xor eax, eax
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rax
cmp rax, rcx
je 0x1400661f5
mov rcx, qword [rsp + 0x98]
mov rax, qword [0x1401fdf90]
mov qword [rsp + 0x88], rax
add rax, 8
shl rcx, 4
add rax, rcx
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
cmp rax, 4
jl 0x140066137
mov eax, dword [0x1401dae48]
xor eax, 0xc3346ac7
mov ecx, dword [0x1401dae4c]
xor ecx, 0x5bd811ca
imul eax, ecx
mov ecx, 0x68b909ea
xor edx, edx
div ecx
mov ecx, 0xfc1df35
xor edx, edx
div ecx
mov ecx, eax
and ecx, 0x15a7fa12
xor ecx, 0xffffffff
add eax, 0x15a7fa12
add eax, 1
add eax, ecx
cmp eax, 0xde40c882
jae 0x1400661fe
mov rcx, qword [rsp + 0x88]
mov esi, dword [0x1401dae50]
add esi, dword [0x1401dae54]
xor esi, 0x8ce53a62
mov edx, esi
xor edx, 0xffffffff
mov r9d, 0xb6f55056
xor r9d, 0xba592bcd
mov eax, 0xdf64608d
xor eax, 0x209b9f72
xor r9d, eax
mov r8d, 0xa2ddf1fb
xor r8d, 0x8b4bcc5f
mov eax, 0x533f14e8
xor eax, 0xacc0eb17
xor r8d, eax
mov eax, edx
and eax, 0x29963da4
and esi, r8d
mov r11d, 0x7b3160f2
xor r11d, 0x52a75d56
mov r10d, r9d
and r10d, r11d
mov r11d, r8d
and r11d, 0xcac7b9b
or eax, esi
or r10d, r11d
xor eax, r10d
or edx, r9d
xor edx, 0xffffffff
or r8d, 0x29963da4
and edx, r8d
or eax, edx
mov r8d, 0x4ad5d112
xor edx, edx
div r8d
mov rdx, qword [rsp + 0x98]
add rcx, 8
shl rdx, 4
add rcx, rdx
add rcx, 8
mov rcx, qword [rcx]
mov qword [rsp + 0x80], rcx
cmp eax, 0x9ffa8b2e
jae 0x140065e92
xor eax, eax
mov qword [rsp + 0x78], rax
jmp 0x140065f6a
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
cmp rax, 4
je 0x140065fe7
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov rdx, rax
and rdx, 4
mov r8, rax
or r8, 4
add rdx, r8
mov cl, byte [rcx + rdx + 8]
lea rdx, [0x1401ec720]
mov dl, byte [rdx + rax]
movabs r8, 0xdae57ee861c0ba34
add rax, r8
add rax, 1
movabs r8, 0x2a5896d00eb7484d
movabs r9, 0xf0bde8386f77f279
xor r8, r9
sub rax, r8
cmp cl, dl
mov qword [rsp + 0x78], rax
je 0x140065f6a
jmp 0x140066137
mov rcx, qword [rsp + 0x80]
mov rax, rcx
add rax, 8
mov qword [rsp + 0x60], rax
add rcx, 0x10
call fcn.140064e60
mov cl, al
mov rax, qword [rsp + 0xa8]
mov byte [rsp + 0x6f], cl
cmp byte [rax], 0
jne 0x1400661f5
mov al, byte [rsp + 0x6f]
mov cl, byte [rsp + 0xa7]
cmp al, cl
jne 0x140066137
mov rcx, qword [rsp + 0x60]
call fcn.140064cb1
mov cx, ax
mov rax, qword [rsp + 0x88]
movsx rdx, cx
mov rcx, rax
add rcx, 8
mov r8, rdx
shl r8, 4
add rcx, r8
mov rcx, qword [rcx]
add rax, 8
shl rdx, 4
add rax, rdx
add rax, 8
mov rax, qword [rax]
add rax, 8
mov qword [rsp + 0x48], rax
xor eax, eax
test rcx, rcx
cmovg rax, rcx
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rcx
xor eax, eax
cmp rcx, rdx
mov qword [rsp + 0x40], rax
je 0x140066100
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
movabs rdx, 0xa1fae70a9801e27d
movabs rcx, 0xa1fae70a9801e27c
xor rdx, rcx
mov rcx, rax
and rcx, rdx
shl rcx, 1
movabs rdx, 0xd8c44d464d4bcfdb
movabs r8, 0xd8c44d464d4bcfda
xor rdx, r8
xor rax, rdx
add rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x14006608b
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp rax, rcx
je 0x140066137
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov byte [rcx + rax], 0
add rax, 1
mov qword [rsp + 0x40], rax
jmp 0x140066100
mov eax, dword [0x1401dae58]
imul eax, dword [0x1401dae5c]
xor eax, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 0x33c900ab
mov edx, 0xffffffff
xor edx, 0x9c640f80
or eax, ecx
mov ecx, 0x2eee8aeb
xor ecx, 0xb28a856b
or ecx, edx
xor eax, 0xffffffff
and eax, ecx
sub eax, 0xd5adc6af
mov ecx, 0xb7421de4
xor ecx, 0xbfc2f7ca
xor edx, edx
div ecx
cmp eax, 0x7ead4478
ja 0x140066207
mov eax, dword [0x1401dae60]
mov ecx, dword [0x1401dae64]
xor ecx, 0xd8512483
and eax, ecx
mov ecx, 0x8995069
xor ecx, 0xdb8418f6
xor edx, edx
div ecx
mov rdx, qword [rsp + 0x98]
sub eax, 0xbb523267
add eax, 0xea3b5137
mov rcx, rdx
and rcx, 1
or rdx, 1
add rcx, rdx
mov qword [rsp + 0x28], rcx
cmp eax, 0xbc85fb69
jae 0x140066190
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xb8], rax
jmp 0x140065dee
add rsp, 0xc0
pop rsi
ret
push rbp
cmpsb byte [rsi], byte [rdi]
bts ecx, 0x8b
cld
invalid
int3