Function at 0x140255110
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 [0x140415a10]
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.1402179e0
mov rbp, qword [r12]
xor r10d, r10d
lea rbx, [rsp + 0x40]
cmp byte [rsp + 0x40], r10b
je 0x140255198
nop dword [rax]
inc rbx
cmp byte [rbx], r10b
jne 0x140255190
mov r14d, dword [rbp + 0x28]
sub ebx, edi
xor edi, edi
and ebx, 0x3fffffff
test r14d, r14d
jle 0x140255365
nop
mov r9d, edi
cmp edi, 2
jge 0x1402551bc
xor r9d, 1
test rsi, rsi
je 0x140255229
mov rax, qword [rbp + 0x20]
movsxd rcx, r9d
mov rdx, rsi
shl rcx, 5
lea r11, [0x14032a100]
mov r8, qword [rcx + rax]
movzx ecx, byte [rsi]
test cl, cl
je 0x140255210
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8]
movzx ecx, cl
movzx eax, byte [rax + r11]
cmp byte [rcx + r11], al
jne 0x140255210
movzx ecx, byte [rdx + 1]
inc rdx
inc r8
test cl, cl
jne 0x1402551f0
movzx eax, byte [r8]
movzx ecx, byte [rax + r11]
movzx eax, byte [rdx]
movzx eax, byte [rax + r11]
cmp eax, ecx
jne 0x14025532f
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 0x14025528c
xor eax, eax
mov r8d, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x140255284
lea r14, [0x14032a100]
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 0x140255260
mov r14d, dword [rbp + 0x28]
xor edx, edx
div dword [r11 + 8]
jmp 0x14025528e
xor edx, edx
test r10, r10
je 0x1402552a5
mov eax, edx
shl rax, 4
add rax, r10
mov r10, qword [rax + 8]
mov r11d, dword [rax]
jmp 0x1402552ad
mov r10, qword [r11 + 0x10]
mov r11d, dword [r11 + 0xc]
test r11d, r11d
je 0x14025532c
dec r11d
test r10, r10
je 0x14025532c
cmp dword [r10 + 0x20], ebx
jne 0x140255324
mov r8, qword [r10 + 0x18]
mov eax, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x1402552ff
nop
movzx edx, byte [r8]
dec eax
test dl, dl
je 0x140255301
movzx ecx, byte [r9]
lea rbp, [0x14032a100]
movzx edx, dl
movzx ecx, byte [rcx + rbp]
cmp byte [rdx + rbp], cl
mov rbp, qword [r12]
jne 0x140255301
inc r8
inc r9
test eax, eax
jg 0x1402552d0
dec eax
test eax, eax
js 0x140255395
movzx eax, byte [r9]
lea rcx, [0x14032a100]
movzx edx, byte [rax + rcx]
movzx eax, byte [r8]
movzx ecx, byte [rax + rcx]
sub ecx, edx
je 0x140255395
mov r10, qword [r10]
test r11d, r11d
jne 0x1402552b2
xor r10d, r10d
inc edi
cmp edi, r14d
jl 0x1402551b0
test r10, r10
je 0x140255365
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.140251dd0
inc r15d
lea rdi, [rsp + 0x40]
cmp r15d, 4
jle 0x140255160
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402b6d40
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 0x14025533f
jmp 0x14025532f