Function at 0x14027a7a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 8], rcx
push rbx
push rbp
sub rsp, 0x48
mov rbp, qword [rsp + 0x80]
mov qword [rax - 0x18], rsi
mov rsi, rdx
mov qword [rax - 0x20], rdi
mov rdi, rcx
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov eax, r9d
movsxd rbx, r8d
test rdx, rdx
je 0x14027a912
test al, 8
jne 0x14027a912
mov r10, qword [rcx + 0x18]
lea eax, [rbx - 1]
mov qword [rsp + 0x80], r10
mov r9d, 0xd
movsxd r8, eax
test eax, eax
js 0x14027a828
nop word [rax + rax]
movzx edx, byte [r8 + rsi]
lea ecx, [r9*8]
xor edx, ecx
xor r9d, edx
sub r8, 1
jns 0x14027a810
xor edx, edx
mov eax, r9d
div dword [r10 + 0x14]
mov rax, qword [r10 + 0x20]
mov rdi, qword [rax + rdx*8]
test rdi, rdi
je 0x14027a864
nop
mov eax, dword [rdi + 0x1c]
inc eax
cmp ebx, eax
jne 0x14027a85c
mov r8, rbx
lea rcx, [rdi + 0x30]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14027a89a
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14027a840
xor r14d, r14d
xor r12d, r12d
mov rdi, qword [rsp + 0x60]
add rdi, 0x3c
mov dword [rdi], 0
test r14, r14
je 0x14027a885
lea rax, [r14 + 0x10]
mov qword [r14], rax
or dword [rbp + 8], 1
mov rcx, rdi
test r14, r14
je 0x14027ab48
jmp 0x14027a9e8
mov r13d, dword [rdi + 0x18]
lea r12d, [rbx + 0x31]
sub r13d, r12d
call fcn.140319ef0
test eax, eax
je 0x14027a8c5
xor r14d, r14d
mov rdi, qword [rsp + 0x60]
xor r12d, r12d
add rdi, 0x3c
mov dword [rdi], 7
jmp 0x14027a885
lea eax, [r13 + 0x1a]
movsxd rcx, eax
call fcn.1402e5070
mov r14, rax
test rax, rax
je 0x14027a8b1
movsxd rdx, r12d
lea rcx, [rax + 0x10]
add rdx, rdi
movsxd r8, r13d
call sub.VCRUNTIME140.dll_memcpy
mov ecx, 0x10
mov rdx, rdi
sub ecx, r12d
movsxd r8, ecx
mov rcx, qword [rsp + 0x80]
add r8, r14
call fcn.14026e770
lea r12d, [rax + r13]
jmp 0x14027a86a
mov rcx, qword [rcx + 0x18]
lea r13, [rdi + 0x3c]
mov r8d, ebx
lea r9, [rcx + 0x18]
call fcn.14026e980
mov rcx, qword [rdi + 0x18]
mov dword [r13], eax
mov r12, qword [rcx + 0x18]
test r12, r12
je 0x14027a98b
mov rbx, 0xffffffffffffffff
lea rsi, [r12 + 0x30]
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14027a946
xor r8d, r8d
mov rdx, r12
call fcn.14026e770
mov r12d, dword [r12 + 0x18]
lea eax, [rdi + 1]
sub r12d, edi
cdqe
add rax, rsi
sub r12d, 0x31
mov qword [rsp + 0x80], rax
test rsi, rsi
je 0x14027a99a
nop dword [rax + rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14027a980
jmp 0x14027a99c
xor eax, eax
xor esi, esi
mov qword [rsp + 0x80], rax
xor r12d, r12d
xor ebx, ebx
test rax, rax
je 0x14027ab48
cmp dword [r13], 0
jne 0x14027ab48
call fcn.140319ef0
test eax, eax
jne 0x14027ab40
lea ecx, [rax + 0x10]
call fcn.1402e5070
mov r14, rax
test rax, rax
je 0x14027ab40
xorps xmm0, xmm0
mov rdi, r13
movups xmmword [rax], xmm0
mov rax, qword [rsp + 0x80]
mov rcx, r13
mov qword [r14], rax
mov dword [rbp + 0x70], 0
test ebx, ebx
je 0x14027aa27
cmp ebx, dword [rbp + 0x74]
jbe 0x14027aa11
mov r8d, ebx
lea rdx, [rbp + 0x68]
call fcn.1402d1230
test eax, eax
jne 0x14027aa27
mov rdi, qword [rsp + 0x60]
add rdi, 0x3c
movsxd rcx, dword [rbp + 0x70]
mov rdx, rsi
add rcx, qword [rbp + 0x68]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memcpy
add dword [rbp + 0x70], ebx
mov dword [r14 + 0xc], r12d
lea rdx, [rbp + 0x78]
mov dword [r14 + 8], r12d
mov qword [rbp + 0x10], r14
mov rcx, qword [r14]
call fcn.1402d4020
test byte [rsp + 0x78], 2
mov rbx, qword [rsp + 0x60]
movzx edx, al
mov qword [rbp + 0x20], rdx
mov r8d, dword [r14 + 8]
mov dword [rbp + 0x4c], r8d
je 0x14027aa6e
or dword [rbp + 8], 2
mov rdx, rbp
mov rcx, rbx
call fcn.14027bb80
jmp 0x14027ab4d
cmp dword [rdi], 0
jne 0x14027ab4d
mov rax, qword [rbx]
mov edi, edx
mov r9, qword [rbp + 0x10]
cmp dword [rax + 0x5c], 1
jne 0x14027aaf0
cmp r8d, dword [r9 + 0xc]
cmovge r8d, dword [r9 + 0xc]
mov byte [rbp + 0x84], 0
mov dword [rbp + 0x80], 1
cmp edx, r8d
jge 0x14027ab37
mov rax, qword [r9]
cmp byte [rdx + rax], 0
jne 0x14027ab37
lea eax, [rdx + 1]
mov byte [rbp + 0x84], 1
mov edx, eax
cmp eax, r8d
jge 0x14027aadd
mov ecx, eax
mov rax, qword [r9]
cmp byte [rcx + rax], 0
jne 0x14027aadd
inc edx
movsxd rax, edx
mov qword [rbp + 0x20], rax
jmp 0x14027ab4d
movsxd rax, edx
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x80], 0
jmp 0x14027ab4d
mov rcx, rdx
inc edx
add rcx, qword [r9]
movzx r8d, byte [rcx]
mov dword [rsp + 0x80], r8d
test r8b, r8b
jns 0x14027ab21
lea rdx, [rsp + 0x80]
call fcn.1402d4210
mov r8d, dword [rsp + 0x80]
lea edx, [rdi + rax]
movzx eax, r8b
and al, 1
sar r8d, 1
mov dword [rbp + 0x80], r8d
mov byte [rbp + 0x84], al
movsxd rax, edx
mov qword [rbp + 0x20], rax
jmp 0x14027ab4d
mov dword [r13], 7
mov rbx, qword [rsp + 0x60]
test byte [rbp + 8], 2
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
je 0x14027ab7e
lea rax, [0x14027b780]
mov qword [rbp + 0x38], rax
add rsp, 0x48
pop rbp
pop rbx
ret
mov rax, qword [rbx]
lea rcx, [0x14027afc0]
lea rdx, [0x14027b530]
cmp dword [rax + 0x5c], 1
cmove rcx, rdx
mov qword [rbp + 0x38], rcx
add rsp, 0x48
pop rbp
pop rbx
ret