Function at 0x1401a3c10
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
mov r9, qword [rcx + 0x18]
mov rax, r9
inc rax
jne 0x1401a3c3b
mov cl, 1
call fcn.1401935a0
jmp 0x1401a3e60
mov rsi, qword [rcx + 8]
lea rbx, [rsi + 1]
mov r8, rbx
shr r8, 3
mov r10, rbx
and r10, 0xfffffffffffffff8
sub r10, r8
cmp rsi, 8
cmovb r10, rsi
mov r8, r10
shr r8, 1
cmp rax, r8
jbe 0x1401a3caa
inc r10
cmp rax, r10
cmova r10, rax
cmp r10, 8
jae 0x1401a3ce6
mov qword [rsp + 0x28], rbx
mov r15, r9
mov qword [rsp + 0x20], rcx
mov rbp, rdx
xor eax, eax
cmp r10, 4
setae al
lea r14, [rax*4 + 4]
mov ecx, 0x30
mov rax, r14
mul rcx
jo 0x1401a3c2f
jmp 0x1401a3d4b
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x20], rcx
mov r14, qword [rcx]
mov rcx, rbx
shr rcx, 4
xor eax, eax
test bl, 0xf
setne al
add rax, rcx
je 0x1401a3e23
cmp rax, 1
jne 0x1401a3dab
xor r8d, r8d
jmp 0x1401a3e07
mov rax, r10
shr rax, 0x3d
jne 0x1401a3c2f
mov qword [rsp + 0x28], rbx
mov r15, r9
mov qword [rsp + 0x20], rcx
mov rbp, rdx
shl r10, 3
movabs rcx, 0x2492492492492493
mov rax, r10
mul rcx
sub r10, rdx
shr r10, 1
add r10, rdx
shr r10, 2
dec r10
bsr rcx, r10
not ecx
mov r14, 0xffffffffffffffff
shr r14, cl
inc r14
mov ecx, 0x30
mov rax, r14
mul rcx
jo 0x1401a3c2f
mov rbx, rax
lea r12, [r14 + 0x10]
mov r13, rax
add r13, r12
jb 0x1401a3c2f
movabs rax, 0x7ffffffffffffff1
cmp r13, rax
jae 0x1401a3c2f
test r13, r13
je 0x1401a4366
movzx eax, byte [0x140297081]
mov edx, 0x10
mov rcx, r13
call fcn.1400175d0
test rax, rax
jne 0x1401a436b
mov edx, 0x10
mov cl, 1
mov r8, r13
call fcn.1401935f0
jmp 0x1401a3e60
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401afad0]
nop word cs:[rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r9]
por xmm1, xmm0
movdqa xmmword [r14 + r9], xmm1
lea r8, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + r9 + 0x10], xmm1
mov r9, r8
add rcx, 0xfffffffffffffffe
jne 0x1401a3dd0
test al, 1
je 0x1401a3e23
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + r8]
por xmm0, xmmword [0x1401afad0]
movdqa xmmword [r14 + r8], xmm0
cmp rbx, 0x10
jae 0x1401a3e74
lea rcx, [r14 + 0x10]
mov rdi, rdx
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov rdx, rdi
test rbx, rbx
jne 0x1401a3e7f
mov rcx, qword [rsp + 0x70]
sub rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], rcx
movabs rax, 0x8000000000000001
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + rbx], xmm0
lea rax, [r14 - 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x28], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x50], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x48], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x68], rax
lea r13, [r14 - 0x2e]
xor edi, edi
mov qword [rsp + 0x78], r13
jmp 0x1401a3f18
shr rax, 0x39
lea rcx, [rdi - 0x10]
and rcx, rsi
mov byte [r14 + rdi], al
mov byte [r14 + rcx + 0x10], al
lea rax, [rdi + 1]
add r13, 0xffffffffffffffd0
cmp rdi, rsi
mov rdi, rax
je 0x1401a3e43
cmp byte [r14 + rdi], 0x80
jne 0x1401a3f04
mov rax, rdi
shl rax, 4
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov qword [rsp + 0x40], rcx
mov rcx, r14
sub rcx, rax
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x38], rdi
mov rax, rdi
neg rax
lea rax, [rax + rax*2]
shl rax, 4
add rax, r14
mov qword [rsp + 0x60], rax
jmp 0x1401a3fa5
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rdx + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmm1, xmmword [rdx + 0x20]
movdqu xmmword [rax + 0x20], xmm1
movdqu xmmword [rdx + 0x20], xmm0
mov rax, qword [rsp + 0x60]
mov rdi, qword [rax - 0x28]
mov r12, qword [rax - 0x20]
mov rax, r12
and rax, 0xfffffffffffffff8
je 0x1401a4050
mov r10, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r11, qword [rsp + 0x68]
xor ebp, ebp
mov rdx, qword [rsp + 0x28]
nop word cs:[rax + rax]
add rdx, r9
rol r9, 0xd
mov rcx, qword [rdi + rbp]
xor r9, rdx
rol rdx, 0x20
xor r11, rcx
add r10, r11
rol r11, 0x10
xor r11, r10
add rdx, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, rdx
xor rdx, rcx
add rbp, 8
cmp rbp, rax
jb 0x1401a3fe0
mov r15d, r12d
and r15d, 7
cmp r15d, 4
jb 0x1401a4073
mov ebx, dword [rdi + rbp]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r15
jb 0x1401a4083
jmp 0x1401a409e
mov r11, qword [rsp + 0x68]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
xor ebp, ebp
mov r15d, r12d
and r15d, 7
cmp r15d, 4
jae 0x1401a4030
xor ebx, ebx
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r15
jae 0x1401a409e
lea rcx, [rdi + rax]
movzx r8d, word [rbp + rcx]
lea ecx, [rax*8]
shl r8, cl
or rbx, r8
or rax, 2
cmp rax, r15
jae 0x1401a40c0
add rbp, rax
movzx r8d, byte [rdi + rbp]
shl eax, 3
mov ecx, eax
shl r8, cl
or rbx, r8
inc r12
jmp 0x1401a40c8
inc r12
test r15, r15
je 0x1401a4120
mov rdi, qword [rsp + 0x38]
lea ecx, [r15*8]
mov eax, 0xff
shl rax, cl
or rax, rbx
cmp r15, 7
jne 0x1401a4130
add rdx, r9
rol r9, 0xd
xor r11, rax
xor r9, rdx
rol rdx, 0x20
add r10, r11
rol r11, 0x10
xor r11, r10
add rdx, r11
rol r11, 0x15
xor r11, rdx
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor rdx, rax
xor eax, eax
jmp 0x1401a4130
mov eax, 0xff
mov rdi, qword [rsp + 0x38]
nop word [rax + rax]
shl r12, 0x38
add rdx, r9
rol r9, 0xd
or r12, rax
xor r9, rdx
rol rdx, 0x20
xor r11, r12
add r10, r11
rol r11, 0x10
xor r11, r10
add rdx, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r11, rdx
xor r9, r10
rol r10, 0x20
xor rdx, r12
add rdx, r9
rol r9, 0xd
xor r9, rdx
rol rdx, 0x20
xor r10, 0xff
add r10, r11
rol r11, 0x10
xor r11, r10
add rdx, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, rdx
add rdx, r9
rol r9, 0xd
xor r9, rdx
rol rdx, 0x20
add r10, r11
rol r11, 0x10
xor r11, r10
add rdx, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, rdx
add rdx, r9
rol r9, 0xd
add r10, r11
rol r11, 0x10
xor r11, r10
rol r11, 0x15
xor r9, rdx
add r10, r9
rol r9, 0x11
mov rax, r10
rol rax, 0x20
xor rax, r9
xor rax, r11
xor rax, r10
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb r9d, xmm0
mov rdx, rcx
test r9d, r9d
jne 0x1401a424a
mov r10d, 0x10
mov rdx, rcx
nop word cs:[rax + rax]
add rdx, r10
and rdx, rsi
movdqu xmm0, xmmword [r14 + rdx]
pmovmskb r9d, xmm0
add r10, 0x10
test r9d, r9d
je 0x1401a4230
tzcnt r9d, r9d
add r9, rdx
and r9, rsi
cmp byte [r14 + r9], 0
js 0x1401a426a
movdqa xmm0, xmmword [r14]
pmovmskb edx, xmm0
tzcnt r9d, edx
mov rdx, rdi
sub rdx, rcx
mov r8, r9
sub r8, rcx
xor r8, rdx
and r8, rsi
cmp r8, 0x10
jb 0x1401a3ef0
mov rcx, r9
shl rcx, 4
lea rcx, [rcx + rcx*2]
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
movzx r8d, byte [r14 + r9]
shr rax, 0x39
lea r10, [r9 - 0x10]
and r10, rsi
mov byte [r14 + r9], al
mov byte [r14 + r10 + 0x10], al
cmp r8b, 0xff
je 0x1401a4330
neg rcx
lea rax, [r14 + rcx]
cmp qword [rsp + 0x40], rax
jae 0x1401a3f70
cmp rdx, qword [rsp + 0x80]
jae 0x1401a3f70
add rcx, qword [rsp + 0x78]
xor eax, eax
nop
movzx edx, byte [r13 + rax - 2]
movzx r8d, byte [rcx + rax - 2]
mov byte [r13 + rax - 2], r8b
mov byte [rcx + rax - 2], dl
movzx edx, byte [r13 + rax - 1]
movzx r8d, byte [rcx + rax - 1]
mov byte [r13 + rax - 1], r8b
mov byte [rcx + rax - 1], dl
movzx edx, byte [r13 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r13 + rax], r8b
mov byte [rcx + rax], dl
add rax, 3
cmp rax, 0x30
jne 0x1401a42e0
jmp 0x1401a3fa5
lea rax, [rdi - 0x10]
and rax, rsi
mov byte [r14 + rdi], 0xff
mov byte [r14 + rax + 0x10], 0xff
mov rax, qword [rsp + 0x40]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
jmp 0x1401a3f04
mov eax, 0x10
add rbx, rax
lea rdi, [r14 - 1]
mov rax, r14
shr rax, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r14, 9
cmovb rcx, rdi
mov qword [rsp + 0x50], rcx
mov rcx, rbx
mov dl, 0xff
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov r13, r15
test r15, r15
je 0x1401a4532
mov rax, qword [rsp + 0x20]
mov r14, qword [rax]
movdqa xmm0, xmmword [r14]
pmovmskb r15d, xmm0
not r15d
mov rax, qword [rbp]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x38], rax
lea rax, [rbx - 0x30]
mov qword [rsp + 0x60], rax
lea r9, [r14 - 0x30]
xor r12d, r12d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], r9
jmp 0x1401a446b
lea ecx, [r15 - 1]
and ecx, r15d
dec r13
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
shl rbp, 4
lea rax, [rbp*2]
add rax, rbp
mov r8, r9
sub r8, rax
shl rdx, 4
lea rax, [rdx + rdx*2]
mov rdx, qword [rsp + 0x60]
sub rdx, rax
movdqu xmm0, xmmword [r8]
movdqu xmm1, xmmword [r8 + 0x10]
movups xmm2, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
mov r15d, ecx
test r13, r13
je 0x1401a4521
test r15w, r15w
jne 0x1401a449f
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r14 + 0x10]
add r14, 0x10
pmovmskb r15d, xmm0
add r12, 0x10
cmp r15d, 0xffff
je 0x1401a4480
not r15d
tzcnt ebp, r15d
add rbp, r12
mov rax, rbp
neg rax
lea r8, [rax + rax*2]
shl r8, 4
add r8, r9
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
call fcn.14000a790
mov rcx, rdi
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1401a44f7
mov r8d, 0x10
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1401a44e0
mov r9, qword [rsp + 0x30]
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x1401a4400
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1401a4400
mov rax, qword [rsp + 0x20]
mov r13, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
jmp 0x1401a453a
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x50]
sub rdx, r13
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdx
movabs rax, 0x8000000000000001
test rsi, rsi
je 0x1401a3e60
mov rdi, rax
mov edx, 0x30
mov rax, qword [rsp + 0x28]
mul rdx
add rsi, rax
add rsi, 0x11
je 0x1401a458a
sub rcx, rax
mov r8d, 0x10
mov rdx, rsi
call fcn.1400175e0
mov rax, rdi
jmp 0x1401a3e60