Function at 0x140290380
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, 0x98
mov rax, qword [rcx]
mov rdx, qword [rax + 0x18]
movsxd rax, dword [rcx + 0x14]
shl rax, 5
add rax, qword [rdx + 0x20]
mov r13, rcx
mov rcx, qword [rcx + 0x828]
mov rbp, qword [rax + 8]
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
call sym.sqlite3_free
mov qword [r13 + 0x828], 0
mov esi, dword [r13 + 0x818]
test esi, esi
js 0x140290798
movsxd rsi, esi
mov r14, rsi
shl r14, 6
cmp byte [r13 + 0x11], 0
lea rax, [r13 + r14 + 0x18]
mov qword [rsp + 0x40], rax
jne 0x140290427
mov dword [r13 + 0x840], 0
pxor xmm0, xmm0
mov qword [r13 + 0x860], 0
mov qword [r13 + 0x838], 0
movups xmmword [r13 + 0x848], xmm0
mov rbx, rsi
shl rbx, 6
add rbx, r13
mov edx, dword [rbx + 0x28]
cmp dword [rbx + 0x3c], edx
jle 0x140290eda
lea rdi, [r13 + r14]
movsxd r15, edx
shl r15, 5
add r15, qword [rdi + 0x48]
mov eax, dword [r15 + 0x1c]
mov edx, dword [r15 + 8]
nop dword [rax]
cmp eax, edx
jge 0x140290612
cmp byte [rbp + 0x11], 0
je 0x140290710
mov eax, dword [rbp + 0x14]
cmp byte [rbp + 0x12], 0
lea edx, [rax + 1]
mov dword [rbp + 0x14], edx
jne 0x140290720
mov rcx, rbp
call sym.btreeLockCarefully
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], 0
mov r12d, dword [rax + 0x38]
je 0x1402904a8
mov eax, dword [rbp + 0x14]
sub eax, 1
mov dword [rbp + 0x14], eax
test eax, eax
je 0x140290733
nop dword [rax]
add dword [r13 + 0x838], 1
mov rcx, r13
call sym.statSizeAndOffset
mov edx, dword [r15 + 8]
mov r8d, dword [r15 + 0x1c]
lea eax, [r12 - 4]
lea ecx, [rdx - 1]
cmp r8d, ecx
jge 0x1402905e0
cdqe
add qword [r13 + 0x850], rax
lea eax, [r8 + 1]
mov dword [r15 + 0x1c], eax
cmp byte [r13 + 0x11], 0
jne 0x140290458
mov rbx, qword [r13 + 8]
mov r14, r15
mov r15d, r8d
test rbx, rbx
je 0x140290dfd
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140290512
call qword [0x1402ba740]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14029052c
cmp word [rbx + 0xc0], 0
jne 0x140290740
mov rcx, qword [rbx]
xor edi, edi
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish.constprop.1
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x34]
cmp byte [rcx + 0x67], 0
jne 0x140290785
nop dword [rax]
xor eax, eax
test edx, edx
jne 0x140290785
mov rcx, qword [rcx + 0x18]
mov dword [rbx + 0x34], eax
test rcx, rcx
je 0x14029056c
call qword [0x1402ba750]
mov rax, qword [r14 + 0x10]
movsxd rdx, r15d
shl rsi, 6
mov r9d, r15d
mov qword [r13 + 0x820], rdi
add rsi, r13
lea rcx, str._s_.3x_.6x
mov eax, dword [rax + rdx*4]
mov dword [r13 + 0x81c], eax
lea rax, str.overflow
mov qword [r13 + 0x830], rax
mov r8d, dword [rsi + 0x28]
mov rdx, qword [rsi + 0x30]
call sym.sqlite3_mprintf
mov qword [r13 + 0x828], rax
test rax, rax
je 0x140290a80
xor r8d, r8d
mov eax, r8d
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd r9, dword [r15 + 0x18]
add qword [r13 + 0x850], r9
sub eax, r9d
cdqe
add qword [r13 + 0x848], rax
lea eax, [r8 + 1]
mov dword [r15 + 0x1c], eax
cmp byte [r13 + 0x11], 0
je 0x1402904ed
cmp eax, edx
jl 0x140290460
mov r9d, dword [rdi + 0x50]
mov edx, dword [rbx + 0x28]
test r9d, r9d
jne 0x140290ef4
add edx, 1
mov dword [rbx + 0x28], edx
cmp edx, dword [rbx + 0x3c]
jl 0x140290442
mov r12, rsi
mov rcx, qword [rdi + 0x48]
shl r12, 6
add r12, r13
mov r14, qword [r12 + 0x20]
test rcx, rcx
je 0x14029067d
mov r9d, dword [r12 + 0x3c]
test r9d, r9d
jle 0x140290678
xor ebx, ebx
nop dword [rax]
mov rax, rbx
add rbx, 1
shl rax, 5
mov rcx, qword [rcx + rax + 0x10]
call sym.sqlite3_free
cmp dword [r12 + 0x3c], ebx
mov rcx, qword [rdi + 0x48]
jg 0x140290658
call sym.sqlite3_free
shl rsi, 6
add rsi, r13
mov dword [rsi + 0x3c], 0
mov qword [rdi + 0x48], 0
mov rcx, qword [rsi + 0x30]
call sym.sqlite3_free
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rsi + 0x20], r14
mov eax, dword [r13 + 0x818]
cmp byte [r13 + 0x11], 0
lea esi, [rax - 1]
mov dword [r13 + 0x818], esi
je 0x1402903d7
test esi, esi
jns 0x1402903df
jmp 0x1402905c0
mov rax, qword [rbp + 8]
mov r12d, dword [rax + 0x38]
jmp 0x1402904a8
mov rdx, qword [rbp + 8]
mov r12d, dword [rdx + 0x38]
mov dword [rbp + 0x14], eax
test eax, eax
jne 0x1402904a8
mov rcx, rbp
call sym.unlockBtreeMutex
jmp 0x1402904a8
movzx eax, word [rcx + 0x14]
mov edx, eax
and eax, 1
and dx, 0x202
cmp dx, 0x202
jne 0x14029075f
cmp byte [rcx + 0x16], 1
je 0x140290f8a
test ax, ax
jne 0x14029116c
mov edx, 1
call sym.valueToText
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x34]
mov rdi, rax
cmp byte [rcx + 0x67], 0
je 0x140290550
call sym.apiHandleError
mov rcx, qword [rbx]
jmp 0x14029055a
mov dword [r13 + 0x840], 0
pxor xmm0, xmm0
mov rcx, qword [r13 + 8]
mov qword [r13 + 0x860], 0
mov qword [r13 + 0x838], 0
movups xmmword [r13 + 0x848], xmm0
call sym.sqlite3_step
cmp eax, 0x64
jne 0x1402911c1
mov r12, qword [r13 + 8]
lea rcx, [0x140343420]
test r12, r12
je 0x14029081f
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1402907fa
call qword [0x1402ba740]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140290aa7
add rcx, 0x38
cmp word [r12 + 0xc0], 1
jbe 0x140290aa7
call sym.sqlite3VdbeIntValue
mov rcx, r12
mov rbx, rax
call sym.columnMallocFailure
mov rax, qword [rsp + 0x38]
mov r10d, dword [rax + 0x20]
test r10d, r10d
je 0x1402911c1
lea r8, [r13 + 0x18]
mov edx, ebx
mov rcx, rbp
call sym.statGetPage
cmp byte [r13 + 0x11], 0
mov dword [r13 + 0x18], ebx
mov dword [r13 + 0x28], 0
mov r14d, eax
je 0x140290ea0
mov dword [r13 + 0x818], 0
mov dword [r13 + 0x838], 1
test r14d, r14d
jne 0x140291245
mov r12, qword [r13 + 8]
movsxd r15, dword [r13 + 0x818]
lea rcx, [0x140343420]
test r12, r12
je 0x1402908d3
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1402908b2
call qword [0x1402ba740]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140290a8b
cmp word [r12 + 0xc0], 0
je 0x140290a8b
call sym.sqlite3ValueText.constprop.0
mov rcx, r12
mov rbx, rax
call sym.columnMallocFailure
mov rax, r15
mov qword [r13 + 0x820], rbx
shl rax, 6
add rax, r13
mov edx, dword [rax + 0x18]
mov dword [r13 + 0x81c], edx
mov rbx, qword [rax + 0x20]
cmp edx, 1
je 0x140290e04
movzx edx, byte [rbx]
mov byte [rax + 0x38], dl
cmp dl, 0xa
je 0x140290ac3
cmp dl, 0xd
je 0x140290ac3
cmp dl, 2
je 0x140290dce
cmp dl, 5
je 0x140290dce
nop dword [rax]
mov rsi, r15
shl rsi, 6
add rsi, r13
cmp qword [rsi + 0x48], 0
mov byte [rsi + 0x38], 0
je 0x140290986
mov eax, dword [rsi + 0x3c]
xor ebx, ebx
test eax, eax
jle 0x14029097d
nop word cs:[rax + rax]
mov rax, rbx
add rbx, 1
shl rax, 5
add rax, qword [rsi + 0x48]
mov rcx, qword [rax + 0x10]
call sym.sqlite3_free
cmp dword [rsi + 0x3c], ebx
jg 0x140290960
mov rcx, qword [rsi + 0x48]
call sym.sqlite3_free
mov rax, r15
shl rax, 6
mov dword [r13 + rax + 0x3c], 0
mov qword [rsi + 0x48], 0
mov rcx, r13
call sym.statSizeAndOffset
mov rax, r15
shl rax, 6
movzx eax, byte [r13 + rax + 0x38]
cmp al, 0xa
je 0x140290e48
ja 0x140290de6
cmp al, 2
je 0x1402909cd
cmp al, 5
jne 0x140290dea
lea rax, str.internal
mov qword [r13 + 0x830], rax
mov rbx, r15
shl rbx, 6
add rbx, r13
mov eax, dword [rbx + 0x3c]
add dword [r13 + 0x83c], eax
movsxd rax, dword [rbx + 0x40]
add qword [r13 + 0x848], rax
mov eax, dword [rbx + 0x54]
cmp eax, dword [r13 + 0x840]
jle 0x140290a0d
mov dword [r13 + 0x840], eax
movzx r9d, byte [r13 + 0x11]
mov rax, r15
shl rax, 6
test r9b, r9b
je 0x140290e5b
mov eax, dword [r13 + rax + 0x3c]
xor r8d, r8d
test eax, eax
jle 0x1402903d0
mov rdx, qword [rbx + 0x48]
lea ecx, [rax - 1]
shl rcx, 5
lea rax, [rdx + 0x20]
add rcx, rax
jmp 0x140290a54
add rax, 0x20
add r14d, dword [rdx]
mov rdx, rax
cmp rax, rcx
jne 0x140290a50
movsxd r14, r14d
add qword [r13 + 0x850], r14
test r9b, r9b
jne 0x1402903d0
jmp 0x1402905c3
mov r8d, 7
jmp 0x1402905c3
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish.constprop.1
lea rcx, [0x140343420]
jmp 0x1402908d3
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish.constprop.1
lea rcx, [0x140343420]
jmp 0x14029081f
mov dword [rsp + 0x50], 1
mov r11, rbx
mov dword [rsp + 0x40], 8
movzx r10d, word [r11 + 3]
mov rax, r15
mov rdi, qword [rbp + 8]
shl rax, 6
rol r10w, 8
add rax, r13
mov esi, dword [rdi + 0x34]
movzx r10d, r10w
mov dword [rax + 0x54], 0
mov r12, rax
mov dword [rax + 0x3c], r10d
movzx r8d, word [r11 + 5]
lea eax, [r10 + r10]
rol r8w, 8
movzx r8d, r8w
sub r8d, dword [rsp + 0x40]
sub r8d, eax
movzx eax, byte [r11 + 7]
add r8d, eax
movzx eax, word [r11 + 1]
rol ax, 8
movzx eax, ax
test eax, eax
je 0x140290b7f
nop dword [rax]
cmp esi, eax
jle 0x140290938
lea edx, [rax + 2]
lea ecx, [rax + 3]
movsxd rdx, edx
movsxd r9, ecx
movzx edx, byte [rbx + rdx]
movzx r9d, byte [rbx + r9]
shl edx, 8
or edx, r9d
add r8d, edx
movsxd rdx, eax
add eax, 1
movzx edx, byte [rbx + rdx]
cdqe
movzx eax, byte [rbx + rax]
shl edx, 8
or eax, edx
cmp eax, ecx
jg 0x140290b38
test eax, eax
jne 0x140290938
mov rax, r15
shl rax, 6
mov dword [r13 + rax + 0x40], r8d
mov r8d, dword [rsp + 0x50]
xor eax, eax
test r8d, r8d
jne 0x140290b9d
mov eax, dword [r11 + 8]
bswap eax
mov dword [r12 + 0x50], eax
test r10d, r10d
je 0x14029099e
cmp byte [rbp + 0x11], 0
je 0x140290fa8
mov eax, dword [rbp + 0x14]
cmp byte [rbp + 0x12], 0
lea edx, [rax + 1]
mov dword [rbp + 0x14], edx
jne 0x140291173
mov rcx, rbp
call sym.btreeLockCarefully
mov rax, qword [rbp + 8]
mov edx, esi
sub edx, dword [rax + 0x34]
add edx, dword [rax + 0x38]
cmp byte [rbp + 0x11], 0
mov dword [rsp + 0x54], edx
je 0x140290bf7
mov eax, dword [rbp + 0x14]
sub eax, 1
mov dword [rbp + 0x14], eax
test eax, eax
je 0x1402911e2
mov rax, r15
shl rax, 6
add rax, r13
mov qword [rsp + 0x48], rax
mov edi, dword [rax + 0x3c]
call sym.sqlite3_initialize
test eax, eax
jne 0x14029117f
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 5
call sym.sqlite3Malloc
mov qword [r12 + 0x48], rax
mov rcx, rax
test rax, rax
je 0x140290a80
mov rdi, qword [rsp + 0x48]
xor edx, edx
mov eax, dword [rdi + 0x3c]
lea r8d, [rax + 1]
mov dword [rsp + 0x48], eax
movsxd r8, r8d
shl r8, 5
call sub.msvcrt.dll_memset
mov ecx, dword [rdi + 0x3c]
mov r11, rdi
test ecx, ecx
jle 0x14029099e
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], r14d
xor edi, edi
mov qword [rsp + 0x68], r13
mov r13, r11
lea edx, [rax - 0xc]
mov qword [rsp + 0x70], r15
mov r15, r12
mov ecx, edx
shl edx, 6
mov qword [rsp + 0x48], rbx
shl ecx, 5
mov dword [rsp + 0x58], esi
movsxd rax, ecx
imul rax, rax, 0xffffffff80808081
shr rax, 0x20
add eax, ecx
sar ecx, 0x1f
sar eax, 7
sub eax, ecx
sub eax, 0x17
mov dword [rsp + 0x5c], eax
movsxd rax, edx
imul rax, rax, 0xffffffff80808081
shr rax, 0x20
add eax, edx
sar edx, 0x1f
sar eax, 7
sub eax, edx
sub eax, 0x17
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x40]
add rax, rbx
mov r14, rax
jmp 0x140290d33
mov dword [r15 + 0x54], r8d
cmp byte [r13 + 0x38], 0xd
jne 0x140290dc4
mov eax, dword [rsp + 0x54]
lea r11d, [rax - 0x23]
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x5c]
lea r9d, [rax - 4]
mov eax, r8d
sub eax, ecx
cdq
idiv r9d
mov eax, ecx
add ecx, edx
cmp ecx, r11d
cmovg ecx, eax
test ecx, ecx
js 0x1402911ad
mov dword [rbx], ecx
cmp ecx, r8d
jb 0x140290fb4
add rdi, 1
cmp dword [r13 + 0x3c], edi
jle 0x140291231
movzx esi, byte [r14 + rdi*2]
mov rbx, qword [r15 + 0x48]
mov r10, rdi
movzx eax, byte [r14 + rdi*2 + 1]
shl r10, 5
shl esi, 8
add rbx, r10
or esi, eax
cmp dword [rsp + 0x40], esi
jg 0x1402911ad
cmp dword [rsp + 0x58], esi
jle 0x1402911ad
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x140290d80
mov rcx, qword [rsp + 0x48]
movsxd rax, esi
add esi, 4
mov eax, dword [rcx + rax]
bswap eax
mov dword [rbx + 4], eax
movzx eax, byte [r13 + 0x38]
cmp al, 5
je 0x140290d25
movsxd rcx, esi
add rcx, qword [rsp + 0x48]
movzx edx, byte [rcx]
test dl, dl
js 0x14029110b
mov dword [rsp + 0x84], edx
mov edx, 1
add esi, edx
cmp al, 0xd
je 0x140291125
mov r8d, dword [rsp + 0x84]
cmp dword [r15 + 0x54], r8d
jb 0x140290cdc
mov r11d, dword [rsp + 0x60]
jmp 0x140290cf3
mov dword [rsp + 0x50], 0
mov r11, rbx
mov dword [rsp + 0x40], 0xc
jmp 0x140290ad6
cmp al, 0xd
je 0x140290e48
lea rax, str.corrupted
mov qword [r13 + 0x830], rax
jmp 0x1402909db
xor edi, edi
jmp 0x14029056c
movzx edx, byte [rbx + 0x64]
lea r11, [rbx + 0x64]
mov byte [rax + 0x38], dl
cmp dl, 0xa
je 0x140290f93
cmp dl, 0xd
je 0x140290f93
cmp dl, 5
je 0x140290e2f
cmp dl, 2
jne 0x140290938
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x70
jmp 0x140290ad6
lea rax, str.leaf
mov qword [r13 + 0x830], rax
jmp 0x1402909db
mov rdx, qword [r13 + rax + 0x30]
lea rcx, [0x1403321d6]
call sym.sqlite3_mprintf
movzx r9d, byte [r13 + 0x11]
xor r8d, r8d
mov qword [r13 + 0x828], rax
test rax, rax
je 0x140291159
mov rax, r15
shl rax, 6
mov eax, dword [r13 + rax + 0x3c]
test eax, eax
jg 0x140290a32
xor r14d, r14d
jmp 0x140290a62
lea rcx, [0x140336710]
call sym.sqlite3_mprintf
mov qword [r13 + 0x30], rax
test rax, rax
jne 0x140290869
mov dword [r13 + 0x818], 0
mov r8d, 7
mov dword [r13 + 0x838], 1
jmp 0x1402905c3
mov rax, rsi
lea rdi, [r13 + r14]
shl rax, 6
mov r9d, dword [rax + r13 + 0x50]
test r9d, r9d
je 0x140290631
mov rax, rsi
lea rdi, [r13 + r14]
shl rax, 6
add rax, r13
mov edx, dword [rax + 0x28]
mov eax, dword [rax + 0x3c]
cmp edx, eax
jg 0x140290631
mov edi, dword [r13 + 0x818]
lea ecx, [rdi + 1]
mov dword [r13 + 0x818], ecx
cmp ecx, 0x1f
jg 0x14029124d
cmp edx, eax
je 0x140290f46
mov rcx, rsi
movsxd rax, edx
shl rcx, 6
shl rax, 5
add rax, qword [r13 + rcx + 0x48]
mov r9d, dword [rax + 4]
mov rdi, qword [rsp + 0x40]
mov edx, r9d
mov rcx, rbp
mov dword [rdi + 0x40], r9d
lea r8, [rdi + 0x40]
call sym.statGetPage
add dword [r13 + 0x838], 1
mov dword [rdi + 0x50], 0
cmp byte [r13 + 0x11], 0
mov r14d, eax
je 0x1402911ef
shl rsi, 6
add dword [r13 + rsi + 0x28], 1
jmp 0x14029087f
mov rdi, qword [rcx + 8]
jmp 0x14029053d
mov dword [rsp + 0x40], 0x6c
mov dword [rsp + 0x50], 1
jmp 0x140290ad6
mov eax, dword [rdi + 0x38]
mov dword [rsp + 0x54], eax
jmp 0x140290bf7
mov r10d, dword [rsp + 0x54]
mov r11d, r8d
xor edx, edx
add esi, ecx
sub r11d, ecx
lea eax, [r10 + r11 - 5]
div r9d
mov r12d, eax
lea eax, [rsi + 3]
cmp r10d, eax
jle 0x1402911ad
test r8d, r8d
js 0x1402911ad
lea eax, [r12 - 1]
mov dword [rbx + 8], r12d
imul r9d, eax
mov dword [rsp + 0x78], eax
sub r11d, r9d
mov dword [rbx + 0x18], r11d
call sym.sqlite3_initialize
test eax, eax
jne 0x14029119a
movsxd rcx, r12d
shl rcx, 2
call sym.sqlite3Malloc
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140290a80
mov rcx, qword [rsp + 0x48]
movsxd rsi, esi
mov edx, dword [rcx + rsi]
bswap edx
mov dword [rax], edx
cmp r12d, 1
jle 0x140290d25
mov esi, dword [rsp + 0x78]
lea r12, [rsp + 0x88]
mov qword [rsp + 0x78], rdi
lea rax, [rsi*4]
mov esi, 4
mov rdi, rsi
mov rsi, rax
jmp 0x1402910ab
mov rax, qword [rcx + 0x28]
mov rdx, qword [rax + 0xa8]
sub dword [rax + 0x98], 1
mov r9, qword [rax + 0x48]
mov qword [rcx + 0x20], rdx
mov edx, dword [rcx + 0x30]
mov qword [rax + 0xa8], rcx
mov rcx, r9
sub edx, 1
imul rdx, qword [rax + 0xc8]
mov rax, qword [r9]
call qword [rax + 0x90]
cmp rdi, rsi
je 0x140291101
mov rax, qword [rbx + 0x10]
mov edx, dword [rax + rdi]
add rdi, 4
mov rax, qword [rbp + 8]
xor r9d, r9d
mov r8, r12
mov qword [rsp + 0x88], 0
mov rax, qword [rax]
mov rcx, rax
call qword [rax + 0x110]
test eax, eax
jne 0x140291164
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rbx + 0x10]
mov r8, qword [rcx + 8]
mov eax, dword [r8]
bswap eax
mov dword [rdx + rdi], eax
test byte [rcx + 0x34], 0x20
jne 0x140291060
call sym.sqlite3PcacheRelease
cmp rdi, rsi
jne 0x1402910a0
mov rdi, qword [rsp + 0x78]
jmp 0x140290d25
lea rdx, [rsp + 0x84]
call sym.sqlite3GetVarint32
movzx edx, al
movzx eax, byte [r13 + 0x38]
jmp 0x140290da8
lea r12, [rsp + 0x88]
movsxd rcx, esi
add rcx, qword [rsp + 0x48]
mov rdx, r12
call sym.sqlite3GetVarint
mov r8d, dword [rsp + 0x84]
movzx eax, al
add esi, eax
cmp dword [r15 + 0x54], r8d
jae 0x140290ce0
jmp 0x140290cdc
mov r8d, 7
jmp 0x140290e84
mov r8d, eax
jmp 0x1402905c3
xor edi, edi
jmp 0x14029053d
mov edi, dword [rdi + 0x38]
mov dword [rsp + 0x54], edi
jmp 0x140290bec
mov rax, r15
mov r8d, 7
shl rax, 6
mov qword [rax + r13 + 0x48], 0
jmp 0x1402905c3
mov qword [rbx + 0x10], 0
mov r8d, 7
jmp 0x1402905c3
mov r14d, dword [rsp + 0x64]
mov r13, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
jmp 0x140290938
mov rcx, qword [r13 + 8]
mov byte [r13 + 0x10], 1
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3_reset
mov rcx, rbp
call sym.unlockBtreeMutex
jmp 0x140290bf7
mov rax, rsi
lea rcx, str._s_.3x_
shl rax, 6
add rax, r13
mov r8d, dword [rax + 0x28]
mov rdx, qword [rax + 0x30]
lea rbx, [rax + 0x28]
call sym.sqlite3_mprintf
mov rdi, qword [rsp + 0x40]
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x140290f7b
add dword [rbx], 1
mov r8d, 7
jmp 0x1402905c3
mov r14d, dword [rsp + 0x64]
mov r13, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
jmp 0x14029099e
mov r8d, r14d
jmp 0x1402905c3
mov rcx, r13
call sym.statResetCsr
mov r9d, 0x35c65
lea rax, [0x14033123c]
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0xb
call sym.sqlite3_log
mov r8d, 0xb
jmp 0x1402905c3