Function at 0x1400cf930
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx]
movsxd r10, edx
mov qword [rsp + 0x30], r9
mov rdx, qword [rax + 0x20]
shl r10, 5
mov r13, r8
mov rsi, qword [r10 + rdx]
mov r12, rcx
mov r15d, 1
lea rdi, [rsp + 0x40]
nop dword [rax + rax]
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x40]
mov r9d, r15d
mov ecx, 0x18
call fcn.140091cf0
mov rbp, qword [r12]
xor r10d, r10d
lea rbx, [rsp + 0x40]
cmp byte [rsp + 0x40], r10b
je 0x1400cf9b8
nop dword [rax]
inc rbx
cmp byte [rbx], r10b
jne 0x1400cf9b0
mov r14d, dword [rbp + 0x28]
sub ebx, edi
xor edi, edi
and ebx, 0x3fffffff
test r14d, r14d
jle 0x1400cfb85
nop
mov r9d, edi
cmp edi, 2
jge 0x1400cf9dc
xor r9d, 1
test rsi, rsi
je 0x1400cfa49
mov rax, qword [rbp + 0x20]
movsxd rcx, r9d
mov rdx, rsi
shl rcx, 5
lea r11, [0x1401bb890]
mov r8, qword [rcx + rax]
movzx ecx, byte [rsi]
test cl, cl
je 0x1400cfa30
nop word [rax + rax]
movzx eax, byte [r8]
movzx ecx, cl
movzx eax, byte [rax + r11]
cmp byte [rcx + r11], al
jne 0x1400cfa30
movzx ecx, byte [rdx + 1]
inc rdx
inc r8
test cl, cl
jne 0x1400cfa10
movzx eax, byte [r8]
movzx ecx, byte [rax + r11]
movzx eax, byte [rdx]
movzx eax, byte [rax + r11]
cmp eax, ecx
jne 0x1400cfb4f
mov rax, qword [rbp + 0x20]
movsxd rcx, r9d
shl rcx, 5
mov r11, qword [rcx + rax + 0x18]
mov r10, qword [r11 + 0x18]
test r10, r10
je 0x1400cfaac
xor eax, eax
mov r8d, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x1400cfaa4
lea r14, [0x1401bb890]
nop word [rax + rax]
movzx ecx, byte [r9]
dec r8d
lea r9, [r9 + 1]
movzx edx, byte [rcx + r14]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
test r8d, r8d
jg 0x1400cfa80
mov r14d, dword [rbp + 0x28]
xor edx, edx
div dword [r11 + 8]
jmp 0x1400cfaae
xor edx, edx
test r10, r10
je 0x1400cfac5
mov eax, edx
shl rax, 4
add rax, r10
mov r10, qword [rax + 8]
mov r11d, dword [rax]
jmp 0x1400cfacd
mov r10, qword [r11 + 0x10]
mov r11d, dword [r11 + 0xc]
test r11d, r11d
je 0x1400cfb4c
dec r11d
test r10, r10
je 0x1400cfb4c
cmp dword [r10 + 0x20], ebx
jne 0x1400cfb44
mov r8, qword [r10 + 0x18]
mov eax, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x1400cfb1f
nop
movzx edx, byte [r8]
dec eax
test dl, dl
je 0x1400cfb21
movzx ecx, byte [r9]
lea rbp, [0x1401bb890]
movzx edx, dl
movzx ecx, byte [rcx + rbp]
cmp byte [rdx + rbp], cl
mov rbp, qword [r12]
jne 0x1400cfb21
inc r8
inc r9
test eax, eax
jg 0x1400cfaf0
dec eax
test eax, eax
js 0x1400cfbb5
movzx eax, byte [r9]
lea rcx, [0x1401bb890]
movzx edx, byte [rax + rcx]
movzx eax, byte [r8]
movzx ecx, byte [rax + rcx]
sub ecx, edx
je 0x1400cfbb5
mov r10, qword [r10]
test r11d, r11d
jne 0x1400cfad2
xor r10d, r10d
inc edi
cmp edi, r14d
jl 0x1400cf9d0
test r10, r10
je 0x1400cfb85
mov rax, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov qword [rsp + 0x28], rax
mov r8, rsi
mov rcx, r12
mov qword [rsp + 0x20], r13
call fcn.1400cca50
inc r15d
lea rdi, [rsp + 0x40]
cmp r15d, 3
jle 0x1400cf980
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140166980
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r10, qword [r10 + 0x10]
test r10, r10
jne 0x1400cfb5f
jmp 0x1400cfb4f