Function at 0x14004cf10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
inc rax
je 0x14004d703
mov rbp, rdx
mov r8, rcx
mov r13, qword [rcx + 8]
lea r14, [r13 + 1]
mov rcx, r14
shr rcx, 3
mov r9, r14
and r9, 0xfffffffffffffff8
sub r9, rcx
cmp r13, 8
mov rcx, r9
cmovb rcx, r13
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x30], r8
jbe 0x14004cf92
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x14004cfc4
xor eax, eax
cmp rcx, 4
setae al
lea rbx, [rax*4 + 4]
jmp 0x14004d01b
mov qword [rsp + 0x58], r9
mov rdi, qword [r8]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x14004d2d1
cmp rax, 1
jne 0x14004d266
xor edx, edx
jmp 0x14004d2b7
mov rax, rcx
shr rax, 0x3d
jne 0x14004d703
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 rbx, 0xffffffffffffffff
shr rbx, cl
movabs rax, 0x7fffffffffffffe
cmp rbx, rax
ja 0x14004d703
inc rbx
mov rsi, rbx
shl rsi, 5
lea r14, [rbx + 0x10]
mov r15, rsi
add r15, r14
jb 0x14004d703
movabs rax, 0x7ffffffffffffff1
cmp r15, rax
jae 0x14004d703
test r15, r15
je 0x14004d06b
movzx eax, byte [0x14006a320]
xor ecx, ecx
mov rdx, r15
call fcn.140030bd0
mov rdi, rax
test rax, rax
jne 0x14004d070
mov rcx, r15
call fcn.140016c30
mov edi, 0x10
add rdi, rsi
lea rsi, [rbx - 1]
mov rax, rbx
shr rax, 3
mov rcx, rbx
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rbx, 9
cmovb rcx, rsi
mov qword [rsp + 0x48], rcx
mov rcx, rdi
mov dl, 0xff
mov r8, r14
call sub.VCRUNTIME140.dll_memset
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x14004d20d
mov rax, qword [rsp + 0x30]
mov r8, qword [rax]
movdqa xmm0, xmmword [r8]
pmovmskb ebx, xmm0
not ebx
mov rax, qword [rbp]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov r14, r8
mov qword [rsp + 0x28], r8
jmp 0x14004d13c
lea ecx, [rbx - 1]
and ecx, ebx
dec r15
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rdi + rdx], al
mov byte [rdi + r9 + 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 [rdi + rdx + 0x10], xmm1
movdqu xmmword [rdi + rdx], xmm0
mov ebx, ecx
test r15, r15
je 0x14004d201
test bx, bx
jne 0x14004d16c
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r14 + 0x10]
add r14, 0x10
pmovmskb ebx, xmm0
add rbp, 0x10
cmp ebx, 0xffff
je 0x14004d150
not ebx
tzcnt r12d, ebx
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 + 0x50]
mov rdx, qword [rsp + 0x38]
call fcn.1400352a0
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14004d1d7
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14004d1c0
mov r8, qword [rsp + 0x28]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x14004d0f0
movdqa xmm0, xmmword [rdi]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14004d0f0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
jmp 0x14004d217
mov rax, qword [rsp + 0x30]
mov r8, qword [rax]
xor ecx, ecx
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rcx
test r13, r13
je 0x14004d6e8
mov rax, r13
shl rax, 5
add r13, rax
cmp r13, 0xffffffffffffffcf
je 0x14004d6e8
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x14006a2b8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14004d6e8
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x140050690]
nop
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r8]
por xmm1, xmm0
movdqa xmmword [rdi + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdi + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x14004d280
test al, 1
je 0x14004d2d1
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi + rdx]
por xmm0, xmmword [0x140050690]
movdqa xmmword [rdi + rdx], xmm0
cmp r14, 0x10
jae 0x14004d2f2
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
test r14, r14
jne 0x14004d2fc
xor ecx, ecx
jmp 0x14004d6da
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r14], xmm0
mov rax, qword [rbp]
mov rsi, qword [rbp + 8]
movabs rbx, 0x736f6d6570736575
xor rbx, rax
movabs rcx, 0x646f72616e646f6d
xor rcx, rsi
add rbx, rcx
rol rcx, 0xd
xor rcx, rbx
rol rbx, 0x20
movabs rdx, 0x6c7967656e657261
mov qword [rsp + 0x48], rcx
rol rcx, 0x11
mov qword [rsp + 0x68], rcx
xor rdx, rax
mov qword [rsp + 0x70], rdx
xor r10d, r10d
mov qword [rsp + 0x60], r13
jmp 0x14004d383
shr rax, 0x39
lea rcx, [r10 - 0x10]
and rcx, r13
mov byte [rdi + r10], al
mov byte [rdi + rcx + 0x10], al
lea rax, [r10 + 1]
cmp r10, r13
mov r10, rax
je 0x14004d6cd
cmp byte [rdi + r10], 0x80
jne 0x14004d373
mov rax, r10
not rax
shl rax, 5
add rax, rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], r10
mov rax, r10
shl rax, 5
mov rcx, rdi
sub rcx, rax
mov qword [rsp + 0x50], rcx
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x50]
mov r10, qword [rax - 0x18]
mov r8, qword [rax - 0x10]
mov rdx, rsi
xor rdx, r8
movabs rax, 0x7465646279746573
xor rdx, rax
mov rax, qword [rsp + 0x70]
lea r14, [rax + rdx]
rol rdx, 0x10
xor rdx, r14
lea r15, [rdx + rbx]
add r14, qword [rsp + 0x48]
mov rbp, r14
rol rbp, 0x20
xor r14, qword [rsp + 0x68]
rol rdx, 0x15
xor rdx, r15
xor r15, r8
lea r9, [r8 + r8]
mov rax, r9
xor r11d, r11d
and rax, 0xfffffffffffffff8
je 0x14004d463
nop
add r15, r14
rol r14, 0xd
mov rcx, qword [r10 + r11]
xor r14, r15
rol r15, 0x20
xor rdx, rcx
add rbp, rdx
rol rdx, 0x10
xor rdx, rbp
add r15, rdx
rol rdx, 0x15
add rbp, r14
rol r14, 0x11
xor r14, rbp
rol rbp, 0x20
xor rdx, r15
xor r15, rcx
add r11, 8
cmp r11, rax
jb 0x14004d420
and r9d, 6
cmp r9d, 4
jb 0x14004d490
mov r12d, dword [r10 + r11]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r9
jb 0x14004d4a1
jmp 0x14004d4cc
xor r12d, r12d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r9
jae 0x14004d4cc
lea rcx, [r10 + rax]
mov r13, rbx
mov rbx, rsi
movzx esi, word [r11 + rcx]
lea ecx, [rax*8]
shl rsi, cl
or r12, rsi
mov rsi, rbx
mov rbx, r13
mov r13, qword [rsp + 0x60]
or rax, 2
cmp rax, r9
jae 0x14004d4e4
add r11, rax
movzx r9d, byte [r10 + r11]
shl eax, 3
mov ecx, eax
shl r9, cl
or r12, r9
mov r10, qword [rsp + 0x28]
shl r8, 0x39
movabs rax, 0x800000000000000
add r8, rax
add r15, r14
rol r14, 0xd
or r8, r12
xor r14, r15
rol r15, 0x20
xor rdx, r8
add rbp, rdx
rol rdx, 0x10
xor rdx, rbp
add r15, rdx
rol rdx, 0x15
add rbp, r14
rol r14, 0x11
xor rdx, r15
xor r14, rbp
rol rbp, 0x20
xor r15, r8
add r15, r14
rol r14, 0xd
xor r14, r15
rol r15, 0x20
xor rbp, 0xff
add rbp, rdx
rol rdx, 0x10
xor rdx, rbp
add r15, rdx
rol rdx, 0x15
add rbp, r14
rol r14, 0x11
xor r14, rbp
rol rbp, 0x20
xor rdx, r15
add r15, r14
rol r14, 0xd
xor r14, r15
rol r15, 0x20
add rbp, rdx
rol rdx, 0x10
xor rdx, rbp
add r15, rdx
rol rdx, 0x15
add rbp, r14
rol r14, 0x11
xor r14, rbp
rol rbp, 0x20
xor rdx, r15
add r15, r14
rol r14, 0xd
add rbp, rdx
rol rdx, 0x10
xor rdx, rbp
rol rdx, 0x15
xor r14, r15
add rbp, r14
rol r14, 0x11
mov rax, rbp
rol rax, 0x20
xor rax, r14
xor rax, rdx
xor rax, rbp
mov rcx, r13
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x14004d608
mov r9d, 0x10
mov r8, rcx
nop dword [rax + rax]
add r8, r9
and r8, r13
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x14004d5f0
tzcnt edx, edx
add rdx, r8
and rdx, r13
cmp byte [rdi + rdx], 0
js 0x14004d624
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r10
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, r13
cmp r9, 0x10
jb 0x14004d360
mov rcx, rdx
not rcx
shl rcx, 5
add rcx, rdi
movzx r8d, byte [rdi + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, r13
mov byte [rdi + rdx], al
mov byte [rdi + r9 + 0x10], al
cmp r8b, 0xff
je 0x14004d6a0
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rcx]
movups xmmword [rax], xmm1
movups xmmword [rcx], xmm0
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x14004d3c0
lea rax, [r10 - 0x10]
and rax, r13
mov byte [rdi + r10], 0xff
mov byte [rdi + rax + 0x10], 0xff
mov rax, qword [rsp + 0x38]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x14004d373
cmp r13, 8
mov rcx, qword [rsp + 0x58]
cmovb rcx, r13
sub rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movabs rax, 0x8000000000000001
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140016bf0
int3