Function at 0x1403d3f80
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 rbp, qword [rcx + 0x18]
mov rax, rbp
inc rax
je 0x1403d40f5
mov rdi, rdx
mov r14, rcx
mov r13, qword [rcx + 8]
lea r8, [r13 + 1]
mov rdx, r8
shr rdx, 3
mov rcx, r8
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp r13, 8
cmovb rcx, r13
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x28], r14
jbe 0x1403d3ffd
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x1403d402a
xor eax, eax
cmp rcx, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x1403d4093
mov rbx, qword [r14]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x1403d4361
cmp rax, 1
jne 0x1403d42f6
xor edx, edx
jmp 0x1403d4347
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x1403d40f5
shl rcx, 3
mov r14d, 1
cmp rcx, 0xe
jb 0x1403d4093
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 r14, 0xffffffffffffffff
shr r14, cl
movabs rax, 0x7fffffffffffffe
cmp r14, rax
ja 0x1403d40f5
inc r14
mov r12, r14
shl r12, 5
lea r15, [r14 + 0x10]
mov rbx, r12
add rbx, r15
jb 0x1403d40f5
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
ja 0x1403d40f5
test rbx, rbx
je 0x1403d40f7
movzx eax, byte [0x1404d41e8]
mov rcx, qword [0x1404d4148]
test rcx, rcx
jne 0x1403d40e2
call qword [0x1403d75c0]
test rax, rax
je 0x1403d40f5
mov rcx, rax
mov qword [0x1404d4148], rax
xor edx, edx
mov r8, rbx
call qword [0x1403d7588]
mov rbx, rax
test rax, rax
jne 0x1403d40fc
ud2
mov ebx, 0x10
lea rsi, [r14 - 1]
mov rax, r14
shr rax, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r14, 9
cmovb rcx, rsi
mov qword [rsp + 0x38], rcx
add rbx, r12
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call fcn.1403c4432
test rbp, rbp
je 0x1403d429d
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
movdqa xmm0, xmmword [r8]
pmovmskb r14d, xmm0
not r14d
mov rax, qword [rdi]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
mov rdi, rbp
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov r15, r8
mov qword [rsp + 0x20], r8
jmp 0x1403d41cf
lea ecx, [r14 - 1]
and ecx, r14d
dec rdi
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], al
mov byte [r9 + rbx + 0x10], al
not r12
shl r12, 5
not rdx
shl rdx, 5
movdqu xmm0, xmmword [r8 + r12]
movdqu xmm1, xmmword [r8 + r12 + 0x10]
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r14d, ecx
test rdi, rdi
je 0x1403d4291
test r14w, r14w
jne 0x1403d41ff
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb r14d, xmm0
add rbp, 0x10
cmp r14d, 0xffff
je 0x1403d41e0
not r14d
tzcnt r12d, r14d
add r12, rbp
mov rax, r12
shl rax, 5
mov rcx, r8
sub rcx, rax
mov r8, qword [rcx - 0x18]
mov r9, qword [rcx - 0x10]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.14020e890
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1403d4267
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1403d4250
mov r8, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1403d4180
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1403d4180
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
jmp 0x1403d42a7
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor ecx, ecx
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rcx
test r13, r13
je 0x1403d4995
mov rax, r13
shl rax, 5
add r13, rax
cmp r13, 0xffffffffffffffcf
je 0x1403d4995
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x1404d4148]
xor edx, edx
call qword [0x1403d75f8]
jmp 0x1403d4995
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1403d7e20]
nop
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r9]
por xmm1, xmm0
movdqa xmmword [rbx + r9], xmm1
lea rdx, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + r9 + 0x10], xmm1
mov r9, rdx
add rcx, 0xfffffffffffffffe
jne 0x1403d4310
test al, 1
je 0x1403d4361
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x1403d7e20]
movdqa xmmword [rbx + rdx], xmm0
cmp r8, 0x10
jae 0x1403d4380
lea rcx, [rbx + 0x10]
mov rdx, rbx
call fcn.1403c4420
cmp r13, 0xffffffffffffffff
jne 0x1403d438a
xor eax, eax
jmp 0x1403d498e
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r8], xmm0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
movabs r8, 0x646f72616e646f6d
xor r8, rcx
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
mov qword [rsp + 0x40], rdx
movabs rdx, 0x6c7967656e657261
mov qword [rsp + 0x38], r8
rol r8, 0x11
mov qword [rsp + 0x60], r8
xor rdx, rax
mov qword [rsp + 0x30], rdx
xor r11d, r11d
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbx
jmp 0x1403d4428
shr rcx, 0x39
lea rax, [r11 - 0x10]
and rax, r13
mov byte [rbx + r11], cl
mov rbx, qword [rsp + 0x50]
mov byte [rax + rbx + 0x10], cl
lea rax, [r11 + 1]
cmp r11, r13
mov r11, rax
je 0x1403d496c
cmp byte [rbx + r11], 0x80
jne 0x1403d4418
mov r12, r11
not r12
shl r12, 5
add r12, rbx
mov qword [rsp + 0x20], r11
neg r11
mov qword [rsp + 0x48], r11
nop dword [rax]
mov rax, qword [rsp + 0x48]
shl rax, 5
mov r11, qword [rbx + rax - 0x18]
mov r8, qword [rbx + rax - 0x10]
mov r15, qword [rsp + 0x58]
xor r15, r8
mov rax, qword [rsp + 0x30]
lea rdi, [rax + r15]
rol r15, 0x10
xor r15, rdi
mov rax, qword [rsp + 0x40]
lea r10, [r15 + rax]
add rdi, qword [rsp + 0x38]
mov rdx, rdi
rol rdx, 0x20
xor rdi, qword [rsp + 0x60]
rol r15, 0x15
xor r15, r10
xor r10, r8
lea r9, [r8 + r8]
mov rax, r9
xor esi, esi
and rax, 0xfffffffffffffff8
je 0x1403d44f3
nop
add r10, rdi
rol rdi, 0xd
mov rcx, qword [r11 + rsi]
xor rdi, r10
rol r10, 0x20
xor r15, rcx
add rdx, r15
rol r15, 0x10
xor r15, rdx
add r10, r15
rol r15, 0x15
add rdx, rdi
rol rdi, 0x11
xor rdi, rdx
rol rdx, 0x20
xor r15, r10
xor r10, rcx
add rsi, 8
cmp rsi, rax
jb 0x1403d44b0
and r9d, 6
cmp r9d, 4
jb 0x1403d4520
mov ebp, dword [r11 + rsi]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r9
jb 0x1403d4530
jmp 0x1403d454f
xor ebp, ebp
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r9
jae 0x1403d454f
lea rcx, [rax + rsi]
movzx r14d, word [r11 + rcx]
lea ecx, [rax*8]
shl r14, cl
or rbp, r14
mov r14, qword [rsp + 0x28]
or rax, 2
cmp rax, r9
jae 0x1403d4567
add rsi, rax
movzx r9d, byte [r11 + rsi]
shl eax, 3
mov ecx, eax
shl r9, cl
or rbp, r9
mov r11, qword [rsp + 0x20]
shl r8, 0x39
movabs rax, 0x7fffffffffffffe
add rax, r8
add rax, 2
add r10, rdi
rol rdi, 0xd
or rax, rbp
xor rdi, r10
rol r10, 0x20
xor r15, rax
add rdx, r15
rol r15, 0x10
xor r15, rdx
add r10, r15
rol r15, 0x15
add rdx, rdi
rol rdi, 0x11
xor r15, r10
xor rdi, rdx
rol rdx, 0x20
xor r10, rax
add r10, rdi
rol rdi, 0xd
xor rdi, r10
rol r10, 0x20
xor rdx, 0xff
add rdx, r15
rol r15, 0x10
xor r15, rdx
add r10, r15
rol r15, 0x15
add rdx, rdi
rol rdi, 0x11
xor rdi, rdx
rol rdx, 0x20
xor r15, r10
add r10, rdi
rol rdi, 0xd
xor rdi, r10
rol r10, 0x20
add rdx, r15
rol r15, 0x10
xor r15, rdx
add r10, r15
rol r15, 0x15
add rdx, rdi
rol rdi, 0x11
xor rdi, rdx
rol rdx, 0x20
xor r15, r10
add r10, rdi
rol rdi, 0xd
add rdx, r15
rol r15, 0x10
xor r15, rdx
rol r15, 0x15
xor rdi, r10
add rdx, rdi
rol rdi, 0x11
mov rcx, rdx
rol rcx, 0x20
xor rcx, rdi
xor rcx, r15
xor rcx, rdx
mov rax, r13
and rax, rcx
movdqu xmm0, xmmword [rbx + rax]
pmovmskb edx, xmm0
mov r8, rax
test edx, edx
jne 0x1403d4688
mov r9d, 0x10
mov r8, rax
nop
add r8, r9
and r8, r13
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1403d4670
tzcnt edx, edx
add rdx, r8
and rdx, r13
cmp byte [rbx + rdx], 0
js 0x1403d46a4
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r11
sub r8, rax
mov r9, rdx
sub r9, rax
xor r9, r8
and r9, r13
cmp r9, 0x10
jb 0x1403d4400
mov rax, rdx
not rax
shl rax, 5
add rax, rbx
movzx r8d, byte [rbx + rdx]
shr rcx, 0x39
lea r9, [rdx - 0x10]
and r9, r13
mov byte [rbx + rdx], cl
mov rbx, qword [rsp + 0x50]
mov byte [r9 + rbx + 0x10], cl
cmp r8b, 0xff
je 0x1403d4940
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
movzx ecx, byte [r12 + 0x18]
movzx edx, byte [rax + 0x18]
mov byte [r12 + 0x18], dl
mov byte [rax + 0x18], cl
movzx ecx, byte [r12 + 0x19]
movzx edx, byte [rax + 0x19]
mov byte [r12 + 0x19], dl
mov byte [rax + 0x19], cl
movzx ecx, byte [r12 + 0x1a]
movzx edx, byte [rax + 0x1a]
mov byte [r12 + 0x1a], dl
mov byte [rax + 0x1a], cl
movzx ecx, byte [r12 + 0x1b]
movzx edx, byte [rax + 0x1b]
mov byte [r12 + 0x1b], dl
mov byte [rax + 0x1b], cl
movzx ecx, byte [r12 + 0x1c]
movzx edx, byte [rax + 0x1c]
mov byte [r12 + 0x1c], dl
mov byte [rax + 0x1c], cl
movzx ecx, byte [r12 + 0x1d]
movzx edx, byte [rax + 0x1d]
mov byte [r12 + 0x1d], dl
mov byte [rax + 0x1d], cl
movzx ecx, byte [r12 + 0x1e]
movzx edx, byte [rax + 0x1e]
mov byte [r12 + 0x1e], dl
mov byte [rax + 0x1e], cl
movzx ecx, byte [r12 + 0x1f]
movzx edx, byte [rax + 0x1f]
mov byte [r12 + 0x1f], dl
mov byte [rax + 0x1f], cl
mov rbx, qword [r14]
jmp 0x1403d4450
lea rcx, [r11 - 0x10]
and rcx, r13
mov byte [rbx + r11], 0xff
mov byte [rcx + rbx + 0x10], 0xff
movdqu xmm0, xmmword [r12]
movdqu xmm1, xmmword [r12 + 0x10]
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
jmp 0x1403d4418
mov rcx, qword [r14 + 8]
mov rbp, qword [r14 + 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, rbp
mov qword [r14 + 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