Function at 0x14010e6f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x30], rax
inc rax
je 0x14010f05a
mov rbp, rdx
mov rdi, qword [rcx + 8]
lea r15, [rdi + 1]
mov rdx, r15
shr rdx, 3
mov r8, r15
and r8, 0xfffffffffffffff8
sub r8, rdx
cmp rdi, 8
cmovb r8, rdi
mov rdx, r8
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x58], rcx
jbe 0x14010e76c
inc r8
cmp rax, r8
cmova r8, rax
cmp r8, 8
jae 0x14010e79e
xor eax, eax
cmp r8, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x14010e7f8
mov qword [rsp + 0x68], r8
mov r14, qword [rcx]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x14010eb03
cmp rax, 1
jne 0x14010ea8c
xor edx, edx
jmp 0x14010eae7
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp r8, rax
jae 0x14010f05a
shl r8, 3
mov r14d, 1
cmp r8, 0xe
jb 0x14010e7f8
movabs rcx, 0x2492492492492493
mov rax, r8
mul rcx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 2
dec r8
bsr rcx, r8
not ecx
mov r14, 0xffffffffffffffff
shr r14, cl
inc r14
mov ecx, 0x18
mov rax, r14
mul rcx
jo 0x14010f05a
mov rsi, rax
add rsi, 0xf
and rsi, 0xfffffffffffffff0
lea r12, [r14 + 0x10]
mov r13, rsi
add r13, r12
jb 0x14010f05a
movabs rax, 0x7ffffffffffffff0
cmp r13, rax
ja 0x14010f05a
test r13, r13
je 0x14010e87d
movzx eax, byte [0x1403ac1f0]
mov rcx, qword [0x1403ac160]
test rcx, rcx
jne 0x14010e863
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14010e875
mov rcx, rax
mov qword [0x1403ac160], rax
xor edx, edx
mov r8, r13
call sub.kernel32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x14010e882
mov rcx, r13
call fcn.1400daee0
mov ebx, 0x10
mov qword [rsp + 0x38], r15
lea r15, [r14 - 1]
mov rax, r14
shr rax, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r14, 9
cmovb rcx, r15
mov qword [rsp + 0x40], rcx
add rbx, rsi
mov rcx, rbx
mov dl, 0xff
mov r8, r12
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
je 0x14010ea2c
mov r13, qword [rsp + 0x28]
movdqa xmm0, xmmword [r13]
pmovmskb r12d, xmm0
not r12d
lea rax, [r13 - 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov r14, qword [rsp + 0x30]
jmp 0x14010e96f
lea ecx, [r12 - 1]
and ecx, r12d
dec r14
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, r15
mov byte [rbx + rdx], al
mov byte [r8 + rbx + 0x10], al
shl rsi, 3
lea rax, [rsi + rsi*2]
mov r8, qword [rsp + 0x28]
sub r8, rax
shl rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, rbx
sub rdx, rax
neg rax
movdqu xmm0, xmmword [r8 - 0x18]
movdqu xmmword [rbx + rax - 0x18], xmm0
mov rax, qword [r8 - 8]
mov qword [rdx - 8], rax
mov r12d, ecx
test r14, r14
je 0x14010ea2c
test r12w, r12w
jne 0x14010e99f
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r13 + 0x10]
add r13, 0x10
pmovmskb r12d, xmm0
add rbp, 0x10
cmp r12d, 0xffff
je 0x14010e980
not r12d
tzcnt esi, r12d
add rsi, rbp
mov rax, rsi
neg rax
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x60]
mov r8, qword [rcx + rax*8]
mov r9, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.14010e560
mov rcx, rax
and rcx, r15
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14010ea07
mov r8d, 0x10
nop word [rax + rax]
add rcx, r8
and rcx, r15
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14010e9f0
tzcnt edx, edx
add rdx, rcx
and rdx, r15
cmp byte [rbx + rdx], 0
js 0x14010e910
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14010e910
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rax + 0x10], rcx
test rdi, rdi
je 0x14010f03b
mov ecx, 0x18
mov rax, qword [rsp + 0x38]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rdi, rax
cmp rdi, 0xffffffffffffffef
je 0x14010f03b
mov r8, qword [rsp + 0x28]
sub r8, rax
mov rcx, qword [0x1403ac160]
xor edx, edx
call fcn.14029804c
jmp 0x14010f03b
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x1402a0910]
nop word cs:[rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r8]
por xmm1, xmm0
movdqa xmmword [r14 + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x14010eab0
test al, 1
je 0x14010eb03
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rdx]
por xmm0, xmmword [0x1402a0910]
movdqa xmmword [r14 + rdx], xmm0
cmp r15, 0x10
jae 0x14010eb25
lea rcx, [r14 + 0x10]
mov rdx, r14
mov r8, r15
call sub.msvcrt.dll_memmove
cmp rdi, 0xffffffffffffffff
jne 0x14010eb30
xor ecx, ecx
jmp 0x14010f02d
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + r15], xmm0
lea rax, [r14 - 0x18]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp]
mov rcx, qword [rbp + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x50], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x48], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x40], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x38], rax
xor ebx, ebx
jmp 0x14010ebb4
shr rax, 0x39
lea rcx, [rbx - 0x10]
and rcx, rdi
mov byte [r14 + rbx], al
mov byte [rcx + r14 + 0x10], al
lea rax, [rbx + 1]
cmp rbx, rdi
mov rbx, rax
je 0x14010f028
cmp byte [r14 + rbx], 0x80
jne 0x14010eba4
lea rax, [rbx*8]
lea rax, [rax + rax*2]
mov rbp, r14
sub rbp, rax
add rbp, 0xffffffffffffffe8
mov rax, rbx
neg rax
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], rbx
nop
mov rax, qword [rsp + 0x60]
mov rsi, qword [rax]
mov r15, qword [rax + 8]
mov rax, r15
and rax, 0xfffffffffffffff8
je 0x14010ec90
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov r11, qword [rsp + 0x38]
xor ebx, ebx
mov r8, qword [rsp + 0x50]
nop
add r8, r9
rol r9, 0xd
mov rcx, qword [rsi + rbx + 0x10]
xor r9, r8
rol r8, 0x20
xor r11, rcx
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
xor r8, rcx
add rbx, 8
cmp rbx, rax
jb 0x14010ec20
mov r12d, r15d
and r12d, 7
cmp r12d, 3
jbe 0x14010ecb3
mov r13d, dword [rsi + rbx + 0x10]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r12
jb 0x14010ecc4
jmp 0x14010ecde
mov r11, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
xor ebx, ebx
mov r12d, r15d
and r12d, 7
cmp r12d, 3
ja 0x14010ec71
xor r13d, r13d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r12
jae 0x14010ecde
lea rcx, [rax + rbx]
movzx edx, word [rsi + rcx + 0x10]
lea ecx, [rax*8]
shl rdx, cl
or r13, rdx
or rax, 2
cmp rax, r12
jae 0x14010ed00
add rbx, rax
movzx edx, byte [rsi + rbx + 0x10]
shl eax, 3
mov ecx, eax
shl rdx, cl
or r13, rdx
jmp 0x14010ed05
test r12, r12
je 0x14010ed62
lea ecx, [r12*8]
mov esi, 0xff
shl rsi, cl
or rsi, r13
cmp r12, 7
jne 0x14010ee38
mov ecx, 8
add r8, r9
rol r9, 0xd
sub rcx, r12
xor r9, r8
rol r8, 0x20
xor r11, rsi
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
xor r11, r8
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r8, rsi
jmp 0x14010ed64
xor ecx, ecx
mov esi, 1
sub rsi, rcx
mov eax, esi
and eax, 7
and rsi, 0xfffffffffffffff8
cmp rcx, rsi
jae 0x14010edf0
nop word [rax + rax]
add r8, r9
rol r9, 0xd
xor r9, r8
rol r8, 0x20
xor r11, 0xff
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
xor r8, 0xff
add rcx, 8
cmp rcx, rsi
jb 0x14010ed80
xor ebx, ebx
cmp rax, 4
setae bl
cmp eax, 4
mov r12d, 0
mov ecx, 0xff
cmovae r12, rcx
shl rbx, 2
jmp 0x14010edf5
xor r12d, r12d
xor ebx, ebx
mov rdx, rbx
or rdx, 1
lea ecx, [rbx*8]
mov esi, 0xff
shl rsi, cl
mov rcx, rbx
or rcx, 2
cmp rdx, rax
mov edx, 0
cmovae rsi, rdx
cmovae rcx, rbx
or rsi, r12
cmp rcx, rax
jae 0x14010ee38
shl ecx, 3
mov eax, 0xff
shl rax, cl
or rsi, rax
mov rbx, qword [rsp + 0x28]
shl r15, 0x38
movabs rax, 0x100000000000000
add r15, rax
add r8, r9
rol r9, 0xd
or r15, rsi
xor r9, r8
rol r8, 0x20
xor r11, r15
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r11, r8
xor r9, r10
rol r10, 0x20
xor r8, r15
add r8, r9
rol r9, 0xd
xor r9, r8
rol r8, 0x20
xor r10, 0xff
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
add r8, r9
rol r9, 0xd
xor r9, r8
rol r8, 0x20
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
add r8, r9
rol r9, 0xd
add r10, r11
rol r11, 0x10
xor r11, r10
rol r11, 0x15
xor r9, r8
add r10, r9
rol r9, 0x11
mov rax, r10
rol rax, 0x20
xor rax, r9
xor rax, r11
xor rax, r10
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb r8d, xmm0
mov r9, rcx
test r8d, r8d
jne 0x14010ef5a
mov r10d, 0x10
mov r9, rcx
nop
add r9, r10
and r9, rdi
movdqu xmm0, xmmword [r14 + r9]
pmovmskb r8d, xmm0
add r10, 0x10
test r8d, r8d
je 0x14010ef40
tzcnt r8d, r8d
add r8, r9
and r8, rdi
cmp byte [r14 + r8], 0
js 0x14010ef7a
movdqa xmm0, xmmword [r14]
pmovmskb edx, xmm0
tzcnt r8d, edx
mov rdx, rbx
sub rdx, rcx
mov r9, r8
sub r9, rcx
xor r9, rdx
and r9, rdi
cmp r9, 0x10
jb 0x14010eb90
lea rcx, [r8*8]
lea rcx, [rcx + rcx*2]
neg rcx
add rcx, r14
add rcx, 0xffffffffffffffe8
movzx edx, byte [r14 + r8]
shr rax, 0x39
lea r9, [r8 - 0x10]
and r9, rdi
mov byte [r14 + r8], al
mov byte [r9 + r14 + 0x10], al
cmp dl, 0xff
je 0x14010f000
mov rax, qword [rbp]
mov rdx, qword [rcx]
mov qword [rbp], rdx
mov qword [rcx], rax
mov rax, qword [rbp + 8]
mov rdx, qword [rcx + 8]
mov qword [rbp + 8], rdx
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rcx + 0x10]
mov qword [rbp + 0x10], rdx
mov qword [rcx + 0x10], rax
jmp 0x14010ebf0
lea rax, [rbx - 0x10]
and rax, rdi
mov byte [r14 + rbx], 0xff
mov byte [rax + r14 + 0x10], 0xff
mov rax, qword [rbp + 0x10]
mov qword [rcx + 0x10], rax
movdqu xmm0, xmmword [rbp]
movdqu xmmword [rcx], xmm0
jmp 0x14010eba4
mov rcx, qword [rsp + 0x68]
sub rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400daea0
int3