Function at 0x14007abd0
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 qword [rsp + 0x28], r8
mov qword [rsp + 0x50], rdx
mov rdi, qword [rcx + 0x18]
mov rax, rdi
inc rax
je 0x14007ad2f
mov r15, rcx
mov r12, qword [rcx + 8]
lea r8, [r12 + 1]
mov rdx, r8
shr rdx, 3
mov rcx, r8
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp r12, 8
cmovb rcx, r12
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x58], r15
jbe 0x14007ac55
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x14007ac82
xor eax, eax
cmp rcx, 4
setae al
lea r13, [rax*4 + 4]
jmp 0x14007acdc
mov rbx, qword [r15]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x14007afa1
cmp rax, 1
jne 0x14007af2d
xor edx, edx
jmp 0x14007af87
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x14007ad2f
shl rcx, 3
mov r13d, 1
cmp rcx, 0xe
jb 0x14007acdc
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 r13, 0xffffffffffffffff
shr r13, cl
inc r13
mov ecx, 0x18
mov rax, r13
mul rcx
jo 0x14007ad2f
mov rbp, rax
add rbp, 0xf
and rbp, 0xfffffffffffffff0
lea rsi, [r13 + 0x10]
mov rdx, rbp
add rdx, rsi
jb 0x14007ad2f
movabs rax, 0x7ffffffffffffff0
cmp rdx, rax
ja 0x14007ad2f
mov qword [rsp + 0x48], r8
test rdx, rdx
je 0x14007ad31
movzx eax, byte [0x140188180]
xor ecx, ecx
call fcn.1400f2120
mov rbx, rax
test rax, rax
jne 0x14007ad36
ud2
mov ebx, 0x10
lea r14, [r13 - 1]
mov rax, r13
shr rax, 3
mov rcx, r13
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r13, 9
cmovb rcx, r14
mov qword [rsp + 0x30], rcx
add rbx, rbp
mov rcx, rbx
mov dl, 0xff
mov r8, rsi
call sub.msvcrt.dll_memset
test rdi, rdi
je 0x14007aecd
mov r9, qword [r15]
movdqa xmm0, xmmword [r9]
pmovmskb r15d, xmm0
not r15d
xor esi, esi
mov qword [rsp + 0x40], rdi
mov rbp, rdi
mov r13, r9
mov qword [rsp + 0x38], r9
jmp 0x14007adfc
lea ecx, [r15 - 1]
and ecx, r15d
dec rbp
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, r14
mov byte [rbx + rdx], al
mov byte [r8 + rbx + 0x10], al
shl rdi, 3
lea rax, [rdi + rdi*2]
mov r8, r9
sub r8, rax
shl rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, rbx
sub rdx, rax
neg rax
movdqu xmm0, xmmword [r8 - 0x18]
movdqu xmmword [rbx + rax - 0x18], xmm0
mov rax, qword [r8 - 8]
mov qword [rdx - 8], rax
mov r15d, ecx
test rbp, rbp
je 0x14007aec1
test r15w, r15w
jne 0x14007ae2f
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r13 + 0x10]
add r13, 0x10
pmovmskb r15d, xmm0
add rsi, 0x10
cmp r15d, 0xffff
je 0x14007ae10
not r15d
tzcnt edi, r15d
add rdi, rsi
mov rax, rdi
neg rax
lea rax, [rax + rax*2]
mov r8, qword [r9 + rax*8 - 0x18]
mov r9, qword [r9 + rax*8 - 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
call fcn.14007aa40
mov rcx, rax
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14007ae97
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14007ae80
mov r9, qword [rsp + 0x38]
tzcnt edx, edx
add rdx, rcx
and rdx, r14
cmp byte [rbx + rdx], 0
js 0x14007ada0
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14007ada0
mov r15, qword [rsp + 0x58]
mov rax, qword [rsp + 0x40]
jmp 0x14007aed2
mov r9, qword [r15]
xor eax, eax
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov qword [r15], rbx
mov qword [r15 + 8], r14
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x18], rax
test r12, r12
je 0x14007b660
mov ecx, 0x18
mov rax, qword [rsp + 0x48]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add r12, rax
cmp r12, 0xffffffffffffffef
je 0x14007b660
sub r9, rax
mov rcx, qword [0x140188170]
xor edx, edx
mov r8, r9
call sub.KERNEL32.dll_HeapFree
jmp 0x14007b660
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x140119820]
nop word cs:[rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r9]
por xmm1, xmm0
movdqa xmmword [rbx + r9], xmm1
lea rdx, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + r9 + 0x10], xmm1
mov r9, rdx
add rcx, 0xfffffffffffffffe
jne 0x14007af50
test al, 1
je 0x14007afa1
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x140119820]
movdqa xmmword [rbx + rdx], xmm0
cmp r8, 0x10
jae 0x14007afc0
lea rcx, [rbx + 0x10]
mov rdx, rbx
call sub.msvcrt.dll_memmove
cmp r12, 0xffffffffffffffff
jne 0x14007afca
xor eax, eax
jmp 0x14007b659
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r8], xmm0
movabs rax, 0x736f6d6570736575
mov rdx, qword [rsp + 0x50]
xor rax, rdx
mov qword [rsp + 0x38], rax
movabs rax, 0x646f72616e646f6d
mov rcx, qword [rsp + 0x28]
xor rax, rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x6c7967656e657261
xor rax, rdx
mov qword [rsp + 0x48], rax
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x40], rax
xor edi, edi
mov qword [rsp + 0x60], rbx
jmp 0x14007b057
shr rcx, 0x39
lea rax, [rdi - 0x10]
and rax, r12
mov byte [rbx + rdi], cl
mov rbx, qword [rsp + 0x60]
mov byte [rax + rbx + 0x10], cl
lea rax, [rdi + 1]
cmp rdi, r12
mov rdi, rax
je 0x14007b637
cmp byte [rbx + rdi], 0x80
jne 0x14007b047
lea rax, [rdi*8]
lea rax, [rax + rax*2]
mov r13, rbx
sub r13, rax
add r13, 0xffffffffffffffe8
mov rax, rdi
neg rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rdi
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x50]
lea rax, [rax + rax*2]
mov r11, qword [rbx + rax*8 - 0x18]
mov rbp, qword [rbx + rax*8 - 0x10]
mov rax, rbp
and rax, 0xfffffffffffffff8
je 0x14007b140
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
mov r10, qword [rsp + 0x40]
xor r14d, r14d
mov rdx, qword [rsp + 0x38]
nop word [rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r11 + r14 + 0x10]
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 r14, 8
cmp r14, rax
jb 0x14007b0d0
mov edi, ebp
and edi, 7
cmp edi, 4
jb 0x14007b161
mov esi, dword [r11 + r14 + 0x10]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rdi
jb 0x14007b171
jmp 0x14007b191
mov r10, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
xor r14d, r14d
mov edi, ebp
and edi, 7
cmp edi, 4
jae 0x14007b11e
xor esi, esi
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rdi
jae 0x14007b191
lea rcx, [rax + r14]
movzx r15d, word [r11 + rcx + 0x10]
lea ecx, [rax*8]
shl r15, cl
or rsi, r15
mov r15, qword [rsp + 0x58]
or rax, 2
cmp rax, rdi
jae 0x14007b1b0
add r14, rax
movzx r11d, byte [r11 + r14 + 0x10]
shl eax, 3
mov ecx, eax
shl r11, cl
or rsi, r11
jmp 0x14007b1b5
test rdi, rdi
je 0x14007b212
lea ecx, [rdi*8]
mov r11d, 0xff
shl r11, cl
or r11, rsi
cmp rdi, 7
jne 0x14007b2e9
mov ecx, 8
add rdx, r8
rol r8, 0xd
sub rcx, rdi
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 0x14007b214
xor ecx, ecx
mov r11d, 1
sub r11, rcx
mov eax, r11d
and eax, 7
and r11, 0xfffffffffffffff8
cmp rcx, r11
jae 0x14007b2a0
nop dword [rax]
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r10, 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
xor rdx, 0xff
add rcx, 8
cmp rcx, r11
jb 0x14007b230
xor esi, esi
cmp rax, 4
setae sil
cmp eax, 4
mov edi, 0
mov ecx, 0xff
cmovae rdi, rcx
shl rsi, 2
jmp 0x14007b2a4
xor edi, edi
xor esi, esi
mov r14, rsi
or r14, 1
lea ecx, [rsi*8]
mov r11d, 0xff
shl r11, cl
mov rcx, rsi
or rcx, 2
cmp r14, rax
mov r14d, 0
cmovae r11, r14
cmovae rcx, rsi
or r11, rdi
cmp rcx, rax
jae 0x14007b2e9
shl ecx, 3
mov eax, 0xff
shl rax, cl
or r11, rax
mov rdi, qword [rsp + 0x28]
shl rbp, 0x38
movabs rax, 0x100000000000000
add rbp, rax
add rdx, r8
rol r8, 0xd
or rbp, r11
xor r8, rdx
rol rdx, 0x20
xor r10, rbp
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, rbp
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 rcx, r9
rol rcx, 0x20
xor rcx, r8
xor rcx, r10
xor rcx, r9
mov rax, r12
and rax, rcx
movdqu xmm0, xmmword [rbx + rax]
pmovmskb edx, xmm0
mov r8, rax
test edx, edx
jne 0x14007b408
mov r9d, 0x10
mov r8, rax
nop dword [rax]
add r8, r9
and r8, r12
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x14007b3f0
tzcnt edx, edx
add rdx, r8
and rdx, r12
cmp byte [rbx + rdx], 0
js 0x14007b424
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, rdi
sub r8, rax
mov r9, rdx
sub r9, rax
xor r9, r8
and r9, r12
cmp r9, 0x10
jb 0x14007b030
lea rax, [rdx*8]
lea rax, [rax + rax*2]
neg rax
add rax, rbx
add rax, 0xffffffffffffffe8
movzx r8d, byte [rbx + rdx]
shr rcx, 0x39
lea r9, [rdx - 0x10]
and r9, r12
mov byte [rbx + rdx], cl
mov rbx, qword [rsp + 0x60]
mov byte [r9 + rbx + 0x10], cl
cmp r8b, 0xff
je 0x14007b610
movzx ecx, byte [r13]
movzx edx, byte [rax]
mov byte [r13], dl
mov byte [rax], cl
movzx ecx, byte [r13 + 1]
movzx edx, byte [rax + 1]
mov byte [r13 + 1], dl
mov byte [rax + 1], cl
movzx ecx, byte [r13 + 2]
movzx edx, byte [rax + 2]
mov byte [r13 + 2], dl
mov byte [rax + 2], cl
movzx ecx, byte [r13 + 3]
movzx edx, byte [rax + 3]
mov byte [r13 + 3], dl
mov byte [rax + 3], cl
movzx ecx, byte [r13 + 4]
movzx edx, byte [rax + 4]
mov byte [r13 + 4], dl
mov byte [rax + 4], cl
movzx ecx, byte [r13 + 5]
movzx edx, byte [rax + 5]
mov byte [r13 + 5], dl
mov byte [rax + 5], cl
movzx ecx, byte [r13 + 6]
movzx edx, byte [rax + 6]
mov byte [r13 + 6], dl
mov byte [rax + 6], cl
movzx ecx, byte [r13 + 7]
movzx edx, byte [rax + 7]
mov byte [r13 + 7], dl
mov byte [rax + 7], cl
movzx ecx, byte [r13 + 8]
movzx edx, byte [rax + 8]
mov byte [r13 + 8], dl
mov byte [rax + 8], cl
movzx ecx, byte [r13 + 9]
movzx edx, byte [rax + 9]
mov byte [r13 + 9], dl
mov byte [rax + 9], cl
movzx ecx, byte [r13 + 0xa]
movzx edx, byte [rax + 0xa]
mov byte [r13 + 0xa], dl
mov byte [rax + 0xa], cl
movzx ecx, byte [r13 + 0xb]
movzx edx, byte [rax + 0xb]
mov byte [r13 + 0xb], dl
mov byte [rax + 0xb], cl
movzx ecx, byte [r13 + 0xc]
movzx edx, byte [rax + 0xc]
mov byte [r13 + 0xc], dl
mov byte [rax + 0xc], cl
movzx ecx, byte [r13 + 0xd]
movzx edx, byte [rax + 0xd]
mov byte [r13 + 0xd], dl
mov byte [rax + 0xd], cl
movzx ecx, byte [r13 + 0xe]
movzx edx, byte [rax + 0xe]
mov byte [r13 + 0xe], dl
mov byte [rax + 0xe], cl
movzx ecx, byte [r13 + 0xf]
movzx edx, byte [rax + 0xf]
mov byte [r13 + 0xf], dl
mov byte [rax + 0xf], cl
movzx ecx, byte [r13 + 0x10]
movzx edx, byte [rax + 0x10]
mov byte [r13 + 0x10], dl
mov byte [rax + 0x10], cl
movzx ecx, byte [r13 + 0x11]
movzx edx, byte [rax + 0x11]
mov byte [r13 + 0x11], dl
mov byte [rax + 0x11], cl
movzx ecx, byte [r13 + 0x12]
movzx edx, byte [rax + 0x12]
mov byte [r13 + 0x12], dl
mov byte [rax + 0x12], cl
movzx ecx, byte [r13 + 0x13]
movzx edx, byte [rax + 0x13]
mov byte [r13 + 0x13], dl
mov byte [rax + 0x13], cl
movzx ecx, byte [r13 + 0x14]
movzx edx, byte [rax + 0x14]
mov byte [r13 + 0x14], dl
mov byte [rax + 0x14], cl
movzx ecx, byte [r13 + 0x15]
movzx edx, byte [rax + 0x15]
mov byte [r13 + 0x15], dl
mov byte [rax + 0x15], cl
movzx ecx, byte [r13 + 0x16]
movzx edx, byte [rax + 0x16]
mov byte [r13 + 0x16], dl
mov byte [rax + 0x16], cl
movzx ecx, byte [r13 + 0x17]
movzx edx, byte [rax + 0x17]
mov byte [r13 + 0x17], dl
mov byte [rax + 0x17], cl
mov rbx, qword [r15]
jmp 0x14007b090
lea rcx, [rdi - 0x10]
and rcx, r12
mov byte [rbx + rdi], 0xff
mov byte [rcx + rbx + 0x10], 0xff
mov rcx, qword [r13 + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm0, xmmword [r13]
movdqu xmmword [rax], xmm0
jmp 0x14007b047
mov rcx, qword [r15 + 8]
mov rdi, qword [r15 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, rdi
mov qword [r15 + 0x10], rax
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret