Function at 0x14014a400
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 + 0x10]
mov qword [rsp + 0x28], rax
inc rax
je 0x14014ad9d
mov rbx, rdx
mov rdi, rcx
mov rbp, qword [rcx]
lea r8, [rbp + 1]
mov rcx, r8
shr rcx, 3
mov rdx, r8
and rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rbp, 8
mov qword [rsp + 0x58], rdx
mov rcx, rdx
cmovb rcx, rbp
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
jbe 0x14014a485
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x14014a4f8
xor eax, eax
cmp rcx, 4
setae al
lea rsi, [rax*4 + 4]
jmp 0x14014a547
mov qword [rsp + 0x20], rdi
mov rdi, qword [rdi + 0x18]
test r8, r8
je 0x14014a5b9
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi]
por xmm0, xmmword [0x14014f670]
movdqa xmmword [rdi], xmm0
cmp r8, 0x11
jb 0x14014a4dd
mov eax, 0x10
movdqa xmm0, xmmword [0x14014f670]
nop
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + rax]
por xmm1, xmm0
movdqa xmmword [rdi + rax], xmm1
add rax, 0x10
jb 0x14014a4dd
cmp rax, r8
jb 0x14014a4c0
cmp r8, 0x10
jae 0x14014a7bc
lea rcx, [rdi + 0x10]
mov rdx, rdi
call fcn.140137a60
jmp 0x14014a7c6
mov rax, rcx
shr rax, 0x3d
jne 0x14014ad9d
shl rcx, 3
mov esi, 1
cmp rcx, 0xe
jb 0x14014a547
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 rsi, 0xffffffffffffffff
shr rsi, cl
inc rsi
mov ecx, 0x68
mov rax, rsi
mul rcx
jo 0x14014ad9d
mov r15, rax
add r15, 0xf
jb 0x14014ad9d
and r15, 0xfffffffffffffff0
lea r12, [rsi + 0x10]
mov r13, r15
add r13, r12
jb 0x14014ad9d
je 0x14014a5cc
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x14014a59c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14014a5af
mov rcx, rax
mov qword [0x1401e4bf8], rax
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x14014a5d2
mov rcx, r13
call fcn.14002bb00
ud2
lea rcx, [rdi + 0x10]
mov rdx, rdi
call fcn.140137a60
xor ecx, ecx
jmp 0x14014ad74
mov r14d, 0x10
mov r13, rsi
dec rsi
mov rax, r13
shr rax, 3
and r13, 0xfffffffffffffff8
sub r13, rax
cmp rsi, 8
cmovb r13, rsi
add r14, r15
mov rcx, r14
mov dl, 0xff
mov r8, r12
call fcn.1401387a0
mov rax, qword [rsp + 0x28]
sub r13, rax
cmp rbp, 0xffffffffffffffff
je 0x14014a767
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], rdi
mov r15, qword [rdi + 0x18]
lea r13, [r15 - 0x68]
mov r12, qword [rbx]
mov rbx, qword [rbx + 8]
xor edi, edi
jmp 0x14014a6b9
shr rax, 0x39
lea rcx, [rdx - 0x10]
and rcx, rsi
mov byte [r14 + rdx], al
mov byte [rcx + r14 + 0x10], al
mov rax, rdi
not rax
imul rax, rax, 0x68
not rdx
imul rcx, rdx, 0x68
mov rdx, qword [r15 + rax + 0x60]
mov qword [r14 + rcx + 0x60], rdx
movups xmm0, xmmword [r15 + rax + 0x50]
movups xmmword [r14 + rcx + 0x50], xmm0
movups xmm0, xmmword [r15 + rax + 0x40]
movups xmmword [r14 + rcx + 0x40], xmm0
movdqu xmm0, xmmword [r15 + rax]
movdqu xmm1, xmmword [r15 + rax + 0x10]
movups xmm2, xmmword [r15 + rax + 0x20]
movups xmm3, xmmword [r15 + rax + 0x30]
movups xmmword [r14 + rcx + 0x30], xmm3
movups xmmword [r14 + rcx + 0x20], xmm2
movdqu xmmword [r14 + rcx + 0x10], xmm1
movdqu xmmword [r14 + rcx], xmm0
lea rax, [rdi + 1]
cmp rdi, rbp
mov rdi, rax
je 0x14014a73f
cmp byte [r15 + rdi], 0
js 0x14014a6a9
mov rax, rdi
neg rax
imul rax, rax, 0x68
mov r8, qword [r13 + rax + 8]
mov r9, qword [r13 + rax + 0x10]
mov rcx, r12
mov rdx, rbx
call fcn.1400ce3d0
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14014a718
mov r8d, 0x10
nop dword [rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14014a700
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [r14 + rdx], 0
js 0x14014a630
movdqa xmm0, xmmword [r14]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14014a630
mov rax, qword [rsp + 0x20]
mov qword [rax], rsi
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], r14
test rbp, rbp
jne 0x14014a781
jmp 0x14014ad82
mov r15, qword [rdi + 0x18]
mov qword [rdi], rsi
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r14
mov rbp, 0xffffffffffffffff
lea rax, [rbp + 1]
mov ecx, 0x68
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rbp, rax
cmp rbp, 0xffffffffffffffef
je 0x14014ad82
sub r15, rax
mov rcx, qword [0x1401e4bf8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14014ad82
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r8], xmm0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x50], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x48], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x40], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x38], rax
xor r10d, r10d
jmp 0x14014a843
shr rax, 0x39
lea rcx, [r10 - 0x10]
and rcx, rbp
mov byte [rdi + r10], al
mov byte [rcx + rdi + 0x10], al
lea rax, [r10 + 1]
cmp r10, rbp
mov r10, rax
je 0x14014ad67
cmp byte [rdi + r10], 0x80
jne 0x14014a833
mov rax, r10
not rax
imul r13, rax, 0x68
add r13, rdi
mov qword [rsp + 0x30], r10
mov rax, r10
neg rax
imul rax, rax, 0x68
add rax, rdi
add rax, 0xffffffffffffff98
mov qword [rsp + 0x60], rax
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x60]
mov r14, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov r15d, ebx
and r15d, 7
mov rax, rbx
and rax, 0xfffffffffffffff8
je 0x14014a920
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
xor r11d, r11d
mov rdx, qword [rsp + 0x50]
nop dword [rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r14 + r11]
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 r11, 8
cmp r11, rax
jb 0x14014a8c0
cmp r15d, 3
jbe 0x14014a93d
mov r12d, dword [r14 + r11]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r15
jb 0x14014a94e
jmp 0x14014a968
mov rdx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
xor r11d, r11d
cmp r15d, 3
ja 0x14014a909
xor eax, eax
xor r12d, r12d
mov rcx, rax
or rcx, 1
cmp rcx, r15
jae 0x14014a968
lea rcx, [rax + r11]
movzx esi, word [r14 + rcx]
lea ecx, [rax*8]
shl rsi, cl
or r12, rsi
or rax, 2
cmp rax, r15
jae 0x14014a990
add r11, rax
movzx r11d, byte [r14 + r11]
shl eax, 3
mov ecx, eax
shl r11, cl
or r12, r11
jmp 0x14014a995
test r15, r15
je 0x14014a9f3
lea ecx, [r15*8]
mov r11d, 0xff
shl r11, cl
or r11, r12
cmp r15, 7
jne 0x14014aaf3
mov ecx, 8
add rdx, r8
rol r8, 0xd
sub rcx, r15
xor r8, rdx
rol rdx, 0x20
xor r10, r11
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, r11
jmp 0x14014a9f5
xor ecx, ecx
mov r11d, 1
sub r11, rcx
mov eax, r11d
and eax, 7
and r11, 0xfffffffffffffff8
cmp rcx, r11
jae 0x14014aaa0
nop word cs:[rax + rax]
add rdx, r8
rol r8, 0xd
mov rsi, r10
xor r8, rdx
rol rdx, 0x20
xor rsi, 0xff
add r9, rsi
shld rsi, r10, 0x10
xor rsi, r9
add rdx, rsi
rol rsi, 0x15
add r9, r8
rol r8, 0x11
mov r10, rsi
xor r8, r9
rol r9, 0x20
xor r10, rdx
xor rdx, 0xff
add rcx, 8
cmp rcx, r11
jb 0x14014aa20
xor r11d, r11d
cmp rax, 4
setae r11b
shl r11, 2
cmp eax, 4
mov r14d, 0
mov ecx, 0xff
cmovae r14, rcx
jmp 0x14014aaa6
xor r11d, r11d
xor r14d, r14d
mov rsi, r11
lea ecx, [r11*8]
mov r15d, 0xff
shl r15, cl
or rsi, 1
mov r12, r11
or r12, 2
cmp rsi, rax
cmovae r12, r11
mov esi, 0
cmovae r15, rsi
or r15, r14
lea ecx, [r12*8]
mov r11d, 0xff
shl r11, cl
cmp r12, rax
cmovae r11, rsi
or r11, r15
shl rbx, 0x38
movabs rax, 0x100000000000000
add rbx, rax
add rdx, r8
rol r8, 0xd
or rbx, r11
xor r8, rdx
rol rdx, 0x20
xor r10, rbx
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, rbx
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, rbp
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
mov r10, qword [rsp + 0x30]
jne 0x14014ac18
mov r9d, 0x10
mov r8, rcx
nop word [rax + rax]
add r8, r9
and r8, rbp
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x14014ac00
tzcnt edx, edx
add rdx, r8
and rdx, rbp
cmp byte [rdi + rdx], 0
js 0x14014ac34
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, rbp
cmp r9, 0x10
jb 0x14014a820
mov rcx, rdx
not rcx
imul rcx, rcx, 0x68
add rcx, rdi
movzx r8d, byte [rdi + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rbp
mov byte [rdi + rdx], al
mov byte [r9 + rdi + 0x10], al
cmp r8b, 0xff
je 0x14014ad10
movups xmm0, xmmword [r13]
movups xmm1, xmmword [rcx]
movups xmmword [r13], xmm1
movups xmmword [rcx], xmm0
movups xmm0, xmmword [r13 + 0x10]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x20]
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [r13 + 0x20], xmm1
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [r13 + 0x30]
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [r13 + 0x30], xmm1
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmm1, xmmword [rcx + 0x40]
movups xmmword [r13 + 0x40], xmm1
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [r13 + 0x50]
movdqu xmm1, xmmword [rcx + 0x50]
movdqu xmmword [r13 + 0x50], xmm1
movdqu xmmword [rcx + 0x50], xmm0
mov rax, qword [r13 + 0x60]
mov rdx, qword [rcx + 0x60]
mov qword [r13 + 0x60], rdx
mov qword [rcx + 0x60], rax
jmp 0x14014a880
lea rax, [r10 - 0x10]
and rax, rbp
mov byte [rdi + r10], 0xff
mov byte [rax + rdi + 0x10], 0xff
mov rax, qword [r13 + 0x60]
mov qword [rcx + 0x60], rax
movups xmm0, xmmword [r13 + 0x50]
movups xmmword [rcx + 0x50], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [r13]
movdqu xmm1, xmmword [r13 + 0x10]
movups xmm2, xmmword [r13 + 0x20]
movups xmm3, xmmword [r13 + 0x30]
movups xmmword [rcx + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm2
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x14014a833
cmp rbp, 8
mov rcx, qword [rsp + 0x58]
cmovb rcx, rbp
sub rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 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.14002bab0
ud2