Function at 0x1400e9b90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov r8, qword [rcx + 0x18]
mov rax, r8
inc rax
je 0x1400e9ce1
mov r14, rdx
mov r15, rcx
mov rbp, qword [rcx + 8]
lea rsi, [rbp + 1]
mov rcx, rsi
shr rcx, 3
mov r9, rsi
and r9, 0xfffffffffffffff8
sub r9, rcx
cmp rbp, 8
mov rdx, r9
cmovb rdx, rbp
movabs rdi, 0x7ffffffffffffff0
mov rcx, rdx
shr rcx, 1
cmp rax, rcx
jbe 0x1400e9c23
lea rcx, [rdx + 1]
cmp rax, rdx
cmova rcx, rax
cmp rcx, 8
mov qword [rsp + 0x40], r14
jae 0x1400e9c55
mov r14, r8
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x1400e9ca2
mov qword [rsp + 0x30], r8
mov rbx, qword [r15]
mov rcx, rsi
shr rcx, 4
xor eax, eax
test sil, 0xf
setne al
add rax, rcx
je 0x1400e9f4a
cmp rax, 1
jne 0x1400e9ee5
xor ecx, ecx
jmp 0x1400e9f34
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x1400e9ce1
mov r14, r8
shl rcx, 3
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, 0x30
mov rax, r12
mul rcx
jo 0x1400e9ce1
mov rbx, rax
lea r13, [r12 + 0x10]
mov rdx, rax
add rdx, r13
jb 0x1400e9ce1
cmp rdx, rdi
ja 0x1400e9ce1
test rdx, rdx
mov qword [rsp + 0x38], rsi
je 0x1400e9ce3
movzx eax, byte [0x14017a148]
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
jne 0x1400e9ce8
ud2
mov eax, 0x10
lea rsi, [r12 - 1]
mov rcx, r12
shr rcx, 3
mov rdx, r12
and rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp r12, 9
cmovb rdx, rsi
mov qword [rsp + 0x48], rdx
add rbx, rax
mov rcx, rbx
mov dl, 0xff
mov r8, r13
call sub.msvcrt.dll_memset
mov r8, qword [r15]
test r14, r14
je 0x1400e9e97
mov qword [rsp + 0x28], r15
movdqa xmm0, xmmword [r8]
pmovmskb r15d, xmm0
not r15d
mov rax, qword [rsp + 0x40]
movups xmm6, xmmword [rax]
xor r13d, r13d
mov qword [rsp + 0x30], r14
mov r12, r8
mov qword [rsp + 0x20], r8
jmp 0x1400e9dc4
lea ecx, [r15 - 1]
and ecx, r15d
dec r14
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
not rdi
lea rax, [rdi + rdi*2]
shl rax, 4
not rdx
lea rdx, [rdx + rdx*2]
shl rdx, 4
movdqu xmm0, xmmword [r8 + rax]
movdqu xmm1, xmmword [r8 + rax + 0x10]
movdqu xmm2, xmmword [r8 + rax + 0x20]
movdqu xmmword [rbx + rdx + 0x20], xmm2
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r15d, ecx
test r14, r14
je 0x1400e9e81
test r15w, r15w
jne 0x1400e9df0
nop word [rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r15d, xmm0
add r13, 0x10
cmp r15d, 0xffff
je 0x1400e9dd0
not r15d
tzcnt edi, r15d
add rdi, r13
mov rax, rdi
neg rax
lea rax, [rax + rax*2]
shl rax, 4
mov rdx, qword [r8 + rax - 0x28]
mov r8, qword [r8 + rax - 0x20]
movaps xmmword [rsp + 0x60], xmm6
lea rcx, [rsp + 0x60]
call fcn.1400f1970
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400e9e57
mov r8d, 0x10
nop dword [rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400e9e40
mov r8, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1400e9d60
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400e9d60
movabs rdi, 0x7ffffffffffffff0
mov r15, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
jmp 0x1400e9e99
xor eax, eax
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov qword [r15], rbx
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rcx
test rbp, rbp
je 0x1400ea4bb
mov ecx, 0x30
mov rax, qword [rsp + 0x38]
mul rcx
add rbp, rax
cmp rbp, 0xffffffffffffffef
je 0x1400ea4bb
sub r8, rax
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x1400ea4bb
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x14010e5b0]
nop dword [rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx]
por xmm1, xmm0
movdqa xmmword [rbx + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x1400e9f00
test al, 1
je 0x1400e9f4a
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rcx]
por xmm0, xmmword [0x14010e5b0]
movdqa xmmword [rbx + rcx], xmm0
mov qword [rsp + 0x50], r9
cmp rsi, 0x10
jae 0x1400e9f70
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, rsi
call sub.msvcrt.dll_memmove
test rsi, rsi
jne 0x1400e9f79
xor eax, eax
jmp 0x1400ea4b2
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + rsi], xmm0
mov qword [rsp + 0x28], r15
movdqu xmm1, xmmword [r14]
pshufd xmm0, xmm1, 0x44
pxor xmm0, xmmword [0x14010e5c0]
pshufd xmm1, xmm1, 0xee
pxor xmm1, xmmword [0x14010e5d0]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x48], xmm2
movq qword [rsp + 0x40], xmm0
movq qword [rsp + 0x38], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x58], xmm2
xor r11d, r11d
mov r15, rbx
jmp 0x1400e9ff7
shr rdx, 0x39
lea rax, [r11 - 0x10]
and rax, rbp
mov byte [rbx + r11], dl
mov byte [rbx + rax + 0x10], dl
lea rax, [r11 + 1]
add r15, 0xffffffffffffffd0
cmp r11, rbp
mov r11, rax
je 0x1400ea496
cmp byte [rbx + r11], 0x80
jne 0x1400e9fe3
mov rax, r11
shl rax, 4
lea rax, [rax + rax*2]
mov rcx, r11
not rcx
lea r13, [rcx + rcx*2]
shl r13, 4
add r13, rbx
mov rcx, rbx
sub rcx, rax
mov qword [rsp + 0x20], rcx
mov rax, r11
neg rax
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, rbx
jmp 0x1400ea088
movdqu xmm2, xmmword [r13]
movdqu xmm3, xmmword [r13 + 0x10]
movdqu xmm4, xmmword [rax]
movups xmm5, xmmword [rax + 0x10]
movdqu xmmword [r13], xmm4
movups xmmword [r13 + 0x10], xmm5
movdqu xmmword [rax], xmm2
movdqu xmmword [rax + 0x10], xmm3
mov rcx, qword [r13 + 0x20]
mov rdx, qword [rax + 0x20]
mov qword [r13 + 0x20], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [r13 + 0x28]
mov rdx, qword [rax + 0x28]
mov qword [r13 + 0x28], rdx
mov qword [rax + 0x28], rcx
mov r14, qword [rdi - 0x28]
mov r8, qword [rdi - 0x20]
mov rcx, r8
and rcx, 0xfffffffffffffff8
je 0x1400ea150
mov rax, qword [rsp + 0x58]
mov r12, qword [rsp + 0x38]
mov r10, qword [rsp + 0x48]
xor edx, edx
mov r9, qword [rsp + 0x40]
nop word cs:[rax + rax]
add r9, r12
rol r12, 0xd
mov rsi, qword [r14 + rdx]
xor r12, r9
rol r9, 0x20
xor r10, rsi
add rax, r10
rol r10, 0x10
xor r10, rax
add r9, r10
rol r10, 0x15
add rax, r12
rol r12, 0x11
xor r12, rax
rol rax, 0x20
xor r10, r9
xor r9, rsi
add rdx, 8
cmp rdx, rcx
jb 0x1400ea0c0
movq xmm3, r10
movq xmm2, r12
punpcklqdq xmm2, xmm3
movq xmm4, rax
movq xmm3, r9
punpcklqdq xmm3, xmm4
mov r12d, r8d
and r12d, 7
cmp r12d, 4
jb 0x1400ea167
mov r9d, dword [r14 + rdx]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r12
jb 0x1400ea178
jmp 0x1400ea192
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor edx, edx
mov r12d, r8d
and r12d, 7
cmp r12d, 4
jae 0x1400ea12c
xor r9d, r9d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r12
jae 0x1400ea192
lea rcx, [r14 + rax]
movzx r10d, word [rdx + rcx]
lea ecx, [rax*8]
shl r10, cl
or r9, r10
or rax, 2
cmp rax, r12
jae 0x1400ea1b0
add rdx, rax
movzx edx, byte [r14 + rdx]
shl eax, 3
mov ecx, eax
shl rdx, cl
or r9, rdx
jmp 0x1400ea1b9
test r12, r12
je 0x1400ea24b
lea ecx, [r12*8]
mov edx, 0xff
shl rdx, cl
or rdx, r9
cmp r12, 7
jne 0x1400ea250
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, rdx
movq r9, xmm2
paddq xmm2, xmm3
movq rax, xmm2
rol r9, 0xd
xor r9, rax
rol rax, 0x20
pshufd xmm2, xmm3, 0xee
movq r10, xmm2
add r10, rcx
rol rcx, 0x10
xor rcx, r10
add rax, rcx
rol rcx, 0x15
add r10, r9
rol r9, 0x11
xor rcx, rax
xor r9, r10
movq xmm3, rcx
movq xmm2, r9
punpcklqdq xmm2, xmm3
rol r10, 0x20
xor rax, rdx
movq xmm4, r10
movq xmm3, rax
punpcklqdq xmm3, xmm4
xor edx, edx
jmp 0x1400ea250
mov edx, 0xff
pshufd xmm4, xmm3, 0xee
movq rax, xmm4
movq rcx, xmm2
pshufd xmm4, xmm2, 0xee
movq r14, xmm4
shl r8, 0x38
movabs r9, 0x100000000000000
add r8, r9
or r8, rdx
paddq xmm2, xmm3
rol rcx, 0xd
movq rdx, xmm2
xor rcx, rdx
rol rdx, 0x20
xor r14, r8
add rax, r14
rol r14, 0x10
xor r14, rax
add rdx, r14
rol r14, 0x15
add rax, rcx
rol rcx, 0x11
xor r14, rdx
xor rcx, rax
rol rax, 0x20
xor rdx, r8
add rdx, rcx
rol rcx, 0xd
xor rcx, rdx
rol rdx, 0x20
xor rax, 0xff
add rax, r14
rol r14, 0x10
xor r14, rax
add rdx, r14
rol r14, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor r14, rdx
add rdx, rcx
rol rcx, 0xd
xor rcx, rdx
rol rdx, 0x20
add rax, r14
rol r14, 0x10
xor r14, rax
add rdx, r14
rol r14, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor r14, rdx
add rdx, rcx
rol rcx, 0xd
add rax, r14
rol r14, 0x10
xor r14, rax
rol r14, 0x15
xor rcx, rdx
add rax, rcx
rol rcx, 0x11
mov rdx, rax
rol rdx, 0x20
xor rdx, rcx
xor rdx, r14
xor rdx, rax
mov rax, rbp
and rax, rdx
movdqu xmm2, xmmword [rbx + rax]
pmovmskb ecx, xmm2
mov r8, rax
test ecx, ecx
jne 0x1400ea388
mov r9d, 0x10
mov r8, rax
nop dword [rax]
add r8, r9
and r8, rbp
movdqu xmm2, xmmword [rbx + r8]
pmovmskb ecx, xmm2
add r9, 0x10
test ecx, ecx
je 0x1400ea370
tzcnt ecx, ecx
add rcx, r8
and rcx, rbp
cmp byte [rbx + rcx], 0
js 0x1400ea3a4
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt ecx, ecx
mov r8, r11
sub r8, rax
mov r9, rcx
sub r9, rax
xor r9, r8
and r9, rbp
cmp r9, 0x10
jb 0x1400e9fd0
mov rax, rcx
not rax
lea rax, [rax + rax*2]
shl rax, 4
add rax, rbx
movzx r8d, byte [rbx + rcx]
shr rdx, 0x39
lea r9, [rcx - 0x10]
and r9, rbp
mov byte [rbx + rcx], dl
mov byte [rbx + r9 + 0x10], dl
cmp r8b, 0xff
je 0x1400ea460
shl rcx, 4
lea rdx, [rcx + rcx*2]
mov rcx, rbx
sub rcx, rdx
cmp r13, rcx
jae 0x1400ea040
cmp rax, qword [rsp + 0x20]
jae 0x1400ea040
mov rax, 0xffffffffffffffd0
nop dword [rax + rax]
movzx edx, byte [r15 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r15 + rax], r8b
mov byte [rcx + rax], dl
movzx edx, byte [r15 + rax + 1]
movzx r8d, byte [rcx + rax + 1]
mov byte [r15 + rax + 1], r8b
mov byte [rcx + rax + 1], dl
add rax, 2
jne 0x1400ea420
jmp 0x1400ea088
lea rcx, [r11 - 0x10]
and rcx, rbp
mov byte [rbx + r11], 0xff
mov byte [rbx + rcx + 0x10], 0xff
movdqu xmm2, xmmword [r13]
movdqu xmm3, xmmword [r13 + 0x10]
movdqu xmm4, xmmword [r13 + 0x20]
movdqu xmmword [rax + 0x20], xmm4
movdqu xmmword [rax + 0x10], xmm3
movdqu xmmword [rax], xmm2
jmp 0x1400e9fe3
cmp rbp, 8
mov rax, qword [rsp + 0x50]
cmovb rax, rbp
movabs rdi, 0x7ffffffffffffff0
mov r15, qword [rsp + 0x28]
sub rax, qword [rsp + 0x30]
mov qword [r15 + 0x10], rax
add rdi, 0x11
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret