Function at 0x140095d20
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 r15, qword [rcx + 0x18]
mov rax, r15
inc rax
je 0x140096739
mov r14, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
lea r13, [rdx + 1]
mov rcx, r13
shr rcx, 3
mov r12, r13
and r12, 0xfffffffffffffff8
sub r12, rcx
cmp rdx, 8
mov rcx, r12
mov qword [rsp + 0x48], rdx
cmovb rcx, rdx
movabs r8, 0x7ffffffffffffff0
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x28], rsi
jbe 0x140095db7
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
mov qword [rsp + 0x38], r13
jae 0x140095de9
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x140095e37
mov rbx, qword [rsi]
mov rcx, r13
shr rcx, 4
xor eax, eax
test r13b, 0xf
setne al
add rax, rcx
mov rdi, qword [rsp + 0x48]
je 0x140096141
cmp rax, 1
jne 0x1400960cf
xor edx, edx
jmp 0x140096127
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x140096739
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 r12, 0xffffffffffffffff
shr r12, cl
inc r12
mov ecx, 0x68
mov rax, r12
mul rcx
jo 0x140096739
mov rsi, rax
add rsi, 0xf
and rsi, 0xfffffffffffffff0
lea r13, [r12 + 0x10]
mov rbp, rsi
add rbp, r13
jb 0x140096739
cmp rbp, r8
ja 0x140096739
test rbp, rbp
je 0x140095e93
movzx eax, byte [0x1402f9139]
xor ecx, ecx
mov rdx, rbp
call fcn.1401860d0
mov rbx, rax
test rax, rax
jne 0x140095e98
mov rcx, rbp
call fcn.1400520a0
mov ebx, 0x10
add rbx, rsi
lea rsi, [r12 - 1]
mov rax, r12
shr rax, 3
mov rcx, r12
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r12, 9
cmovb rcx, rsi
mov qword [rsp + 0x30], rcx
mov rcx, rbx
mov dl, 0xff
mov r8, r13
call sub.msvcrt.dll_memset
test r15, r15
je 0x14009605b
mov r13, r15
mov rax, qword [rsp + 0x28]
mov r9, qword [rax]
movdqa xmm0, xmmword [r9]
pmovmskb r15d, xmm0
not r15d
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
mov rax, qword [r14 + 8]
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov r12, r9
mov qword [rsp + 0x40], r13
jmp 0x140095f95
lea ecx, [r15 - 1]
and ecx, r15d
dec r13
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
not rbp
imul rax, rbp, 0x68
not rdx
imul rdx, rdx, 0x68
mov r8, qword [r9 + rax + 0x60]
mov qword [rbx + rdx + 0x60], r8
movups xmm0, xmmword [r9 + rax + 0x50]
movups xmmword [rbx + rdx + 0x50], xmm0
movups xmm0, xmmword [r9 + rax + 0x40]
movups xmmword [rbx + rdx + 0x40], xmm0
movdqu xmm0, xmmword [r9 + rax]
movdqu xmm1, xmmword [r9 + rax + 0x10]
movups xmm2, xmmword [r9 + rax + 0x20]
movups xmm3, xmmword [r9 + 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 r15d, ecx
test r13, r13
je 0x14009604f
test r15w, r15w
jne 0x140095fc0
nop dword [rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r15d, xmm0
add r14, 0x10
cmp r15d, 0xffff
je 0x140095fa0
not r15d
tzcnt ebp, r15d
add rbp, r14
mov rax, rbp
neg rax
imul rax, rax, 0x68
mov r8, qword [r9 + rax - 0x60]
mov rdi, r9
mov r9, qword [r9 + rax - 0x58]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
call fcn.140095b90
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140096027
mov r8d, 0x10
nop word [rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140096010
mov r9, rdi
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x140095f10
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140095f10
mov rax, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
jmp 0x140096065
mov rax, qword [rsp + 0x28]
mov r9, qword [rax]
xor edi, edi
mov rcx, qword [rsp + 0x30]
sub rcx, rdi
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdi
mov r8, qword [rsp + 0x48]
test r8, r8
movabs rsi, 0x7ffffffffffffff0
mov rax, qword [rsp + 0x38]
je 0x14009671e
mov ecx, 0x68
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add r8, rax
cmp r8, 0xffffffffffffffef
je 0x14009671e
sub r9, rax
mov rcx, qword [0x1402f90f8]
xor edx, edx
mov r8, r9
call fcn.1401d02bc
jmp 0x14009671e
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x1401f9060]
nop word [rax + 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 0x1400960f0
test al, 1
je 0x140096141
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x1401f9060]
movdqa xmmword [rbx + rdx], xmm0
cmp r13, 0x10
jae 0x140096162
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r13
call sub.msvcrt.dll_memmove
test r13, r13
jne 0x14009616c
xor eax, eax
jmp 0x14009670d
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r13], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x40], r15
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x38], 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
lea rax, [rbx - 0x68]
mov qword [rsp + 0x70], rax
xor esi, esi
mov r12, rbx
jmp 0x140096206
shr rcx, 0x39
lea rax, [rsi - 0x10]
and rax, rdi
mov byte [rbx + rsi], cl
mov byte [rbx + rax + 0x10], cl
lea rax, [rsi + 1]
add r12, 0xffffffffffffff98
cmp rsi, rdi
mov rsi, rax
je 0x1400966f6
cmp byte [rbx + rsi], 0x80
jne 0x1400961f2
imul rcx, rsi, 0xffffffffffffff98
mov rax, qword [rsp + 0x70]
add rax, rcx
mov qword [rsp + 0x80], rax
add rcx, rbx
mov qword [rsp + 0x78], rcx
mov rax, rsi
not rax
imul r13, rax, 0x68
add r13, rbx
mov rax, rsi
neg rax
imul rax, rax, 0x68
add rax, rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rsi
jmp 0x14009632e
mov rcx, qword [r13]
mov rdx, qword [rax]
mov qword [r13], rdx
mov qword [rax], rcx
mov rcx, qword [r13 + 8]
mov rdx, qword [rax + 8]
mov qword [r13 + 8], rdx
mov qword [rax + 8], rcx
mov rcx, qword [r13 + 0x10]
mov rdx, qword [rax + 0x10]
mov qword [r13 + 0x10], rdx
mov qword [rax + 0x10], rcx
mov rcx, qword [r13 + 0x18]
mov rdx, qword [rax + 0x18]
mov qword [r13 + 0x18], rdx
mov qword [rax + 0x18], rcx
mov rcx, qword [r13 + 0x20]
mov rdx, qword [rax + 0x20]
mov qword [r13 + 0x20], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [r13 + 0x28]
mov rdx, qword [rax + 0x28]
mov qword [r13 + 0x28], rdx
mov qword [rax + 0x28], rcx
mov rcx, qword [r13 + 0x30]
mov rdx, qword [rax + 0x30]
mov qword [r13 + 0x30], rdx
mov qword [rax + 0x30], rcx
mov rcx, qword [r13 + 0x38]
mov rdx, qword [rax + 0x38]
mov qword [r13 + 0x38], rdx
mov qword [rax + 0x38], rcx
mov rcx, qword [r13 + 0x40]
mov rdx, qword [rax + 0x40]
mov qword [r13 + 0x40], rdx
mov qword [rax + 0x40], rcx
mov rcx, qword [r13 + 0x48]
mov rdx, qword [rax + 0x48]
mov qword [r13 + 0x48], rdx
mov qword [rax + 0x48], rcx
mov rcx, qword [r13 + 0x50]
mov rdx, qword [rax + 0x50]
mov qword [r13 + 0x50], rdx
mov qword [rax + 0x50], rcx
mov rcx, qword [r13 + 0x58]
mov rdx, qword [rax + 0x58]
mov qword [r13 + 0x58], rdx
mov qword [rax + 0x58], rcx
mov rcx, qword [r13 + 0x60]
mov rdx, qword [rax + 0x60]
mov qword [r13 + 0x60], rdx
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x50]
mov rbp, qword [rax - 0x60]
mov r14, qword [rax - 0x58]
mov rax, r14
and rax, 0xfffffffffffffff8
je 0x1400963d0
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x30]
mov r10, qword [rsp + 0x58]
xor r11d, r11d
mov r15, qword [rsp + 0x38]
nop
add r15, r8
rol r8, 0xd
mov rcx, qword [rbp + r11]
xor r8, r15
rol r15, 0x20
xor r10, rcx
add r9, r10
rol r10, 0x10
xor r10, r9
add r15, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r15
xor r15, rcx
add r11, 8
cmp r11, rax
jb 0x140096360
mov edx, r14d
and edx, 7
cmp edx, 4
jb 0x1400963f2
mov esi, dword [rbp + r11]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rdx
jb 0x140096402
jmp 0x140096421
mov r10, qword [rsp + 0x58]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x60]
mov r15, qword [rsp + 0x38]
xor r11d, r11d
mov edx, r14d
and edx, 7
cmp edx, 4
jae 0x1400963af
xor esi, esi
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rdx
jae 0x140096421
lea rcx, [rax + rbp]
movzx edi, word [r11 + rcx]
lea ecx, [rax*8]
shl rdi, cl
or rsi, rdi
mov rdi, qword [rsp + 0x48]
or rax, 2
cmp rax, rdx
jae 0x140096440
add r11, rax
movzx r11d, byte [rbp + r11]
shl eax, 3
mov ecx, eax
shl r11, cl
or rsi, r11
jmp 0x140096445
test rdx, rdx
je 0x140096497
lea ecx, [rdx*8]
mov eax, 0xff
shl rax, cl
or rax, rsi
cmp rdx, 7
jne 0x1400964a0
add r15, r8
rol r8, 0xd
xor r10, rax
xor r8, r15
rol r15, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add r15, r10
rol r10, 0x15
xor r10, r15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r15, rax
xor eax, eax
jmp 0x1400964a0
mov eax, 0xff
nop dword [rax]
mov rsi, qword [rsp + 0x20]
shl r14, 0x38
movabs rcx, 0x100000000000000
add r14, rcx
add r15, r8
rol r8, 0xd
or r14, rax
xor r8, r15
rol r15, 0x20
xor r10, r14
add r9, r10
rol r10, 0x10
xor r10, r9
add r15, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r10, r15
xor r8, r9
rol r9, 0x20
xor r15, r14
add r15, r8
rol r8, 0xd
xor r8, r15
rol r15, 0x20
xor r9, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add r15, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r15
add r15, r8
rol r8, 0xd
xor r8, r15
rol r15, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add r15, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r15
add r15, r8
rol r8, 0xd
add r9, r10
rol r10, 0x10
xor r10, r9
rol r10, 0x15
xor r8, r15
add r9, r8
rol r8, 0x11
mov rcx, r9
rol rcx, 0x20
xor rcx, r8
xor rcx, r10
xor rcx, r9
mov rax, rdi
and rax, rcx
movdqu xmm0, xmmword [rbx + rax]
pmovmskb edx, xmm0
mov r8, rax
test edx, edx
jne 0x1400965c8
mov r9d, 0x10
mov r8, rax
nop word cs:[rax + rax]
add r8, r9
and r8, rdi
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400965b0
tzcnt edx, edx
add rdx, r8
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x1400965e4
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, rsi
sub r8, rax
mov r9, rdx
sub r9, rax
xor r9, r8
and r9, rdi
cmp r9, 0x10
jb 0x1400961e0
mov rax, rdx
not rax
imul rax, rax, 0x68
add rax, rbx
movzx r8d, byte [rbx + rdx]
shr rcx, 0x39
lea r9, [rdx - 0x10]
and r9, rdi
mov byte [rbx + rdx], cl
mov byte [rbx + r9 + 0x10], cl
cmp r8b, 0xff
je 0x1400966a0
imul rcx, rdx, 0xffffffffffffff98
add rcx, rbx
cmp qword [rsp + 0x80], rcx
jae 0x140096260
cmp rax, qword [rsp + 0x78]
jae 0x140096260
mov rax, 0xffffffffffffff98
nop word cs:[rax + rax]
movzx edx, byte [r12 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r12 + rax], r8b
mov byte [rcx + rax], dl
movzx edx, byte [r12 + rax + 1]
movzx r8d, byte [rcx + rax + 1]
mov byte [r12 + rax + 1], r8b
mov byte [rcx + rax + 1], dl
add rax, 2
jne 0x140096660
jmp 0x14009632e
lea rcx, [rsi - 0x10]
and rcx, rdi
mov byte [rbx + rsi], 0xff
mov byte [rbx + rcx + 0x10], 0xff
mov rcx, qword [r13 + 0x60]
mov qword [rax + 0x60], rcx
movups xmm0, xmmword [r13 + 0x50]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmmword [rax + 0x40], xmm0
movdqu xmm0, xmmword [r13]
movdqu xmm1, xmmword [r13 + 0x10]
movups xmm2, xmmword [r13 + 0x20]
movups xmm3, xmmword [r13 + 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
jmp 0x1400961f2
cmp rdi, 8
mov rax, qword [rsp + 0x68]
cmovb rax, rdi
mov rsi, qword [rsp + 0x28]
mov r15, qword [rsp + 0x40]
sub rax, r15
mov qword [rsi + 0x10], rax
movabs rsi, 0x7ffffffffffffff0
add rsi, 0x11
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140052060
int3