Function at 0x140257800
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 [0x140418a10]
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.14021a0d0
mov rbp, qword [r12]
xor r10d, r10d
lea rbx, [rsp + 0x40]
cmp byte [rsp + 0x40], r10b
je 0x140257888
nop dword [rax]
inc rbx
cmp byte [rbx], r10b
jne 0x140257880
mov r14d, dword [rbp + 0x28]
sub ebx, edi
xor edi, edi
and ebx, 0x3fffffff
test r14d, r14d
jle 0x140257a55
nop
mov r9d, edi
cmp edi, 2
jge 0x1402578ac
xor r9d, 1
test rsi, rsi
je 0x140257919
mov rax, qword [rbp + 0x20]
movsxd rcx, r9d
mov rdx, rsi
shl rcx, 5
lea r11, [0x14032c1e0]
mov r8, qword [rcx + rax]
movzx ecx, byte [rsi]
test cl, cl
je 0x140257900
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 0x140257900
movzx ecx, byte [rdx + 1]
inc rdx
inc r8
test cl, cl
jne 0x1402578e0
movzx eax, byte [r8]
movzx ecx, byte [rax + r11]
movzx eax, byte [rdx]
movzx eax, byte [rax + r11]
cmp eax, ecx
jne 0x140257a1f
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 0x14025797c
xor eax, eax
mov r8d, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x140257974
lea r14, [0x14032c1e0]
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 0x140257950
mov r14d, dword [rbp + 0x28]
xor edx, edx
div dword [r11 + 8]
jmp 0x14025797e
xor edx, edx
test r10, r10
je 0x140257995
mov eax, edx
shl rax, 4
add rax, r10
mov r10, qword [rax + 8]
mov r11d, dword [rax]
jmp 0x14025799d
mov r10, qword [r11 + 0x10]
mov r11d, dword [r11 + 0xc]
test r11d, r11d
je 0x140257a1c
dec r11d
test r10, r10
je 0x140257a1c
cmp dword [r10 + 0x20], ebx
jne 0x140257a14
mov r8, qword [r10 + 0x18]
mov eax, ebx
lea r9, [rsp + 0x40]
test ebx, ebx
jle 0x1402579ef
nop
movzx edx, byte [r8]
dec eax
test dl, dl
je 0x1402579f1
movzx ecx, byte [r9]
lea rbp, [0x14032c1e0]
movzx edx, dl
movzx ecx, byte [rcx + rbp]
cmp byte [rdx + rbp], cl
mov rbp, qword [r12]
jne 0x1402579f1
inc r8
inc r9
test eax, eax
jg 0x1402579c0
dec eax
test eax, eax
js 0x140257a85
movzx eax, byte [r9]
lea rcx, [0x14032c1e0]
movzx edx, byte [rax + rcx]
movzx eax, byte [r8]
movzx ecx, byte [rax + rcx]
sub ecx, edx
je 0x140257a85
mov r10, qword [r10]
test r11d, r11d
jne 0x1402579a2
xor r10d, r10d
inc edi
cmp edi, r14d
jl 0x1402578a0
test r10, r10
je 0x140257a55
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.1402544c0
inc r15d
lea rdi, [rsp + 0x40]
cmp r15d, 4
jle 0x140257850
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402b9610
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 0x140257a2f
jmp 0x140257a1f