Function at 0x1400572b0
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 r9, qword [rcx + 0x18]
mov rax, r9
inc rax
je 0x140057b17
mov rbx, rdx
mov r8, rcx
mov rsi, qword [rcx + 8]
lea r14, [rsi + 1]
mov rcx, r14
shr rcx, 3
mov r10, r14
and r10, 0xfffffffffffffff8
sub r10, rcx
cmp rsi, 8
mov rcx, r10
cmovb rcx, rsi
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], r9
jbe 0x140057335
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x140057367
xor eax, eax
cmp rcx, 4
setae al
lea r15, [rax*4 + 4]
jmp 0x1400573b5
mov qword [rsp + 0x58], r10
mov rdi, qword [r8]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x140057691
cmp rax, 1
jne 0x140057624
xor edx, edx
jmp 0x140057677
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x140057b17
shl rcx, 3
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 r15, 0xffffffffffffffff
shr r15, cl
inc r15
mov ecx, 0x18
mov rax, r15
mul rcx
jo 0x140057b17
mov r13, rax
add r13, 0xf
and r13, 0xfffffffffffffff0
lea r12, [r15 + 0x10]
mov rbp, r13
add rbp, r12
jb 0x140057b17
movabs rax, 0x7ffffffffffffff0
cmp rbp, rax
ja 0x140057b17
test rbp, rbp
je 0x14005741a
movzx eax, byte [0x1402792e0]
xor ecx, ecx
mov rdx, rbp
call fcn.1401685e0
mov rdi, rax
test rax, rax
jne 0x14005741f
mov rcx, rbp
call fcn.14004f400
mov edi, 0x10
add rdi, r13
lea r13, [r15 - 1]
mov rax, r15
shr rax, 3
mov rcx, r15
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r15, 9
cmovb rcx, r13
mov qword [rsp + 0x38], rcx
mov rcx, rdi
mov dl, 0xff
mov r8, r12
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x48]
mov r9, qword [rax]
mov rbp, qword [rsp + 0x40]
test rbp, rbp
je 0x1400575bd
mov qword [rsp + 0x30], r14
movdqa xmm0, xmmword [r9]
pmovmskb r14d, xmm0
not r14d
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov r15, r9
mov qword [rsp + 0x20], r9
jmp 0x1400574ec
lea ecx, [r14 - 1]
and ecx, r14d
dec rbp
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, r13
mov byte [rdi + rdx], al
mov byte [rdi + r8 + 0x10], al
not r12
lea rax, [r12 + r12*2]
not rdx
lea rdx, [rdx + rdx*2]
mov r8, qword [r9 + rax*8 + 0x10]
mov qword [rdi + rdx*8 + 0x10], r8
movdqu xmm0, xmmword [r9 + rax*8]
movdqu xmmword [rdi + rdx*8], xmm0
mov r14d, ecx
test rbp, rbp
je 0x1400575b1
test r14w, r14w
jne 0x14005751f
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb r14d, xmm0
add rbx, 0x10
cmp r14d, 0xffff
je 0x140057500
not r14d
tzcnt r12d, r14d
add r12, rbx
mov rax, r12
neg rax
lea rax, [rax + rax*2]
mov r8, qword [r9 + rax*8 - 0x10]
mov r9, qword [r9 + rax*8 - 8]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
call fcn.14008dfd0
mov rcx, rax
and rcx, r13
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140057587
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, r13
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140057570
mov r9, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, r13
cmp byte [rdi + rdx], 0
js 0x1400574a0
movdqa xmm0, xmmword [rdi]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400574a0
mov rax, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
jmp 0x1400575bf
xor eax, eax
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rax], rdi
mov qword [rax + 8], r13
mov qword [rax + 0x10], rcx
test rsi, rsi
je 0x140057b06
mov ecx, 0x18
mov rax, r14
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x140057b06
sub r9, rax
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, r9
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401abdbc
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x1401d2800]
nop dword [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 0x140057640
test al, 1
je 0x140057691
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi + rdx]
por xmm0, xmmword [0x1401d2800]
movdqa xmmword [rdi + rdx], xmm0
cmp r14, 0x10
jae 0x1400576b2
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, r14
call sub.msvcrt.dll_memmove
test r14, r14
jne 0x1400576bc
xor ecx, ecx
jmp 0x140057af8
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r14], xmm0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
movabs r12, 0x736f6d6570736575
xor r12, rax
movabs r14, 0x646f72616e646f6d
xor r14, rcx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x38], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x30], rax
xor r11d, r11d
mov qword [rsp + 0x60], rsi
jmp 0x140057733
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, rsi
mov byte [rdi + r11], al
mov byte [rdi + rcx + 0x10], al
lea rax, [r11 + 1]
cmp r11, rsi
mov r11, rax
je 0x140057aeb
cmp byte [rdi + r11], 0x80
jne 0x140057723
mov rax, r11
not rax
lea rax, [rax + rax*2]
lea rax, [rdi + rax*8]
mov qword [rsp + 0x20], rax
mov rax, r11
neg rax
lea rax, [rax + rax*2]
lea rax, [rdi + rax*8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], r11
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x50]
mov r15, qword [rax - 0x10]
mov r10, qword [rax - 8]
mov rax, r10
and rax, 0xfffffffffffffff8
je 0x140057810
mov r13, qword [rsp + 0x38]
mov r8, r14
mov rbp, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, r12
nop dword [rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r15 + r9]
xor r8, rdx
rol rdx, 0x20
xor rbp, rcx
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rbp, rdx
xor rdx, rcx
add r9, 8
cmp r9, rax
jb 0x1400577a0
mov ebx, r10d
and ebx, 7
cmp ebx, 4
jb 0x14005782e
mov r11d, dword [r15 + r9]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jb 0x14005783f
jmp 0x14005786a
mov rbp, qword [rsp + 0x30]
mov r8, r14
mov r13, qword [rsp + 0x38]
mov rdx, r12
xor r9d, r9d
mov ebx, r10d
and ebx, 7
cmp ebx, 4
jae 0x1400577ee
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jae 0x14005786a
lea rcx, [r15 + rax]
mov rsi, r14
mov r14, r12
movzx r12d, word [r9 + rcx]
lea ecx, [rax*8]
shl r12, cl
or r11, r12
mov r12, r14
mov r14, rsi
mov rsi, qword [rsp + 0x60]
or rax, 2
cmp rax, rbx
jae 0x140057890
add r9, rax
movzx r9d, byte [r15 + r9]
shl eax, 3
mov ecx, eax
shl r9, cl
or r11, r9
jmp 0x140057895
test rbx, rbx
je 0x1400578e7
lea ecx, [rbx*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp rbx, 7
jne 0x1400578f0
add rdx, r8
rol r8, 0xd
xor rbp, rax
xor r8, rdx
rol rdx, 0x20
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
xor rbp, rdx
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rdx, rax
xor eax, eax
jmp 0x1400578f0
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x28]
shl r10, 0x38
movabs rcx, 0x100000000000000
add r10, rcx
add rdx, r8
rol r8, 0xd
or r10, rax
xor r8, rdx
rol rdx, 0x20
xor rbp, r10
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor rbp, rdx
xor r8, r13
rol r13, 0x20
xor rdx, r10
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r13, 0xff
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rbp, rdx
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rbp, rdx
add rdx, r8
rol r8, 0xd
add r13, rbp
rol rbp, 0x10
xor rbp, r13
rol rbp, 0x15
xor r8, rdx
add r13, r8
rol r8, 0x11
mov rax, r13
rol rax, 0x20
xor rax, r8
xor rax, rbp
xor rax, r13
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x140057a18
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 0x140057a00
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x140057a34
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r11
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x140057710
mov rcx, rdx
not rcx
lea rcx, [rcx + rcx*2]
lea rcx, [rdi + rcx*8]
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 0x140057ac0
mov r8, qword [rsp + 0x20]
mov rax, qword [r8]
mov rdx, qword [rcx]
mov qword [r8], rdx
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov rdx, qword [rcx + 8]
mov qword [r8 + 8], rdx
mov qword [rcx + 8], rax
mov rax, qword [r8 + 0x10]
mov rdx, qword [rcx + 0x10]
mov qword [r8 + 0x10], rdx
mov qword [rcx + 0x10], rax
jmp 0x140057770
lea rax, [r11 - 0x10]
and rax, rsi
mov byte [rdi + r11], 0xff
mov byte [rdi + rax + 0x10], 0xff
mov rdx, qword [rsp + 0x20]
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rcx], xmm0
jmp 0x140057723
cmp rsi, 8
mov rcx, qword [rsp + 0x58]
cmovb rcx, rsi
sub rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x10], rcx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14004f3c0
int3