Function at 0x1400fba80
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 r10, qword [rcx + 0x18]
mov rax, r10
inc rax
je 0x1400fbbce
mov rdi, rdx
mov r9, rcx
mov rbp, qword [rcx + 8]
lea r15, [rbp + 1]
mov rcx, r15
shr rcx, 3
mov r11, r15
and r11, 0xfffffffffffffff8
sub r11, rcx
cmp rbp, 8
mov rdx, r11
cmovb rdx, rbp
movabs r8, 0x7ffffffffffffff0
mov rcx, rdx
shr rcx, 1
cmp rax, rcx
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r10
jbe 0x1400fbb10
lea rcx, [rdx + 1]
cmp rax, rdx
cmova rcx, rax
cmp rcx, 8
jae 0x1400fbb42
xor eax, eax
cmp rcx, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x1400fbb9b
mov qword [rsp + 0x58], r11
mov rbx, qword [r9]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400fbe31
cmp rax, 1
jne 0x1400fbdc3
xor edx, edx
jmp 0x1400fbe17
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x1400fbbce
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 r14, 0xffffffffffffffff
shr r14, cl
movabs rax, 0x7fffffffffffffe
cmp r14, rax
ja 0x1400fbbce
inc r14
mov r12, r14
shl r12, 5
lea r15, [r14 + 0x10]
mov rdx, r12
add rdx, r15
jb 0x1400fbbce
cmp rdx, r8
ja 0x1400fbbce
test rdx, rdx
je 0x1400fbbd0
movzx eax, byte [0x141936118]
xor ecx, ecx
call fcn.1400dee70
mov rbx, rax
test rax, rax
jne 0x1400fbbd5
ud2
mov ebx, 0x10
lea rsi, [r14 - 1]
mov rax, r14
shr rax, 3
mov r13, r14
and r13, 0xfffffffffffffff8
sub r13, rax
cmp r14, 9
cmovb r13, rsi
add rbx, r12
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400fbd6d
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [r8]
pmovmskb r14d, xmm0
not r14d
mov rcx, qword [rdi]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rcx
xor r13d, r13d
mov rdi, rax
mov r15, r8
mov qword [rsp + 0x20], r8
jmp 0x1400fbc9f
lea ecx, [r14 - 1]
and ecx, r14d
dec rdi
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
not r12
shl r12, 5
not rdx
shl rdx, 5
movdqu xmm0, xmmword [r8 + r12]
movdqu xmm1, xmmword [r8 + r12 + 0x10]
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r14d, ecx
test rdi, rdi
je 0x1400fbd61
test r14w, r14w
jne 0x1400fbccf
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb r14d, xmm0
add r13, 0x10
cmp r14d, 0xffff
je 0x1400fbcb0
not r14d
tzcnt r12d, r14d
add r12, r13
mov rax, r12
shl rax, 5
mov rcx, r8
sub rcx, rax
mov r8, qword [rcx - 0x18]
mov r9, qword [rcx - 0x10]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
call fcn.140101380
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400fbd37
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400fbd20
mov r8, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1400fbc50
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400fbc50
mov rax, qword [rsp + 0x38]
mov r13, qword [rsp + 0x28]
jmp 0x1400fbd6f
xor eax, eax
sub r13, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r13
test rbp, rbp
movabs rsi, 0x7ffffffffffffff0
je 0x1400fc2a2
mov rax, rbp
shl rax, 5
add rbp, rax
cmp rbp, 0xffffffffffffffcf
je 0x1400fc2a2
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
jmp 0x1400fc2a2
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x1401133e0]
nop dword [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 0x1400fbde0
test al, 1
je 0x1400fbe31
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x1401133e0]
movdqa xmmword [rbx + rdx], xmm0
cmp r15, 0x10
jae 0x1400fbe52
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memmove
test r15, r15
jne 0x1400fbe5c
xor ecx, ecx
jmp 0x1400fc28a
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r15], xmm0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
movabs r13, 0x736f6d6570736575
xor r13, rax
movabs r15, 0x646f72616e646f6d
xor r15, rcx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x28], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x50], rax
xor r11d, r11d
mov qword [rsp + 0x60], rbp
jmp 0x1400fbed3
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, rbp
mov byte [rbx + r11], al
mov byte [rbx + rcx + 0x10], al
lea rax, [r11 + 1]
cmp r11, rbp
mov r11, rax
je 0x1400fc27d
cmp byte [rbx + r11], 0x80
jne 0x1400fbec3
mov rax, r11
not rax
shl rax, 5
add rax, rbx
mov qword [rsp + 0x30], rax
mov rax, r11
shl rax, 5
mov rcx, rbx
sub rcx, rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x20], r11
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x48]
mov r12, qword [rax - 0x18]
mov rdi, qword [rax - 0x10]
mov rax, rdi
and rax, 0xfffffffffffffff8
je 0x1400fbfb0
mov r9, qword [rsp + 0x28]
mov r8, r15
mov r10, qword [rsp + 0x50]
xor esi, esi
mov rdx, r13
nop dword [rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r12 + rsi]
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 rsi, 8
cmp rsi, rax
jb 0x1400fbf40
mov r14d, edi
and r14d, 7
cmp r14d, 4
jb 0x1400fbfcf
mov r11d, dword [r12 + rsi]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r14
jb 0x1400fbfe0
jmp 0x1400fc00b
mov r10, qword [rsp + 0x50]
mov r8, r15
mov r9, qword [rsp + 0x28]
mov rdx, r13
xor esi, esi
mov r14d, edi
and r14d, 7
cmp r14d, 4
jae 0x1400fbf90
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r14
jae 0x1400fc00b
lea rcx, [r12 + rax]
mov rbp, r15
mov r15, r13
movzx r13d, word [rsi + rcx]
lea ecx, [rax*8]
shl r13, cl
or r11, r13
mov r13, r15
mov r15, rbp
mov rbp, qword [rsp + 0x60]
or rax, 2
cmp rax, r14
jae 0x1400fc030
add rsi, rax
movzx esi, byte [r12 + rsi]
shl eax, 3
mov ecx, eax
shl rsi, cl
or r11, rsi
jmp 0x1400fc035
test r14, r14
je 0x1400fc088
lea ecx, [r14*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp r14, 7
jne 0x1400fc090
add rdx, r8
rol r8, 0xd
xor r10, rax
xor r8, rdx
rol rdx, 0x20
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, rax
xor eax, eax
jmp 0x1400fc090
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x20]
shl rdi, 0x38
movabs rcx, 0x100000000000000
add rdi, rcx
add rdx, r8
rol r8, 0xd
or rdi, rax
xor r8, rdx
rol rdx, 0x20
xor r10, rdi
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, rdi
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 rax, r9
rol rax, 0x20
xor rax, r8
xor rax, r10
xor rax, r9
mov rcx, rbp
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x1400fc1b8
mov r9d, 0x10
mov r8, rcx
nop word cs:[rax + rax]
add r8, r9
and r8, rbp
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400fc1a0
tzcnt edx, edx
add rdx, r8
and rdx, rbp
cmp byte [rbx + rdx], 0
js 0x1400fc1d4
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r11
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rbp
cmp r9, 0x10
jb 0x1400fbeb0
mov rcx, rdx
not rcx
shl rcx, 5
add rcx, rbx
movzx r8d, byte [rbx + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rbp
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
cmp r8b, 0xff
je 0x1400fc250
mov rax, qword [rsp + 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rcx]
movups xmmword [rax], xmm1
movups xmmword [rcx], xmm0
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x1400fbf10
lea rax, [r11 - 0x10]
and rax, rbp
mov byte [rbx + r11], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rax, qword [rsp + 0x30]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x1400fbec3
cmp rbp, 8
mov rcx, qword [rsp + 0x58]
cmovb rcx, rbp
sub rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
movabs rsi, 0x7ffffffffffffff0
add rsi, 0x11
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret