Function at 0x1400ee630
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 r15, qword [rcx + 0x18]
mov rax, r15
inc rax
je 0x1400ee7a6
mov rdi, rdx
mov r8, rcx
mov rsi, qword [rcx + 8]
lea r14, [rsi + 1]
mov rdx, r14
shr rdx, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp rsi, 8
cmovb rcx, rsi
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x28], r8
jbe 0x1400ee6ad
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x1400ee6da
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x1400ee734
mov rbx, qword [r8]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x1400eea31
cmp rax, 1
jne 0x1400ee9ba
xor edx, edx
jmp 0x1400eea17
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x1400ee7a6
shl rcx, 3
mov r12d, 1
cmp rcx, 0xe
jb 0x1400ee734
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 r12, 0xffffffffffffffff
shr r12, cl
inc r12
mov ecx, 0x18
mov rax, r12
mul rcx
jo 0x1400ee7a6
mov r13, rax
add r13, 0xf
and r13, 0xfffffffffffffff0
lea rbp, [r12 + 0x10]
mov rbx, r13
add rbx, rbp
jb 0x1400ee7a6
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
ja 0x1400ee7a6
test rbx, rbx
je 0x1400ee7aa
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x1400ee794
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400ee7a6
mov rcx, rax
mov qword [0x1402d9150], rax
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x1400ee7af
ud2
mov ebx, 0x10
mov qword [rsp + 0x38], r14
lea r14, [r12 - 1]
mov rax, r12
shr rax, 3
mov rcx, r12
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r12, 9
cmovb rcx, r14
mov qword [rsp + 0x40], rcx
add rbx, r13
mov rcx, rbx
mov dl, 0xff
mov r8, rbp
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x28]
mov r9, qword [rax]
test r15, r15
je 0x1400ee958
movdqa xmm0, xmmword [r9]
mov rax, r15
pmovmskb r15d, xmm0
not r15d
mov rcx, qword [rdi]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov qword [rsp + 0x30], rax
mov rdi, rax
mov r12, r9
mov qword [rsp + 0x58], r9
jmp 0x1400ee893
lea ecx, [r15 - 1]
and ecx, r15d
dec rdi
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, r14
mov byte [rbx + rdx], al
mov byte [r8 + rbx + 0x10], al
shl r13, 3
lea rax, [r13*2]
add rax, r13
mov r8, r9
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 r15d, ecx
test rdi, rdi
je 0x1400ee951
test r15w, r15w
jne 0x1400ee8c0
nop dword [rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r15d, xmm0
add rbp, 0x10
cmp r15d, 0xffff
je 0x1400ee8a0
not r15d
tzcnt r13d, r15d
add r13, rbp
mov rax, r13
neg rax
lea rax, [rax + rax*2]
mov r8, qword [r9 + rax*8 - 0x18]
mov r9, qword [r9 + rax*8 - 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.1400e67f0
mov rcx, rax
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400ee927
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400ee910
mov r9, qword [rsp + 0x58]
tzcnt edx, edx
add rdx, rcx
and rdx, r14
cmp byte [rbx + rdx], 0
js 0x1400ee830
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400ee830
mov rcx, qword [rsp + 0x30]
jmp 0x1400ee95a
xor ecx, ecx
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, qword [rsp + 0x28]
mov qword [rax], rbx
mov qword [rax + 8], r14
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rcx
test rsi, rsi
je 0x1400ef105
mov ecx, 0x18
mov rax, qword [rsp + 0x38]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x1400ef105
sub r9, rax
mov rcx, qword [0x1402d9150]
xor edx, edx
mov r8, r9
call sub.kernel32.dll_HeapFree
jmp 0x1400ef105
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x1401fba80]
nop word cs:[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 0x1400ee9e0
test al, 1
je 0x1400eea31
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x1401fba80]
movdqa xmmword [rbx + rdx], xmm0
cmp r14, 0x10
jae 0x1400eea58
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memmove
cmp rsi, 0xffffffffffffffff
jne 0x1400eea62
xor eax, eax
mov r8, qword [rsp + 0x28]
jmp 0x1400ef0fe
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r14], xmm0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x48], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x40], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x38], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x30], rax
xor edi, edi
mov qword [rsp + 0x60], rbx
jmp 0x1400eeae7
shr rcx, 0x39
lea rax, [rdi - 0x10]
and rax, rsi
mov byte [rbx + rdi], cl
mov rbx, qword [rsp + 0x60]
mov byte [rax + rbx + 0x10], cl
lea rax, [rdi + 1]
cmp rdi, rsi
mov rdi, rax
je 0x1400ef0d7
cmp byte [rbx + rdi], 0x80
jne 0x1400eead7
lea rax, [rdi*8]
lea rax, [rax + rax*2]
mov r13, rbx
sub r13, rax
add r13, 0xffffffffffffffe8
mov rax, rdi
neg rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rdi
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x58]
lea rax, [rax + rax*2]
mov r15, qword [rbx + rax*8 - 0x18]
mov rbp, qword [rbx + rax*8 - 0x10]
mov rax, rbp
and rax, 0xfffffffffffffff8
je 0x1400eebd0
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov r10, qword [rsp + 0x30]
xor r11d, r11d
mov rdx, qword [rsp + 0x48]
nop word [rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r15 + r11 + 0x10]
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 r11, 8
cmp r11, rax
jb 0x1400eeb60
mov edi, ebp
and edi, 7
cmp edi, 3
jbe 0x1400eebf1
mov r14d, dword [r15 + r11 + 0x10]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rdi
jb 0x1400eec02
jmp 0x1400eec1d
mov r10, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
xor r11d, r11d
mov edi, ebp
and edi, 7
cmp edi, 3
ja 0x1400eebae
xor r14d, r14d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rdi
jae 0x1400eec1d
lea rcx, [rax + r11]
movzx r12d, word [r15 + rcx + 0x10]
lea ecx, [rax*8]
shl r12, cl
or r14, r12
or rax, 2
cmp rax, rdi
jae 0x1400eec40
add r11, rax
movzx r11d, byte [r15 + r11 + 0x10]
shl eax, 3
mov ecx, eax
shl r11, cl
or r14, r11
jmp 0x1400eec45
test rdi, rdi
je 0x1400eeca2
lea ecx, [rdi*8]
mov r11d, 0xff
shl r11, cl
or r11, r14
cmp rdi, 7
jne 0x1400eed83
mov ecx, 8
add rdx, r8
rol r8, 0xd
sub rcx, rdi
xor r8, rdx
rol rdx, 0x20
xor r10, r11
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, r11
jmp 0x1400eeca4
xor ecx, ecx
mov r11d, 1
sub r11, rcx
mov eax, r11d
and eax, 7
and r11, 0xfffffffffffffff8
cmp rcx, r11
jae 0x1400eed30
nop dword [rax]
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r10, 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
xor rdx, 0xff
add rcx, 8
cmp rcx, r11
jb 0x1400eecc0
xor r11d, r11d
cmp rax, 4
setae r11b
cmp eax, 4
mov edi, 0
mov ecx, 0xff
cmovae rdi, rcx
shl r11, 2
jmp 0x1400eed35
xor edi, edi
xor r11d, r11d
mov r14, r11
lea ecx, [r11*8]
mov r15d, 0xff
shl r15, cl
or r14, 1
mov r12, r11
or r12, 2
cmp r14, rax
mov r14d, 0
cmovae r15, r14
cmovae r12, r11
or r15, rdi
lea ecx, [r12*8]
mov r11d, 0xff
shl r11, cl
cmp r12, rax
cmovae r11, r14
or r11, r15
mov rdi, qword [rsp + 0x50]
shl rbp, 0x38
movabs rax, 0x100000000000000
add rbp, rax
add rdx, r8
rol r8, 0xd
or rbp, r11
xor r8, rdx
rol rdx, 0x20
xor r10, rbp
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, rbp
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 rcx, r9
rol rcx, 0x20
xor rcx, r8
xor rcx, r10
xor rcx, r9
mov rax, rsi
and rax, rcx
movdqu xmm0, xmmword [rbx + rax]
pmovmskb edx, xmm0
mov r8, rax
test edx, edx
jne 0x1400eeea8
mov r9d, 0x10
mov r8, rax
nop word [rax + rax]
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400eee90
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1400eeec4
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, rdi
sub r8, rax
mov r9, rdx
sub r9, rax
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x1400eeac0
lea rax, [rdx*8]
lea rax, [rax + rax*2]
neg rax
add rax, rbx
add rax, 0xffffffffffffffe8
movzx r8d, byte [rbx + rdx]
shr rcx, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], cl
mov rbx, qword [rsp + 0x60]
mov byte [r9 + rbx + 0x10], cl
cmp r8b, 0xff
je 0x1400ef0b0
movzx ecx, byte [r13]
movzx edx, byte [rax]
mov byte [r13], dl
mov byte [rax], cl
movzx ecx, byte [r13 + 1]
movzx edx, byte [rax + 1]
mov byte [r13 + 1], dl
mov byte [rax + 1], cl
movzx ecx, byte [r13 + 2]
movzx edx, byte [rax + 2]
mov byte [r13 + 2], dl
mov byte [rax + 2], cl
movzx ecx, byte [r13 + 3]
movzx edx, byte [rax + 3]
mov byte [r13 + 3], dl
mov byte [rax + 3], cl
movzx ecx, byte [r13 + 4]
movzx edx, byte [rax + 4]
mov byte [r13 + 4], dl
mov byte [rax + 4], cl
movzx ecx, byte [r13 + 5]
movzx edx, byte [rax + 5]
mov byte [r13 + 5], dl
mov byte [rax + 5], cl
movzx ecx, byte [r13 + 6]
movzx edx, byte [rax + 6]
mov byte [r13 + 6], dl
mov byte [rax + 6], cl
movzx ecx, byte [r13 + 7]
movzx edx, byte [rax + 7]
mov byte [r13 + 7], dl
mov byte [rax + 7], cl
movzx ecx, byte [r13 + 8]
movzx edx, byte [rax + 8]
mov byte [r13 + 8], dl
mov byte [rax + 8], cl
movzx ecx, byte [r13 + 9]
movzx edx, byte [rax + 9]
mov byte [r13 + 9], dl
mov byte [rax + 9], cl
movzx ecx, byte [r13 + 0xa]
movzx edx, byte [rax + 0xa]
mov byte [r13 + 0xa], dl
mov byte [rax + 0xa], cl
movzx ecx, byte [r13 + 0xb]
movzx edx, byte [rax + 0xb]
mov byte [r13 + 0xb], dl
mov byte [rax + 0xb], cl
movzx ecx, byte [r13 + 0xc]
movzx edx, byte [rax + 0xc]
mov byte [r13 + 0xc], dl
mov byte [rax + 0xc], cl
movzx ecx, byte [r13 + 0xd]
movzx edx, byte [rax + 0xd]
mov byte [r13 + 0xd], dl
mov byte [rax + 0xd], cl
movzx ecx, byte [r13 + 0xe]
movzx edx, byte [rax + 0xe]
mov byte [r13 + 0xe], dl
mov byte [rax + 0xe], cl
movzx ecx, byte [r13 + 0xf]
movzx edx, byte [rax + 0xf]
mov byte [r13 + 0xf], dl
mov byte [rax + 0xf], cl
movzx ecx, byte [r13 + 0x10]
movzx edx, byte [rax + 0x10]
mov byte [r13 + 0x10], dl
mov byte [rax + 0x10], cl
movzx ecx, byte [r13 + 0x11]
movzx edx, byte [rax + 0x11]
mov byte [r13 + 0x11], dl
mov byte [rax + 0x11], cl
movzx ecx, byte [r13 + 0x12]
movzx edx, byte [rax + 0x12]
mov byte [r13 + 0x12], dl
mov byte [rax + 0x12], cl
movzx ecx, byte [r13 + 0x13]
movzx edx, byte [rax + 0x13]
mov byte [r13 + 0x13], dl
mov byte [rax + 0x13], cl
movzx ecx, byte [r13 + 0x14]
movzx edx, byte [rax + 0x14]
mov byte [r13 + 0x14], dl
mov byte [rax + 0x14], cl
movzx ecx, byte [r13 + 0x15]
movzx edx, byte [rax + 0x15]
mov byte [r13 + 0x15], dl
mov byte [rax + 0x15], cl
movzx ecx, byte [r13 + 0x16]
movzx edx, byte [rax + 0x16]
mov byte [r13 + 0x16], dl
mov byte [rax + 0x16], cl
movzx ecx, byte [r13 + 0x17]
movzx edx, byte [rax + 0x17]
mov byte [r13 + 0x17], dl
mov byte [rax + 0x17], cl
mov rax, qword [rsp + 0x28]
mov rbx, qword [rax]
jmp 0x1400eeb20
lea rcx, [rdi - 0x10]
and rcx, rsi
mov byte [rbx + rdi], 0xff
mov byte [rcx + rbx + 0x10], 0xff
mov rcx, qword [r13 + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm0, xmmword [r13]
movdqu xmmword [rax], xmm0
jmp 0x1400eead7
mov r8, qword [rsp + 0x28]
mov rcx, qword [r8 + 8]
mov r15, qword [r8 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, r15
mov qword [r8 + 0x10], rax
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret