Function at 0x1400f4630
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 r10, qword [rcx + 0x18]
mov rax, r10
inc rax
je 0x1400f477e
mov rdi, rdx
mov r9, rcx
mov rbp, qword [rcx + 8]
lea r15, [rbp + 1]
mov rcx, r15
shr rcx, 3
mov r11, r15
and r11, 0xfffffffffffffff8
sub r11, rcx
cmp rbp, 8
mov rdx, r11
cmovb rdx, rbp
movabs r8, 0x7ffffffffffffff0
mov rcx, rdx
shr rcx, 1
cmp rax, rcx
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r10
jbe 0x1400f46c0
lea rcx, [rdx + 1]
cmp rax, rdx
cmova rcx, rax
cmp rcx, 8
jae 0x1400f46f2
xor eax, eax
cmp rcx, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x1400f474b
mov qword [rsp + 0x58], r11
mov rbx, qword [r9]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400f49e1
cmp rax, 1
jne 0x1400f4973
xor edx, edx
jmp 0x1400f49c7
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x1400f477e
shl rcx, 3
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 r14, 0xffffffffffffffff
shr r14, cl
movabs rax, 0x7fffffffffffffe
cmp r14, rax
ja 0x1400f477e
inc r14
mov r12, r14
shl r12, 5
lea r15, [r14 + 0x10]
mov rdx, r12
add rdx, r15
jb 0x1400f477e
cmp rdx, r8
ja 0x1400f477e
test rdx, rdx
je 0x1400f4780
movzx eax, byte [0x14017a148]
xor ecx, ecx
call fcn.1400dbb10
mov rbx, rax
test rax, rax
jne 0x1400f4785
ud2
mov ebx, 0x10
lea rsi, [r14 - 1]
mov rax, r14
shr rax, 3
mov r13, r14
and r13, 0xfffffffffffffff8
sub r13, rax
cmp r14, 9
cmovb r13, rsi
add rbx, r12
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400f491d
mov qword [rsp + 0x28], r13
movdqa xmm0, xmmword [r8]
pmovmskb r14d, xmm0
not r14d
mov rcx, qword [rdi]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rcx
xor r13d, r13d
mov rdi, rax
mov r15, r8
mov qword [rsp + 0x20], r8
jmp 0x1400f484f
lea ecx, [r14 - 1]
and ecx, r14d
dec rdi
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
not r12
shl r12, 5
not rdx
shl rdx, 5
movdqu xmm0, xmmword [r8 + r12]
movdqu xmm1, xmmword [r8 + r12 + 0x10]
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r14d, ecx
test rdi, rdi
je 0x1400f4911
test r14w, r14w
jne 0x1400f487f
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb r14d, xmm0
add r13, 0x10
cmp r14d, 0xffff
je 0x1400f4860
not r14d
tzcnt r12d, r14d
add r12, r13
mov rax, r12
shl rax, 5
mov rcx, r8
sub rcx, rax
mov r8, qword [rcx - 0x18]
mov r9, qword [rcx - 0x10]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
call fcn.1400f9ee0
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400f48e7
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400f48d0
mov r8, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1400f4800
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400f4800
mov rax, qword [rsp + 0x38]
mov r13, qword [rsp + 0x28]
jmp 0x1400f491f
xor eax, eax
sub r13, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r13
test rbp, rbp
movabs rsi, 0x7ffffffffffffff0
je 0x1400f4e52
mov rax, rbp
shl rax, 5
add rbp, rax
cmp rbp, 0xffffffffffffffcf
je 0x1400f4e52
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x1400f4e52
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x14010e900]
nop dword [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 0x1400f4990
test al, 1
je 0x1400f49e1
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x14010e900]
movdqa xmmword [rbx + rdx], xmm0
cmp r15, 0x10
jae 0x1400f4a02
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memmove
test r15, r15
jne 0x1400f4a0c
xor ecx, ecx
jmp 0x1400f4e3a
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r15], xmm0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
movabs r13, 0x736f6d6570736575
xor r13, rax
movabs r15, 0x646f72616e646f6d
xor r15, rcx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x28], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x50], rax
xor r11d, r11d
mov qword [rsp + 0x60], rbp
jmp 0x1400f4a83
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, rbp
mov byte [rbx + r11], al
mov byte [rbx + rcx + 0x10], al
lea rax, [r11 + 1]
cmp r11, rbp
mov r11, rax
je 0x1400f4e2d
cmp byte [rbx + r11], 0x80
jne 0x1400f4a73
mov rax, r11
not rax
shl rax, 5
add rax, rbx
mov qword [rsp + 0x30], rax
mov rax, r11
shl rax, 5
mov rcx, rbx
sub rcx, rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x20], r11
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x48]
mov r12, qword [rax - 0x18]
mov rdi, qword [rax - 0x10]
mov rax, rdi
and rax, 0xfffffffffffffff8
je 0x1400f4b60
mov r9, qword [rsp + 0x28]
mov r8, r15
mov r10, qword [rsp + 0x50]
xor esi, esi
mov rdx, r13
nop dword [rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r12 + rsi]
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 rsi, 8
cmp rsi, rax
jb 0x1400f4af0
mov r14d, edi
and r14d, 7
cmp r14d, 4
jb 0x1400f4b7f
mov r11d, dword [r12 + rsi]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r14
jb 0x1400f4b90
jmp 0x1400f4bbb
mov r10, qword [rsp + 0x50]
mov r8, r15
mov r9, qword [rsp + 0x28]
mov rdx, r13
xor esi, esi
mov r14d, edi
and r14d, 7
cmp r14d, 4
jae 0x1400f4b40
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r14
jae 0x1400f4bbb
lea rcx, [r12 + rax]
mov rbp, r15
mov r15, r13
movzx r13d, word [rsi + rcx]
lea ecx, [rax*8]
shl r13, cl
or r11, r13
mov r13, r15
mov r15, rbp
mov rbp, qword [rsp + 0x60]
or rax, 2
cmp rax, r14
jae 0x1400f4be0
add rsi, rax
movzx esi, byte [r12 + rsi]
shl eax, 3
mov ecx, eax
shl rsi, cl
or r11, rsi
jmp 0x1400f4be5
test r14, r14
je 0x1400f4c38
lea ecx, [r14*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp r14, 7
jne 0x1400f4c40
add rdx, r8
rol r8, 0xd
xor r10, rax
xor r8, rdx
rol rdx, 0x20
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, rax
xor eax, eax
jmp 0x1400f4c40
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x20]
shl rdi, 0x38
movabs rcx, 0x100000000000000
add rdi, rcx
add rdx, r8
rol r8, 0xd
or rdi, rax
xor r8, rdx
rol rdx, 0x20
xor r10, rdi
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, rdi
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, rbp
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x1400f4d68
mov r9d, 0x10
mov r8, rcx
nop word cs:[rax + rax]
add r8, r9
and r8, rbp
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400f4d50
tzcnt edx, edx
add rdx, r8
and rdx, rbp
cmp byte [rbx + rdx], 0
js 0x1400f4d84
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r11
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rbp
cmp r9, 0x10
jb 0x1400f4a60
mov rcx, rdx
not rcx
shl rcx, 5
add rcx, rbx
movzx r8d, byte [rbx + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rbp
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
cmp r8b, 0xff
je 0x1400f4e00
mov rax, qword [rsp + 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rcx]
movups xmmword [rax], xmm1
movups xmmword [rcx], xmm0
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x1400f4ac0
lea rax, [r11 - 0x10]
and rax, rbp
mov byte [rbx + r11], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rax, qword [rsp + 0x30]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x1400f4a73
cmp rbp, 8
mov rcx, qword [rsp + 0x58]
cmovb rcx, rbp
sub rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
movabs rsi, 0x7ffffffffffffff0
add rsi, 0x11
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret