Function at 0x1401c4ab0
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 0x1401c4c22
test al, 8
jne 0x1401c4c22
mov r10, qword [rcx + 0x18]
lea eax, [rbx - 1]
mov qword [rsp + 0x80], r10
mov r9d, 0xd
movsxd r8, eax
test eax, eax
js 0x1401c4b38
nop word [rax + rax]
movzx edx, byte [rsi + r8]
lea ecx, [r9*8]
xor edx, ecx
xor r9d, edx
sub r8, 1
jns 0x1401c4b20
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 0x1401c4b74
nop
mov eax, dword [rdi + 0x1c]
inc eax
cmp ebx, eax
jne 0x1401c4b6c
mov r8, rbx
lea rcx, [rdi + 0x30]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c4baa
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1401c4b50
xor r14d, r14d
xor r12d, r12d
mov rdi, qword [rsp + 0x60]
add rdi, 0x34
mov dword [rdi], 0
test r14, r14
je 0x1401c4b95
lea rax, [r14 + 0x10]
mov qword [r14], rax
or dword [rbp + 8], 1
mov rcx, rdi
test r14, r14
je 0x1401c4e42
jmp 0x1401c4cfc
mov r13d, dword [rdi + 0x18]
lea r12d, [rbx + 0x31]
sub r13d, r12d
call fcn.14025f340
test eax, eax
je 0x1401c4bd5
xor r14d, r14d
mov rdi, qword [rsp + 0x60]
xor r12d, r12d
add rdi, 0x34
mov dword [rdi], 7
jmp 0x1401c4b95
lea eax, [r13 + 0x1a]
movsxd rcx, eax
call fcn.14022a800
mov r14, rax
test rax, rax
je 0x1401c4bc1
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.1401ba4c0
lea r12d, [rax + r13]
jmp 0x1401c4b7a
mov rcx, qword [rcx + 0x18]
lea r13, [rdi + 0x34]
mov r8d, ebx
lea r9, [rcx + 0x18]
call fcn.1401ba6d0
mov rcx, qword [rdi + 0x18]
mov dword [r13], eax
mov r12, qword [rcx + 0x18]
test r12, r12
je 0x1401c4c9b
mov rbx, 0xffffffffffffffff
lea rsi, [r12 + 0x30]
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x1401c4c56
xor r8d, r8d
mov rdx, r12
call fcn.1401ba4c0
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 0x1401c4caa
nop dword [rax + rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1401c4c90
jmp 0x1401c4cac
xor eax, eax
xor esi, esi
mov qword [rsp + 0x80], rax
xor r12d, r12d
xor ebx, ebx
test rax, rax
je 0x1401c4e42
cmp dword [r13], 0
jne 0x1401c4e42
call fcn.14025f340
test eax, eax
jne 0x1401c4e3a
mov ecx, 0x10
call fcn.14022a800
mov r14, rax
test rax, rax
je 0x1401c4e3a
mov qword [rax + 8], 0
mov rdi, r13
mov rax, qword [rsp + 0x80]
mov rcx, r13
mov qword [r14], rax
mov dword [rbp + 0x60], 0
test ebx, ebx
je 0x1401c4d3b
cmp ebx, dword [rbp + 0x64]
jbe 0x1401c4d25
mov r8d, ebx
lea rdx, [rbp + 0x58]
call fcn.140217130
test eax, eax
jne 0x1401c4d3b
mov rdi, qword [rsp + 0x60]
add rdi, 0x34
movsxd rcx, dword [rbp + 0x60]
mov rdx, rsi
add rcx, qword [rbp + 0x58]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memcpy
add dword [rbp + 0x60], ebx
mov dword [r14 + 0xc], r12d
lea rdx, [rbp + 0x68]
mov dword [r14 + 8], r12d
mov qword [rbp + 0x10], r14
mov rcx, qword [r14]
call fcn.14021a020
test byte [rsp + 0x78], 2
mov rbx, qword [rsp + 0x60]
movzx edx, al
mov qword [rbp + 0x20], rdx
mov r9d, dword [r14 + 8]
mov dword [rbp + 0x3c], r9d
je 0x1401c4d82
or dword [rbp + 8], 2
mov rdx, rbp
mov rcx, rbx
call fcn.1401c5dd0
jmp 0x1401c4e47
cmp dword [rdi], 0
jne 0x1401c4e47
mov rax, qword [rbx]
mov edi, edx
mov r8, qword [rbp + 0x10]
cmp dword [rax + 0x5c], 1
jne 0x1401c4df0
cmp r9d, dword [r8 + 0xc]
cmovge r9d, dword [r8 + 0xc]
mov byte [rbp + 0x74], 0
mov dword [rbp + 0x70], 1
cmp edx, r9d
jge 0x1401c4e31
mov rax, qword [r8]
cmp byte [rdx + rax], 0
jne 0x1401c4e31
lea eax, [rdx + 1]
mov byte [rbp + 0x74], 1
mov edx, eax
cmp eax, r9d
jge 0x1401c4de0
mov ecx, eax
mov rax, qword [r8]
cmp byte [rcx + rax], 0
jne 0x1401c4de0
inc edx
movsxd rax, edx
mov qword [rbp + 0x20], rax
jmp 0x1401c4e47
movsxd rax, edx
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x70], 0
jmp 0x1401c4e47
mov rcx, rdx
inc edx
add rcx, qword [r8]
movzx r8d, byte [rcx]
mov dword [rsp + 0x80], r8d
test r8b, r8b
jns 0x1401c4e21
lea rdx, [rsp + 0x80]
call fcn.14021a210
mov r8d, dword [rsp + 0x80]
lea edx, [rdi + rax]
movzx eax, r8b
and al, 1
sar r8d, 1
mov dword [rbp + 0x70], r8d
mov byte [rbp + 0x74], al
movsxd rax, edx
mov qword [rbp + 0x20], rax
jmp 0x1401c4e47
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 0x1401c4e78
lea rax, [0x1401c59c0]
mov qword [rbp + 0x28], rax
add rsp, 0x48
pop rbp
pop rbx
ret
mov rax, qword [rbx]
lea rcx, [0x1401c5230]
lea rdx, [0x1401c5790]
cmp dword [rax + 0x5c], 1
cmove rcx, rdx
mov qword [rbp + 0x28], rcx
add rsp, 0x48
pop rbp
pop rbx
ret