Function at 0x140182980
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, 0xb8
test byte [rcx + 1], 0x20
mov r14, qword [rcx + 8]
mov rbx, rcx
mov qword [rsp + 0x40], rdx
mov esi, r9d
mov dword [rsp + 0x68], r8d
mov dword [rsp + 0x74], r9d
jne 0x140182c38
cmp byte [rcx], 2
ja 0x140182c08
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x140182d08
test esi, esi
jne 0x140182a50
test byte [rsp + 0x68], 2
jne 0x140182d70
mov rdi, qword [rsp + 0x40]
movzx edx, word [rdi + 0x20]
test dx, dx
je 0x140183460
movq xmm0, rax
mov word [rsp + 0x9c], dx
mov rcx, rbx
movhps xmm0, qword [rdi + 0x18]
mov byte [rsp + 0x9e], 0
lea rdx, [rsp + 0x80]
movaps xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x74]
mov byte [rsp + 0xa2], 0
call dbg.sqlite3BtreeIndexMoveto
mov r10d, eax
mov dword [rsp + 0x70], eax
test r10d, r10d
jne 0x140182beb
mov r8d, dword [rsp + 0x74]
test r8d, r8d
je 0x140182d70
nop dword [rax]
mov r13, qword [rbx + 0x88]
mov eax, dword [r13 + 0x14]
test eax, eax
js 0x140182c98
mov rax, qword [r14 + 8]
test byte [rsp + 0x68], 0x80
mov rdi, qword [rax + 0x88]
mov qword [rsp + 0x50], rdi
je 0x140182f10
mov ebp, dword [rax + 0x90]
mov edx, 4
mov dword [rsp + 0x70], 0
cmp ebp, edx
cmovl ebp, edx
cmp byte [rax + 0x21], 0
je 0x140182ad8
movzx eax, word [r13 + 0xe]
cmp eax, ebp
jge 0x140182ad8
mov rdi, qword [rsp + 0x50]
lea r8, [rsp + 0x80]
mov rcx, r13
mov rdx, rdi
call qword [r13 + pe_nt_image_headers64]
movzx eax, word [rsp + 0x94]
cmp dword [rsp + 0x90], eax
jne 0x140183500
nop dword [rax]
mov ecx, dword [rsp + 0x74]
xor edx, edx
movzx edi, word [rbx + 0x56]
mov word [rbx + 0x46], dx
test ecx, ecx
mov eax, edi
jne 0x140182ce0
cmp di, word [r13 + 0x18]
jae 0x140182ee0
mov rcx, qword [r13 + 0x70]
call dbg.sqlite3PagerWrite
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
jne 0x140182beb
mov rdx, qword [r13 + 0x60]
lea eax, [rdi + rdi]
cdqe
movzx esi, word [rdx + rax]
rol si, 8
and si, word [r13 + 0x1a]
movzx esi, si
add rsi, qword [r13 + 0x50]
cmp byte [r13 + 8], 0
jne 0x140182b40
mov eax, dword [rsi]
mov rdx, qword [rsp + 0x50]
mov dword [rdx], eax
mov dword [rsp + 0x38], r10d
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, r13
call qword [r13 + pe_nt_image_headers64]
movzx eax, word [rsp + 0x94]
mov r9d, dword [rsp + 0x90]
mov r10d, dword [rsp + 0x38]
mov r8d, eax
cmp eax, r9d
jne 0x1401834a0
and byte [rbx + 1], 0xfb
mov dword [rsp + 0x70], 0
movzx r8d, word [rsp + 0x96]
cmp r8d, ebp
je 0x140183583
lea r9, [rsp + 0x70]
mov edx, edi
mov rcx, r13
call sym.dropCell.part.0
mov r10d, dword [rsp + 0x70]
test r10d, r10d
jne 0x140182beb
lea eax, [rbp + 1]
cmp eax, dword [r13 + 0x14]
jl 0x140182f98
movzx eax, byte [r13 + 0xc]
xor r10d, r10d
mov rsi, qword [rsp + 0x50]
lea edx, [rax + 1]
mov byte [r13 + 0xc], dl
mov qword [r13 + rax*8 + 0x28], rsi
mov word [r13 + rax*2 + 0x1c], di
test dl, dl
mov dword [rsp + 0x70], r10d
jne 0x140182e20
mov eax, r10d
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call dbg.moveToRoot
test eax, 0xffffffef
mov r10d, eax
mov dword [rsp + 0x70], eax
jne 0x140182beb
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x1401829cf
jmp 0x140182d08
mov rax, qword [r14 + 8]
mov r8, rbx
mov edx, dword [rcx + 0x50]
mov rcx, qword [rax + 0x10]
call sym.saveAllCursors.isra.0
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
jne 0x140182beb
test esi, esi
je 0x140182de8
cmp byte [rbx + 0x54], 0
js 0x140183784
cmp byte [rbx], 2
ja 0x140182c08
cmp qword [rbx + 0x80], 0
jne 0x140182a50
cmp byte [r14 + 0x13], 0
jne 0x140183408
test byte [rbx + 1], 2
jne 0x140182d19
jmp 0x140182a50
cmp byte [rbx], 1
jbe 0x140182dc8
lea rax, [0x1403373dc]
mov r9d, 0x13219
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call dbg.sqlite3_log
mov r10d, 0xb
jmp 0x140182beb
jns 0x140182bb2
cmp word [r13 + 0x18], 0
je 0x140182bb2
and byte [rbx + 1], 0xfd
add eax, 1
mov word [rbx + 0x56], ax
movzx edi, ax
jmp 0x140182bb2
cmp byte [r14 + 0x13], 0
jne 0x140183408
test byte [rbx + 1], 2
je 0x140182d2c
mov rax, qword [rsp + 0x40]
mov rdi, qword [rbx + 0x30]
cmp qword [rax + 8], rdi
je 0x140183600
test esi, esi
jne 0x140182a50
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x74]
mov rcx, rbx
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rax + 8]
shr r8d, 3
and r8d, 1
call dbg.sqlite3BtreeTableMoveto
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
je 0x140182a50
jmp 0x140182beb
mov rcx, rbx
call dbg.getCellInfo
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
cmp qword [rbx + 0x30], rax
jne 0x140182a50
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0xa8], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x90], rdx
lea rdx, [rsp + 0x80]
call dbg.btreeOverwriteCell
mov r10d, eax
jmp 0x140182beb
mov rcx, r13
call dbg.btreeComputeFreeSpace
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
je 0x140182a63
jmp 0x140182beb
cmp byte [rbx], 2
ja 0x140182c08
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x1401829d3
cmp byte [r14 + 0x13], 0
jne 0x140183408
test byte [rbx + 1], 2
jne 0x140182d19
jmp 0x140182d34
and byte [rbx + 1], 0xfd
mov rcx, rbx
call dbg.balance
test byte [rsp + 0x68], 2
mov r10d, eax
mov dword [rsp + 0x70], eax
mov rax, qword [rbx + 0x88]
mov byte [rax + 0xc], 0
mov byte [rbx], 1
je 0x140182beb
test r10d, r10d
jne 0x140182beb
cmp byte [rbx + 0x54], 0
js 0x140182e91
je 0x140182e84
xor esi, esi
nop
mov rax, qword [rbx + rsi*8 + 0x90]
add rsi, 1
mov rcx, qword [rax + 0x70]
call sym.sqlite3PagerUnrefNotNull
movsx eax, byte [rbx + 0x54]
cmp eax, esi
jg 0x140182e60
mov rax, qword [rbx + 0x88]
mov rcx, qword [rax + 0x70]
call sym.sqlite3PagerUnrefNotNull
mov byte [rbx + 0x54], 0xff
cmp qword [rbx + 0x80], 0
je 0x140182ec7
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rdi + 8]
call sym.sqlite3Malloc
mov r10d, 7
test rax, rax
mov qword [rbx + 0x18], rax
je 0x140182eca
mov rdx, qword [rdi]
mov rcx, rax
mov r8, qword [rdi + 8]
call sym.memcpy
xor r10d, r10d
mov rax, qword [rsp + 0x40]
mov byte [rbx], 3
mov rax, qword [rax + 8]
mov qword [rbx + 0x48], rax
jmp 0x140182beb
lea rax, [0x1403373dc]
mov r9d, 0x13240
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call dbg.sqlite3_log
jmp 0x140182ccb
movzx ebp, byte [r13 + 0xa]
mov rdi, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov rax, rbp
add rax, rdi
cmp byte [r13 + 1], 0
je 0x1401830f0
mov edi, dword [rdx + 0x24]
mov esi, dword [rdx + 0x28]
mov rdx, qword [rdx + 0x10]
add esi, edi
cmp esi, 0x7f
mov qword [rsp + 0x38], rdx
ja 0x14018364c
mov byte [rax], sil
mov r12d, 1
mov rax, qword [rsp + 0x40]
add r12d, ebp
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rax + 8]
movsxd rax, r12d
add rcx, rax
cmp rdx, 0x7f
jbe 0x140183640
cmp rdx, 0x3fff
jbe 0x140183563
call dbg.putVarint64
mov ebp, eax
lea r8d, [r12 + rbp]
jmp 0x140183114
mov rcx, qword [r13 + 0x70]
call dbg.sqlite3PagerWrite
test eax, eax
mov r10d, eax
jne 0x1401830e0
mov r15, qword [r13 + 0x50]
movzx r14d, byte [r13 + 9]
mov dword [rsp + 0x80], 0
movzx edx, word [r13 + 0x18]
movzx eax, word [r13 + 0x12]
lea r12, [r15 + r14 + 5]
movzx esi, word [r12]
lea r9d, [rax + rdx*2]
rol si, 8
movzx esi, si
cmp r9d, esi
jg 0x140183540
mov rax, qword [r13 + 0x48]
cmp esi, dword [rax + 0x38]
jg 0x140183849
cmp byte [r15 + r14 + 2], 0
jne 0x140183697
cmp byte [r15 + r14 + 1], 0
jne 0x140183697
lea eax, [r9 + rbp + 2]
lea rdx, [r15 + r14 + 6]
cmp esi, eax
jl 0x140183737
sub esi, ebp
mov eax, esi
sar eax, 8
mov byte [r12], al
mov r14d, eax
mov r12d, esi
mov byte [rdx], sil
lea eax, [rbp + 2]
mov rdx, qword [rsp + 0x50]
movsxd rsi, esi
movsxd r8, ebp
lea rcx, [r15 + rsi]
movzx eax, ax
mov dword [rsp + 0x38], r10d
sub dword [r13 + 0x14], eax
lea esi, [rdi + rdi]
movsxd rsi, esi
call sym.memcpy
movzx r8d, word [r13 + 0x18]
add rsi, qword [r13 + 0x60]
sub r8d, edi
lea rcx, [rsi + 2]
add r8d, r8d
mov rdx, rsi
movsxd r8, r8d
call sym.memmove
mov edx, r12d
movzx eax, r14b
mov r10d, dword [rsp + 0x38]
mov ah, dl
mov word [rsi], ax
movzx eax, byte [r13 + 9]
add word [r13 + 0x18], 1
lea rdx, [r15 + rax + 4]
add byte [rdx], 1
jne 0x1401830ab
movzx eax, byte [r13 + 9]
add byte [r15 + rax + 3], 1
mov rax, qword [r13 + 0x48]
cmp byte [rax + 0x21], 0
je 0x1401830e0
mov r8, qword [rsp + 0x50]
lea r9, [rsp + 0x80]
mov rdx, r13
mov rcx, r13
mov dword [rsp + 0x80], 0
call dbg.ptrmapPutOvflPtr
mov r10d, dword [rsp + 0x80]
movzx edx, byte [r13 + 0xc]
jmp 0x140182bde
mov rdi, qword [rdx + 8]
mov rdx, qword [rdx]
cmp edi, 0x7f
mov esi, edi
mov qword [rsp + 0x38], rdx
ja 0x14018366d
mov byte [rax], dil
mov eax, 1
lea r8d, [rbp + rax]
mov rax, qword [rsp + 0x50]
movsxd rcx, r8d
movzx r11d, word [r13 + 0xe]
add rcx, rax
cmp r11d, esi
jge 0x1401835c0
mov rbp, qword [r13 + 0x48]
mov eax, esi
mov qword [rsp + 0x60], rbx
movzx r10d, word [r13 + 0x10]
mov dword [rsp + 0x7c], 0
mov edx, dword [rbp + 0x38]
sub eax, r10d
lea r12d, [rdx - 4]
xor edx, edx
div r12d
lea r15d, [rdx + r10]
mov rdx, qword [rsp + 0x50]
cmp r11d, r15d
cmovl r15d, r10d
xor r12d, r12d
lea eax, [r8 + r15]
mov ebx, r15d
mov dword [rsp + 0x6c], eax
cdqe
add rax, rdx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x58], rax
nop word cs:[rax + rax]
cmp ebx, esi
mov r15d, esi
cmovle r15d, ebx
cmp r15d, edi
jle 0x140183265
test edi, edi
jle 0x1401832b0
mov rdx, qword [rsp + 0x38]
movsxd r8, edi
mov r15d, edi
call sym.memcpy
mov rcx, rax
sub esi, r15d
test esi, esi
jle 0x140183280
movsxd rax, r15d
sub edi, r15d
add qword [rsp + 0x38], rax
sub ebx, r15d
jne 0x140183250
mov ebx, dword [rsp + 0x7c]
mov qword [rsp + 0x80], 0
cmp byte [rbp + 0x21], 0
mov r9d, ebx
jne 0x140183320
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x20], 0
mov rcx, rbp
call dbg.allocateBtreePage
cmp byte [rbp + 0x21], 0
mov r10d, eax
mov dword [rsp + 0x78], eax
je 0x1401832c8
test eax, eax
je 0x1401833a0
test r12, r12
je 0x140182beb
mov rcx, qword [r12 + 0x70]
mov dword [rsp + 0x38], r10d
call sym.sqlite3PagerUnrefNotNull
mov r10d, dword [rsp + 0x38]
jmp 0x140182beb
add rcx, rax
mov r15d, esi
cmp ebx, esi
cmovle r15d, ebx
cmp r15d, edi
jg 0x1401831a2
mov rdx, qword [rsp + 0x38]
movsxd r8, r15d
sub esi, r15d
call sym.memcpy
test esi, esi
mov rcx, rax
jg 0x1401831c8
test r12, r12
mov rbx, qword [rsp + 0x60]
je 0x140183294
mov rcx, qword [r12 + 0x70]
call sym.sqlite3PagerUnrefNotNull
mov ebp, dword [rsp + 0x6c]
mov dword [rsp + 0x70], 0
add ebp, 4
jmp 0x140182ad8
movsxd r8, r15d
xor edx, edx
call sym.memset
mov rcx, rax
jmp 0x1401831bd
test eax, eax
jne 0x14018322b
mov r15d, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x48]
test r12, r12
bswap r15d
mov dword [rax], r15d
je 0x1401832ef
mov rcx, qword [r12 + 0x70]
call sym.sqlite3PagerUnrefNotNull
mov r12, qword [rsp + 0x80]
mov rax, qword [r12 + 0x50]
mov dword [rax], 0
mov qword [rsp + 0x48], rax
mov rax, qword [r12 + 0x50]
lea rcx, [rax + 4]
mov eax, dword [rbp + 0x38]
lea ebx, [rax - 4]
jmp 0x140183190
mov r15d, dword [0x140214330]
mov r10d, ebx
mov r11d, dword [rbp + 0x34]
jmp 0x140183333
mov r10d, r9d
lea r9d, [r10 + 1]
xor r8d, r8d
cmp r9d, 1
jbe 0x14018337b
mov r8d, dword [rbp + 0x38]
lea ecx, [r10 - 1]
mov eax, 0xcccccccd
xor edx, edx
imul r8, rax
mov eax, ecx
shr r8, 0x22
add r8d, 1
div r8d
mov eax, r15d
sub ecx, edx
xor edx, edx
div r11d
lea r8d, [rcx + 2]
add ecx, 3
add eax, 1
cmp r8d, eax
cmove r8d, ecx
cmp r9d, r8d
je 0x140183330
xor edx, edx
mov eax, r15d
div r11d
cmp r10d, eax
je 0x140183330
mov dword [rsp + 0x7c], r9d
jmp 0x1401831f5
mov r15d, dword [rsp + 0x7c]
cmp ebx, 1
mov r9d, ebx
mov rcx, rbp
lea rax, [rsp + 0x78]
mov r8d, 3
sbb r8d, 0xffffffff
mov qword [rsp + 0x20], rax
mov edx, r15d
call dbg.ptrmapPut
mov r10d, dword [rsp + 0x78]
test r10d, r10d
je 0x1401832d5
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x14018322b
mov rcx, qword [rax + 0x70]
mov dword [rsp + 0x38], r10d
call sym.sqlite3PagerUnrefNotNull
mov r10d, dword [rsp + 0x38]
jmp 0x14018322b
mov rax, qword [rsp + 0x40]
mov edx, dword [rbx + 0x50]
mov rcx, qword [rax + 8]
mov byte [r14 + 0x13], 0
mov rax, qword [r14 + 8]
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14018343d
jmp 0x140182d13
mov rax, qword [rax + 0x28]
test rax, rax
je 0x140182d13
test byte [rax + 1], 0x10
je 0x140183430
mov byte [r14 + 0x13], 1
cmp edx, dword [rax + 0x50]
jne 0x140183430
cmp rcx, qword [rax + 0x30]
jne 0x140183430
mov byte [rax], 1
jmp 0x140183430
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x74]
mov rcx, rbx
mov r9d, dword [rsp + 0x68]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rax
mov r8, qword [rdi + 8]
shr r9d, 3
and r9d, 1
call dbg.btreeMoveto
mov r10d, eax
mov dword [rsp + 0x70], eax
jmp 0x140182a35
movzx eax, word [rsp + 0x96]
mov dword [rsp + 0x38], r10d
mov rdx, qword [r13 + 0x58]
mov rcx, qword [r13 + 0x48]
mov word [rsp + 0x20], r8w
mov r8, rsi
mov word [rsp + 0x28], ax
call sym.clearCellOverflow.isra.0
mov r10d, dword [rsp + 0x38]
movzx r8d, word [rsp + 0x96]
mov dword [rsp + 0x70], eax
and byte [rbx + 1], 0xfb
cmp r8d, ebp
je 0x1401835a8
test eax, eax
mov r10d, eax
jne 0x140182beb
jmp 0x140182b99
movsxd rax, ebp
mov r9d, dword [r13 + 4]
mov r8d, 3
mov edx, dword [rdi + rax - 4]
lea rax, [rsp + 0x70]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x20], rax
bswap edx
call dbg.ptrmapPut
mov r10d, dword [rsp + 0x70]
test r10d, r10d
je 0x140182ad8
jmp 0x140182beb
test esi, esi
jne 0x140183723
mov rax, qword [r13 + 0x48]
cmp dword [rax + 0x38], 0x10000
jne 0x140183723
mov esi, 0x10000
jmp 0x140182ff5
mov r8, rdx
xor eax, eax
and edx, 0x7f
shr r8, 7
mov ebp, 2
mov al, r8b
or al, 0x80
mov ah, dl
mov word [rcx], ax
jmp 0x140182f88
xor eax, eax
mov rdx, qword [r14 + 8]
cmp byte [rdx + 0x21], 0
je 0x1401837b3
movzx edx, word [r13 + 0x10]
cmp edx, ebp
jg 0x1401837b3
mov r8d, ebp
jmp 0x1401834e7
movzx edx, word [rsp + 0x94]
cmp edx, dword [rsp + 0x90]
jne 0x1401834e7
jmp 0x140183585
mov rdx, qword [rsp + 0x38]
lea ebp, [r8 + rsi]
mov eax, 4
movsxd r12, edi
cmp ebp, eax
mov r8, r12
cmovl ebp, eax
sub esi, edi
call sym.memcpy
movsxd r8, esi
xor edx, edx
mov rcx, rax
add rcx, r12
call sym.memset
mov dword [rsp + 0x70], 0
jmp 0x140182ad8
cmp word [rbx + 0x46], 0
je 0x140182a50
mov rdi, rax
mov eax, dword [rax + 0x28]
add eax, dword [rdi + 0x24]
cmp dword [rbx + 0x40], eax
jne 0x140182a50
mov rdx, rdi
mov rcx, rbx
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.btreeOverwriteCell
mov byte [rcx], dl
mov ebp, 1
jmp 0x140182f88
movsxd rdx, esi
cmp rdx, 0x3fff
jbe 0x14018380a
mov rcx, rax
call dbg.putVarint64
movzx r12d, al
jmp 0x140182f53
movsxd rdx, edi
cmp rdx, 0x7f
jbe 0x140183107
cmp rdx, 0x3fff
jbe 0x14018382a
mov rcx, rax
call dbg.putVarint64
movzx eax, al
jmp 0x14018310f
lea eax, [r9 + 1]
cmp eax, esi
jge 0x14018300d
lea r8, [rsp + 0x80]
mov edx, ebp
mov rcx, r13
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x38], r9d
call dbg.pageFindSlot
mov r9d, dword [rsp + 0x38]
test rax, rax
mov r10d, dword [rsp + 0x48]
je 0x140183860
sub rax, r15
movzx edx, ah
cmp r9d, eax
mov esi, eax
mov r14, rdx
mov r12d, eax
jl 0x140183033
lea rax, [0x1403373dc]
mov r9d, 0x114b1
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0xb
lea r8, str.database_corruption
call dbg.sqlite3_log
movzx edx, byte [r13 + 0xc]
mov r10d, 0xb
jmp 0x140182bde
lea rax, [0x1403373dc]
mov r9d, 0x1149d
mov qword [rsp + 0x20], rax
jmp 0x1401836fb
mov edx, dword [r13 + 0x14]
lea eax, [rbp + 2]
mov rcx, r13
mov dword [rsp + 0x38], r10d
sub edx, eax
mov eax, 4
cmp edx, eax
cmovg edx, eax
call dbg.defragmentPage
test eax, eax
jne 0x14018386f
movzx esi, byte [r12]
lea rdx, [r15 + r14 + 6]
movzx eax, byte [rdx]
mov r10d, dword [rsp + 0x38]
shl esi, 8
or esi, eax
sub esi, 1
movzx esi, si
add esi, 1
jmp 0x14018301f
lea rax, [0x1403373dc]
mov r9d, 0x1319e
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call dbg.sqlite3_log
jmp 0x140182ccb
movzx eax, byte [r13 + 9]
mov rdx, qword [r13 + 0x50]
lea rax, [rdx + rax + 0xa]
cmp rsi, rax
jb 0x140183898
movsxd r8, ebp
lea rax, [rsi + r8]
cmp qword [r13 + 0x58], rax
jae 0x14018387c
lea rax, [0x1403373dc]
mov r9d, 0x1325e
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call dbg.sqlite3_log
jmp 0x140182ccb
shr rdx, 7
xor ecx, ecx
mov r12d, 2
mov cl, dl
mov edx, esi
or cl, 0x80
and edx, 0x7f
mov ch, dl
mov word [rax], cx
jmp 0x140182f53
shr rdx, 7
xor ecx, ecx
mov cl, dl
mov edx, edi
or cl, 0x80
and edx, 0x7f
mov ch, dl
mov word [rax], cx
mov eax, 2
jmp 0x14018310f
lea rax, [0x1403373dc]
mov r9d, 0x114a0
mov qword [rsp + 0x20], rax
jmp 0x1401836fb
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x14018300d
movzx edx, byte [r13 + 0xc]
mov r10d, eax
jmp 0x140182bde
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x38], r10d
call sym.memcpy
mov r10d, dword [rsp + 0x38]
jmp 0x140182beb
lea rax, [0x1403373dc]
mov r9d, 0x1325b
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call dbg.sqlite3_log
jmp 0x140182ccb