Function at 0x1400aff10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov qword [rsp + 0x58], rdx
mov rbx, qword [rcx + 0x18]
cmp rbx, 0xffffffffffffffff
jne 0x1400aff3e
mov cl, 1
call fcn.14008ff30
mov rbx, rax
jmp 0x1400b04ed
mov r14, rcx
mov rsi, qword [rcx + 8]
movabs rax, 0x26c2a95ec12d8647
lea rcx, [rax + 8]
xor rcx, rax
movabs rax, 0x9c67bd9e860b448a
lea r8, [rax + 1]
xor r8, rax
add r8, rsi
mov rax, r8
shr rax, 3
movabs rdx, 0x86dde269b7868ff8
lea r13, [rdx + 7]
xor r13, rdx
imul r13, rax
cmp rsi, rcx
cmovb r13, rsi
mov rax, r13
shr rax, 1
cmp rbx, rax
jae 0x1400afff9
mov r15, qword [r14]
mov rcx, r8
shr rcx, 4
movabs rax, 0x393cfb8538c5e032
lea rdx, [rax + 0xb]
xor rdx, rax
mov qword [0x1400d5830], rdx
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x1400b0166
mov ecx, eax
and ecx, 1
mov qword [0x1400d5838], rcx
movabs rdx, 0x883954ed4b28f43e
lea r9, [rdx + 1]
xor r9, rdx
cmp rax, r9
jne 0x1400b00c0
xor edx, edx
jmp 0x1400b0149
cmp rbx, r13
cmova r13, rbx
movabs rax, 0x1727b9eed6c5b4d3
lea rcx, [rax + 1]
xor rcx, rax
cmp r13, rcx
jae 0x1400b0066
movabs rax, 0xb93169c9745b58fc
lea rcx, [rax + 3]
xor rcx, rax
movabs rax, 0x183d72f0c7d31e41
lea rdx, [rax + 4]
xor rdx, rax
movabs rax, 0xe7740989c16af130
lea r15, [rax + 8]
xor r15, rax
cmp r13, rcx
cmovb r15, rdx
mov ecx, 0x38
mov rax, r15
mul rcx
jno 0x1400b0533
jmp 0x1400aff2f
movabs rax, 0x1ffffffffffffffe
cmp r13, rax
ja 0x1400aff2f
movabs r9, 0x5a11cdb55b001870
movabs rax, 0x533bd81058dd07f7
lea rcx, [rax + 8]
xor rcx, rax
lea rax, [rcx + r13*8]
movabs rdx, 0xedb3d2db150b9f2b
lea rcx, [rdx + 1]
xor rcx, rdx
mov rdx, rax
shr rdx, 0x20
je 0x1400b0501
xor edx, edx
div rcx
jmp 0x1400b0505
movabs r10, 0xa5dcc10b9e35451b
movabs r11, 0xa02678910c46906c
movabs r9, 0x1b05c6e65fbd1e06
movabs rdx, 0x1ffffffffffffffe
and rax, rdx
xor edx, edx
lea r12, [r9 + 0x10]
xor r12, r9
movdqa xmm0, xmmword [0x1400b7300]
lea r9, [r10 + 0x20]
xor r9, r10
lea r10, [r11 + 2]
xor r10, r11
xor r11d, r11d
nop dword [rax]
add r11, r10
mov rdi, rdx
or rdi, r12
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r15 + rdx]
por xmm1, xmm0
movdqa xmmword [r15 + rdx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r15 + rdi]
add rdx, r9
por xmm1, xmm0
movdqa xmmword [r15 + rdi], xmm1
cmp r11, rax
jne 0x1400b0110
test rcx, rcx
je 0x1400b0166
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r15 + rdx]
por xmm0, xmmword [0x1400b7300]
movdqa xmmword [r15 + rdx], xmm0
movabs rax, 0x83ffe2d1646437ad
lea rcx, [rax + 0x10]
xor rcx, rax
cmp r8, rcx
mov qword [rsp + 0x30], rbx
jae 0x1400b019a
lea rcx, [r15 + 0x10]
mov rdx, r15
call fcn.1400aeeb0
cmp rsi, 0xffffffffffffffff
jne 0x1400b01a5
xor eax, eax
jmp 0x1400b04da
movdqu xmm0, xmmword [r15]
movdqu xmmword [r15 + r8], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x28], r14
movabs rcx, 0xc3a5e370381c4310
movabs rdi, 0xb6ab3e8ddbf19068
movabs rbp, 0xabc4e5ac54c99324
movabs rbx, 0x6e21b6024f1abf92
movabs r13, 0x60dde7a16f99cd88
lea rax, [r15 - 0x38]
mov qword [rsp + 0x48], rax
xor r12d, r12d
jmp 0x1400b0246
movabs rdx, 0x9b8995267e091f1a
lea ecx, [rdx + 9]
xor ecx, edx
shr rax, cl
lea rcx, [r12 - 0x10]
and rcx, rsi
movabs r8, 0x861750ae6cc1e6a8
lea rdx, [r8 + 0x10]
xor rdx, r8
add rdx, rcx
mov byte [r15 + r12], al
mov byte [r15 + rdx], al
movabs rcx, 0xc3a5e370381c4310
lea rax, [rcx + 1]
xor rax, rcx
add rax, r12
cmp r12, rsi
mov r12, rax
je 0x1400b04d0
cmp byte [r15 + r12], 0x80
jne 0x1400b0230
imul rax, r12, 0xffffffffffffffc8
lea rcx, [r15 + rax]
add rcx, 0xffffffffffffffc8
mov qword [rsp + 0x38], rcx
add rax, r15
mov qword [rsp + 0x20], rax
mov rax, r12
not rax
movabs rcx, 0x9c0ef62e145f278d
lea r14, [rcx + 0x28]
xor r14, rcx
imul r14, rax
add r14, r15
mov rax, r12
neg rax
imul rax, rax, 0x38
add rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
jmp 0x1400b030c
mov rax, qword [r14]
mov rcx, qword [rdx]
mov qword [r14], rcx
mov qword [rdx], rax
mov rax, qword [r14 + 8]
mov rcx, qword [rdx + 8]
mov qword [r14 + 8], rcx
mov qword [rdx + 8], rax
mov rax, qword [r14 + 0x10]
mov rcx, qword [rdx + 0x10]
mov qword [r14 + 0x10], rcx
mov qword [rdx + 0x10], rax
mov rax, qword [r14 + 0x18]
mov rcx, qword [rdx + 0x18]
mov qword [r14 + 0x18], rcx
mov qword [rdx + 0x18], rax
mov rax, qword [r14 + 0x20]
mov rcx, qword [rdx + 0x20]
mov qword [r14 + 0x20], rcx
mov qword [rdx + 0x20], rax
mov rax, qword [r14 + 0x28]
mov rcx, qword [rdx + 0x28]
mov qword [r14 + 0x28], rcx
mov qword [rdx + 0x28], rax
mov rax, qword [r14 + 0x30]
mov rcx, qword [rdx + 0x30]
mov qword [r14 + 0x30], rcx
mov qword [rdx + 0x30], rax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
call fcn.140046fd0
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb r8d, xmm0
mov rdx, rcx
test r8d, r8d
jne 0x1400b0360
mov rdx, rcx
xor r9d, r9d
nop word [rax + rax]
lea r8, [r13 + 0x10]
xor r8, r13
add r9, r8
add rdx, r9
and rdx, rsi
movdqu xmm0, xmmword [r15 + rdx]
pmovmskb r8d, xmm0
test r8d, r8d
je 0x1400b0340
tzcnt r8d, r8d
add r8, rdx
and r8, rsi
cmp byte [r15 + r8], 0
js 0x1400b0380
movdqa xmm0, xmmword [r15]
pmovmskb edx, xmm0
tzcnt r8d, edx
mov rdx, r12
sub rdx, rcx
mov r9, r8
sub r9, rcx
xor r9, rdx
and r9, rsi
movabs rdx, 0xeaa30f1c169f4645
lea rcx, [rdx + 0x10]
xor rcx, rdx
cmp r9, rcx
jb 0x1400b01f0
mov rcx, r8
not rcx
movabs r9, 0x3add36d312da7e90
lea rdx, [r9 + 0x18]
xor rdx, r9
imul rdx, rcx
add rdx, r15
movzx r9d, byte [r15 + r8]
movabs r10, 0x566d6b56b21e759d
lea ecx, [r10 + 7]
xor ecx, r10d
shr rax, cl
lea rcx, [r8 - 0x10]
and rcx, rsi
movabs r11, 0xc97cbde3dc735ba6
lea r10, [r11 + 0x10]
xor r10, r11
add r10, rcx
mov byte [r15 + r8], al
mov byte [r15 + r10], al
cmp r9b, 0xff
je 0x1400b0480
imul rax, r8, 0xffffffffffffffc8
add rax, r15
cmp qword [rsp + 0x38], rax
jae 0x1400b02a0
cmp rdx, qword [rsp + 0x20]
jae 0x1400b02a0
xor eax, eax
nop dword [rax + rax]
movzx ecx, byte [r14 + rax]
movzx r8d, byte [rdx + rax]
mov byte [r14 + rax], r8b
mov byte [rdx + rax], cl
lea rcx, [rbp + 1]
xor rcx, rbp
or rcx, rax
movzx r8d, byte [r14 + rcx]
movzx r9d, byte [rdx + rcx]
mov byte [r14 + rcx], r9b
mov byte [rdx + rcx], r8b
lea rcx, [rdi + 2]
xor rcx, rdi
add rax, rcx
lea rcx, [rbx + 0x18]
xor rcx, rbx
cmp rax, rcx
jne 0x1400b0430
jmp 0x1400b030c
lea rax, [r12 - 0x10]
and rax, rsi
movabs r8, 0x2eb3da7ef9c1b1c1
lea rcx, [r8 + 0x10]
xor rcx, r8
add rcx, rax
mov byte [r15 + r12], 0xff
mov byte [r15 + rcx], 0xff
mov rax, qword [r14 + 0x30]
mov qword [rdx + 0x30], rax
movdqu xmm0, xmmword [r14]
movdqu xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movups xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
jmp 0x1400b0226
mov r14, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
movabs rbx, 0x8000000000000001
sub rax, qword [rsp + 0x30]
mov qword [r14 + 0x10], rax
mov rax, rbx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edx, edx
div ecx
dec rax
bsr rcx, rax
not ecx
mov rax, 0xffffffffffffffff
shr rax, cl
lea r15, [r9 + 1]
xor r15, r9
add r15, rax
mov ecx, 0x38
mov rax, r15
mul rcx
jo 0x1400aff2f
mov r13, rax
mov rax, 0xfffffffffffffff0
cmp r13, rax
ja 0x1400aff2f
movabs rax, 0x421cec7b65f0c987
lea rcx, [rax + 1]
xor rcx, rax
add r13, rcx
movabs rbp, 0x1af5720dc97bc8f9
xor rbp, qword [0x1400d5820]
and r13, 0xfffffffffffffff0
add rbp, r15
mov rdi, r13
add rdi, rbp
jb 0x1400aff2f
movabs rax, 0x7ffffffffffffff1
cmp rdi, rax
jae 0x1400aff2f
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x28], r14
movzx eax, byte [0x1400d65f0]
movabs rax, 0x68f141bdff4ecdab
lea rdx, [rax + 0x10]
xor rdx, rax
mov rcx, rdi
call fcn.1400546b0
test rax, rax
je 0x1400b06c4
mov r12, rax
lea rdi, [r15 - 1]
movabs rax, 0x670e21c4f6b6c5b0
lea rcx, [rax + 9]
xor rax, rcx
mov rcx, r15
shr rcx, 3
movabs rdx, 0x9be27613e6eee50a
lea r8, [rdx + 3]
xor r8, rdx
imul r8, rcx
cmp r15, rax
cmovb r8, rdi
mov qword [rsp + 0x60], r8
add r12, r13
mov rcx, r12
mov dl, 0xff
mov r8, rbp
call fcn.1400af630
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
test rbx, rbx
jne 0x1400b06e7
movabs rbx, 0x8000000000000001
mov rcx, qword [rsp + 0x60]
sub rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
mov qword [rax], r12
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
test rsi, rsi
je 0x1400b04ed
mov ecx, 0x38
mov rax, qword [rsp + 0x40]
mul rcx
movabs rdx, 0x8dbfde8fb6f61b37
lea r8, [rdx + 1]
xor r8, rdx
add r8, rax
and r8, 0xfffffffffffffff0
movabs rax, 0x21668c3d37acd5c3
lea rdx, [rax + 0xf]
xor rdx, rax
add rsi, rdx
add rsi, r8
je 0x1400b04ed
mov rcx, qword [rsp + 0x20]
sub rcx, r8
movabs rax, 0x250f1614ee65a32c
lea r8, [rax + 0x10]
xor r8, rax
mov rdx, rsi
call fcn.1400546c0
jmp 0x1400b04ed
movabs rax, 0x92dd1e3358bcc345
lea rdx, [rax + 0x10]
xor rdx, rax
mov cl, 1
mov r8, rdi
call fcn.14008ff40
mov rbx, rax
jmp 0x1400b04ed
movabs rbx, 0xedbf6d426720eccd
movabs r13, 0x4548390344a0b603
mov r15, qword [rsp + 0x20]
movdqa xmm0, xmmword [r15]
pmovmskb r14d, xmm0
not r14d
lea rax, [r15 - 0x38]
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov r11, qword [rsp + 0x30]
jmp 0x1400b07e7
lea r8d, [r14 - 1]
and r8d, r14d
dec r11
movabs r9, 0x25f8336d52ced247
lea ecx, [r9 + 0x37]
xor ecx, r9d
shr rax, cl
lea rcx, [rdx - 0x10]
and rcx, rdi
movabs r10, 0x48f616e0841c38e4
lea r9, [r10 + 0x10]
xor r9, r10
add r9, rcx
mov byte [r12 + rdx], al
mov byte [r12 + r9], al
mov r9, qword [rsp + 0x50]
not r9
movabs rcx, 0x581f17ec173562ca
lea rax, [rcx + 0x28]
xor rax, rcx
imul rax, r9
not rdx
movabs r9, 0x418e5a2e1dbdf998
lea rcx, [r9 + 8]
xor rcx, r9
imul rcx, rdx
mov r9, qword [rsp + 0x20]
mov rdx, qword [r9 + rax + 0x30]
mov qword [r12 + rcx + 0x30], rdx
movdqu xmm0, xmmword [r9 + rax]
movdqu xmm1, xmmword [r9 + rax + 0x10]
movups xmm2, xmmword [r9 + rax + 0x20]
movups xmmword [r12 + rcx + 0x20], xmm2
movdqu xmmword [r12 + rcx + 0x10], xmm1
movdqu xmmword [r12 + rcx], xmm0
mov r14d, r8d
test r11, r11
je 0x1400b062f
mov qword [rsp + 0x38], r11
test r14w, r14w
jne 0x1400b0825
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb r14d, xmm0
lea rax, [r13 + 0x10]
xor rax, r13
add rbp, rax
cmp r14d, 0xffff
je 0x1400b0800
not r14d
tzcnt eax, r14d
add rax, rbp
mov qword [0x1400d5828], rax
mov qword [rsp + 0x50], rax
neg rax
imul rdx, rax, 0x38
add rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call fcn.140046fd0
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [r12 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400b088e
xor r8d, r8d
nop word cs:[rax + rax]
lea rdx, [rbx + 0x10]
xor rdx, rbx
add r8, rdx
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [r12 + rcx]
pmovmskb edx, xmm0
test edx, edx
je 0x1400b0870
mov r11, qword [rsp + 0x38]
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [r12 + rdx], 0
js 0x1400b0730
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400b0730