Function at 0x140110470
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 rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
inc rax
je 0x140110e0d
mov r14, rdx
mov rdi, rcx
mov rsi, qword [rcx]
lea rbx, [rsi + 1]
mov rcx, rbx
shr rcx, 3
mov rdx, rbx
and rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rsi, 8
mov qword [rsp + 0x60], rdx
mov rcx, rdx
cmovb rcx, rsi
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
jbe 0x1401104f5
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x14011056b
xor eax, eax
cmp rcx, 4
setae al
lea r8, [rax*4 + 4]
jmp 0x1401105bb
mov qword [rsp + 0x28], rdi
mov rdi, qword [rdi + 0x18]
test rbx, rbx
je 0x14011062f
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi]
por xmm0, xmmword [0x140115700]
movdqa xmmword [rdi], xmm0
cmp rbx, 0x11
jb 0x14011054d
mov eax, 0x10
movdqa xmm0, xmmword [0x140115700]
nop
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + rax]
por xmm1, xmm0
movdqa xmmword [rdi + rax], xmm1
add rax, 0x10
jb 0x14011054d
cmp rax, rbx
jb 0x140110530
cmp rbx, 0x10
jae 0x14011082c
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
jmp 0x140110835
mov rax, rcx
shr rax, 0x3d
jne 0x140110e0d
shl rcx, 3
mov r8d, 1
cmp rcx, 0xe
jb 0x1401105bb
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 r8, 0xffffffffffffffff
shr r8, cl
inc r8
mov ecx, 0x68
mov rax, r8
mul rcx
jo 0x140110e0d
mov r12, rax
add r12, 0xf
and r12, 0xfffffffffffffff0
lea r13, [r8 + 0x10]
mov rbp, r12
add rbp, r13
jb 0x140110e0d
mov qword [rsp + 0x38], r14
mov r14, r8
je 0x140110645
mov rcx, qword [0x14017e260]
test rcx, rcx
jne 0x140110612
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140110625
mov rcx, rax
mov qword [0x14017e260], rax
xor edx, edx
mov r8, rbp
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r15, rax
test rax, rax
jne 0x14011064b
mov rcx, rbp
call fcn.14003c0d0
ud2
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
xor ecx, ecx
jmp 0x140110de4
mov r15d, 0x10
lea rbp, [r14 - 1]
mov rax, r14
shr rax, 3
and r14, 0xfffffffffffffff8
sub r14, rax
cmp rbp, 8
cmovb r14, rbp
add r15, r12
mov rcx, r15
mov dl, 0xff
mov r8, r13
call sub.VCRUNTIME140.dll_memset
sub r14, qword [rsp + 0x40]
test rbx, rbx
je 0x1401107e3
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdi
mov r12, qword [rdi + 0x18]
lea rbx, [r12 - 0x68]
mov rax, qword [rsp + 0x38]
mov r13, qword [rax]
mov r14, qword [rax + 8]
xor edi, edi
jmp 0x140110732
shr rax, 0x39
lea rcx, [rdx - 0x10]
and rcx, rbp
mov byte [r15 + rdx], al
mov byte [rcx + r15 + 0x10], al
imul rax, rdi, 0xffffffffffffff98
imul rcx, rdx, 0xffffffffffffff98
mov rdx, qword [rax + r12 - 8]
mov qword [rcx + r15 - 8], rdx
movups xmm0, xmmword [rax + r12 - 0x18]
movups xmmword [rcx + r15 - 0x18], xmm0
movups xmm0, xmmword [rax + r12 - 0x28]
movups xmmword [rcx + r15 - 0x28], xmm0
movdqu xmm0, xmmword [rax + r12 - 0x68]
movdqu xmm1, xmmword [rax + r12 - 0x58]
movups xmm2, xmmword [rax + r12 - 0x48]
movups xmm3, xmmword [rax + r12 - 0x38]
movups xmmword [rcx + r15 - 0x38], xmm3
movups xmmword [rcx + r15 - 0x48], xmm2
movdqu xmmword [rcx + r15 - 0x58], xmm1
movdqu xmmword [rcx + r15 - 0x68], xmm0
lea rax, [rdi + 1]
cmp rdi, rsi
mov rdi, rax
je 0x1401107bf
cmp byte [r12 + rdi], 0
js 0x140110722
mov rax, rdi
neg rax
imul rax, rax, 0x68
mov r8, qword [rbx + rax + 8]
mov r9, qword [rbx + rax + 0x10]
mov rcx, r13
mov rdx, r14
call fcn.140061b90
mov rcx, rax
and rcx, rbp
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140110798
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rbp
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140110780
tzcnt edx, edx
add rdx, rcx
and rdx, rbp
cmp byte [r15 + rdx], 0
js 0x1401106b0
movdqa xmm0, xmmword [r15]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1401106b0
mov rax, qword [rsp + 0x28]
mov qword [rax], rbp
mov rcx, qword [rsp + 0x20]
mov qword [rax + 8], rcx
mov qword [rax + 0x18], r15
test rsi, rsi
mov rbx, qword [rsp + 0x30]
jne 0x1401107f2
jmp 0x140110df2
mov r12, qword [rdi + 0x18]
mov qword [rdi], rbp
mov qword [rdi + 8], r14
mov qword [rdi + 0x18], r15
mov ecx, 0x68
mov rax, rbx
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x140110df2
sub r12, rax
mov rcx, qword [0x14017e260]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140110df2
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + rbx], xmm0
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x20], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x58], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x50], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x48], rax
xor r10d, r10d
jmp 0x1401108b3
shr rax, 0x39
lea rcx, [r10 - 0x10]
and rcx, rsi
mov byte [rdi + r10], al
mov byte [rcx + rdi + 0x10], al
lea rax, [r10 + 1]
cmp r10, rsi
mov r10, rax
je 0x140110dd7
cmp byte [rdi + r10], 0x80
jne 0x1401108a3
mov rax, r10
not rax
imul r13, rax, 0x68
add r13, rdi
mov qword [rsp + 0x38], r10
mov rax, r10
neg rax
imul rax, rax, 0x68
add rax, rdi
add rax, 0xffffffffffffff98
mov qword [rsp + 0x30], rax
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x30]
mov r15, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov r11d, ebx
and r11d, 7
mov rax, rbx
and rax, 0xfffffffffffffff8
je 0x140110990
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r10, qword [rsp + 0x48]
xor r14d, r14d
mov rdx, qword [rsp + 0x20]
nop dword [rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r15 + r14]
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 r14, 8
cmp r14, rax
jb 0x140110930
cmp r11d, 3
jbe 0x1401109ad
mov r12d, dword [r15 + r14]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r11
jb 0x1401109be
jmp 0x1401109d8
mov r10, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
xor r14d, r14d
cmp r11d, 3
ja 0x140110979
xor eax, eax
xor r12d, r12d
mov rcx, rax
or rcx, 1
cmp rcx, r11
jae 0x1401109d8
lea rcx, [rax + r14]
movzx ebp, word [r15 + rcx]
lea ecx, [rax*8]
shl rbp, cl
or r12, rbp
or rax, 2
cmp rax, r11
jae 0x140110a00
add r14, rax
movzx r14d, byte [r15 + r14]
shl eax, 3
mov ecx, eax
shl r14, cl
or r12, r14
jmp 0x140110a05
test r11, r11
je 0x140110a63
lea ecx, [r11*8]
mov r14d, 0xff
shl r14, cl
or r14, r12
cmp r11, 7
jne 0x140110b63
mov ecx, 8
add rdx, r8
rol r8, 0xd
sub rcx, r11
xor r8, rdx
rol rdx, 0x20
xor r10, r14
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, r14
jmp 0x140110a65
xor ecx, ecx
mov r11d, 1
sub r11, rcx
mov eax, r11d
and eax, 7
and r11, 0xfffffffffffffff8
cmp rcx, r11
jae 0x140110b10
nop word cs:[rax + rax]
add rdx, r8
rol r8, 0xd
mov r14, r10
xor r8, rdx
rol rdx, 0x20
xor r14, 0xff
add r9, r14
shld r14, r10, 0x10
xor r14, r9
add rdx, r14
rol r14, 0x15
add r9, r8
rol r8, 0x11
mov r10, r14
xor r8, r9
rol r9, 0x20
xor r10, rdx
xor rdx, 0xff
add rcx, 8
cmp rcx, r11
jb 0x140110a90
xor r11d, r11d
cmp rax, 4
setae r11b
shl r11, 2
cmp eax, 4
mov r14d, 0
mov ecx, 0xff
cmovae r14, rcx
jmp 0x140110b16
xor r11d, r11d
xor r14d, r14d
mov r15, r11
lea ecx, [r11*8]
mov r12d, 0xff
shl r12, cl
or r15, 1
mov rbp, r11
or rbp, 2
cmp r15, rax
cmovae rbp, r11
mov r11d, 0
cmovae r12, r11
or r12, r14
lea ecx, [rbp*8]
mov r14d, 0xff
shl r14, cl
cmp rbp, rax
cmovae r14, r11
or r14, r12
shl rbx, 0x38
movabs rax, 0x100000000000000
add rbx, rax
add rdx, r8
rol r8, 0xd
or rbx, r14
xor r8, rdx
rol rdx, 0x20
xor r10, rbx
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, rbx
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, rsi
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
mov r10, qword [rsp + 0x38]
jne 0x140110c88
mov r9d, 0x10
mov r8, rcx
nop word [rax + rax]
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x140110c70
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x140110ca4
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r10
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x140110890
mov rcx, rdx
not rcx
imul rcx, rcx, 0x68
add rcx, rdi
movzx r8d, byte [rdi + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rdi + rdx], al
mov byte [r9 + rdi + 0x10], al
cmp r8b, 0xff
je 0x140110d80
movups xmm0, xmmword [r13]
movups xmm1, xmmword [rcx]
movups xmmword [r13], xmm1
movups xmmword [rcx], xmm0
movups xmm0, xmmword [r13 + 0x10]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x20]
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [r13 + 0x20], xmm1
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [r13 + 0x30]
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [r13 + 0x30], xmm1
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmm1, xmmword [rcx + 0x40]
movups xmmword [r13 + 0x40], xmm1
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [r13 + 0x50]
movdqu xmm1, xmmword [rcx + 0x50]
movdqu xmmword [r13 + 0x50], xmm1
movdqu xmmword [rcx + 0x50], xmm0
mov rax, qword [r13 + 0x60]
mov rdx, qword [rcx + 0x60]
mov qword [r13 + 0x60], rdx
mov qword [rcx + 0x60], rax
jmp 0x1401108f0
lea rax, [r10 - 0x10]
and rax, rsi
mov byte [rdi + r10], 0xff
mov byte [rax + rdi + 0x10], 0xff
mov rax, qword [r13 + 0x60]
mov qword [rcx + 0x60], rax
movups xmm0, xmmword [r13 + 0x50]
movups xmmword [rcx + 0x50], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [r13]
movdqu xmm1, xmmword [r13 + 0x10]
movups xmm2, xmmword [r13 + 0x20]
movups xmm3, xmmword [r13 + 0x30]
movups xmmword [rcx + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm2
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x1401108a3
cmp rsi, 8
mov rcx, qword [rsp + 0x60]
cmovb rcx, rsi
sub rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], rcx
movabs rax, 0x8000000000000001
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14003c0e0
ud2