Function at 0x1800bcc60
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rsp + 0xb0]
lea r14, [0x1801100f0]
test r8, r8
mov r12, r9
mov r15d, edx
mov rdi, rcx
cmovne r14, r8
mov dword [rax], 0x1000000
mov r9, qword [rcx + 0x538]
mov qword [rsp + 0xa0], r14
test r9, r9
je 0x1800bcef0
mov ecx, 0x1505
mov dword [rsp + 0x20], 0
mov edx, ecx
lea r8, [rsp + 0x20]
nop word [rax + rax]
movzx eax, byte [r8]
inc r8
imul edx, edx, 0x21
xor edx, eax
lea rax, [rsp + 0x24]
cmp r8, rax
jb 0x1800bccd0
movsx eax, byte [r12]
mov r8, r12
test eax, eax
je 0x1800bcd11
nop dword [rax]
nop word [rax + rax]
imul ecx, ecx, 0x21
lea r8, [r8 + 1]
xor ecx, eax
movsx eax, byte [r8]
test eax, eax
jne 0x1800bcd00
lea eax, [rcx + rdx]
xor edx, edx
div dword [r9 + 0x20]
mov rax, qword [r9 + 0x18]
movsxd rcx, edx
movsxd rdx, dword [rax + rcx*4]
cmp edx, 0xffffffff
je 0x1800bd061
mov rax, qword [r9]
lea rcx, [rdx + rdx*2]
mov ebp, dword [rax + rcx*4 + 8]
lea r14, [rax + rcx*4]
test r14, r14
je 0x1800bd061
lea r13, [0x18010c150]
nop dword [rax]
mov edx, dword [r14]
mov eax, edx
and eax, 0xff000000
cmp eax, 0x1000000
jne 0x1800bceb5
and edx, 0xffffff
je 0x1800bceb5
lea rcx, [rdi + 0x5a8]
mov rax, qword [rcx]
lea r8, [rsp + 0x90]
mov rax, qword [rax + 0xa8]
call qword [0x180102408]
test eax, eax
js 0x1800bd066
mov rax, qword [rdi + 0xf0]
lea r8, [rsp + 0x28]
mov dword [rsp + 0x30], 0
movzx ecx, byte [rax + 7]
mov rax, qword [rsp + 0x90]
mov edx, dword [rcx + rax]
lea rcx, [rdi + 0x14d0]
mov rax, qword [rdi + 0x14d0]
and edx, dword [rdi + 0x3b0]
mov rax, qword [rax + 0x40]
call qword [0x180102408]
test eax, eax
js 0x1800bd066
mov rax, qword [rdi + 0xf0]
lea r8, [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rcx, [rdi + 0x14d0]
mov dword [rsp + 0x40], 0
movzx edx, byte [rax + 4]
mov rax, qword [rsp + 0x90]
mov edx, dword [rdx + rax]
mov rax, qword [rdi + 0x14d0]
and edx, dword [rdi + 0x3b0]
mov rax, qword [rax + 0x40]
call qword [0x180102408]
test eax, eax
js 0x1800bd066
mov r8, qword [rsp + 0x38]
mov rax, r12
sub r8, r12
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800bce53
inc rax
test ecx, ecx
jne 0x1800bce40
test edx, edx
jne 0x1800bceb5
mov rax, qword [rsp + 0xa0]
sub rbx, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + rbx]
sub edx, ecx
jne 0x1800bce74
inc rax
test ecx, ecx
jne 0x1800bce62
test edx, edx
jne 0x1800bceb5
mov rax, qword [rdi + 0xf0]
movzx ecx, byte [rax + 1]
add rcx, qword [rsp + 0x90]
cmp byte [rax + 2], 2
jne 0x1800bce96
movzx ecx, word [rcx]
jmp 0x1800bce98
mov ecx, dword [rcx]
mov eax, ecx
shr ecx, 2
and eax, 3
or ecx, dword [r13 + rax*4]
cmp ecx, r15d
je 0x1800bcedc
or ecx, r15d
test ecx, 0xffffff
je 0x1800bcedc
cmp ebp, 0xffffffff
je 0x1800bd061
movsxd rax, ebp
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x538]
mov rcx, qword [rax]
mov ebp, dword [rcx + rdx*4 + 8]
lea r14, [rcx + rdx*4]
jmp 0x1800bcd50
mov eax, dword [r14]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx], eax
xor eax, eax
jmp 0x1800bd066
mov ebp, dword [rcx + 0x24]
mov ebx, 1
cmp ebp, ebx
jb 0x1800bd061
lea r13, [0x18010c150]
test ebx, ebx
je 0x1800bd057
lea rcx, [rdi + 0x5a8]
mov edx, ebx
mov rax, qword [rcx]
lea r8, [rsp + 0x90]
mov rax, qword [rax + 0xa8]
call qword [0x180102408]
test eax, eax
js 0x1800bd066
mov rdx, qword [rdi + 0xf0]
mov r8, qword [rsp + 0x90]
cmp byte [rdx + 2], 2
movzx eax, byte [rdx + 1]
jne 0x1800bcf58
movzx ecx, word [rax + r8]
jmp 0x1800bcf5c
mov ecx, dword [rax + r8]
mov eax, ecx
shr ecx, 2
and eax, 3
or ecx, dword [r13 + rax*4]
test ecx, 0xffffff
jne 0x1800bcf7a
test r15d, 0xffffff
jmp 0x1800bcf7d
cmp ecx, r15d
jne 0x1800bd057
movzx eax, byte [rdx + 7]
lea rcx, [rdi + 0x14d0]
mov dword [rsp + 0x40], 0
mov edx, dword [rax + r8]
lea r8, [rsp + 0x38]
mov rax, qword [rdi + 0x14d0]
and edx, dword [rdi + 0x3b0]
mov rax, qword [rax + 0x40]
call qword [0x180102408]
test eax, eax
js 0x1800bd066
mov r8, qword [rsp + 0x38]
mov rax, r14
sub r8, r14
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800bcfe3
inc rax
test ecx, ecx
jne 0x1800bcfd0
test edx, edx
jne 0x1800bd057
mov rax, qword [rdi + 0xf0]
lea r8, [rsp + 0x28]
lea rcx, [rdi + 0x14d0]
mov dword [rsp + 0x30], 0
movzx edx, byte [rax + 4]
mov rax, qword [rsp + 0x90]
mov edx, dword [rdx + rax]
mov rax, qword [rdi + 0x14d0]
and edx, dword [rdi + 0x3b0]
mov rax, qword [rax + 0x40]
call qword [0x180102408]
test eax, eax
js 0x1800bd066
mov r8, qword [rsp + 0x28]
mov rax, r12
sub r8, r12
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800bd053
inc rax
test ecx, ecx
jne 0x1800bd040
test edx, edx
je 0x1800bd07e
inc ebx
cmp ebx, ebp
jbe 0x1800bcf07
mov eax, 0x80131130
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0xb0]
bts ebx, 0x18
mov dword [rax], ebx
xor eax, eax
jmp 0x1800bd066