Function at 0x14005c0b0
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 r8, qword [rcx + 0x18]
mov rax, r8
inc rax
je 0x14005c87b
mov r15, rdx
mov r13, qword [rcx + 8]
lea rsi, [r13 + 1]
mov rdx, rsi
shr rdx, 3
mov r9, rsi
and r9, 0xfffffffffffffff8
sub r9, rdx
cmp r13, 8
cmovb r9, r13
mov rdx, r9
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], r8
jbe 0x14005c12f
inc r9
cmp rax, r9
cmova r9, rax
cmp r9, 8
jae 0x14005c161
xor eax, eax
cmp r9, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x14005c1c4
mov qword [rsp + 0x48], r9
mov rbx, qword [rcx]
mov rcx, rsi
shr rcx, 4
xor eax, eax
test sil, 0xf
setne al
add rax, rcx
je 0x14005c451
cmp rax, 1
jne 0x14005c3e4
xor edx, edx
jmp 0x14005c437
mov rax, r9
shr rax, 0x3d
jne 0x14005c87b
shl r9, 3
mov r14d, 1
cmp r9, 0xe
jb 0x14005c1c4
movabs rcx, 0x2492492492492493
mov rax, r9
mul rcx
sub r9, rdx
shr r9, 1
add r9, rdx
shr r9, 2
dec r9
bsr rcx, r9
not ecx
mov r14, 0xffffffffffffffff
shr r14, cl
movabs rax, 0x7fffffffffffffe
cmp r14, rax
ja 0x14005c87b
inc r14
mov rbp, r14
shl rbp, 5
lea rbx, [r14 + 0x10]
mov r12, rbp
add r12, rbx
jb 0x14005c87b
movabs rax, 0x7ffffffffffffff1
cmp r12, rax
jae 0x14005c87b
test r12, r12
je 0x14005c238
movzx eax, byte [0x140085280]
mov rcx, qword [0x1400851f8]
test rcx, rcx
jne 0x14005c21b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14005c22e
mov rcx, rax
mov qword [0x1400851f8], rax
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x14005c23d
mov rcx, r12
call fcn.14001fd10
ud2
mov edi, 0x10
mov qword [rsp + 0x20], rsi
lea rsi, [r14 - 1]
mov rax, r14
shr rax, 3
mov r12, r14
and r12, 0xfffffffffffffff8
sub r12, rax
cmp r14, 9
cmovb r12, rsi
add rdi, rbp
mov rcx, rdi
mov dl, 0xff
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
sub r12, qword [rsp + 0x38]
cmp r13, 0xffffffffffffffff
je 0x14005c3a1
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x28]
mov rbx, qword [rax]
lea r14, [rbx - 0x20]
mov r12, qword [r15]
mov r15, qword [r15 + 8]
xor ebp, ebp
jmp 0x14005c2e9
shr rax, 0x39
lea rcx, [rdx - 0x10]
and rcx, rsi
mov byte [rdi + rdx], al
mov byte [rcx + rdi + 0x10], al
mov rax, rbp
not rax
shl rax, 5
not rdx
shl rdx, 5
movdqu xmm0, xmmword [rbx + rax]
movdqu xmm1, xmmword [rbx + rax + 0x10]
movdqu xmmword [rdi + rdx + 0x10], xmm1
movdqu xmmword [rdi + rdx], xmm0
lea rax, [rbp + 1]
cmp rbp, r13
mov rbp, rax
je 0x14005c36c
cmp byte [rbx + rbp], 0
js 0x14005c2d9
mov rax, rbp
shl rax, 5
mov rcx, r14
sub rcx, rax
mov r8, qword [rcx]
mov r9, qword [rcx + 0x10]
mov rcx, r12
mov rdx, r15
call fcn.140050fe0
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14005c347
mov r8d, 0x10
nop word [rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14005c330
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x14005c2a0
movdqa xmm0, xmmword [rdi]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14005c2a0
mov rax, qword [rsp + 0x28]
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
test r13, r13
mov rax, qword [rsp + 0x20]
je 0x14005c860
shl rax, 5
add r13, rax
cmp r13, 0xffffffffffffffef
jne 0x14005c3ca
jmp 0x14005c860
mov rax, qword [rsp + 0x28]
mov rbx, qword [rax]
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r12
mov rax, qword [rsp + 0x20]
shl rax, 5
add r13, rax
cmp r13, 0xffffffffffffffef
je 0x14005c860
sub rbx, rax
mov rcx, qword [0x1400851f8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14005c860
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x14005f790]
nop dword [rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r8]
por xmm1, xmm0
movdqa xmmword [rbx + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x14005c400
test al, 1
je 0x14005c451
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x14005f790]
movdqa xmmword [rbx + rdx], xmm0
cmp rsi, 0x10
jae 0x14005c473
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memmove
cmp r13, 0xffffffffffffffff
jne 0x14005c47c
xor ecx, ecx
jmp 0x14005c852
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + rsi], xmm0
mov rax, qword [r15]
mov r10, qword [r15 + 8]
movabs r15, 0x736f6d6570736575
xor r15, rax
movabs rcx, 0x646f72616e646f6d
xor rcx, r10
add r15, rcx
rol rcx, 0xd
lea rdx, [rbx - 0x20]
mov qword [rsp + 0x50], rdx
xor rcx, r15
rol r15, 0x20
movabs rdx, 0x6c7967656e657261
mov qword [rsp + 0x70], rcx
rol rcx, 0x11
mov qword [rsp + 0x60], rcx
xor rdx, rax
mov qword [rsp + 0x68], rdx
xor r11d, r11d
mov qword [rsp + 0x58], r13
jmp 0x14005c503
lea rax, [r11 + 1]
cmp r11, r13
mov r11, rax
je 0x14005c84d
cmp byte [rbx + r11], 0x80
jne 0x14005c4f3
mov rax, r11
not rax
shl rax, 5
add rax, rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], r11
mov rax, r11
shl rax, 5
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov qword [rsp + 0x30], rcx
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x30]
mov r11, qword [rax]
mov r8, qword [rax + 0x10]
mov rdx, r10
xor rdx, r8
movabs rax, 0x7465646279746573
xor rdx, rax
mov rax, qword [rsp + 0x68]
lea r12, [rax + rdx]
rol rdx, 0x10
xor rdx, r12
lea rdi, [rdx + r15]
add r12, qword [rsp + 0x70]
mov rbp, r12
rol rbp, 0x20
xor r12, qword [rsp + 0x60]
rol rdx, 0x15
xor rdx, rdi
xor rdi, r8
lea r9, [r8 + r8]
mov rax, r9
xor r14d, r14d
and rax, 0xfffffffffffffff8
je 0x14005c5e3
nop
add rdi, r12
rol r12, 0xd
mov rcx, qword [r11 + r14]
xor r12, rdi
rol rdi, 0x20
xor rdx, rcx
add rbp, rdx
rol rdx, 0x10
xor rdx, rbp
add rdi, rdx
rol rdx, 0x15
add rbp, r12
rol r12, 0x11
xor r12, rbp
rol rbp, 0x20
xor rdx, rdi
xor rdi, rcx
add r14, 8
cmp r14, rax
jb 0x14005c5a0
and r9d, 6
cmp r9d, 3
jbe 0x14005c610
mov esi, dword [r11 + r14]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r9
jb 0x14005c620
jmp 0x14005c64b
xor esi, esi
xor eax, eax
mov rcx, rax
ror dword [rax - 0x7d], 0xc9
add dword [rcx + rdi - 0x37], ecx
leave
mov rcx, qword [rsp + 0x48]
sub rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x28]
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.14001fcd0
ud2