Function at 0x1400dc670
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 rbx, rdx
mov rdx, qword [rcx + 0x18]
cmp rdx, 0xffffffffffffffff
je 0x1400dcf41
mov rsi, qword [rcx + 8]
lea r14, [rsi + 1]
mov rax, r14
shr rax, 3
mov r8, r14
and r8, 0xfffffffffffffff8
sub r8, rax
cmp rsi, 8
cmovb r8, rsi
mov rax, r8
shr rax, 1
cmp rdx, rax
mov qword [rsp + 0x38], rcx
jae 0x1400dc6ef
mov rdi, qword [rcx]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x1400dca81
cmp rax, 1
jne 0x1400dca0f
xor edx, edx
jmp 0x1400dca67
lea rax, [rdx + 1]
inc r8
cmp rax, r8
cmova r8, rax
cmp r8, 8
mov qword [rsp + 0x40], rdx
jae 0x1400dc71b
xor eax, eax
cmp r8, 4
setae al
lea rdi, [rax*4 + 4]
jmp 0x1400dc768
movabs rax, 0x1ffffffffffffffe
inc rax
cmp r8, rax
ja 0x1400dcf41
shl r8, 3
movabs rdx, 0x2492492492492493
mov rax, r8
mul rdx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 2
dec r8
bsr rcx, r8
not ecx
mov rdi, 0xffffffffffffffff
shr rdi, cl
inc rdi
mov ecx, 0x18
mov rax, rdi
mul rcx
jo 0x1400dcf41
mov r12, rax
cmp rax, 0xfffffffffffffff0
ja 0x1400dcf41
add r12, 0xf
and r12, 0xfffffffffffffff0
lea r13, [rdi + 0x10]
mov r15, r12
add r15, r13
jb 0x1400dcf41
movabs rax, 0x7ffffffffffffff0
cmp r15, rax
ja 0x1400dcf41
mov qword [rsp + 0x28], rbx
movzx eax, byte [0x14031a2c8]
xor ecx, ecx
mov rdx, r15
call fcn.1401dbaa0
test rax, rax
je 0x1400dcf46
mov rbp, rax
lea rbx, [rdi - 1]
mov rax, rdi
shr rax, 3
mov rcx, rdi
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rdi, 9
cmovb rcx, rbx
mov qword [rsp + 0x50], rcx
lea r15, [rbp + r12]
mov rcx, r15
mov dl, 0xff
mov r8, r13
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400dc9aa
mov qword [rsp + 0x68], r14
lea rax, [r12 + rbp]
add rax, 0xffffffffffffffe8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov r13, qword [rax]
movdqa xmm0, xmmword [r13]
pmovmskb r14d, xmm0
not r14d
lea r9, [r13 - 0x18]
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
xor edi, edi
mov r12, rcx
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x30], r9
jmp 0x1400dc8d0
lea ecx, [r14 - 1]
and ecx, r14d
dec r12
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rbx
mov byte [r15 + rdx], al
mov byte [r15 + r8 + 0x10], al
shl rbp, 3
lea rax, [rbp*2]
add rax, rbp
mov r8, r9
sub r8, rax
shl rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, qword [rsp + 0x58]
sub rdx, rax
mov rax, qword [r8 + 0x10]
mov qword [rdx + 0x10], rax
movdqu xmm0, xmmword [r8]
movdqu xmmword [rdx], xmm0
mov r14d, ecx
test r12, r12
je 0x1400dc994
test r14w, r14w
jne 0x1400dc8ff
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r13 + 0x10]
add r13, 0x10
pmovmskb r14d, xmm0
add rdi, 0x10
cmp r14d, 0xffff
je 0x1400dc8e0
not r14d
tzcnt ebp, r14d
add rbp, rdi
mov rax, rbp
neg rax
lea rax, [rax + rax*2]
mov r8, qword [r9 + rax*8]
mov r9, qword [r9 + rax*8 + 8]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
call fcn.1400f0700
mov rcx, rax
and rcx, rbx
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400dc968
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rbx
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400dc950
mov r9, qword [rsp + 0x30]
tzcnt edx, edx
add rdx, rcx
and rdx, rbx
cmp byte [r15 + rdx], 0
js 0x1400dc870
movdqa xmm0, xmmword [r15]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400dc870
mov rax, qword [rsp + 0x38]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x60]
jmp 0x1400dc9b2
mov rax, qword [rsp + 0x38]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov qword [rax], r15
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
test rsi, rsi
je 0x1400dcf30
mov ecx, 0x18
mov rax, r14
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x1400dcf30
sub r8, rax
mov rcx, qword [0x14031a288]
xor edx, edx
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401fb9c4
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x140203e80]
nop word [rax + rax]
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 0x1400dca30
test al, 1
je 0x1400dca81
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi + rdx]
por xmm0, xmmword [0x140203e80]
movdqa xmmword [rdi + rdx], xmm0
cmp r14, 0x10
jae 0x1400dcaa7
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, r14
call sub.msvcrt.dll_memmove
test r14, r14
jne 0x1400dcab1
xor eax, eax
mov r8, qword [rsp + 0x38]
jmp 0x1400dcf28
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r14], xmm0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
movabs r13, 0x736f6d6570736575
xor r13, rax
movabs r12, 0x646f72616e646f6d
xor r12, rcx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x48], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor ebx, ebx
mov qword [rsp + 0x70], rsi
jmp 0x1400dcb34
shr rax, 0x39
lea rcx, [rbx - 0x10]
and rcx, rsi
mov byte [rdi + rbx], al
mov byte [rdi + rcx + 0x10], al
xor ecx, ecx
lea rax, [rbx + 1]
cmp rbx, rsi
mov rbx, rax
je 0x1400dcf05
cmp cl, byte [rdi + rbx]
jno 0x1400dcb24
lea rax, [rbx*8]
lea rax, [rax + rax*2]
mov rcx, rdi
sub rcx, rax
mov qword [rsp + 0x40], rcx
neg rax
add rax, rdi
add rax, 0xffffffffffffffe8
mov qword [rsp + 0x50], rax
mov rax, rbx
neg rax
lea rax, [rax + rax*2]
lea rax, [rdi + rax*8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rbx
nop word [rax + rax]
mov rax, qword [rsp + 0x58]
mov r15, qword [rax - 0x18]
mov r11, qword [rax - 0x10]
add r15, 0x10
mov rax, r11
and rax, 0xfffffffffffffff8
je 0x1400dcc30
mov rbp, qword [rsp + 0x48]
mov r8, r12
mov r10, qword [rsp + 0x28]
xor r9d, r9d
mov rdx, r13
nop word cs:[rax + rax]
mov rcx, qword [r15 + r9]
xor r10, rcx
add rdx, r8
rol r8, 0xd
add rbp, r10
xor r8, rdx
rol r10, 0x10
xor r10, rbp
rol rdx, 0x20
add rbp, r8
add rdx, r10
rol r8, 0x11
xor r8, rbp
rol r10, 0x15
rol rbp, 0x20
xor r10, rdx
xor rdx, rcx
add r9, 8
cmp r9, rax
jb 0x1400dcbc0
mov ebx, r11d
and ebx, 7
cmp ebx, 4
jb 0x1400dcc4e
mov r14d, dword [r15 + r9]
mov eax, 4
mov ecx, eax
or ecx, 1
cmp ecx, ebx
jb 0x1400dcc5c
jmp 0x1400dcc87
mov r10, qword [rsp + 0x28]
mov r8, r12
mov rbp, qword [rsp + 0x48]
mov rdx, r13
xor r9d, r9d
mov ebx, r11d
and ebx, 7
cmp ebx, 4
jae 0x1400dcc0e
xor r14d, r14d
xor eax, eax
mov ecx, eax
or ecx, 1
cmp ecx, ebx
jae 0x1400dcc87
lea rcx, [r15 + rax]
mov rsi, r12
mov r12, r13
movzx r13d, word [r9 + rcx]
lea ecx, [rax*8]
shl r13, cl
or r14, r13
mov r13, r12
mov r12, rsi
mov rsi, qword [rsp + 0x70]
or rax, 2
cmp eax, ebx
jae 0x1400dcca0
add r9, rax
movzx r9d, byte [r15 + r9]
shl eax, 3
mov ecx, eax
shl r9, cl
or r14, r9
jmp 0x1400dcca5
test rbx, rbx
je 0x1400dccf7
lea ecx, [rbx*8]
mov eax, 0xff
shl rax, cl
or rax, r14
cmp rbx, 7
jne 0x1400dcd00
xor r10, rax
add rdx, r8
add rbp, r10
rol r8, 0xd
rol r10, 0x10
xor r8, rdx
xor r10, rbp
rol rdx, 0x20
add rbp, r8
add rdx, r10
rol r8, 0x11
xor r8, rbp
rol r10, 0x15
xor r10, rdx
rol rbp, 0x20
xor rdx, rax
xor eax, eax
jmp 0x1400dcd00
mov eax, 0xff
nop dword [rax]
mov rbx, qword [rsp + 0x30]
shl r11, 0x38
movabs rcx, 0x100000000000000
add r11, rcx
or r11, rax
xor r10, r11
add rdx, r8
rol r8, 0xd
add rbp, r10
xor r8, rdx
rol r10, 0x10
xor r10, rbp
rol rdx, 0x20
add rbp, r8
add rdx, r10
rol r8, 0x11
xor r8, rbp
rol r10, 0x15
rol rbp, 0x20
xor r10, rdx
xor rdx, r11
xor rbp, 0xff
add rdx, r8
add rbp, r10
rol r8, 0xd
xor r8, rdx
rol r10, 0x10
rol rdx, 0x20
xor r10, rbp
add rbp, r8
rol r8, 0x11
add rdx, r10
xor r8, rbp
rol r10, 0x15
xor r10, rdx
rol rbp, 0x20
add rdx, r8
add rbp, r10
rol r8, 0xd
xor r8, rdx
rol r10, 0x10
rol rdx, 0x20
xor r10, rbp
add rbp, r8
rol r8, 0x11
add rdx, r10
xor r8, rbp
rol r10, 0x15
xor r10, rdx
rol rbp, 0x20
add rdx, r8
add rbp, r10
rol r8, 0xd
xor r8, rdx
rol r10, 0x10
xor r10, rbp
add rbp, r8
rol r8, 0x11
rol r10, 0x15
mov rax, rbp
rol rax, 0x20
xor rax, r8
xor rax, r10
xor rax, rbp
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x1400dce28
mov r9d, 0x10
mov r8, rcx
nop word cs:[rax + rax]
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400dce10
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x1400dce44
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, rbx
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x1400dcb10
lea rcx, [rdx*8]
lea rcx, [rcx + rcx*2]
movzx r8d, byte [rdi + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rdi + rdx], al
mov byte [rdi + r9 + 0x10], al
cmp r8b, 0xff
je 0x1400dced0
mov rax, rdi
sub rax, rcx
mov r8, qword [rsp + 0x40]
mov rcx, qword [r8 - 0x18]
mov rdx, qword [rax - 0x18]
mov qword [r8 - 0x18], rdx
mov qword [rax - 0x18], rcx
mov rcx, qword [r8 - 0x10]
mov rdx, qword [rax - 0x10]
mov qword [r8 - 0x10], rdx
mov qword [rax - 0x10], rcx
mov rcx, qword [r8 - 8]
mov rdx, qword [rax - 8]
mov qword [r8 - 8], rdx
mov qword [rax - 8], rcx
jmp 0x1400dcb80
neg rcx
lea rax, [rdi + rcx]
add rax, 0xffffffffffffffe8
lea rcx, [rbx - 0x10]
and rcx, rsi
mov byte [rdi + rbx], 0xff
mov byte [rdi + rcx + 0x10], 0xff
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rax], xmm0
jmp 0x1400dcb22
mov r8, qword [rsp + 0x38]
mov rcx, qword [r8 + 8]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, qword [r8 + 0x18]
mov qword [r8 + 0x10], rax
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400786c0
mov rcx, r15
call fcn.140078700
int3