Function at 0x14001e470
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movdqa xmmword [rsp + 0x80], xmm6
mov r10, qword [rcx + 0x18]
cmp r10, 0xffffffffffffffff
je 0x14001edf1
mov r9, rcx
movdqa xmm6, xmmword [rdx]
mov rsi, qword [rcx + 8]
lea rdi, [rsi + 1]
mov rax, rdi
shr rax, 3
mov rcx, rdi
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rsi, 8
cmovb rcx, rsi
movabs r8, 0x7ffffffffffffff0
mov rax, rcx
shr rax, 1
cmp r10, rax
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x30], r10
jae 0x14001e513
mov qword [rsp + 0x60], rcx
mov rbx, qword [r9]
mov rcx, rdi
shr rcx, 4
xor eax, eax
test dil, 0xf
setne al
add rax, rcx
je 0x14001e86a
cmp rax, 1
jne 0x14001e805
xor ecx, ecx
jmp 0x14001e854
cmp r10, rcx
cmova rcx, r10
cmp rcx, 7
jae 0x14001e533
xor eax, eax
cmp rcx, 3
setae al
lea rbx, [rax*4 + 4]
jmp 0x14001e581
movabs rax, 0x1ffffffffffffffe
cmp rcx, rax
ja 0x14001edf1
lea rcx, [rcx*8 + 8]
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 rbx, 0xffffffffffffffff
shr rbx, cl
inc rbx
mov ecx, 0x48
mov rax, rbx
mul rcx
jo 0x14001edf1
mov r12, rax
cmp rax, 0xfffffffffffffff0
ja 0x14001edf1
add r12, 0xf
and r12, 0xfffffffffffffff0
lea r13, [rbx + 0x10]
mov rdx, r12
add rdx, r13
jb 0x14001edf1
cmp rdx, r8
ja 0x14001edf1
mov qword [rsp + 0x48], rdi
movzx eax, byte [0x14002d118]
xor ecx, ecx
call fcn.140016930
test rax, rax
je 0x14001edf1
mov rbp, rax
lea rdi, [rbx - 1]
mov rax, rbx
shr rax, 3
mov rcx, rbx
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rbx, 9
cmovb rcx, rdi
mov qword [rsp + 0x50], rcx
lea r15, [rbp + r12]
mov rcx, r15
mov dl, 0xff
mov r8, r13
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x30], 0
je 0x14001e7a4
mov rax, qword [rsp + 0x38]
lea r9, [rax - 0x48]
lea rcx, [r12 + rbp]
add rcx, 0xffffffffffffffb8
mov qword [rsp + 0x58], rcx
movdqa xmm0, xmmword [rax]
pmovmskb ebp, xmm0
not ebp
xor ebx, ebx
mov r14, qword [rsp + 0x30]
mov r12, rax
mov qword [rsp + 0x28], r9
jmp 0x14001e6de
lea ecx, [rbp - 1]
and ecx, ebp
dec r14
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [r15 + rdx], al
mov byte [r15 + r8 + 0x10], al
shl r13, 3
lea rax, [r13*8]
add rax, r13
mov r8, r9
sub r8, rax
shl rdx, 3
lea rax, [rdx + rdx*8]
mov rdx, qword [rsp + 0x58]
sub rdx, rax
mov rax, qword [r8 + 0x40]
mov qword [rdx + 0x40], rax
movdqu xmm0, xmmword [r8]
movdqu xmm1, xmmword [r8 + 0x10]
movdqu xmm2, xmmword [r8 + 0x20]
movdqu xmm3, xmmword [r8 + 0x30]
movdqu xmmword [rdx + 0x30], xmm3
movdqu xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
mov ebp, ecx
test r14, r14
je 0x14001e7a4
test bp, bp
jne 0x14001e70d
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb ebp, xmm0
add rbx, 0x10
cmp ebp, 0xffff
je 0x14001e6f0
not ebp
tzcnt r13d, ebp
add r13, rbx
mov rax, r13
neg rax
lea rax, [rax + rax*8]
mov rdx, qword [r9 + rax*8 + 8]
mov r8, qword [r9 + rax*8 + 0x10]
movdqa xmmword [rsp + 0x70], xmm6
lea rcx, [rsp + 0x70]
call fcn.140007b40
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14001e778
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14001e760
mov r9, qword [rsp + 0x28]
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [r15 + rdx], 0
js 0x14001e660
movdqa xmm0, xmmword [r15]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14001e660
mov rcx, qword [rsp + 0x50]
sub rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rax], r15
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
test rsi, rsi
je 0x14001e897
mov ecx, 0x48
mov rax, qword [rsp + 0x48]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x14001e897
mov r8, qword [rsp + 0x38]
sub r8, rax
mov rcx, qword [0x14002d0f0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14001e897
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x140023420]
nop dword [rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx]
por xmm1, xmm0
movdqa xmmword [rbx + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x14001e820
test al, 1
je 0x14001e86a
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rcx]
por xmm0, xmmword [0x140023420]
movdqa xmmword [rbx + rcx], xmm0
cmp rdi, 0x10
jae 0x14001e8c1
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memmove
test rdi, rdi
jne 0x14001e8ca
mov rcx, qword [rsp + 0x60]
sub rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + rdi], xmm0
lea rax, [rbx - 0x48]
mov qword [rsp + 0x28], rax
pshufd xmm0, xmm6, 0x44
pxor xmm0, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm1, xmm6, 0xee
pxor xmm1, xmmword [0x140023440]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x38], xmm2
movq qword [rsp + 0x50], xmm0
movq qword [rsp + 0x48], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x68], xmm2
xor ecx, ecx
mov r13, rbx
xor ebp, ebp
jmp 0x14001e94a
shr r9, 0x39
lea rax, [rbp - 0x10]
and rax, rsi
mov byte [rbx + rbp], r9b
mov byte [rbx + rax + 0x10], r9b
xor ecx, ecx
lea rax, [rbp + 1]
add r13, 0xffffffffffffffb8
cmp rbp, rsi
mov rbp, rax
je 0x14001e884
cmp cl, byte [rbx + rbp]
jno 0x14001e936
lea rax, [rbp*8]
lea rax, [rax + rax*8]
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
sub rdx, rax
mov r8, rbx
sub r8, rax
mov qword [rsp + 0x58], r8
mov rax, rbp
neg rax
lea rax, [rax + rax*8]
lea r15, [rcx + rax*8]
nop
mov r8, qword [r15 + 8]
mov r10, qword [r15 + 0x10]
mov rcx, r10
and rcx, 0xfffffffffffffff8
je 0x14001ea40
mov rax, qword [rsp + 0x68]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
xor r9d, r9d
mov r11, qword [rsp + 0x50]
nop dword [rax]
mov r14, qword [r8 + r9]
xor rdi, r14
add r11, r12
rol r12, 0xd
add rax, rdi
xor r12, r11
rol rdi, 0x10
xor rdi, rax
rol r11, 0x20
add rax, r12
add r11, rdi
rol r12, 0x11
xor r12, rax
rol rdi, 0x15
rol rax, 0x20
xor rdi, r11
xor r11, r14
add r9, 8
cmp r9, rcx
jb 0x14001e9b0
movq xmm3, rdi
movq xmm2, r12
punpcklqdq xmm2, xmm3
movq xmm4, rax
movq xmm3, r11
punpcklqdq xmm3, xmm4
mov r12d, r10d
and r12d, 7
cmp r12d, 4
jb 0x14001ea58
mov r11d, dword [r8 + r9]
mov eax, 4
mov ecx, eax
or ecx, 1
cmp ecx, r12d
jb 0x14001ea67
jmp 0x14001ea81
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor r9d, r9d
mov r12d, r10d
and r12d, 7
cmp r12d, 4
jae 0x14001ea1c
xor r11d, r11d
xor eax, eax
mov ecx, eax
or ecx, 1
cmp ecx, r12d
jae 0x14001ea81
lea rcx, [r8 + rax]
movzx edi, word [r9 + rcx]
lea ecx, [rax*8]
shl rdi, cl
or r11, rdi
or rax, 2
cmp eax, r12d
jae 0x14001eaa0
add r9, rax
movzx r8d, byte [r8 + r9]
shl eax, 3
mov ecx, eax
shl r8, cl
or r11, r8
jmp 0x14001eaa9
test r12, r12
je 0x14001eb3d
lea ecx, [r12*8]
mov r9d, 0xff
shl r9, cl
or r9, r11
cmp r12, 7
jne 0x14001eb50
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, r9
movq r11, xmm2
paddq xmm2, xmm3
movq rax, xmm2
pshufd xmm2, xmm3, 0xee
movq r8, xmm2
add r8, rcx
rol r11, 0xd
xor r11, rax
rol rcx, 0x10
xor rcx, r8
rol rax, 0x20
add r8, r11
add rax, rcx
rol r11, 0x11
rol rcx, 0x15
xor r11, r8
xor rcx, rax
movq xmm3, rcx
movq xmm2, r11
punpcklqdq xmm2, xmm3
rol r8, 0x20
xor rax, r9
movq xmm4, r8
movq xmm3, rax
punpcklqdq xmm3, xmm4
xor r9d, r9d
jmp 0x14001eb50
mov r9d, 0xff
nop word cs:[rax + rax]
pshufd xmm4, xmm3, 0xee
movq rax, xmm4
movq rcx, xmm2
pshufd xmm4, xmm2, 0xee
movq r8, xmm4
shl r10, 0x38
movabs r11, 0x100000000000000
add r10, r11
or r10, r9
xor r8, r10
paddq xmm2, xmm3
movq r9, xmm2
rol rcx, 0xd
add rax, r8
xor rcx, r9
rol r8, 0x10
xor r8, rax
rol r9, 0x20
add rax, rcx
add r9, r8
rol rcx, 0x11
xor rcx, rax
rol r8, 0x15
rol rax, 0x20
xor r8, r9
xor r9, r10
xor rax, 0xff
add r9, rcx
add rax, r8
rol rcx, 0xd
xor rcx, r9
rol r8, 0x10
rol r9, 0x20
xor r8, rax
add rax, rcx
rol rcx, 0x11
add r9, r8
xor rcx, rax
rol r8, 0x15
xor r8, r9
rol rax, 0x20
add r9, rcx
add rax, r8
rol rcx, 0xd
xor rcx, r9
rol r8, 0x10
rol r9, 0x20
xor r8, rax
add rax, rcx
rol rcx, 0x11
add r9, r8
xor rcx, rax
rol r8, 0x15
xor r8, r9
rol rax, 0x20
add r9, rcx
add rax, r8
rol rcx, 0xd
xor rcx, r9
rol r8, 0x10
xor r8, rax
add rax, rcx
rol rcx, 0x11
rol r8, 0x15
mov r9, rax
rol r9, 0x20
xor r9, rcx
xor r9, r8
xor r9, rax
mov rax, r9
and rax, rsi
movdqu xmm2, xmmword [rbx + rax]
pmovmskb r8d, xmm2
mov rcx, rax
test r8d, r8d
jne 0x14001ec89
mov r10d, 0x10
mov rcx, rax
nop
add rcx, r10
and rcx, rsi
movdqu xmm2, xmmword [rbx + rcx]
pmovmskb r8d, xmm2
add r10, 0x10
test r8d, r8d
je 0x14001ec70
tzcnt r8d, r8d
add r8, rcx
and r8, rsi
cmp byte [rbx + r8], 0
js 0x14001eca8
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt r8d, ecx
mov rcx, rbp
sub rcx, rax
mov r10, r8
sub r10, rax
xor r10, rcx
and r10, rsi
cmp r10, 0x10
jb 0x14001e920
lea rax, [r8*8]
lea rax, [rax + rax*8]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
movzx r10d, byte [rbx + r8]
shr r9, 0x39
lea r11, [r8 - 0x10]
and r11, rsi
mov byte [rbx + r8], r9b
mov byte [rbx + r11 + 0x10], r9b
cmp r10b, 0xff
je 0x14001edb0
neg rax
add rax, rbx
cmp rdx, rax
setae r8b
cmp rcx, qword [rsp + 0x58]
setae r9b
or r9b, r8b
jne 0x14001ed20
xor ecx, ecx
jmp 0x14001ed65
movups xmm2, xmmword [rdx]
movups xmm3, xmmword [rcx]
movups xmmword [rdx], xmm3
movups xmmword [rcx], xmm2
movups xmm2, xmmword [rdx + 0x10]
movups xmm3, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm3
movups xmmword [rcx + 0x10], xmm2
movups xmm2, xmmword [rdx + 0x20]
movups xmm3, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm3
movups xmmword [rcx + 0x20], xmm2
movdqu xmm2, xmmword [rdx + 0x30]
movdqu xmm3, xmmword [rcx + 0x30]
movdqu xmmword [rdx + 0x30], xmm3
movdqu xmmword [rcx + 0x30], xmm2
mov ecx, 0x40
add rcx, 0xffffffffffffffb8
nop dword [rax]
movzx r8d, byte [r13 + rcx]
movzx r9d, byte [rax + rcx]
mov byte [r13 + rcx], r9b
mov byte [rax + rcx], r8b
movzx r8d, byte [r13 + rcx + 1]
movzx r9d, byte [rax + rcx + 1]
mov byte [r13 + rcx + 1], r9b
mov byte [rax + rcx + 1], r8b
add rcx, 2
jne 0x14001ed70
jmp 0x14001e980
lea rax, [rbp - 0x10]
and rax, rsi
mov byte [rbx + rbp], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rax, qword [rdx + 0x40]
mov qword [rcx + 0x40], rax
movdqu xmm2, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm4, xmmword [rdx + 0x20]
movups xmm5, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm5
movdqu xmmword [rcx + 0x20], xmm4
movdqu xmmword [rcx + 0x10], xmm3
movdqu xmmword [rcx], xmm2
jmp 0x14001e934
ud2