Function at 0x14029f550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1a8
movups xmmword [rsp + 0x180], xmm6
movups xmmword [rsp + 0x190], xmm7
movzx eax, word [rcx + 0x56]
mov qword [rsp + 0x1f8], rdx
mov edx, eax
and eax, 0xfe00
mov rbx, rcx
shl edx, 0x10
mov dword [rsp + 0x200], r8d
mov rsi, r9
and edx, 0x10000
or edx, eax
mov rax, qword [rcx + 0x30]
mov ecx, dword [rcx + 0x58]
mov dword [rsp + 0x64], edx
mov rdi, qword [rax]
mov eax, dword [rdi + 0x60]
mov qword [rsp + 0x50], rdi
cmp eax, ecx
jae 0x14029f6fb
mov eax, dword [rbx + 0x5c]
lea rbp, [rdi + 0x68]
xor r15d, r15d
mov r13, qword [rsp + 0x210]
mov edi, 2
mov dword [rsp + 0x60], eax
mov r14d, dword [rbp]
mov eax, r15d
mov r15d, ecx
cmp r14d, r15d
jb 0x14029f609
nop word [rax + rax]
cmp edi, 5
je 0x14029f68a
mov r14d, dword [rbp + 4]
add rbp, 4
add edi, 1
cmp r14d, r15d
jae 0x14029f5f0
lea r12d, [rdi + 2]
jmp 0x14029f648
mov rcx, qword [rbx + 8]
mov r9d, 0xa
mov r8d, 1
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x70]
test rsi, rsi
je 0x1402a00ff
cmp eax, 5
jne 0x1402a00ff
mov rcx, r13
call rsi
test eax, eax
je 0x14029f801
cmp byte [rbx + 0x3f], 0
je 0x14029f610
cmp edi, 2
je 0x14029fdcb
mov dword [rbp], 0xffffffff
xor eax, eax
cmp byte [rbx + 0x3f], 0
jne 0x14029f5f0
mov rcx, qword [rbx + 8]
mov r9d, 9
mov r8d, 1
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0x70]
xor eax, eax
cmp edi, 5
jne 0x14029f5f9
mov dword [rsp + 0x3c], r15d
mov r15d, eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov eax, dword [rax + 0x60]
cmp eax, dword [rsp + 0x3c]
jb 0x14029f810
cmp r15d, 5
je 0x1402a006f
mov eax, dword [rsp + 0x200]
test r15d, r15d
sete dil
test eax, eax
jne 0x14029f717
mov rcx, qword [rsp + 0x30]
call sym.sqlite3_free
nop
movups xmm6, xmmword [rsp + 0x180]
movups xmm7, xmmword [rsp + 0x190]
mov eax, r15d
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov edi, 1
xor r15d, r15d
mov eax, dword [rsp + 0x200]
test eax, eax
je 0x14029f6c9
test dil, dil
je 0x14029f6c9
mov rax, qword [rsp + 0x50]
mov r15d, 5
mov eax, dword [rax + 0x60]
cmp eax, dword [rbx + 0x58]
jb 0x14029f6c9
xor r15d, r15d
cmp dword [rsp + 0x200], 1
jle 0x14029f6c9
call sym.sqlite3_initialize
test eax, eax
jne 0x14029ffa8
lea rdx, [rsp + 0xb0]
mov ecx, 4
call sym.sqlite3_randomness.part.0
mov rdi, qword [rsp + 0x210]
jmp 0x14029f7a2
mov rcx, qword [rbx + 8]
mov r9d, 0xa
mov r8d, 4
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x70]
test rsi, rsi
je 0x1402a04e0
cmp eax, 5
jne 0x1402a04e0
mov rcx, rdi
call rsi
test eax, eax
je 0x14029fe22
cmp byte [rbx + 0x3f], 0
je 0x14029f768
xor r15d, r15d
cmp dword [rsp + 0x200], 3
jne 0x14029f6c9
mov edx, dword [rsp + 0xb0]
mov rcx, rbx
call sym.walRestartHdr
mov rcx, qword [rbx + 0x10]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
mov r15d, eax
cmp byte [rbx + 0x3f], 0
jne 0x14029f6c9
mov rcx, qword [rbx + 8]
mov r9d, 9
mov r8d, 4
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x70]
jmp 0x14029f6c9
mov r15d, r14d
mov eax, 5
xor esi, esi
jmp 0x14029f5f0
mov rax, qword [rsp + 0x50]
mov edi, dword [rax + 0x60]
mov eax, dword [rbx + 0x58]
mov dword [rsp + 0x74], eax
call sym.sqlite3_initialize
test eax, eax
jne 0x14029fdb7
mov edx, dword [rsp + 0x74]
lea ebp, [rdx + 0x1000]
sub rbp, 0xfdf
shr rbp, 0xc
movsxd rax, ebp
mov dword [rsp + 0x70], ebp
shl rax, 4
lea r12, [rax + rdx + 0x14]
mov eax, 0x1000
add r12, r12
cmp edx, 0x1000
cmovbe rax, rdx
lea rcx, [r12 + rax*2]
call sym.sqlite3Malloc
mov qword [rsp + 0x30], rax
mov r15, rax
test rax, rax
je 0x14029fdb7
mov r8, r12
xor edx, edx
mov rcx, rax
add ebp, 1
call sub.msvcrt.dll_memset
lea eax, [rdi + 0x1001]
mov dword [r15 + 4], ebp
lea r14, [r15 + r12]
sub rax, 0xfdf
shr rax, 0xc
mov dword [rsp + 0x40], eax
cmp ebp, eax
jle 0x1402a0121
cdqe
mov qword [rsp + 0x1f0], rbx
movdqu xmm7, xmmword [str._b_b_b_b]
shl rax, 3
mov qword [rsp + 0x208], rsi
movdqu xmm6, xmmword [0x14033daa0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x98]
mov esi, dword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1f0]
cmp dword [rax + 0x28], esi
jle 0x14029f990
mov rax, qword [rax + 0x30]
mov rsi, qword [rsp + 0x58]
mov r12, qword [rax + rsi]
mov qword [rsp + 0x98], r12
test r12, r12
je 0x14029f990
xor r15d, r15d
mov ecx, dword [rsp + 0x40]
lea rdx, [r12 + 0x4000]
mov qword [rsp + 0x90], rdx
test ecx, ecx
jne 0x14029f9f0
add r12, 0x88
xor eax, eax
mov qword [rsp + 0x98], r12
test r15d, r15d
je 0x14029fa03
mov rbx, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x30]
call sym.sqlite3_free
mov qword [rsp + 0x30], 0
cmp r15d, 5
jne 0x14029f6c9
xor r15d, r15d
mov edi, 1
jmp 0x14029f70c
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1f0]
call sym.walIndexPageRealloc
mov r12, qword [rsp + 0x98]
mov r15d, eax
test r12, r12
jne 0x14029f91b
mov rbx, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x208]
test eax, eax
jne 0x14029f961
mov rcx, qword [rsp + 0x30]
mov r15d, 1
call sym.sqlite3_free
mov qword [rsp + 0x30], 0
jmp 0x14029f6c9
mov eax, dword [rsp + 0x40]
shl eax, 0xc
sub eax, 0x22
test r15d, r15d
jne 0x14029f951
mov rdi, qword [rsp + 0x30]
sub rdx, r12
mov ebp, dword [rsp + 0x74]
mov ecx, eax
sar rdx, 2
mov ebx, dword [rsp + 0x40]
mov esi, edx
movsxd rdx, dword [rdi + 4]
sub ebp, eax
cmp dword [rsp + 0x70], ebx
cmove esi, ebp
add eax, 1
mov r8, rdx
mov dword [rsp + 0xa0], eax
shl r8, 5
mov dword [rsp + 0x38], esi
lea r8, [r8 + rcx*2 + 8]
add r8, rdi
mov qword [rsp + 0x68], r8
test esi, esi
jle 0x14029fe2d
lea eax, [rsi - 1]
cmp eax, 6
jbe 0x1402a00f8
shl rdx, 4
shr esi, 3
movdqu xmm1, xmmword [0x14033da80]
lea rax, [rcx + rdx + 4]
mov edx, esi
lea rax, [rdi + rax*2]
shl rdx, 4
add rdx, rax
movdqu xmm0, xmm1
add rax, 0x10
paddd xmm1, xmm7
movdqu xmm3, xmm0
movdqu xmm2, xmm0
paddd xmm3, xmm6
punpcklwd xmm0, xmm3
punpckhwd xmm2, xmm3
movdqu xmm3, xmm0
punpcklwd xmm0, xmm2
punpckhwd xmm3, xmm2
punpcklwd xmm0, xmm3
movups xmmword [rax - 0x10], xmm0
cmp rdx, rax
jne 0x14029fa7f
mov esi, dword [rsp + 0x38]
mov eax, esi
and eax, 0xfffffff8
and esi, 7
je 0x14029fb22
mov rsi, qword [rsp + 0x68]
movsxd rcx, eax
mov ebx, dword [rsp + 0x38]
lea rdx, [rcx + rcx]
mov word [rsi + rcx*2], ax
lea ecx, [rax + 1]
cmp ecx, ebx
jge 0x14029fb22
mov word [rsi + rdx + 2], cx
lea ecx, [rax + 2]
cmp ecx, ebx
jge 0x14029fb22
mov word [rsi + rdx + 4], cx
lea ecx, [rax + 3]
cmp ecx, ebx
jge 0x14029fb22
mov word [rsi + rdx + 6], cx
lea ecx, [rax + 4]
cmp ecx, ebx
jge 0x14029fb22
mov word [rsi + rdx + 8], cx
lea ecx, [rax + 5]
cmp ecx, ebx
jge 0x14029fb22
add eax, 6
mov word [rsi + rdx + 0xa], cx
cmp eax, ebx
jge 0x14029fb22
mov word [rsi + rdx + 0xc], ax
lea rdx, [rsp + 0xb0]
xor eax, eax
mov ecx, 0x1a
mov rdi, rdx
lea rbp, [rsp + 0x88]
rep stosq qword [rdi], rax
mov rax, qword [rsp + 0x68]
lea rdi, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
nop dword [rax]
mov dword [rsp + 0x84], 1
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov rcx, rax
test r15b, 1
je 0x14029fdaa
mov r13d, 1
lea rsi, [rsp + 0xa8]
lea rbx, [rsp + 0x84]
nop dword [rax + rax]
mov rax, r13
mov qword [rsp + 0x28], r14
mov r9, rbp
mov rcx, r12
shl rax, 4
mov qword [rsp + 0x20], rbx
mov rdx, qword [rsi + rax]
mov r8d, dword [rdi + rax]
call sym.walMerge
mov edx, r13d
add r13, 1
bt r15d, edx
jb 0x14029fb98
mov rcx, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x84]
mov eax, edx
add qword [rsp + 0x48], 2
add r15d, 1
shl rax, 4
mov qword [rsp + rax + 0xb8], rcx
mov dword [rsp + rax + 0xb0], r8d
cmp r15d, dword [rsp + 0x38]
jne 0x14029fb58
lea ebx, [rdx + 1]
cmp ebx, 0xc
ja 0x14029fd54
mov eax, dword [rsp + 0x38]
bt eax, ebx
jb 0x14029fde5
lea esi, [rbx + 1]
cmp ebx, 0xc
je 0x14029fd4c
mov eax, dword [rsp + 0x38]
bt eax, esi
jb 0x14029fe75
lea ebx, [rsi + 1]
cmp esi, 0xc
je 0x14029fd4c
mov eax, dword [rsp + 0x38]
bt eax, ebx
jb 0x14029ff6b
lea eax, [rbx + 1]
cmp ebx, 0xc
je 0x14029fd4c
mov esi, dword [rsp + 0x38]
bt esi, eax
jb 0x1402a0031
lea eax, [rbx + 2]
cmp ebx, 0xb
je 0x14029fd4c
mov esi, dword [rsp + 0x38]
bt esi, eax
jb 0x14029fff3
lea eax, [rbx + 3]
cmp ebx, 0xa
je 0x14029fd4c
mov esi, dword [rsp + 0x38]
bt esi, eax
jb 0x14029ffb5
lea eax, [rbx + 4]
cmp ebx, 9
je 0x14029fd4c
mov esi, dword [rsp + 0x38]
bt esi, eax
jb 0x1402a00ba
lea eax, [rbx + 5]
cmp ebx, 8
je 0x14029fd4c
mov esi, dword [rsp + 0x38]
bt esi, eax
jb 0x1402a007c
lea eax, [rbx + 6]
cmp ebx, 7
je 0x14029fd4c
mov esi, dword [rsp + 0x38]
bt esi, eax
jb 0x14029fef0
lea eax, [rbx + 7]
cmp ebx, 6
je 0x14029fd4c
mov esi, dword [rsp + 0x38]
bt esi, eax
jb 0x14029feb2
lea esi, [rbx + 8]
cmp ebx, 5
je 0x14029fd4c
mov eax, dword [rsp + 0x38]
bt eax, esi
jb 0x14029ff2e
cmp esi, 0xb
jne 0x14029fd4c
test dword [rsp + 0x38], 0x1000
je 0x14029fd4c
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], r14
mov r8d, dword [rsp + 0x170]
lea r9, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x178]
mov rcx, r12
call sym.walMerge
mov r8d, dword [rsp + 0x84]
mov rsi, qword [rsp + 0x58]
mov eax, dword [rsp + 0xa0]
mov rbx, qword [rsp + 0x30]
mov edi, dword [rsp + 0x40]
mov dword [rbx + rsi*4 + 0x24], eax
mov rax, qword [rsp + 0x68]
mov dword [rbx + rsi*4 + 0x20], r8d
mov qword [rbx + rsi*4 + 0x10], rax
mov rax, qword [rsp + 0x98]
mov qword [rbx + rsi*4 + 0x18], rax
add rsi, 8
lea eax, [rdi + 1]
mov qword [rsp + 0x58], rsi
cmp dword [rsp + 0x70], edi
jle 0x1402a04fe
mov dword [rsp + 0x40], eax
mov esi, eax
jmp 0x14029f8ed
mov r8d, 1
xor edx, edx
jmp 0x14029fbd9
mov qword [rsp + 0x30], 0
mov r15d, 7
jmp 0x14029f6c9
mov dword [rbp], r15d
cmp byte [rbx + 0x3f], 0
je 0x14029f666
xor eax, eax
jmp 0x14029f5f9
mov ebx, 1
mov edx, ebx
mov qword [rsp + 0x28], r14
mov rcx, r12
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
shl rdx, 4
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fc1d
mov r15d, 5
jmp 0x14029f6c9
lea rdx, [rsp + 0xb0]
mov ecx, 0x1a
xor eax, eax
mov dword [rsp + 0x84], 0
mov qword [rsp + 0x88], 0
mov rdi, rdx
rep stosq qword [rdi], rax
test byte [rsp + 0x38], 2
jne 0x14029fde0
mov ebx, 3
test byte [rsp + 0x38], 4
je 0x14029fc42
mov esi, 2
mov edx, esi
mov qword [rsp + 0x28], r14
mov rcx, r12
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
shl rdx, 4
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fc36
shl rax, 4
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov rcx, r12
mov rdx, rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fcf6
shl rax, 4
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov rcx, r12
mov rdx, rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fce1
mov edx, esi
mov qword [rsp + 0x28], r14
mov rcx, r12
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
shl rdx, 4
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fd0b
mov edx, ebx
mov qword [rsp + 0x28], r14
mov rcx, r12
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
shl rdx, 4
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fc4f
mov rdi, qword [rsp + 0x210]
jmp 0x14029f7a2
shl rax, 4
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov rcx, r12
mov rdx, rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fc9a
shl rax, 4
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov rcx, r12
mov rdx, rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fc81
shl rax, 4
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov rcx, r12
mov rdx, rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fc68
mov edi, 1
xor r15d, r15d
jmp 0x14029f70c
shl rax, 4
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov rcx, r12
mov rdx, rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fccc
shl rax, 4
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov rcx, r12
mov rdx, rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r8d, dword [rsp + rdx + 0xb0]
mov rdx, qword [rsp + rdx + 0xb8]
call sym.walMerge
jmp 0x14029fcb3
xor eax, eax
jmp 0x14029fac6
test eax, eax
je 0x14029f64e
cmp eax, 5
je 0x1402a051b
mov qword [rsp + 0x30], 0
mov r15d, eax
jmp 0x14029f6c9
mov rbp, qword [rsp + 0x210]
jmp 0x1402a016e
mov rcx, qword [rbx + 8]
mov edx, 3
mov r9d, 0xa
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x70]
test rsi, rsi
setne dl
cmp eax, 5
sete dil
and dil, dl
je 0x1402a04c8
mov rcx, rbp
call rsi
test eax, eax
je 0x1402a0432
cmp byte [rbx + 0x3f], 0
je 0x1402a0130
mov qword [rsp + 0x210], rbp
mov rax, qword [rsp + 0x50]
mov edi, dword [rax + 0x60]
mov dword [rsp + 0x38], edi
mov edi, dword [rsp + 0x3c]
mov dword [rax + 0x80], edi
mov eax, dword [rsp + 0x218]
sar eax, 2
and eax, 3
mov dword [rsp + 0x48], eax
je 0x1402a01bc
mov rcx, qword [rbx + 0x10]
mov edx, eax
mov rax, qword [rcx]
call qword [rax + 0x28]
mov r15d, eax
test eax, eax
jne 0x1402a03a3
movsxd rdi, dword [rsp + 0x64]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rbx + 8]
imul rax, rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x90], rax
mov rax, qword [rcx]
test rax, rax
je 0x1402a01f4
xor r8d, r8d
mov edx, 0x27
call qword [rax + 0x50]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0xb0]
call qword [rax + 0x30]
mov r15d, eax
test eax, eax
jne 0x1402a03a3
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x90]
cmp rcx, rdx
jge 0x1402a0255
mov eax, dword [rbx + 0x58]
imul rax, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x10000]
cmp rdx, rax
jg 0x1402a0493
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
test rax, rax
je 0x1402a0255
lea r8, [rsp + 0x90]
mov edx, 5
call qword [rax + 0x50]
mov r12, qword [rsp + 0x30]
xor edi, edi
lea rax, [r12 - 0x20]
mov qword [rsp + 0x40], rax
nop word cs:[rax + rax]
mov edx, dword [r12 + 4]
mov r13d, dword [r12]
test edx, edx
jle 0x1402a03e4
mov rcx, qword [rsp + 0x40]
movsxd rax, edx
mov ebp, 0xffffffff
shl rax, 5
lea r14, [rcx + rax]
lea r8, [r12 + rax]
lea eax, [rdx - 1]
shl rax, 5
sub r14, rax
nop dword [rax]
movsxd rdx, dword [r8 - 0x18]
mov ecx, dword [r8]
cmp ecx, edx
jle 0x1402a02fc
sub ecx, 1
lea eax, [rdx + 1]
mov r10, qword [r8 - 8]
mov r9, qword [r8 - 0x10]
sub ecx, edx
cdqe
lea r11, [rcx + rdx + 2]
jmp 0x1402a02dd
mov dword [r8 - 0x18], eax
add rax, 1
cmp r11, rax
je 0x1402a02fc
movzx edx, word [r9 + rax*2 - 2]
mov rcx, rdx
mov edx, dword [r10 + rdx*4]
cmp r13d, edx
jae 0x1402a02d0
cmp edx, ebp
jae 0x1402a02fc
movzx edi, cx
mov ebp, edx
add edi, dword [r8 + 4]
sub r8, 0x20
cmp r14, r8
jne 0x1402a02a8
mov dword [r12], ebp
cmp ebp, 0xffffffff
je 0x1402a03ef
mov rax, qword [rsp + 0x1f8]
mov eax, dword [rax + 0x198]
test eax, eax
jne 0x1402a0442
cmp dword [rsp + 0x38], edi
setae dl
cmp dword [rsp + 0x3c], edi
setb al
or dl, al
jne 0x1402a0270
cmp dword [rsp + 0x60], ebp
jb 0x1402a0270
mov r14d, dword [rsp + 0x64]
mov rcx, qword [rbx + 0x10]
lea eax, [rdi - 1]
lea edx, [r14 + 0x18]
mov r10, qword [rcx]
mov r8d, r14d
movsxd rdx, edx
imul rax, rdx
mov rdx, qword [rsp + 0x220]
lea r9, [rax + 0x38]
call qword [r10 + 0x10]
test eax, eax
jne 0x1402a03a0
mov rcx, qword [rbx + 8]
lea r9d, [rbp - 1]
mov rdx, qword [rsp + 0x220]
mov r8d, r14d
imul r9, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
je 0x1402a0270
mov r15d, eax
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
test rax, rax
je 0x1402a03ba
xor r8d, r8d
mov edx, 0x25
call qword [rax + 0x50]
cmp byte [rbx + 0x3f], 0
jne 0x14029f6ad
mov rcx, qword [rbx + 8]
mov r9d, 9
mov r8d, 1
mov edx, 3
mov rax, qword [rcx]
call qword [rax + 0x70]
jmp 0x14029f6ad
mov rax, qword [rsp + 0x30]
mov dword [rax], 0xffffffff
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
test rax, rax
je 0x1402a0406
xor r8d, r8d
mov edx, 0x25
call qword [rax + 0x50]
mov rax, qword [rbx + 0x30]
mov rax, qword [rax]
mov eax, dword [rax + 0x10]
cmp eax, dword [rsp + 0x3c]
je 0x1402a045e
mov edi, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x60], edi
mov edi, 1
cmp byte [rbx + 0x3f], 0
je 0x1402a03c4
jmp 0x14029f70c
mov qword [rsp + 0x210], rbp
mov r15d, eax
jmp 0x14029f70c
mov rax, qword [rsp + 0x1f8]
cmp byte [rax + 0x67], 1
sbb r15d, r15d
and r15d, 2
add r15d, 7
jmp 0x1402a03a3
mov rcx, qword [rbx + 8]
mov edx, dword [rbx + 0x5c]
imul rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x1402a048b
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x1402a0416
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
je 0x1402a0416
mov r15d, eax
jmp 0x1402a03ba
lea rax, [0x14033123c]
mov r9d, 0x10398
lea r8, str.database_corruption
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov r15d, 0xb
call sym.sqlite3_log
jmp 0x1402a03a3
mov qword [rsp + 0x210], rbp
mov r15d, eax
test eax, eax
jne 0x14029f974
jmp 0x1402a017c
mov r15d, eax
test eax, eax
jne 0x14029f6c9
cmp dword [rsp + 0x200], 3
jne 0x14029f7d7
jmp 0x14029f7b9
mov rbx, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x208]
mov rbp, qword [rsp + 0x210]
jmp 0x1402a016e
mov r15d, r14d
xor esi, esi
jmp 0x14029f5f0