Function at 0x1400eda00
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 r15, qword [rcx + 0x18]
mov rax, r15
inc rax
je 0x1400edb7b
mov r14, rdx
mov r11, rcx
mov rsi, qword [rcx + 8]
lea r8, [rsi + 1]
mov rdx, r8
shr rdx, 3
mov rcx, r8
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp rsi, 8
cmovb rcx, rsi
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x20], r11
jbe 0x1400eda7d
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x1400edaaa
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x1400edb04
mov rdi, qword [r11]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x1400ede01
cmp rax, 1
jne 0x1400edd8a
xor edx, edx
jmp 0x1400edde7
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x1400edb7b
shl rcx, 3
mov r12d, 1
cmp rcx, 0xe
jb 0x1400edb04
movabs rdx, 0x2492492492492493
mov rax, rcx
mul rdx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 2
dec rcx
bsr rcx, rcx
not ecx
mov r12, 0xffffffffffffffff
shr r12, cl
inc r12
mov ecx, 0x18
mov rax, r12
mul rcx
jo 0x1400edb7b
mov r13, rax
add r13, 0xf
and r13, 0xfffffffffffffff0
lea rbp, [r12 + 0x10]
mov rbx, r13
add rbx, rbp
jb 0x1400edb7b
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
ja 0x1400edb7b
test rbx, rbx
mov qword [rsp + 0x38], r8
je 0x1400edb7f
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1400edb69
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400edb7b
mov rcx, rax
mov qword [0x1402d9150], rax
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x1400edb84
ud2
mov ebx, 0x10
lea rdi, [r12 - 1]
mov rax, r12
shr rax, 3
mov rcx, r12
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r12, 9
cmovb rcx, rdi
mov qword [rsp + 0x40], rcx
add rbx, r13
mov rcx, rbx
mov dl, 0xff
mov r8, rbp
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x20]
mov r10, qword [r9]
test r15, r15
je 0x1400edd2d
movdqa xmm0, xmmword [r10]
mov rax, r15
pmovmskb r15d, xmm0
not r15d
mov rcx, qword [r14]
mov qword [rsp + 0x50], rcx
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov qword [rsp + 0x30], rax
mov r14, rax
mov r12, r10
mov qword [rsp + 0x28], r10
jmp 0x1400edc63
lea ecx, [r15 - 1]
and ecx, r15d
dec r14
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [rbx + rdx], al
mov byte [r8 + rbx + 0x10], al
shl r13, 3
lea rax, [r13*2]
add rax, r13
mov r8, r10
sub r8, rax
shl rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, rbx
sub rdx, rax
neg rax
movdqu xmm0, xmmword [r8 - 0x18]
movdqu xmmword [rbx + rax - 0x18], xmm0
mov rax, qword [r8 - 8]
mov qword [rdx - 8], rax
mov r15d, ecx
test r14, r14
je 0x1400edd26
test r15w, r15w
jne 0x1400edc90
nop dword [rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r15d, xmm0
add rbp, 0x10
cmp r15d, 0xffff
je 0x1400edc70
not r15d
tzcnt r13d, r15d
add r13, rbp
mov rax, r13
neg rax
lea rax, [rax + rax*2]
mov r8, qword [r10 + rax*8 - 0x18]
mov r9, qword [r10 + rax*8 - 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.1400e6980
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400edcf7
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400edce0
mov r9, qword [rsp + 0x20]
mov r10, qword [rsp + 0x28]
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x1400edc00
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400edc00
mov rax, qword [rsp + 0x30]
jmp 0x1400edd2f
xor eax, eax
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov qword [r9], rbx
mov qword [r9 + 8], rdi
mov qword [r9 + 0x10], rcx
mov qword [r9 + 0x18], rax
test rsi, rsi
je 0x1400ee3c2
mov ecx, 0x18
mov rax, qword [rsp + 0x38]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x1400ee3c2
sub r10, rax
mov rcx, qword [0x1402d9150]
xor edx, edx
mov r8, r10
call sub.kernel32.dll_HeapFree
jmp 0x1400ee3c2
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401fba70]
nop word cs:[rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r9]
por xmm1, xmm0
movdqa xmmword [rdi + r9], xmm1
lea rdx, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdi + r9 + 0x10], xmm1
mov r9, rdx
add rcx, 0xfffffffffffffffe
jne 0x1400eddb0
test al, 1
je 0x1400ede01
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi + rdx]
por xmm0, xmmword [0x1401fba70]
movdqa xmmword [rdi + rdx], xmm0
cmp r8, 0x10
jae 0x1400ede25
lea rcx, [rdi + 0x10]
mov rdx, rdi
call sub.msvcrt.dll_memmove
mov r11, qword [rsp + 0x20]
cmp rsi, 0xffffffffffffffff
jne 0x1400ede2f
xor eax, eax
jmp 0x1400ee3bb
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r8], xmm0
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
movabs r8, 0x646f72616e646f6d
xor r8, rcx
add rdx, r8
rol r8, 0xd
movabs r9, 0x6c7967656e657261
xor r8, rdx
rol rdx, 0x20
mov qword [rsp + 0x48], rdx
xor r9, rax
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r8
rol r8, 0x11
mov qword [rsp + 0x30], r8
xor r10d, r10d
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdi
jmp 0x1400edec9
shr rcx, 0x39
lea rax, [r10 - 0x10]
and rax, rsi
mov byte [rbp + r10], cl
mov rdi, qword [rsp + 0x58]
mov byte [rax + rdi + 0x10], cl
lea rax, [r10 + 1]
cmp r10, rsi
mov r10, rax
je 0x1400ee399
cmp byte [rdi + r10], 0x80
jne 0x1400edeb9
lea rax, [r10*8]
lea rax, [rax + rax*2]
mov r12, rdi
sub r12, rax
add r12, 0xffffffffffffffe8
mov qword [rsp + 0x28], r10
neg r10
mov qword [rsp + 0x50], r10
mov rbp, rdi
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x50]
lea rax, [rax + rax*2]
mov r10, qword [rbp + rax*8 - 0x18]
mov r13, qword [rbp + rax*8 - 0x10]
mov r14, qword [rsp + 0x60]
xor r14, r13
mov rax, qword [rsp + 0x38]
lea rdi, [rax + r14]
rol r14, 0x10
xor r14, rdi
add rdi, qword [rsp + 0x40]
mov rdx, rdi
rol rdx, 0x20
mov rax, qword [rsp + 0x48]
lea r9, [r14 + rax]
xor rdi, qword [rsp + 0x30]
rol r14, 0x15
xor r14, r9
xor r9, r13
mov rax, r13
xor r15d, r15d
and rax, 0xfffffffffffffff8
je 0x1400edfa4
nop dword [rax + rax]
add r9, rdi
rol rdi, 0xd
mov rcx, qword [r10 + r15 + 0x10]
xor rdi, r9
rol r9, 0x20
xor r14, rcx
add rdx, r14
rol r14, 0x10
xor r14, rdx
add r9, r14
rol r14, 0x15
add rdx, rdi
rol rdi, 0x11
xor rdi, rdx
rol rdx, 0x20
xor r14, r9
xor r9, rcx
add r15, 8
cmp r15, rax
jb 0x1400edf60
mov r8d, r13d
and r8d, 7
cmp r8d, 3
jbe 0x1400edfd0
mov ebx, dword [r10 + r15 + 0x10]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r8
jb 0x1400edfe0
jmp 0x1400ee000
xor ebx, ebx
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r8
jae 0x1400ee000
lea rcx, [rax + r15]
movzx r11d, word [r10 + rcx + 0x10]
lea ecx, [rax*8]
shl r11, cl
or rbx, r11
mov r11, qword [rsp + 0x20]
or rax, 2
cmp rax, r8
jae 0x1400ee019
add r15, rax
movzx r8d, byte [r10 + r15 + 0x10]
shl eax, 3
mov ecx, eax
shl r8, cl
or rbx, r8
mov r10, qword [rsp + 0x28]
shl r13, 0x38
movabs rax, 0x800000000000000
add r13, rax
add r9, rdi
rol rdi, 0xd
or r13, rbx
xor rdi, r9
rol r9, 0x20
xor r14, r13
add rdx, r14
rol r14, 0x10
xor r14, rdx
add r9, r14
rol r14, 0x15
add rdx, rdi
rol rdi, 0x11
xor r14, r9
xor rdi, rdx
rol rdx, 0x20
xor r9, r13
add r9, rdi
rol rdi, 0xd
xor rdi, r9
rol r9, 0x20
xor rdx, 0xff
add rdx, r14
rol r14, 0x10
xor r14, rdx
add r9, r14
rol r14, 0x15
add rdx, rdi
rol rdi, 0x11
xor rdi, rdx
rol rdx, 0x20
xor r14, r9
add r9, rdi
rol rdi, 0xd
xor rdi, r9
rol r9, 0x20
add rdx, r14
rol r14, 0x10
xor r14, rdx
add r9, r14
rol r14, 0x15
add rdx, rdi
rol rdi, 0x11
xor rdi, rdx
rol rdx, 0x20
xor r14, r9
add r9, rdi
rol rdi, 0xd
add rdx, r14
rol r14, 0x10
xor r14, rdx
rol r14, 0x15
xor rdi, r9
add rdx, rdi
rol rdi, 0x11
mov rcx, rdx
rol rcx, 0x20
xor rcx, rdi
xor rcx, r14
xor rcx, rdx
mov rax, rsi
and rax, rcx
movdqu xmm0, xmmword [rbp + rax]
pmovmskb edx, xmm0
mov r8, rax
test edx, edx
jne 0x1400ee139
mov r9d, 0x10
mov r8, rax
nop
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [rbp + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400ee120
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rbp + rdx], 0
js 0x1400ee157
movdqa xmm0, xmmword [rbp]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r10
sub r8, rax
mov r9, rdx
sub r9, rax
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x1400edea0
lea rax, [rdx*8]
lea rax, [rax + rax*2]
neg rax
add rax, rbp
add rax, 0xffffffffffffffe8
movzx r8d, byte [rbp + rdx]
shr rcx, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbp + rdx], cl
mov rdi, qword [rsp + 0x58]
mov byte [r9 + rdi + 0x10], cl
cmp r8b, 0xff
je 0x1400ee370
movzx ecx, byte [r12]
movzx edx, byte [rax]
mov byte [r12], dl
mov byte [rax], cl
movzx ecx, byte [r12 + 1]
movzx edx, byte [rax + 1]
mov byte [r12 + 1], dl
mov byte [rax + 1], cl
movzx ecx, byte [r12 + 2]
movzx edx, byte [rax + 2]
mov byte [r12 + 2], dl
mov byte [rax + 2], cl
movzx ecx, byte [r12 + 3]
movzx edx, byte [rax + 3]
mov byte [r12 + 3], dl
mov byte [rax + 3], cl
movzx ecx, byte [r12 + 4]
movzx edx, byte [rax + 4]
mov byte [r12 + 4], dl
mov byte [rax + 4], cl
movzx ecx, byte [r12 + 5]
movzx edx, byte [rax + 5]
mov byte [r12 + 5], dl
mov byte [rax + 5], cl
movzx ecx, byte [r12 + 6]
movzx edx, byte [rax + 6]
mov byte [r12 + 6], dl
mov byte [rax + 6], cl
movzx ecx, byte [r12 + 7]
movzx edx, byte [rax + 7]
mov byte [r12 + 7], dl
mov byte [rax + 7], cl
movzx ecx, byte [r12 + 8]
movzx edx, byte [rax + 8]
mov byte [r12 + 8], dl
mov byte [rax + 8], cl
movzx ecx, byte [r12 + 9]
movzx edx, byte [rax + 9]
mov byte [r12 + 9], dl
mov byte [rax + 9], cl
movzx ecx, byte [r12 + 0xa]
movzx edx, byte [rax + 0xa]
mov byte [r12 + 0xa], dl
mov byte [rax + 0xa], cl
movzx ecx, byte [r12 + 0xb]
movzx edx, byte [rax + 0xb]
mov byte [r12 + 0xb], dl
mov byte [rax + 0xb], cl
movzx ecx, byte [r12 + 0xc]
movzx edx, byte [rax + 0xc]
mov byte [r12 + 0xc], dl
mov byte [rax + 0xc], cl
movzx ecx, byte [r12 + 0xd]
movzx edx, byte [rax + 0xd]
mov byte [r12 + 0xd], dl
mov byte [rax + 0xd], cl
movzx ecx, byte [r12 + 0xe]
movzx edx, byte [rax + 0xe]
mov byte [r12 + 0xe], dl
mov byte [rax + 0xe], cl
movzx ecx, byte [r12 + 0xf]
movzx edx, byte [rax + 0xf]
mov byte [r12 + 0xf], dl
mov byte [rax + 0xf], cl
movzx ecx, byte [r12 + 0x10]
movzx edx, byte [rax + 0x10]
mov byte [r12 + 0x10], dl
mov byte [rax + 0x10], cl
movzx ecx, byte [r12 + 0x11]
movzx edx, byte [rax + 0x11]
mov byte [r12 + 0x11], dl
mov byte [rax + 0x11], cl
movzx ecx, byte [r12 + 0x12]
movzx edx, byte [rax + 0x12]
mov byte [r12 + 0x12], dl
mov byte [rax + 0x12], cl
movzx ecx, byte [r12 + 0x13]
movzx edx, byte [rax + 0x13]
mov byte [r12 + 0x13], dl
mov byte [rax + 0x13], cl
movzx ecx, byte [r12 + 0x14]
movzx edx, byte [rax + 0x14]
mov byte [r12 + 0x14], dl
mov byte [rax + 0x14], cl
movzx ecx, byte [r12 + 0x15]
movzx edx, byte [rax + 0x15]
mov byte [r12 + 0x15], dl
mov byte [rax + 0x15], cl
movzx ecx, byte [r12 + 0x16]
movzx edx, byte [rax + 0x16]
mov byte [r12 + 0x16], dl
mov byte [rax + 0x16], cl
movzx ecx, byte [r12 + 0x17]
movzx edx, byte [rax + 0x17]
mov byte [r12 + 0x17], dl
mov byte [rax + 0x17], cl
mov rbp, qword [r11]
jmp 0x1400edf00
lea rcx, [r10 - 0x10]
and rcx, rsi
mov byte [rdi + r10], 0xff
mov byte [rcx + rdi + 0x10], 0xff
mov rcx, qword [r12 + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm0, xmmword [r12]
movdqu xmmword [rax], xmm0
jmp 0x1400edeb9
mov rcx, qword [r11 + 8]
mov r15, qword [r11 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, r15
mov qword [r11 + 0x10], rax
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret