Function at 0x1401b2620
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
lea r12, [0x140253160]
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rcx, r12
sub rsp, 0x30
call fcn.140030b80
test eax, eax
jne 0x1401b2980
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r11, qword [0x1403f1a28]
mov r8, rax
mov esi, eax
test r11, r11
je 0x1401b28f8
mov r9, rbx
cmp eax, 0xb
jbe 0x1401b2968
mov r10d, eax
mov r13d, 0x9e3779b9
mov edi, 0x9e3779b9
mov ecx, 0xfeedbeef
nop dword [rax]
movzx edx, byte [r9 + 5]
movzx eax, byte [r9 + 6]
shl edx, 8
shl eax, 0x10
add edx, eax
movzx eax, byte [r9 + 4]
add edx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r9 + 9]
add edx, r13d
movzx r13d, byte [r9 + 0xa]
shl eax, 8
shl r13d, 0x10
add eax, r13d
movzx r13d, byte [r9 + 8]
add eax, r13d
movzx r13d, byte [r9 + 0xb]
shl r13d, 0x18
add eax, r13d
movzx r13d, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl r13d, 0x10
shl ecx, 8
add ecx, r13d
movzx r13d, byte [r9]
add ecx, r13d
movzx r13d, byte [r9 + 3]
shl r13d, 0x18
add ecx, r13d
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, edi
mov edi, eax
shr edi, 0xd
xor ecx, edi
mov edi, edx
mov edx, ecx
sub edi, ecx
sub eax, ecx
shl edx, 8
xor edx, edi
sub eax, edx
mov edi, eax
mov eax, edx
shr eax, 0xd
xor eax, edi
sub ecx, edx
sub r10d, 0xc
add r9, 0xc
mov edi, ecx
mov ecx, eax
sub edx, eax
sub edi, eax
shr ecx, 0xc
xor ecx, edi
mov edi, edx
mov edx, ecx
sub edi, ecx
sub eax, ecx
shl edx, 0x10
xor edx, edi
sub eax, edx
sub ecx, edx
mov edi, eax
mov eax, edx
shr eax, 5
xor eax, edi
mov edi, eax
sub ecx, eax
sub edx, eax
shr edi, 3
xor edi, ecx
mov r13d, edi
sub edx, edi
sub eax, edi
shl r13d, 0xa
xor r13d, edx
mov ecx, r13d
sub eax, r13d
shr ecx, 0xf
xor ecx, eax
cmp r10d, 0xb
ja 0x1401b2688
add ecx, r8d
cmp r10d, 0xb
ja case.0x1401b279c.0
lea rdx, [0x1402b7544]
movsxd rax, dword [rdx + r10*4]
add rax, rdx
jmp rax
movzx eax, byte [r9 + 0xa]
shl eax, 0x18
add ecx, eax
movzx eax, byte [r9 + 9]
shl eax, 0x10
add ecx, eax
movzx eax, byte [r9 + 8]
shl eax, 8
add ecx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add r13d, eax
movzx eax, byte [r9 + 6]
shl eax, 0x10
add r13d, eax
movzx eax, byte [r9 + 5]
shl eax, 8
add r13d, eax
movzx eax, byte [r9 + 4]
add r13d, eax
movzx eax, byte [r9 + 3]
shl eax, 0x18
add edi, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add edi, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add edi, eax
movzx eax, byte [r9]
add edi, eax
lea eax, [rcx + r13]
mov edx, ecx
sub r13d, ecx
sub edi, eax
shr edx, 0xd
xor edx, edi
mov eax, edx
sub r13d, edx
sub ecx, edx
shl eax, 8
xor eax, r13d
mov r9d, eax
sub ecx, eax
sub edx, eax
shr r9d, 0xd
xor r9d, ecx
mov ecx, r9d
sub edx, r9d
sub eax, r9d
shr ecx, 0xc
xor ecx, edx
mov edx, ecx
sub eax, ecx
sub r9d, ecx
shl edx, 0x10
xor edx, eax
mov eax, edx
sub r9d, edx
sub ecx, edx
shr eax, 5
xor eax, r9d
mov r9d, eax
sub ecx, eax
sub edx, eax
shr r9d, 3
xor ecx, r9d
mov edi, ecx
sub edx, ecx
sub eax, ecx
shl edi, 0xa
xor edi, edx
mov rdx, qword [r11 + 0x90]
sub eax, edi
shr edi, 0xf
xor edi, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, edi
shl rax, 4
add rax, qword [rdx]
mov r13, qword [rax]
test r13, r13
je 0x1401b28f8
mov rax, qword [rdx + 0x20]
mov r14d, r8d
mov rbp, rax
sub r13, rax
neg rbp
jmp 0x1401b28bf
mov r13, qword [r13 + 0xb0]
test r13, r13
je 0x1401b28f8
add r13, rbp
cmp dword [r13 + 0xc4], edi
jne 0x1401b28b0
cmp dword [r13 + 0xc0], esi
jne 0x1401b28b0
mov rcx, qword [r13 + 0xb8]
mov r8, r14
mov rdx, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1401b28b0
mov rcx, r12
call fcn.140030ef0
test eax, eax
je 0x1401b2956
jmp 0x1401b2904
mov rcx, r12
call fcn.140030ef0
test eax, eax
je 0x1401b2918
mov edx, 0x1f7
lea rcx, str._pthread_rwlock_unlock_s_db_ctxs_rwlock_
call fcn.1401a1f10
nop dword [rax]
mov rax, qword [0x1403e9d50]
lea r8, str.dap_global_db_mdbx
mov r9d, 5
mov eax, dword [rax]
mov qword [rsp + 0x28], rbx
test eax, eax
mov eax, 0
cmove r8, rax
lea rax, str.No_DB_context_for_the_group__s
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r13d, r13d
call fcn.14005a0c0
add rsp, 0x30
mov rax, r13
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov r10d, eax
mov r13d, 0x9e3779b9
mov edi, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x1401b2785
mov edx, 0x1f5
lea rcx, str._pthread_rwlock_rdlock_s_db_ctxs_rwlock_
call fcn.1401a1f10
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop