Function at 0x14011dd30
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 r8, qword [rcx + 0x18]
cmp r8, 0xffffffffffffffff
je 0x14011e682
mov rbp, qword [rcx + 8]
lea rsi, [rbp + 1]
mov rax, rsi
shr rax, 3
mov r9, rsi
and r9, 0xfffffffffffffff8
sub r9, rax
cmp rbp, 8
cmovb r9, rbp
movdqa xmm6, xmmword [rdx]
mov rax, r9
shr rax, 1
cmp r8, rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r8
jae 0x14011ddc6
mov qword [rsp + 0x58], r9
mov rbx, qword [rcx]
mov rcx, rsi
shr rcx, 4
xor eax, eax
test sil, 0xf
setne al
add rax, rcx
je 0x14011e11a
cmp rax, 1
jne 0x14011e0ae
xor ecx, ecx
jmp 0x14011e104
lea rax, [r8 + 1]
inc r9
cmp rax, r9
cmova r9, rax
cmp r9, 8
jae 0x14011dded
xor eax, eax
cmp r9, 4
setae al
lea rdi, [rax*4 + 4]
jmp 0x14011de31
mov rax, r9
shr rax, 0x3d
jne 0x14011e682
shl r9, 3
movabs rcx, 0x2492492492492493
mov rax, r9
mul rcx
sub r9, rdx
shr r9, 1
add r9, rdx
shr r9, 2
dec r9
bsr rcx, r9
not ecx
mov rdi, 0xffffffffffffffff
shr rdi, cl
inc rdi
mov ecx, 0x30
mov rax, rdi
mul rcx
jo 0x14011e682
mov r14, rax
lea r12, [rdi + 0x10]
mov rbx, rax
add rbx, r12
jb 0x14011e682
movabs rax, 0x7ffffffffffffff1
cmp rbx, rax
jae 0x14011e682
mov qword [rsp + 0x38], rsi
movzx eax, byte [0x140198310]
xor ecx, ecx
mov rdx, rbx
call fcn.1400f3050
test rax, rax
je 0x14011e687
mov r13, rax
lea rsi, [rdi - 1]
mov rax, rdi
shr rax, 3
mov rcx, rdi
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rdi, 9
cmovb rcx, rsi
mov qword [rsp + 0x40], rcx
lea rbx, [r13 + r14]
mov rcx, rbx
mov dl, 0xff
mov r8, r12
call fcn.14011adf0
mov rax, qword [rsp + 0x30]
mov r8, qword [rax]
mov r12, qword [rsp + 0x28]
test r12, r12
je 0x14011e043
lea rax, [r14 + r13]
add rax, 0xffffffffffffffd0
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [r8]
pmovmskb r13d, xmm0
not r13d
lea rax, [r8 - 0x30]
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov rdi, r8
mov qword [rsp + 0x20], r8
jmp 0x14011df7d
lea ecx, [r13 - 1]
and ecx, r13d
dec r12
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
shl r15, 4
lea rax, [r15 + r15*2]
mov r8, qword [rsp + 0x48]
sub r8, rax
shl rdx, 4
lea rax, [rdx + rdx*2]
mov rdx, qword [rsp + 0x50]
sub rdx, rax
movdqu xmm0, xmmword [r8]
movdqu xmm1, xmmword [r8 + 0x10]
movdqu xmm2, xmmword [r8 + 0x20]
movdqu xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
mov r13d, ecx
test r12, r12
mov r8, qword [rsp + 0x20]
je 0x14011e03c
test r13w, r13w
jne 0x14011dfae
nop word cs:[rax + rax]
movdqa xmm0, xmmword [rdi + 0x10]
add rdi, 0x10
pmovmskb r13d, xmm0
add r14, 0x10
cmp r13d, 0xffff
je 0x14011df90
not r13d
tzcnt r15d, r13d
add r15, r14
mov rax, r15
neg rax
lea rax, [rax + rax*2]
shl rax, 4
mov rdx, qword [r8 + rax - 0x28]
mov r8, qword [r8 + rax - 0x20]
movdqa xmmword [rsp + 0x70], xmm6
lea rcx, [rsp + 0x70]
call fcn.140047bc0
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14011e017
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 0x14011e000
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x14011df10
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14011df10
mov rax, qword [rsp + 0x28]
jmp 0x14011e045
xor eax, eax
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, qword [rsp + 0x30]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rcx
test rbp, rbp
je 0x14011e147
mov ecx, 0x30
mov rax, qword [rsp + 0x38]
mul rcx
add rbp, rax
cmp rbp, 0xffffffffffffffef
je 0x14011e147
sub r8, rax
mov rcx, qword [0x140198260]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x140128790]
nop word cs:[rax + 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 0x14011e0d0
test al, 1
je 0x14011e11a
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rcx]
por xmm0, xmmword [0x140128790]
movdqa xmmword [rbx + rcx], xmm0
cmp rsi, 0x10
jae 0x14011e163
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, rsi
call fcn.14011a750
test rsi, rsi
jne 0x14011e16c
mov rcx, qword [rsp + 0x58]
sub rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
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 + rsi], xmm0
lea rax, [rbx - 0x30]
mov qword [rsp + 0x20], rax
pshufd xmm0, xmm6, 0x44
pxor xmm0, xmmword [0x140128770]
pshufd xmm1, xmm6, 0xee
pxor xmm1, xmmword [0x140128780]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x48], xmm2
movq qword [rsp + 0x40], xmm0
movq qword [rsp + 0x38], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x68], xmm2
lea r13, [rbx - 0x2e]
xor r15d, r15d
mov qword [rsp + 0x60], r13
jmp 0x14011e1e8
shr r9, 0x39
lea rax, [r15 - 0x10]
and rax, rbp
mov byte [rbx + r15], r9b
mov byte [rbx + rax + 0x10], r9b
lea rax, [r15 + 1]
add r13, 0xffffffffffffffd0
cmp r15, rbp
mov r15, rax
je 0x14011e134
cmp byte [rbx + r15], 0x80
jne 0x14011e1d4
mov rax, r15
shl rax, 4
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x20]
mov rdx, rcx
sub rdx, rax
mov r8, rbx
sub r8, rax
mov qword [rsp + 0x50], r8
mov rax, r15
neg rax
lea r14, [rax + rax*2]
shl r14, 4
add r14, rcx
jmp 0x14011e260
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
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm3, xmmword [rcx + 0x20]
movdqu xmmword [rdx + 0x20], xmm3
movdqu xmmword [rcx + 0x20], xmm2
mov r8, qword [r14 + 8]
mov r10, qword [r14 + 0x10]
mov rcx, r10
and rcx, 0xfffffffffffffff8
je 0x14011e320
mov rax, qword [rsp + 0x68]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
xor r9d, r9d
mov r11, qword [rsp + 0x40]
nop dword [rax]
add r11, r12
rol r12, 0xd
mov rsi, qword [r8 + r9]
xor r12, r11
rol r11, 0x20
xor rdi, rsi
add rax, rdi
rol rdi, 0x10
xor rdi, rax
add r11, rdi
rol rdi, 0x15
add rax, r12
rol r12, 0x11
xor r12, rax
rol rax, 0x20
xor rdi, r11
xor r11, rsi
add r9, 8
cmp r9, rcx
jb 0x14011e290
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 0x14011e338
mov r11d, dword [r8 + r9]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r12
jb 0x14011e349
jmp 0x14011e363
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor r9d, r9d
mov r12d, r10d
and r12d, 7
cmp r12d, 4
jae 0x14011e2fc
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r12
jae 0x14011e363
lea rcx, [r8 + rax]
movzx edi, word [r9 + rcx]
lea ecx, [rax*8]
shl rdi, cl
or r11, rdi
or rax, 2
cmp rax, r12
jae 0x14011e380
add r9, rax
movzx r8d, byte [r8 + r9]
shl eax, 3
mov ecx, eax
shl r8, cl
or r11, r8
jmp 0x14011e389
test r12, r12
je 0x14011e41d
lea ecx, [r12*8]
mov r9d, 0xff
shl r9, cl
or r9, r11
cmp r12, 7
jne 0x14011e430
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, r9
movq r8, xmm2
paddq xmm2, xmm3
movq rax, xmm2
rol r8, 0xd
xor r8, rax
rol rax, 0x20
pshufd xmm2, xmm3, 0xee
movq r11, xmm2
add r11, rcx
rol rcx, 0x10
xor rcx, r11
add rax, rcx
rol rcx, 0x15
add r11, r8
rol r8, 0x11
xor rcx, rax
xor r8, r11
movq xmm3, rcx
movq xmm2, r8
punpcklqdq xmm2, xmm3
rol r11, 0x20
xor rax, r9
movq xmm4, r11
movq xmm3, rax
punpcklqdq xmm3, xmm4
xor r9d, r9d
jmp 0x14011e430
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
paddq xmm2, xmm3
rol rcx, 0xd
movq r9, xmm2
xor rcx, r9
rol r9, 0x20
xor r8, r10
add rax, r8
rol r8, 0x10
xor r8, rax
add r9, r8
rol r8, 0x15
add rax, rcx
rol rcx, 0x11
xor r8, r9
xor rcx, rax
rol rax, 0x20
xor r9, r10
add r9, rcx
rol rcx, 0xd
xor rcx, r9
rol r9, 0x20
xor rax, 0xff
add rax, r8
rol r8, 0x10
xor r8, rax
add r9, r8
rol r8, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor r8, r9
add r9, rcx
rol rcx, 0xd
xor rcx, r9
rol r9, 0x20
add rax, r8
rol r8, 0x10
xor r8, rax
add r9, r8
rol r8, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor r8, r9
add r9, rcx
rol rcx, 0xd
add rax, r8
rol r8, 0x10
xor r8, rax
rol r8, 0x15
xor rcx, r9
add rax, rcx
rol rcx, 0x11
mov r9, rax
rol r9, 0x20
xor r9, rcx
xor r9, r8
xor r9, rax
mov rax, r9
and rax, rbp
movdqu xmm2, xmmword [rbx + rax]
pmovmskb r8d, xmm2
mov rcx, rax
test r8d, r8d
jne 0x14011e569
mov r10d, 0x10
mov rcx, rax
nop
add rcx, r10
and rcx, rbp
movdqu xmm2, xmmword [rbx + rcx]
pmovmskb r8d, xmm2
add r10, 0x10
test r8d, r8d
je 0x14011e550
tzcnt r8d, r8d
add r8, rcx
and r8, rbp
cmp byte [rbx + r8], 0
js 0x14011e588
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt r8d, ecx
mov rcx, r15
sub rcx, rax
mov r10, r8
sub r10, rax
xor r10, rcx
and r10, rbp
cmp r10, 0x10
jb 0x14011e1c0
mov rax, r8
shl rax, 4
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
movzx r10d, byte [rbx + r8]
shr r9, 0x39
lea r11, [r8 - 0x10]
and r11, rbp
mov byte [rbx + r8], r9b
mov byte [rbx + r11 + 0x10], r9b
cmp r10b, 0xff
je 0x14011e650
neg rax
lea r8, [rbx + rax]
cmp rdx, r8
jae 0x14011e230
cmp rcx, qword [rsp + 0x50]
jae 0x14011e230
add rax, qword [rsp + 0x60]
xor ecx, ecx
nop dword [rax + rax]
movzx r8d, byte [r13 + rcx - 2]
movzx r9d, byte [rax + rcx - 2]
mov byte [r13 + rcx - 2], r9b
mov byte [rax + rcx - 2], 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
movzx r8d, byte [r13 + rcx]
movzx r9d, byte [rax + rcx]
mov byte [r13 + rcx], r9b
mov byte [rax + rcx], r8b
add rcx, 3
cmp rcx, 0x30
jne 0x14011e600
jmp 0x14011e260
lea rax, [r15 - 0x10]
and rax, rbp
mov byte [rbx + r15], 0xff
mov byte [rbx + rax + 0x10], 0xff
movdqu xmm2, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm4, xmmword [rdx + 0x20]
movdqu xmmword [rcx + 0x20], xmm4
movdqu xmmword [rcx + 0x10], xmm3
movdqu xmmword [rcx], xmm2
jmp 0x14011e1d4
call fcn.140023d00
mov rcx, rbx
call fcn.140023d40
int3