Function at 0x1400d02c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, qword [rcx + 0x18]
mov rax, r12
inc rax
je 0x1400d044a
mov r15, rdx
mov rsi, qword [rcx + 8]
lea r8, [rsi + 1]
mov rdx, r8
shr rdx, 3
mov rdi, r8
and rdi, 0xfffffffffffffff8
sub rdi, rdx
cmp rsi, 8
cmovb rdi, rsi
mov rdx, rdi
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x68], rsi
jbe 0x1400d0345
inc rdi
cmp rax, rdi
cmova rdi, rax
cmp rdi, 8
mov qword [rsp + 0x30], r8
jae 0x1400d037c
mov rsi, rcx
xor eax, eax
cmp rdi, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x1400d03d9
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rcx
mov r14, qword [rcx]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x1400d06f3
cmp rax, 1
jne 0x1400d067a
xor edx, edx
jmp 0x1400d06d7
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rdi, rax
jae 0x1400d044a
mov rsi, rcx
shl rdi, 3
mov r14d, 1
cmp rdi, 0xe
jb 0x1400d03d9
movabs rcx, 0x2492492492492493
mov rax, rdi
mul rcx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 2
dec rdi
bsr rcx, rdi
not ecx
mov r14, 0xffffffffffffffff
shr r14, cl
inc r14
mov ecx, 0x68
mov rax, r14
mul rcx
jo 0x1400d044a
mov r13, rax
add r13, 0xf
and r13, 0xfffffffffffffff0
lea rbp, [r14 + 0x10]
mov rbx, r13
add rbx, rbp
jb 0x1400d044a
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
ja 0x1400d044a
test rbx, rbx
je 0x1400d044e
movzx eax, byte [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400d0438
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400d044a
mov rcx, rax
mov qword [0x1401a4160], rax
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x1400d0453
ud2
mov ebx, 0x10
lea rdi, [r14 - 1]
mov rax, r14
shr rax, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r14, 9
cmovb rcx, rdi
mov qword [rsp + 0x28], rcx
add rbx, r13
mov rcx, rbx
mov dl, 0xff
mov r8, rbp
call sub.msvcrt.dll_memset
mov r13, qword [rsi]
test r12, r12
je 0x1400d0618
mov rax, r12
mov qword [rsp + 0x40], rsi
movdqa xmm0, xmmword [r13]
pmovmskb r12d, xmm0
not r12d
mov rcx, qword [r15]
mov qword [rsp + 0x50], rcx
mov rcx, qword [r15 + 8]
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov qword [rsp + 0x38], rax
mov rsi, rax
mov r14, r13
jmp 0x1400d0557
lea ecx, [r12 - 1]
and ecx, r12d
dec rsi
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [rbx + rdx], al
mov byte [r8 + rbx + 0x10], al
not r15
imul rax, r15, 0x68
not rdx
imul rdx, rdx, 0x68
mov r8, qword [r13 + rax + 0x60]
mov qword [rbx + rdx + 0x60], r8
movups xmm0, xmmword [r13 + rax + 0x50]
movups xmmword [rbx + rdx + 0x50], xmm0
movups xmm0, xmmword [r13 + rax + 0x40]
movups xmmword [rbx + rdx + 0x40], xmm0
movdqu xmm0, xmmword [r13 + rax]
movdqu xmm1, xmmword [r13 + rax + 0x10]
movups xmm2, xmmword [r13 + rax + 0x20]
movups xmm3, xmmword [r13 + rax + 0x30]
movups xmmword [rbx + rdx + 0x30], xmm3
movups xmmword [rbx + rdx + 0x20], xmm2
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r12d, ecx
test rsi, rsi
je 0x1400d060c
test r12w, r12w
jne 0x1400d057f
nop dword [rax]
movdqa xmm0, xmmword [r14 + 0x10]
add r14, 0x10
pmovmskb r12d, xmm0
add rbp, 0x10
cmp r12d, 0xffff
je 0x1400d0560
not r12d
tzcnt r15d, r12d
add r15, rbp
mov rax, r15
neg rax
imul rax, rax, 0x68
mov r8, qword [r13 + rax - 0x68]
mov r9, qword [r13 + rax - 0x58]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.140090740
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400d05e7
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400d05d0
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x1400d04d0
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400d04d0
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
jmp 0x1400d061a
xor eax, eax
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rax
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x1400d0d84
mov ecx, 0x68
mov rax, qword [rsp + 0x30]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add r8, rax
cmp r8, 0xffffffffffffffef
je 0x1400d0d84
sub r13, rax
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
jmp 0x1400d0d84
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x140127ff0]
nop word cs:[rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r9]
por xmm1, xmm0
movdqa xmmword [r14 + r9], xmm1
lea rdx, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + r9 + 0x10], xmm1
mov r9, rdx
add rcx, 0xfffffffffffffffe
jne 0x1400d06a0
test al, 1
je 0x1400d06f3
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rdx]
por xmm0, xmmword [0x140127ff0]
movdqa xmmword [r14 + rdx], xmm0
cmp r8, 0x10
jae 0x1400d0712
lea rcx, [r14 + 0x10]
mov rdx, r14
call sub.msvcrt.dll_memmove
cmp rsi, 0xffffffffffffffff
jne 0x1400d071d
xor ecx, ecx
jmp 0x1400d0d76
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + r8], xmm0
mov qword [rsp + 0x70], rdi
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x28], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x30], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x60], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x58], rax
mov r13, r14
xor r10d, r10d
jmp 0x1400d07a8
shr rcx, 0x39
lea rax, [r10 - 0x10]
and rax, rsi
mov byte [r14 + r10], cl
mov byte [rax + r14 + 0x10], cl
lea rax, [r10 + 1]
add r13, 0xffffffffffffff98
cmp r10, rsi
mov r10, rax
je 0x1400d0d71
cmp byte [r14 + r10], 0x80
jne 0x1400d0794
imul rax, r10, 0xffffffffffffff98
lea rcx, [r14 + rax]
add rcx, 0xffffffffffffff98
mov qword [rsp + 0x80], rcx
add rax, r14
mov qword [rsp + 0x78], rax
mov rax, r10
not rax
imul rdi, rax, 0x68
add rdi, r14
mov qword [rsp + 0x50], r10
mov rax, r10
neg rax
imul rax, rax, 0x68
add rax, r14
mov qword [rsp + 0x48], rax
jmp 0x1400d08cc
mov rcx, qword [rdi]
mov rdx, qword [rax]
mov qword [rdi], rdx
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov rdx, qword [rax + 8]
mov qword [rdi + 8], rdx
mov qword [rax + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rax + 0x10]
mov qword [rdi + 0x10], rdx
mov qword [rax + 0x10], rcx
mov rcx, qword [rdi + 0x18]
mov rdx, qword [rax + 0x18]
mov qword [rdi + 0x18], rdx
mov qword [rax + 0x18], rcx
mov rcx, qword [rdi + 0x20]
mov rdx, qword [rax + 0x20]
mov qword [rdi + 0x20], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rax + 0x28]
mov qword [rdi + 0x28], rdx
mov qword [rax + 0x28], rcx
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rax + 0x30]
mov qword [rdi + 0x30], rdx
mov qword [rax + 0x30], rcx
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rax + 0x38]
mov qword [rdi + 0x38], rdx
mov qword [rax + 0x38], rcx
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rax + 0x40]
mov qword [rdi + 0x40], rdx
mov qword [rax + 0x40], rcx
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rax + 0x48]
mov qword [rdi + 0x48], rdx
mov qword [rax + 0x48], rcx
mov rcx, qword [rdi + 0x50]
mov rdx, qword [rax + 0x50]
mov qword [rdi + 0x50], rdx
mov qword [rax + 0x50], rcx
mov rcx, qword [rdi + 0x58]
mov rdx, qword [rax + 0x58]
mov qword [rdi + 0x58], rdx
mov qword [rax + 0x58], rcx
mov rcx, qword [rdi + 0x60]
mov rdx, qword [rax + 0x60]
mov qword [rdi + 0x60], rdx
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x48]
mov rbx, qword [rax - 0x68]
mov rbp, qword [rax - 0x58]
mov rax, rbp
and rax, 0xfffffffffffffff8
je 0x1400d0970
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x30]
mov r10, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x28]
nop dword [rax]
add r11, r8
rol r8, 0xd
mov rcx, qword [rbx + r15]
xor r8, r11
rol r11, 0x20
xor r10, rcx
add r9, r10
rol r10, 0x10
xor r10, r9
add r11, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r11
xor r11, rcx
add r15, 8
cmp r15, rax
jb 0x1400d0900
mov edx, ebp
and edx, 7
cmp edx, 3
jbe 0x1400d0991
mov r12d, dword [rbx + r15]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rdx
jb 0x1400d09a2
jmp 0x1400d09bb
mov r10, qword [rsp + 0x58]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x60]
mov r11, qword [rsp + 0x28]
xor r15d, r15d
mov edx, ebp
and edx, 7
cmp edx, 3
ja 0x1400d094d
xor r12d, r12d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rdx
jae 0x1400d09bb
lea rcx, [rax + r15]
movzx esi, word [rbx + rcx]
lea ecx, [rax*8]
shl rsi, cl
or r12, rsi
or rax, 2
cmp rax, rdx
jae 0x1400d09e0
add r15, rax
movzx esi, byte [rbx + r15]
shl eax, 3
mov ecx, eax
shl rsi, cl
or r12, rsi
jmp 0x1400d09e5
test rdx, rdx
je 0x1400d0a41
lea ecx, [rdx*8]
mov ebx, 0xff
shl rbx, cl
or rbx, r12
cmp rdx, 7
jne 0x1400d0b1f
mov ecx, 8
add r11, r8
rol r8, 0xd
sub rcx, rdx
xor r8, r11
rol r11, 0x20
xor r10, rbx
add r9, r10
rol r10, 0x10
xor r10, r9
add r11, r10
rol r10, 0x15
xor r10, r11
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r11, rbx
jmp 0x1400d0a43
xor ecx, ecx
mov edx, 1
sub rdx, rcx
mov eax, edx
and eax, 7
and rdx, 0xfffffffffffffff8
cmp rcx, rdx
jae 0x1400d0ad0
nop dword [rax]
add r11, r8
rol r8, 0xd
xor r8, r11
rol r11, 0x20
xor r10, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add r11, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r11
xor r11, 0xff
add rcx, 8
cmp rcx, rdx
jb 0x1400d0a60
xor edx, edx
cmp rax, 4
setae dl
cmp eax, 4
mov ebx, 0
mov ecx, 0xff
cmovae rbx, rcx
shl rdx, 2
jmp 0x1400d0ad4
xor ebx, ebx
xor edx, edx
mov rsi, rdx
lea ecx, [rdx*8]
mov r15d, 0xff
shl r15, cl
or rsi, 1
mov r12, rdx
or r12, 2
cmp rsi, rax
mov esi, 0
cmovae r15, rsi
cmovae r12, rdx
or r15, rbx
lea ecx, [r12*8]
mov ebx, 0xff
shl rbx, cl
cmp r12, rax
cmovae rbx, rsi
or rbx, r15
shl rbp, 0x38
movabs rax, 0x100000000000000
add rbp, rax
add r11, r8
rol r8, 0xd
or rbp, rbx
xor r8, r11
rol r11, 0x20
xor r10, rbp
add r9, r10
rol r10, 0x10
xor r10, r9
add r11, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r10, r11
xor r8, r9
rol r9, 0x20
xor r11, rbp
add r11, r8
rol r8, 0xd
xor r8, r11
rol r11, 0x20
xor r9, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add r11, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r11
add r11, r8
rol r8, 0xd
xor r8, r11
rol r11, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add r11, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r11
add r11, r8
rol r8, 0xd
add r9, r10
rol r10, 0x10
xor r10, r9
rol r10, 0x15
xor r8, r11
add r9, r8
rol r8, 0x11
mov rcx, r9
rol rcx, 0x20
xor rcx, r8
xor rcx, r10
xor rcx, r9
mov rsi, qword [rsp + 0x68]
mov rax, rsi
and rax, rcx
movdqu xmm0, xmmword [r14 + rax]
pmovmskb edx, xmm0
mov r8, rax
test edx, edx
mov r10, qword [rsp + 0x50]
jne 0x1400d0c48
mov r9d, 0x10
mov r8, rax
nop dword [rax]
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [r14 + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400d0c30
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [r14 + rdx], 0
js 0x1400d0c66
movdqa xmm0, xmmword [r14]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r10
sub r8, rax
mov r9, rdx
sub r9, rax
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x1400d0780
mov rax, rdx
not rax
imul rax, rax, 0x68
add rax, r14
movzx r8d, byte [r14 + rdx]
shr rcx, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [r14 + rdx], cl
mov byte [r9 + r14 + 0x10], cl
cmp r8b, 0xff
je 0x1400d0d20
imul rcx, rdx, 0xffffffffffffff98
add rcx, r14
cmp qword [rsp + 0x80], rcx
jae 0x1400d0800
cmp rax, qword [rsp + 0x78]
jae 0x1400d0800
mov rax, 0xffffffffffffff98
nop word cs:[rax + rax]
movzx edx, byte [r13 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r13 + rax], r8b
mov byte [rcx + rax], dl
movzx edx, byte [r13 + rax + 1]
movzx r8d, byte [rcx + rax + 1]
mov byte [r13 + rax + 1], r8b
mov byte [rcx + rax + 1], dl
add rax, 2
jne 0x1400d0ce0
jmp 0x1400d08cc
lea rcx, [r10 - 0x10]
and rcx, rsi
mov byte [r14 + r10], 0xff
mov byte [rcx + r14 + 0x10], 0xff
mov rcx, qword [rdi + 0x60]
mov qword [rax + 0x60], rcx
movups xmm0, xmmword [rdi + 0x50]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax + 0x40], xmm0
movdqu xmm0, xmmword [rdi]
movdqu xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
jmp 0x1400d0794
mov rcx, qword [rsp + 0x70]
sub rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret