Function at 0x140367ea0
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 0x1403682a8
cmp byte [r13 + 0x11], 0
jne 0x140367f33
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 0x140368bfc
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 0x140368122
cmp byte [r15 + 0x11], 0
je 0x140368220
mov eax, dword [r15 + 0x14]
cmp byte [r15 + 0x12], 0
lea edx, [rax + 1]
mov dword [r15 + 0x14], edx
jne 0x140368230
mov rcx, r15
call sym.btreeLockCarefully
mov rax, qword [r15 + 8]
cmp byte [r15 + 0x11], 0
mov ebx, dword [rax + 0x38]
je 0x140367fb8
mov eax, dword [r15 + 0x14]
sub eax, 1
test eax, eax
mov dword [r15 + 0x14], eax
je 0x140368243
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 0x1403680f0
cdqe
add qword [r13 + 0x850], rax
lea eax, [r12 + 1]
mov dword [rbp + 0x1c], eax
cmp byte [r13 + 0x11], 0
jne 0x140367f60
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x140368a73
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140368019
call qword [0x1403951a0]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140368033
cmp word [rbx + 0xc0], 0
jne 0x140368250
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 0x140368294
nop dword [rax]
xor eax, eax
test edx, edx
jne 0x140368294
mov rcx, qword [rcx + 0x18]
mov dword [rbx + 0x34], eax
test rcx, rcx
je 0x14036807c
call qword [0x1403951b0]
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 0x140368b50
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 0x140367ffa
cmp eax, edx
jl 0x140367f68
mov edx, dword [rdi + 0x50]
test edx, edx
jne 0x140368c57
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 0x140367f4c
mov edx, dword [rdi + 0x50]
mov rdi, rsi
shl rdi, 6
test edx, edx
lea r12, [r13 + rdi + 0x18]
je 0x140368174
mov rax, rsi
shl rax, 6
add rax, r13
mov ecx, dword [rax + 0x28]
mov eax, dword [rax + 0x3c]
cmp ecx, eax
jle 0x140368c79
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 0x1403681c4
mov r9d, dword [r14 + 0x3c]
test r9d, r9d
jle 0x1403681bf
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 0x1403681a0
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 0x140367ef7
test esi, esi
jns 0x140367eff
jmp 0x1403680d0
mov rax, qword [r15 + 8]
mov ebx, dword [rax + 0x38]
jmp 0x140367fb8
mov rdx, qword [r15 + 8]
test eax, eax
mov ebx, dword [rdx + 0x38]
mov dword [r15 + 0x14], eax
jne 0x140367fb8
mov rcx, r15
call sym.unlockBtreeMutex
jmp 0x140367fb8
movzx eax, word [rcx + 0x14]
mov edx, eax
not edx
test dx, 0x202
jne 0x140368269
cmp byte [rcx + 0x16], 1
je 0x140368b81
and eax, 1
xor edi, edi
test ax, ax
jne 0x140368049
mov edx, 1
call sym.valueToText
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x34]
mov rdi, rax
cmp byte [rcx + 0x67], 0
je 0x140368060
call sym.apiHandleError
mov rcx, qword [rbx]
jmp 0x14036806a
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 0x140368d04
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x1403685c4
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140368306
call qword [0x1403951a0]
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1403685b0
cmp word [rbx + 0xc0], 1
jbe 0x1403685b0
movzx edx, word [rax + 0x4c]
test dl, 0x24
je 0x140368dea
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 0x140368d04
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 0x140368b1b
mov dword [r13 + 0x818], 0
mov dword [r13 + 0x838], 1
test r14d, r14d
jne 0x140368da6
mov rbx, qword [r13 + 8]
movsxd rsi, dword [r13 + 0x818]
test rbx, rbx
je 0x1403683e1
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1403683b7
call qword [0x1403951a0]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1403683cd
cmp word [rbx + 0xc0], 0
jne 0x1403683e8
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish
lea rcx, [0x14047dde0]
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 0x140368a83
movzx edx, byte [rbx]
cmp dl, 5
mov byte [rax + 0x38], dl
je 0x140368b69
jbe 0x140368b60
cmp dl, 0xa
je 0x1403685cb
cmp dl, 0xd
je 0x1403685cb
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 0x1403684bb
mov eax, dword [rax + 0x3c]
test eax, eax
jle 0x1403684b3
lea rbp, [rsi + 1]
xor ebx, ebx
shl rbp, 6
add rbp, r13
jmp 0x140368484
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 0x140368480
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 0x14036851c
ja 0x140368ac0
lea rax, str.internal
cmp dl, 2
je 0x14036851c
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 0x140368555
mov dword [r13 + 0x840], eax
movzx r8d, byte [r13 + 0x11]
test r8b, r8b
je 0x140368ad3
shl rsi, 6
xor edx, edx
movsxd rcx, dword [r13 + rsi + 0x3c]
test ecx, ecx
jle 0x140367ef0
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 0x140368588
movsxd r14, r14d
add qword [r13 + 0x850], r14
test r8b, r8b
jne 0x140367ef0
jmp 0x1403680d2
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call sym.sqlite3ErrorFinish
xor esi, esi
jmp 0x140368334
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 0x14036867e
nop dword [rax + rax]
cmp ebp, eax
jle 0x140368a7a
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 0x140368640
test eax, eax
jne 0x140368a7a
mov rax, rsi
shl rax, 6
mov dword [r13 + rax + 0x40], r8d
mov r8d, dword [rsp + 0x50]
xor eax, eax
test r8d, r8d
jne 0x14036869c
mov eax, dword [r10 + 8]
bswap eax
test r9d, r9d
mov dword [r11 + 0x50], eax
je 0x1403684db
cmp byte [r15 + 0x11], 0
je 0x140368b8a
mov eax, dword [r15 + 0x14]
cmp byte [r15 + 0x12], 0
lea edx, [rax + 1]
mov dword [r15 + 0x14], edx
jne 0x140368ceb
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 0x140368706
mov eax, dword [r15 + 0x14]
sub eax, 1
test eax, eax
mov dword [r15 + 0x14], eax
je 0x140368d7b
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 0x140368d25
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 0x140368b50
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 0x1403684db
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 0x140368812
mov rax, qword [rsp + 0x48]
add rbp, 1
cmp dword [rax + 0x3c], ebp
jle 0x140368d92
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 0x140368d32
cmp dword [rsp + 0x58], r11d
jle 0x140368d32
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x140368860
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 0x140368800
movsxd rcx, r11d
add rcx, r10
movzx r12d, byte [rcx]
test r12b, r12b
js 0x140368b96
mov dword [rsp + 0x94], r12d
mov eax, 1
lea r9d, [r11 + rax]
cmp r8b, 0xd
je 0x140368c0d
cmp dword [rbx + 0x54], r12d
jae 0x1403688a8
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 0x140368d32
cmp ecx, r12d
mov dword [rsi], ecx
jae 0x140368800
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 0x140368d32
test r12d, r12d
js 0x140368d32
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 0x140368cf7
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 0x140368b50
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 0x140368800
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 0x140368a0b
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 0x140368a61
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 0x140368c72
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 0x1403689c0
call sym.sqlite3PcacheRelease
cmp rdi, r12
jne 0x140368a00
mov r10, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
jmp 0x140368800
xor edi, edi
jmp 0x14036807c
mov rdi, qword [r11 + 0x48]
jmp 0x140368453
movzx edx, byte [rbx + 0x64]
cmp dl, 0xa
mov byte [rax + 0x38], dl
je 0x140368be7
ja 0x140368bde
cmp dl, 2
je 0x140368aa7
cmp dl, 5
jne 0x140368447
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0x70
lea r10, [rbx + 0x64]
jmp 0x1403685de
cmp dl, 0xd
lea rdx, str.corrupted
cmovne rax, rdx
jmp 0x14036851c
lea rcx, [0x14046cd96]
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 0x140368c68
shl rsi, 6
movsxd rcx, dword [r13 + rsi + 0x3c]
test ecx, ecx
jg 0x140368576
xor r14d, r14d
jmp 0x140368597
lea rcx, [0x140471434]
call sym.sqlite3_mprintf
test rax, rax
mov qword [r13 + 0x30], rax
jne 0x140368376
mov dword [r13 + 0x818], 0
mov dword [r13 + 0x838], 1
nop word [rax + rax]
mov edx, 7
jmp 0x1403680d2
cmp dl, 2
jne 0x140368447
mov dword [rsp + 0x50], 0
mov r10, rbx
mov dword [rsp + 0x44], 0xc
jmp 0x1403685de
mov rdi, qword [rcx + 8]
jmp 0x140368049
mov eax, dword [rdi + 0x38]
mov dword [rsp + 0x54], eax
jmp 0x140368706
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 0x140368890
cmp dl, 0xd
jne 0x140368447
mov dword [rsp + 0x44], 0x6c
mov dword [rsp + 0x50], 1
jmp 0x140368ab7
mov rax, rsi
shl rax, 6
mov edx, dword [rax + r13 + 0x50]
jmp 0x14036814c
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 0x140368c4a
mov dword [rbx + 0x54], r12d
mov eax, dword [rsp + 0x54]
lea r11d, [rax - 0x23]
jmp 0x1403688ad
mov rdi, rsi
shl rdi, 6
lea r12, [r13 + rdi + 0x18]
jmp 0x14036815c
mov edx, 7
jmp 0x140368b02
mov edx, eax
jmp 0x1403680d2
mov edi, dword [r13 + 0x818]
lea r8d, [rdi + 1]
cmp r8d, 0x1f
mov dword [r13 + 0x818], r8d
jg 0x140368dae
cmp ecx, eax
je 0x140368caf
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 0x140368d46
shl rsi, 6
add dword [r13 + rsi + 0x28], 1
jmp 0x14036838c
mov edi, dword [rdi + 0x38]
mov dword [rsp + 0x54], edi
jmp 0x1403686fa
mov qword [rsi + 0x10], 0
jmp 0x140368b50
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 0x140368b50
mov r14d, dword [rsp + 0x64]
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
jmp 0x140368453
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 0x140368cdc
add dword [rbx + 0x28], 1
jmp 0x140368b50
mov rcx, r15
mov qword [rsp + 0x48], r11
call sym.unlockBtreeMutex
mov r11, qword [rsp + 0x48]
jmp 0x140368706
mov r14d, dword [rsp + 0x64]
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
jmp 0x1403684db
mov edx, r14d
jmp 0x1403680d2
mov rcx, r13
call sym.statResetCsr
mov r9d, 0x3499f
mov ecx, 0xb
lea rax, [0x14046bfcc]
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 0x1403680d2
test dl, 8
jne 0x140368e19
and edx, 0x12
je 0x1403685c4
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1403685c4
mov edx, dword [rax + 0x48]
movzx r8d, byte [rax + 0x4e]
call sym.memIntValue.isra.0
mov esi, eax
jmp 0x140368334
movsd xmm0, qword [rax + 0x38]
call sym.doubleToInt64
mov esi, eax
jmp 0x140368334