Function at 0x1400cb810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbp, qword [rcx + 0x20]
mov rsi, rcx
movsxd rdi, edx
shl rdi, 5
mov rax, qword [rdi + rbp + 0x18]
mov rbx, qword [rax + 0x28]
mov rax, rbp
test rbx, rbx
je 0x1400cb858
nop
mov rcx, qword [rbx + 0x10]
call fcn.1400d6890
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400cb840
mov rbp, qword [rsi + 0x20]
mov rax, rbp
mov r15d, dword [rsi + 0x28]
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov r14, qword [rdi + rax]
xor edi, edi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x38], r14
test r15d, r15d
jle 0x1400cbb16
movzx r12d, byte [str.sqlite_stat1]
lea r13, [0x14024c050]
lea rcx, str.sqlite_stat1
nop dword [rax + rax]
mov r9d, edi
xor r9d, 1
cmp edi, 2
cmovae r9d, edi
test r14, r14
je 0x1400cb920
mov eax, r9d
shl rax, 5
mov rdx, qword [rax + rbp]
test rdx, rdx
je 0x1400cb9fe
cmp byte [r14], 0
mov r8, r14
je 0x1400cb900
movzx ecx, byte [r14]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
movzx ecx, cl
movzx eax, byte [rax + r13]
cmp byte [rcx + r13], al
jne 0x1400cb900
movzx ecx, byte [r8 + 1]
inc r8
inc rdx
test cl, cl
jne 0x1400cb8e0
movzx eax, byte [rdx]
movzx edx, byte [rax + r13]
movzx eax, byte [r8]
movzx ecx, byte [rax + r13]
cmp ecx, edx
lea rcx, str.sqlite_stat1
jne 0x1400cb9fe
mov eax, r9d
shl rax, 5
mov r9, qword [rax + rbp + 0x18]
mov r10, qword [r9 + 0x18]
test r10, r10
je 0x1400cb978
xor eax, eax
mov r8, rcx
movzx ecx, r12b
test r12b, r12b
je 0x1400cb962
movzx ecx, cl
lea r8, [r8 + 1]
movzx edx, byte [rcx + r13]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [r8]
xor eax, edx
test cl, cl
jne 0x1400cb943
xor edx, edx
div dword [r9 + 8]
mov ecx, edx
add rcx, rcx
mov r11, qword [r10 + rcx*8 + 8]
mov ebx, dword [r10 + rcx*8]
jmp 0x1400cb980
mov r11, qword [r9 + 0x10]
mov ebx, dword [r9 + 0xc]
test ebx, ebx
je 0x1400cb9f4
mov r10, qword [r11 + 0x18]
dec ebx
test r10, r10
je 0x1400cb9ed
movzx r9d, byte [r10]
lea rcx, str.sqlite_stat1
mov r8, rcx
test r9b, r9b
je 0x1400cb9d7
movzx eax, r9b
sub r10, rcx
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + r13]
cmp byte [rcx + r13], al
jne 0x1400cb9d7
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x1400cb9b0
movzx eax, byte [r8]
movzx edx, byte [rax + r13]
movzx eax, r9b
movzx ecx, byte [rax + r13]
cmp ecx, edx
je 0x1400cba3c
mov r11, qword [r11]
test ebx, ebx
jne 0x1400cb984
xor r10d, r10d
lea rcx, str.sqlite_stat1
inc edi
cmp edi, r15d
jl 0x1400cb8a0
test r10, r10
je 0x1400cbb16
mov r8, r14
lea rdx, str.SELECT_tbl_idx_stat_FROM__Q.sqlite_stat1
mov rcx, rsi
call fcn.1400f1330
mov rbx, rax
test rax, rax
jne 0x1400cba47
mov edi, 7
mov byte [rsi + 0x51], 1
mov eax, edi
jmp 0x1400cbb1b
mov r10, qword [r11 + 0x10]
test r10, r10
jne 0x1400cba12
jmp 0x1400cb9f7
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
lea r8, [0x14006fd40]
mov rdx, rbx
mov rcx, rsi
call fcn.14005f740
cmp qword [rsi + 0x328], 0
mov edi, eax
je 0x1400cba83
mov rdx, rbx
mov rcx, rsi
call fcn.1400ae450
jmp 0x1400cbb09
cmp rbx, qword [rsi + 0x170]
jb 0x1400cbaae
cmp rbx, qword [rsi + 0x178]
jae 0x1400cbaae
mov rax, qword [rsi + 0x168]
mov qword [rbx], rax
dec dword [rsi + 0x154]
mov qword [rsi + 0x168], rbx
jmp 0x1400cbb09
cmp dword [0x1402fd010], 0
je 0x1400cbb00
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400cbac9
call qword [0x1402fd098]
mov rcx, rbx
call qword [0x1402fd050]
dec qword [0x140303428]
movsxd rcx, eax
sub qword [0x1403033e0], rcx
mov rcx, rbx
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400cbb09
call qword [0x1402fd0a8]
jmp 0x1400cbb09
mov rcx, rbx
call qword [0x1402fd040]
cmp edi, 7
jne 0x1400cbb12
mov byte [rsi + 0x51], 1
mov eax, edi
jmp 0x1400cbb1b
mov eax, 1
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret