Function at 0x140285600
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, 0xa8
mov rax, qword [rcx]
mov rdx, qword [rax + 0x18]
mov r13, rcx
movsxd rax, dword [rcx + 0x14]
mov rcx, qword [rcx + 0x828]
shl rax, 5
add rax, qword [rdx + 0x20]
mov r15, qword [rax + 8]
mov rax, qword [r15 + 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 0x140285a08
cmp byte [r13 + 0x11], 0
jne 0x140285693
mov dword [r13 + 0x840], 0
pxor xmm0, xmm0
mov qword [r13 + 0x860], 0
movups xmmword [r13 + 0x848], xmm0
mov qword [r13 + 0x838], 0
movsxd rsi, esi
mov rdi, rsi
shl rdi, 6
add rdi, r13
mov ebp, dword [rdi + 0x28]
cmp ebp, dword [rdi + 0x3c]
jge 0x14028635c
movsxd rbp, ebp
shl rbp, 5
add rbp, qword [rdi + 0x48]
mov eax, dword [rbp + 0x1c]
mov edx, dword [rbp + 8]
nop dword [rax]
cmp eax, edx
jge 0x140285882
cmp byte [r15 + 0x11], 0
je 0x140285980
mov eax, dword [r15 + 0x14]
cmp byte [r15 + 0x12], 0
lea edx, [rax + 1]
mov dword [r15 + 0x14], edx
jne 0x140285990
mov rcx, r15
call sym.btreeLockCarefully
mov rax, qword [r15 + 8]
cmp byte [r15 + 0x11], 0
mov ebx, dword [rax + 0x38]
je 0x140285718
mov eax, dword [r15 + 0x14]
sub eax, 1
test eax, eax
mov dword [r15 + 0x14], eax
je 0x1402859a3
nop word [rax + rax]
add dword [r13 + 0x838], 1
mov rcx, r13
call sym.statSizeAndOffset
mov edx, dword [rbp + 8]
lea eax, [rbx - 4]
mov r12d, dword [rbp + 0x1c]
lea ecx, [rdx - 1]
cmp r12d, ecx
jge 0x140285850
cdqe
add qword [r13 + 0x850], rax
lea eax, [r12 + 1]
mov dword [rbp + 0x1c], eax
cmp byte [r13 + 0x11], 0
jne 0x1402856c0
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x1402861d3
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140285779
call qword [0x1402b20e0]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140285793
cmp word [rbx + 0xc0], 0
jne 0x1402859b0
mov rcx, qword [rbx]
mov edx, 0x19
xor edi, edi
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x34]
cmp byte [rcx + 0x67], 0
jne 0x1402859f4
nop dword [rax]
xor eax, eax
test edx, edx
jne 0x1402859f4
mov rcx, qword [rcx + 0x18]
mov dword [rbx + 0x34], eax
test rcx, rcx
je 0x1402857dc
call qword [0x1402b20f0]
mov rax, qword [rbp + 0x10]
movsxd rdx, r12d
shl rsi, 6
mov r9d, r12d
add rsi, r13
mov qword [r13 + 0x820], rdi
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 rdx, qword [rsi + 0x30]
mov r8d, dword [rsi + 0x28]
call sym.sqlite3_mprintf
test rax, rax
mov qword [r13 + 0x828], rax
je 0x1402862b0
xor edx, edx
mov eax, edx
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd r8, dword [rbp + 0x18]
add qword [r13 + 0x850], r8
sub eax, r8d
cdqe
add qword [r13 + 0x848], rax
lea eax, [r12 + 1]
mov dword [rbp + 0x1c], eax
cmp byte [r13 + 0x11], 0
je 0x14028575a
cmp eax, edx
jl 0x1402856c8
mov edx, dword [rdi + 0x50]
test edx, edx
jne 0x1402863b7
mov rax, rsi
shl rax, 6
add rax, r13
mov ebx, dword [rax + 0x28]
lea ebp, [rbx + 1]
cmp ebp, dword [rax + 0x3c]
mov dword [rax + 0x28], ebp
jl 0x1402856ac
mov edx, dword [rdi + 0x50]
mov rdi, rsi
shl rdi, 6
test edx, edx
lea r12, [r13 + rdi + 0x18]
je 0x1402858d4
mov rax, rsi
shl rax, 6
add rax, r13
mov ecx, dword [rax + 0x28]
mov eax, dword [rax + 0x3c]
cmp ecx, eax
jle 0x1402863d9
add rdi, r13
mov r14, rsi
mov rcx, qword [rdi + 0x48]
shl r14, 6
add r14, r13
mov rbp, qword [r14 + 0x20]
test rcx, rcx
je 0x140285924
mov r9d, dword [r14 + 0x3c]
test r9d, r9d
jle 0x14028591f
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 [r14 + 0x3c], ebx
mov rcx, qword [rdi + 0x48]
jg 0x140285900
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]
mov rdi, r12
call sym.sqlite3_free
xor eax, eax
mov ecx, 8
rep stosq qword [rdi], rax
mov qword [rsi + 0x20], rbp
mov eax, dword [r13 + 0x818]
cmp byte [r13 + 0x11], 0
lea esi, [rax - 1]
mov dword [r13 + 0x818], esi
je 0x140285657
test esi, esi
jns 0x14028565f
jmp 0x140285830
mov rax, qword [r15 + 8]
mov ebx, dword [rax + 0x38]
jmp 0x140285718
mov rdx, qword [r15 + 8]
test eax, eax
mov ebx, dword [rdx + 0x38]
mov dword [r15 + 0x14], eax
jne 0x140285718
mov rcx, r15
call sym.unlockBtreeMutex
jmp 0x140285718
movzx eax, word [rcx + 0x14]
mov edx, eax
not edx
test dx, 0x202
jne 0x1402859c9
cmp byte [rcx + 0x16], 1
je 0x1402862e1
and eax, 1
xor edi, edi
test ax, ax
jne 0x1402857a9
mov edx, 1
call sym.valueToText
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x34]
mov rdi, rax
cmp byte [rcx + 0x67], 0
je 0x1402857c0
call sym.apiHandleError
mov rcx, qword [rbx]
jmp 0x1402857ca
mov rcx, qword [r13 + 8]
pxor xmm0, xmm0
mov dword [r13 + 0x840], 0
movups xmmword [r13 + 0x848], xmm0
mov qword [r13 + 0x860], 0
mov qword [r13 + 0x838], 0
call sym.sqlite3_step
cmp eax, 0x64
jne 0x140286464
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x140285d24
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140285a66
call qword [0x1402b20e0]
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x140285d10
cmp word [rbx + 0xc0], 1
jbe 0x140285d10
movzx edx, word [rax + 0x4c]
test dl, 0x24
je 0x14028654a
mov esi, dword [rax + 0x38]
mov rcx, rbx
call sym.columnMallocFailure
mov rax, qword [rsp + 0x38]
mov r10d, dword [rax + 0x20]
test r10d, r10d
je 0x140286464
lea r8, [r13 + 0x18]
mov edx, esi
mov rcx, r15
call sym.statGetPage
cmp byte [r13 + 0x11], 0
mov dword [r13 + 0x18], esi
mov r14d, eax
mov dword [r13 + 0x28], 0
je 0x14028627b
mov dword [r13 + 0x818], 0
mov dword [r13 + 0x838], 1
test r14d, r14d
jne 0x140286506
mov rbx, qword [r13 + 8]
movsxd rsi, dword [r13 + 0x818]
test rbx, rbx
je 0x140285b41
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140285b17
call qword [0x1402b20e0]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140285b2d
cmp word [rbx + 0xc0], 0
jne 0x140285b48
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish
lea rcx, [0x14033b9e0]
call sym.sqlite3ValueText.constprop.0
mov rcx, rbx
mov rdi, rax
call sym.columnMallocFailure
mov rax, rsi
mov qword [r13 + 0x820], rdi
shl rax, 6
add rax, r13
mov edx, dword [rax + 0x18]
cmp edx, 1
mov dword [r13 + 0x81c], edx
mov rbx, qword [rax + 0x20]
je 0x1402861e3
movzx edx, byte [rbx]
cmp dl, 5
mov byte [rax + 0x38], dl
je 0x1402862c9
jbe 0x1402862c0
cmp dl, 0xa
je 0x140285d2b
cmp dl, 0xd
je 0x140285d2b
mov rax, rsi
shl rax, 6
mov rdi, qword [rax + r13 + 0x48]
mov rax, rsi
shl rax, 6
add rax, r13
test rdi, rdi
mov byte [rax + 0x38], 0
je 0x140285c1b
mov eax, dword [rax + 0x3c]
test eax, eax
jle 0x140285c13
lea rbp, [rsi + 1]
xor ebx, ebx
shl rbp, 6
add rbp, r13
jmp 0x140285be4
mov rdi, qword [rbp + 8]
mov rax, rbx
add rbx, 1
shl rax, 5
mov rcx, qword [rdi + rax + 0x10]
call sym.sqlite3_free
mov rax, rsi
shl rax, 6
cmp dword [r13 + rax + 0x3c], ebx
jg 0x140285be0
mov rax, rsi
shl rax, 6
mov rdi, qword [rax + r13 + 0x48]
mov rcx, rdi
call sym.sqlite3_free
mov rax, rsi
shl rax, 6
mov dword [r13 + rax + 0x3c], 0
mov rax, rsi
shl rax, 6
mov qword [rax + r13 + 0x48], 0
mov rcx, r13
call sym.statSizeAndOffset
mov rax, rsi
shl rax, 6
movzx edx, byte [r13 + rax + 0x38]
lea rax, str.leaf
cmp dl, 0xa
je 0x140285c7c
ja 0x140286220
lea rax, str.internal
cmp dl, 2
je 0x140285c7c
cmp dl, 5
lea rdx, str.corrupted
cmovne rax, rdx
mov rbx, rsi
mov qword [r13 + 0x830], rax
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 0x140285cb5
mov dword [r13 + 0x840], eax
movzx r8d, byte [r13 + 0x11]
test r8b, r8b
je 0x140286233
shl rsi, 6
xor edx, edx
movsxd rcx, dword [r13 + rsi + 0x3c]
test ecx, ecx
jle 0x140285650
mov rax, qword [rbx + 0x48]
shl rcx, 5
add rcx, rax
nop dword [rax]
add r14d, dword [rax]
add rax, 0x20
cmp rax, rcx
jne 0x140285ce8
movsxd r14, r14d
add qword [r13 + 0x850], r14
test r8b, r8b
jne 0x140285650
jmp 0x140285832
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish
xor esi, esi
jmp 0x140285a94
mov r10, rbx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x44], 8
movzx r9d, word [r10 + 3]
mov rax, rsi
shl rax, 6
mov edx, dword [rsp + 0x44]
lea r11, [r13 + rax]
mov rdi, qword [r15 + 8]
mov dword [r11 + 0x54], 0
rol r9w, 8
movzx r9d, r9w
mov dword [r11 + 0x3c], r9d
movzx eax, word [r10 + 5]
movzx r8d, byte [r10 + 7]
mov ebp, dword [rdi + 0x34]
rol ax, 8
movzx eax, ax
sub eax, edx
lea edx, [r9 + r9]
sub eax, edx
add r8d, eax
movzx eax, word [r10 + 1]
rol ax, 8
movzx eax, ax
test eax, eax
je 0x140285dde
nop dword [rax + rax]
cmp ebp, eax
jle 0x1402861da
movsxd rcx, eax
movzx edx, byte [rbx + rcx + 2]
movzx r12d, byte [rbx + rcx + 3]
shl edx, 8
or edx, r12d
add r8d, edx
mov edx, eax
movzx eax, byte [rbx + rcx]
movzx ecx, byte [rbx + rcx + 1]
add edx, 3
shl eax, 8
or eax, ecx
cmp eax, edx
jg 0x140285da0
test eax, eax
jne 0x1402861da
mov rax, rsi
shl rax, 6
mov dword [r13 + rax + 0x40], r8d
mov r8d, dword [rsp + 0x50]
xor eax, eax
test r8d, r8d
jne 0x140285dfc
mov eax, dword [r10 + 8]
bswap eax
test r9d, r9d
mov dword [r11 + 0x50], eax
je 0x140285c3b
cmp byte [r15 + 0x11], 0
je 0x1402862ea
mov eax, dword [r15 + 0x14]
cmp byte [r15 + 0x12], 0
lea edx, [rax + 1]
mov dword [r15 + 0x14], edx
jne 0x14028644b
mov rcx, r15
mov qword [rsp + 0x48], r11
call sym.btreeLockCarefully
mov rax, qword [r15 + 8]
mov edx, ebp
mov r11, qword [rsp + 0x48]
sub edx, dword [rax + 0x34]
add edx, dword [rax + 0x38]
cmp byte [r15 + 0x11], 0
mov dword [rsp + 0x54], edx
je 0x140285e66
mov eax, dword [r15 + 0x14]
sub eax, 1
test eax, eax
mov dword [r15 + 0x14], eax
je 0x1402864db
mov rax, rsi
mov qword [rsp + 0x58], r11
shl rax, 6
add rax, r13
mov edi, dword [rax + 0x3c]
mov qword [rsp + 0x48], rax
call sym.sqlite3_initialize
mov r11, qword [rsp + 0x58]
test eax, eax
jne 0x140286485
lea ecx, [rdi + 1]
mov qword [rsp + 0x58], r11
movsxd rcx, ecx
shl rcx, 5
call sym.sqlite3Malloc
mov r11, qword [rsp + 0x58]
test rax, rax
mov rcx, rax
mov qword [r11 + 0x48], rax
mov qword [rsp + 0x70], r11
je 0x1402862b0
mov rdi, qword [rsp + 0x48]
xor edx, edx
mov eax, dword [rdi + 0x3c]
lea r8d, [rax + 1]
mov dword [rsp + 0x58], eax
movsxd r8, r8d
shl r8, 5
call sub.msvcrt.dll_memset
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
jle 0x140285c3b
mov eax, dword [rsp + 0x54]
xor r10d, r10d
mov dword [rsp + 0x64], r14d
mov dword [rsp + 0x58], ebp
mov rbp, r10
mov r10, rbx
mov qword [rsp + 0x68], r13
lea edx, [rax - 0xc]
mov ecx, edx
shl edx, 6
shl ecx, 5
movsxd rax, ecx
imul rax, rax, 0xffffffff80808081
shr rax, 0x20
add eax, ecx
sar ecx, 0x1f
sar eax, 7
sub eax, ecx
lea edi, [rax - 0x17]
movsxd rax, edx
imul rax, rax, 0xffffffff80808081
mov r13d, edi
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 + 0x44]
add rax, rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x70], rsi
mov r14, rax
jmp 0x140285f72
mov rax, qword [rsp + 0x48]
add rbp, 1
cmp dword [rax + 0x3c], ebp
jle 0x1402864f2
movzx r11d, byte [r14 + rbp*2]
mov rsi, rbp
mov rdi, qword [rbx + 0x48]
shl rsi, 5
movzx eax, byte [r14 + rbp*2 + 1]
shl r11d, 8
add rsi, rdi
or r11d, eax
cmp dword [rsp + 0x44], r11d
jg 0x140286492
cmp dword [rsp + 0x58], r11d
jle 0x140286492
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x140285fc0
movsxd rax, r11d
add r11d, 4
mov eax, dword [r10 + rax]
bswap eax
mov dword [rsi + 4], eax
mov rax, qword [rsp + 0x48]
movzx r8d, byte [rax + 0x38]
cmp r8b, 5
je 0x140285f60
movsxd rcx, r11d
add rcx, r10
movzx r12d, byte [rcx]
test r12b, r12b
js 0x1402862f6
mov dword [rsp + 0x94], r12d
mov eax, 1
lea r9d, [r11 + rax]
cmp r8b, 0xd
je 0x14028636d
cmp dword [rbx + 0x54], r12d
jae 0x140286008
mov dword [rbx + 0x54], r12d
mov r11d, dword [rsp + 0x60]
mov eax, dword [rsp + 0x54]
lea r8d, [rax - 4]
mov eax, r12d
sub eax, r13d
cdq
idiv r8d
lea ecx, [rdx + r13]
cmp ecx, r11d
cmovg ecx, r13d
test ecx, ecx
js 0x140286492
cmp ecx, r12d
mov dword [rsi], ecx
jae 0x140285f60
mov qword [rsp + 0x88], r10
mov r10d, dword [rsp + 0x54]
mov r11d, r12d
xor edx, edx
sub r11d, ecx
lea eax, [r10 + r11 - 5]
div r8d
lea edx, [rcx + r9]
mov dword [rsp + 0x80], edx
mov dword [rsp + 0x78], eax
lea eax, [rdx + 3]
cmp eax, r10d
jge 0x140286492
test r12d, r12d
js 0x140286492
mov edx, dword [rsp + 0x78]
mov eax, r11d
lea edi, [rdx - 1]
mov dword [rsi + 8], edx
imul r8d, edi
sub eax, r8d
mov dword [rsi + 0x18], eax
call sym.sqlite3_initialize
mov r10, qword [rsp + 0x88]
test eax, eax
jne 0x140286457
movsxd rcx, dword [rsp + 0x78]
mov qword [rsp + 0x88], r10
mov r12, rcx
shl rcx, 2
call sym.sqlite3Malloc
test rax, rax
mov r8, rax
mov qword [rsi + 0x10], rax
je 0x1402862b0
movsxd rax, dword [rsp + 0x80]
cmp r12d, 1
mov r10, qword [rsp + 0x88]
mov edx, dword [r10 + rax]
bswap edx
mov dword [r8], edx
jle 0x140285f60
lea rax, [rsp + 0x98]
mov qword [rsp + 0x80], rbx
lea r12, [rdi*4]
mov qword [rsp + 0x78], r10
mov rbx, rax
mov edi, 4
jmp 0x14028616b
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, r12
je 0x1402861c1
mov rax, qword [rsi + 0x10]
mov edx, dword [rax + rdi]
add rdi, 4
mov rax, qword [r15 + 8]
xor r9d, r9d
mov r8, rbx
mov qword [rsp + 0x98], 0
mov rax, qword [rax]
mov rcx, rax
call qword [rax + 0x110]
test eax, eax
jne 0x1402863d2
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsi + 0x10]
mov r8, qword [rcx + 8]
test byte [rcx + 0x34], 0x20
mov eax, dword [r8]
bswap eax
mov dword [rdx + rdi], eax
jne 0x140286120
call sym.sqlite3PcacheRelease
cmp rdi, r12
jne 0x140286160
mov r10, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
jmp 0x140285f60
xor edi, edi
jmp 0x1402857dc
mov rdi, qword [r11 + 0x48]
jmp 0x140285bb3
movzx edx, byte [rbx + 0x64]
cmp dl, 0xa
mov byte [rax + 0x38], dl
je 0x140286347
ja 0x14028633e
cmp dl, 2
je 0x140286207
cmp dl, 5
jne 0x140285ba7
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0x70
lea r10, [rbx + 0x64]
jmp 0x140285d3e
cmp dl, 0xd
lea rdx, str.corrupted
cmovne rax, rdx
jmp 0x140285c7c
lea rcx, [0x14032a9a6]
mov rax, rsi
shl rax, 6
mov rdx, qword [r13 + rax + 0x30]
call sym.sqlite3_mprintf
xor edx, edx
movzx r8d, byte [r13 + 0x11]
test rax, rax
mov qword [r13 + 0x828], rax
je 0x1402863c8
shl rsi, 6
movsxd rcx, dword [r13 + rsi + 0x3c]
test ecx, ecx
jg 0x140285cd6
xor r14d, r14d
jmp 0x140285cf7
lea rcx, [0x14032f044]
call sym.sqlite3_mprintf
test rax, rax
mov qword [r13 + 0x30], rax
jne 0x140285ad6
mov dword [r13 + 0x818], 0
mov dword [r13 + 0x838], 1
nop word [rax + rax]
mov edx, 7
jmp 0x140285832
cmp dl, 2
jne 0x140285ba7
mov dword [rsp + 0x50], 0
mov r10, rbx
mov dword [rsp + 0x44], 0xc
jmp 0x140285d3e
mov rdi, qword [rcx + 8]
jmp 0x1402857a9
mov eax, dword [rdi + 0x38]
mov dword [rsp + 0x54], eax
jmp 0x140285e66
lea rdx, [rsp + 0x94]
mov qword [rsp + 0x88], r10
mov byte [rsp + 0x80], r8b
mov dword [rsp + 0x78], r11d
call sym.sqlite3GetVarint32
mov r12d, dword [rsp + 0x94]
mov r10, qword [rsp + 0x88]
movzx eax, al
movzx r8d, byte [rsp + 0x80]
mov r11d, dword [rsp + 0x78]
jmp 0x140285ff0
cmp dl, 0xd
jne 0x140285ba7
mov dword [rsp + 0x44], 0x6c
mov dword [rsp + 0x50], 1
jmp 0x140286217
mov rax, rsi
shl rax, 6
mov edx, dword [rax + r13 + 0x50]
jmp 0x1402858ac
lea rdx, [rsp + 0x98]
movsxd rcx, r9d
mov qword [rsp + 0x78], r10
add rcx, r10
mov dword [rsp + 0x80], r9d
call sym.sqlite3GetVarint
mov r9d, dword [rsp + 0x80]
movzx eax, al
mov r10, qword [rsp + 0x78]
add r9d, eax
cmp dword [rbx + 0x54], r12d
jae 0x1402863aa
mov dword [rbx + 0x54], r12d
mov eax, dword [rsp + 0x54]
lea r11d, [rax - 0x23]
jmp 0x14028600d
mov rdi, rsi
shl rdi, 6
lea r12, [r13 + rdi + 0x18]
jmp 0x1402858bc
mov edx, 7
jmp 0x140286262
mov edx, eax
jmp 0x140285832
mov edi, dword [r13 + 0x818]
lea r8d, [rdi + 1]
cmp r8d, 0x1f
mov dword [r13 + 0x818], r8d
jg 0x14028650e
cmp ecx, eax
je 0x14028640f
mov rdx, rsi
movsxd rax, ecx
shl rdx, 6
shl rax, 5
add rax, qword [r13 + rdx + 0x48]
mov edx, dword [rax + 4]
mov dword [r12 + 0x40], edx
lea r8, [r12 + 0x40]
mov rcx, r15
call sym.statGetPage
add dword [r13 + 0x838], 1
mov r14d, eax
mov dword [r12 + 0x50], 0
cmp byte [r13 + 0x11], 0
je 0x1402864a6
shl rsi, 6
add dword [r13 + rsi + 0x28], 1
jmp 0x140285aec
mov edi, dword [rdi + 0x38]
mov dword [rsp + 0x54], edi
jmp 0x140285e5a
mov qword [rsi + 0x10], 0
jmp 0x1402862b0
mov rcx, qword [r13 + 8]
mov byte [r13 + 0x10], 1
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3_reset
mov qword [r11 + 0x48], 0
jmp 0x1402862b0
mov r14d, dword [rsp + 0x64]
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
jmp 0x140285bb3
lea rcx, str._s_.3x_
mov rbx, rsi
shl rbx, 6
add rbx, r13
mov rdx, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x28]
call sym.sqlite3_mprintf
test rax, rax
mov qword [r12 + 0x58], rax
jne 0x14028643c
add dword [rbx + 0x28], 1
jmp 0x1402862b0
mov rcx, r15
mov qword [rsp + 0x48], r11
call sym.unlockBtreeMutex
mov r11, qword [rsp + 0x48]
jmp 0x140285e66
mov r14d, dword [rsp + 0x64]
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
jmp 0x140285c3b
mov edx, r14d
jmp 0x140285832
mov rcx, r13
call sym.statResetCsr
mov r9d, 0x3499f
mov ecx, 0xb
lea rax, [0x140329bdc]
lea rdx, str._s_at_line__d_of___.10s_
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
call sym.sqlite3_log
mov edx, 0xb
jmp 0x140285832
test dl, 8
jne 0x140286579
and edx, 0x12
je 0x140285d24
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140285d24
mov edx, dword [rax + 0x48]
movzx r8d, byte [rax + 0x4e]
call sym.memIntValue.isra.0
mov esi, eax
jmp 0x140285a94
movsd xmm0, qword [rax + 0x38]
call sym.doubleToInt64
mov esi, eax
jmp 0x140285a94