Function at 0x140129050
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 [0x1402a3450]
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 r15, r8
mov rsi, qword [r10 + rdx]
mov r14, rcx
mov r13d, 1
lea rdi, [rsp + 0x40]
nop dword [rax + rax]
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x40]
mov r9d, r13d
mov ecx, 0x18
call fcn.1400eaec0
mov rbp, qword [r14]
xor r10d, r10d
lea rbx, [rsp + 0x40]
cmp byte [rsp + 0x40], r10b
je 0x1401290d8
nop dword [rax + rax]
inc rbx
cmp byte [rbx], r10b
jne 0x1401290d0
mov r12d, dword [rbp + 0x28]
sub ebx, edi
xor edi, edi
and ebx, 0x3fffffff
test r12d, r12d
jle 0x1401292a4
nop
mov r9d, edi
cmp edi, 2
jge 0x1401290fc
xor r9d, 1
test rsi, rsi
je 0x140129169
mov rax, qword [rbp + 0x20]
movsxd rcx, r9d
mov rdx, rsi
shl rcx, 5
lea r11, [0x1401f2280]
mov r8, qword [rcx + rax]
movzx ecx, byte [rsi]
test cl, cl
je 0x140129150
nop word [rax + rax]
movzx eax, byte [r8]
movzx ecx, cl
movzx eax, byte [rax + r11]
cmp byte [rcx + r11], al
jne 0x140129150
movzx ecx, byte [rdx + 1]
inc rdx
inc r8
test cl, cl
jne 0x140129130
movzx eax, byte [r8]
movzx ecx, byte [rax + r11]
movzx eax, byte [rdx]
movzx eax, byte [rax + r11]
cmp eax, ecx
jne 0x14012926e
mov rax, qword [rbp + 0x20]
movsxd rcx, r9d
shl rcx, 5
mov r10, qword [rcx + rax + 0x18]
mov r11, qword [r10 + 0x18]
test r11, r11
je 0x1401291cb
xor eax, eax
mov r8d, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x1401291c3
lea r12, [0x1401f2280]
nop word [rax + rax]
movzx ecx, byte [r9]
dec r8d
inc r9
movzx edx, byte [rcx + r12]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
test r8d, r8d
jg 0x1401291a0
mov r12d, dword [rbp + 0x28]
xor edx, edx
div dword [r10 + 8]
jmp 0x1401291cd
xor edx, edx
test r11, r11
je 0x1401291e4
mov eax, edx
shl rax, 4
add rax, r11
mov r11, qword [rax + 8]
mov r10d, dword [rax]
jmp 0x1401291ec
mov r11, qword [r10 + 0x10]
mov r10d, dword [r10 + 0xc]
test r10d, r10d
je 0x14012926b
dec r10d
test r11, r11
je 0x14012926b
cmp dword [r11 + 0x20], ebx
jne 0x140129263
mov r8, qword [r11 + 0x18]
mov edx, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x14012923e
nop
movzx ecx, byte [r8]
dec edx
test cl, cl
je 0x140129240
movzx eax, byte [r9]
lea rbp, [0x1401f2280]
movzx ecx, cl
movzx eax, byte [rax + rbp]
cmp byte [rcx + rbp], al
mov rbp, qword [r14]
jne 0x140129240
inc r8
inc r9
test edx, edx
jg 0x140129210
dec edx
test edx, edx
js 0x1401292d4
movzx eax, byte [r9]
lea rcx, [0x1401f2280]
movzx edx, byte [rax + rcx]
movzx eax, byte [r8]
movzx ecx, byte [rax + rcx]
sub ecx, edx
je 0x1401292d4
mov r11, qword [r11]
test r10d, r10d
jne 0x1401291f1
xor r10d, r10d
inc edi
cmp edi, r12d
jl 0x1401290f0
test r10, r10
je 0x1401292a4
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, r14
mov qword [rsp + 0x20], r15
call fcn.140126420
inc r13d
lea rdi, [rsp + 0x40]
cmp r13d, 3
jle 0x1401290a0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401bc610
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r10, qword [r11 + 0x10]
test r10, r10
jne 0x14012927e
jmp 0x14012926e