Function at 0x14004ebc0
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 rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
inc rax
je 0x14004f403
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 + 0x28], r8
jbe 0x14004ec42
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x14004ec74
xor eax, eax
cmp rcx, 4
setae al
lea rbx, [rax*4 + 4]
jmp 0x14004eccb
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 0x14004ef81
cmp rax, 1
jne 0x14004ef16
xor edx, edx
jmp 0x14004ef67
mov rax, rcx
shr rax, 0x3d
jne 0x14004f403
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 0x14004f403
inc rbx
mov rsi, rbx
shl rsi, 5
lea r14, [rbx + 0x10]
mov r15, rsi
add r15, r14
jb 0x14004f403
movabs rax, 0x7ffffffffffffff1
cmp r15, rax
jae 0x14004f403
test r15, r15
je 0x14004ed1b
movzx eax, byte [0x14006a320]
xor ecx, ecx
mov rdx, r15
call fcn.140030bd0
mov rdi, rax
test rax, rax
jne 0x14004ed20
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 + 0x30], rcx
mov rcx, rdi
mov dl, 0xff
mov r8, r14
call sub.VCRUNTIME140.dll_memset
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x14004eebd
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
movdqa xmm0, xmmword [r8]
pmovmskb ebx, xmm0
not ebx
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov r14, r8
mov qword [rsp + 0x20], r8
jmp 0x14004edec
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 0x14004eeb1
test bx, bx
jne 0x14004ee1c
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r14 + 0x10]
add r14, 0x10
pmovmskb ebx, xmm0
add rbp, 0x10
cmp ebx, 0xffff
je 0x14004ee00
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 + 0x48]
mov rdx, qword [rsp + 0x38]
call fcn.140035650
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14004ee87
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 0x14004ee70
mov r8, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x14004eda0
movdqa xmm0, xmmword [rdi]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14004eda0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
jmp 0x14004eec7
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
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 0x14004f3e8
mov rax, r13
shl rax, 5
add r13, rax
cmp r13, 0xffffffffffffffcf
je 0x14004f3e8
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x14006a2b8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14004f3e8
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 0x14004ef30
test al, 1
je 0x14004ef81
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi + rdx]
por xmm0, xmmword [0x140050690]
movdqa xmmword [rdi + rdx], xmm0
cmp r14, 0x10
jae 0x14004efa2
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
test r14, r14
jne 0x14004efac
xor ecx, ecx
jmp 0x14004f3da
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r14], xmm0
mov rax, qword [rbp]
mov rcx, qword [rbp + 8]
movabs rbp, 0x736f6d6570736575
xor rbp, rax
movabs r14, 0x646f72616e646f6d
xor r14, rcx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x30], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x50], rax
xor r11d, r11d
mov qword [rsp + 0x60], r13
jmp 0x14004f023
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, r13
mov byte [rdi + r11], al
mov byte [rdi + rcx + 0x10], al
lea rax, [r11 + 1]
cmp r11, r13
mov r11, rax
je 0x14004f3cd
cmp byte [rdi + r11], 0x80
jne 0x14004f013
mov rax, r11
not rax
shl rax, 5
add rax, rdi
mov qword [rsp + 0x38], rax
mov rax, r11
shl rax, 5
mov rcx, rdi
sub rcx, rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x20], r11
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x48]
mov r15, qword [rax - 0x18]
mov rsi, qword [rax - 0x10]
mov rax, rsi
and rax, 0xfffffffffffffff8
je 0x14004f100
mov r9, qword [rsp + 0x30]
mov r8, r14
mov r10, qword [rsp + 0x50]
xor r12d, r12d
mov rdx, rbp
nop dword [rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r15 + r12]
xor r8, rdx
rol rdx, 0x20
xor r10, rcx
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
xor rdx, rcx
add r12, 8
cmp r12, rax
jb 0x14004f090
mov ebx, esi
and ebx, 7
cmp ebx, 4
jb 0x14004f11d
mov r11d, dword [r15 + r12]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jb 0x14004f12e
jmp 0x14004f159
mov r10, qword [rsp + 0x50]
mov r8, r14
mov r9, qword [rsp + 0x30]
mov rdx, rbp
xor r12d, r12d
mov ebx, esi
and ebx, 7
cmp ebx, 4
jae 0x14004f0dd
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jae 0x14004f159
lea rcx, [r15 + rax]
mov r13, r14
mov r14, rbp
movzx ebp, word [r12 + rcx]
lea ecx, [rax*8]
shl rbp, cl
or r11, rbp
mov rbp, r14
mov r14, r13
mov r13, qword [rsp + 0x60]
or rax, 2
cmp rax, rbx
jae 0x14004f180
add r12, rax
movzx r15d, byte [r15 + r12]
shl eax, 3
mov ecx, eax
shl r15, cl
or r11, r15
jmp 0x14004f185
test rbx, rbx
je 0x14004f1d7
lea ecx, [rbx*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp rbx, 7
jne 0x14004f1e0
add rdx, r8
rol r8, 0xd
xor r10, rax
xor r8, rdx
rol rdx, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
xor r10, rdx
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor rdx, rax
xor eax, eax
jmp 0x14004f1e0
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x20]
shl rsi, 0x38
movabs rcx, 0x100000000000000
add rsi, rcx
add rdx, r8
rol r8, 0xd
or rsi, rax
xor r8, rdx
rol rdx, 0x20
xor r10, rsi
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r10, rdx
xor r8, r9
rol r9, 0x20
xor rdx, rsi
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r9, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
add rdx, r8
rol r8, 0xd
add r9, r10
rol r10, 0x10
xor r10, r9
rol r10, 0x15
xor r8, rdx
add r9, r8
rol r8, 0x11
mov rax, r9
rol rax, 0x20
xor rax, r8
xor rax, r10
xor rax, r9
mov rcx, r13
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x14004f308
mov r9d, 0x10
mov r8, rcx
nop word cs:[rax + rax]
add r8, r9
and r8, r13
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x14004f2f0
tzcnt edx, edx
add rdx, r8
and rdx, r13
cmp byte [rdi + rdx], 0
js 0x14004f324
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r11
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, r13
cmp r9, 0x10
jb 0x14004f000
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 0x14004f3a0
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 0x14004f060
lea rax, [r11 - 0x10]
and rax, r13
mov byte [rdi + r11], 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 0x14004f013
cmp r13, 8
mov rcx, qword [rsp + 0x58]
cmovb rcx, r13
sub rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
movabs rax, 0x8000000000000001
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140016bf0
int3